/*
 Theme Name:  Wina Durbach Child
 Template:    twentytwentyfour
 Description: Zweisprachiger One-Pager (PL/DE) + Kontakt & Fragebogen
 Version:     2.0
*/

/* 1) WP-Header/Footer ausblenden */
.wp-site-blocks header,
.wp-block-site-title,
.wp-block-site-tagline,
.wp-site-blocks footer {
  display: none !important;
}

/* 2) Topbar */
.wina-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 20px;
}
.langswitch {
  text-decoration: none;
  border: 1px solid #ddd;
  padding: 6px 10px;
  border-radius: 999px;
  color: #333;
}
.langswitch:hover {
  background: #f7f7f7;
}

/* 3) Typo */
html,
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}
h1,
h2,
h3 {
  font-family: "Georgia", "Times New Roman", Times, serif;
  letter-spacing: 0.2px;
}
h1 {
  font-weight: 700;
}
h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3.2vw, 32px);
}

/* 4) HERO */
.hero {
  background: linear-gradient(180deg, #ffffff, #fdfaf4);
  padding: 80px 0 48px;
  text-align: center;
}
.hero .logo {
  display: block;
  margin: 0 auto 16px auto;
  height: 240px;
  max-width: 100%;
  width: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.06));
}
.logo-separator {
  height: 2px;
  width: 90px;
  margin: 14px auto 30px auto;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0),
    #b69945,
    rgba(0, 0, 0, 0)
  );
  border-radius: 2px;
}
.hero-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
  margin-top: 20px;
  text-align: left;
}
.hero-copy {
  align-self: center;
}
.hero-copy h1 {
  margin-bottom: 14px;
}
.hero-copy .lead {
  color: #6a6a6a;
  max-width: 56ch;
  margin-bottom: 18px;
}
.survey-promo-inline {
  margin-top: 28px;
  padding: 18px;
  background: #faf9f4;
  border: 1px solid #eee;
  border-radius: 14px;
}
.hero-media {
  position: relative;
  aspect-ratio: 9/16;
  max-width: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  justify-self: end;
  background: #000;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 120% at 50% 50%,
    rgba(0, 0, 0, 0) 62%,
    rgba(0, 0, 0, 0.06) 78%,
    rgba(0, 0, 0, 0.12) 100%
  );
  border-radius: inherit;
}
.video-card {
  width: 110%;
  height: 110%;
  transform: translate(-2%, -2%);
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
}

/* 4.1) Responsive-Color-Anpassung für Hero-H1 und Box */
@media (min-width: 900px) {
  /* Desktop: H1 weiß */
  .hero-copy h1 {
    color: #ffffff;
  }
}
@media (max-width: 899px) {
  /* Mobil: H1 schwarz */
  .hero-copy h1 {
    color: #000000;
  }
}

/* 4.2) Boxfarbe lesbar machen mobil */
@media (min-width: 900px) {
  /* Desktop: bestehend (heller Box) */
  .survey-promo-inline {
    background: #faf9f4;
    color: #333;
  }
}
@media (max-width: 899px) {
  /* Mobil: dunkle Box (für bessere Lesbarkeit) */
  .survey-promo-inline {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
  }
  .survey-promo-inline a.btn,
  .survey-promo-inline a.btn.outline {
    color: #fff;
    border-color: #fff;
  }
}

/* 5) Sektionen */
.section {
  padding: 54px 0;
}
.section.alt {
  background: linear-gradient(180deg, #fbf8f1, #fffef9);
}
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.bullets {
  margin: 0;
  padding-left: 18px;
}
.note {
  color: #6a6a6a;
}

/* 6) Buttons */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, #c5a653, #b69945);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(182, 153, 69, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.06s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(182, 153, 69, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn:active {
  transform: translateY(0);
}
.btn.outline {
  background: transparent;
  color: #b69945;
  border: 1px solid #b69945;
  box-shadow: none;
}

/* 7) Kontakt/Survey Layout */
.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-form label,
.survey-form label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  margin-bottom: 10px;
}
input,
textarea,
select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
}
textarea {
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #b69945;
  outline-offset: 2px;
  border-color: #b69945;
}
.hp {
  position: absolute;
  left: -9999px;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}
.alert {
  padding: 10px 14px;
  border-radius: 8px;
  background: #eef7ee;
  border: 1px solid #cde7cd;
  margin: 10px 0;
  display: inline-block;
}
.alert.error {
  background: #fff3f3;
  border-color: #f1c0c0;
}
.small {
  font-size: 14px;
  color: #6a6a6a;
}

/* 8) Achievements */
.achievements {
  background: radial-gradient(
      1200px 400px at 50% -100px,
      rgba(182, 153, 69, 0.08),
      transparent
    ),
    linear-gradient(180deg, #fff, #fbf8f1);
}
.ach-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.ach-list li {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}
.ach-list strong {
  color: #2b2b2b;
}
.ach-list em {
  color: #6b5722;
  font-style: italic;
}

/* 9) Info-Card */
.info-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px 18px;
}

/* 10) Footer & Navigation */
.menu-main a {
  margin-left: 12px;
  padding: 6px 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
}
.menu-main a:hover {
  background: #faf6ea;
  border-color: #f0e6cb;
}
.legalbar {
  border-top: 1px solid #eee;
  background: #faf8f2;
  padding: 14px 0;
  font-size: 14px;
}
.legalbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.menu-legal a {
  margin-right: 12px;
  text-decoration: none;
  color: #555;
}
.menu-legal a:hover {
  text-decoration: underline;
}
.copy {
  color: #777;
}

/* 11) Responsive */
@media (max-width: 980px) {
  .hero-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero .logo {
    height: 200px;
  }
  .hero-copy {
    text-align: center;
  }
  .logo-separator {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-media {
    max-width: 360px;
    margin: 20px auto 0;
    justify-self: center;
  }
}
@media (max-width: 680px) {
  .hero {
    padding-top: 64px;
  }
  .hero .logo {
    height: 170px;
  }
  .hero-media {
    max-width: 320px;
    border-radius: 14px;
  }
}
