/* Poppins – lokal eingebunden (DSGVO: kein Google-Abruf beim Seitenaufruf) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-700.woff2') format('woff2');
}

/* ============================================================
   Zahnarztpraxis Kilic – Stylesheet
   Layout-Vorlage: Zendent-Template (Onepager-Stil)
   ============================================================ */

:root {
  --primary: #11766e;
  --primary-dark: #0d5c56;
  --primary-soft: #e2f0ee;
  --lavender: #dce9e7;
  --ink: #17161f;
  --body: #5c5b68;
  --muted: #8b8a96;
  --surface: #f3f3f6;
  --card: #ffffff;
  --line: #e6e5ee;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 18px rgba(23, 22, 31, 0.06);
  --shadow-md: 0 16px 44px rgba(23, 22, 31, 0.10);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--lavender);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 600; }

.page-frame {
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  box-shadow: 0 0 60px rgba(23, 22, 31, 0.08);
  overflow-x: clip;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 252, 1);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease;
  padding: 12px 0px;
}

.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(23, 22, 31, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  font-size: 15px;
  text-transform: uppercase;
  white-space: nowrap;
}

a.btn.btn-primary.header-cta {
    padding: 7px 14px;
    font-size: 14px;
}

.brand svg { width: 30px; height: 30px; flex: none; }

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav > a,
.nav-drop > button {
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  border: 0;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav > a:hover,
.main-nav > a.is-active,
.nav-drop > button:hover { background: var(--primary-soft); color: var(--primary); }

.nav-drop { position: relative; }

.nav-drop .chev { transition: transform 0.25s ease; }
.nav-drop.open .chev { transform: rotate(180deg); }

.drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.nav-drop.open .drop-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }

.drop-menu a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.18s ease, color 0.18s ease;
}

.drop-menu a:hover { background: var(--primary-soft); color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  border: 0;
  font-family: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 118, 110, 0.32);
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
  padding: 11px 22px;
}

a.btn.btn-primary.hero {
    margin-right: 5px;
}

.btn-outline:hover { background: var(--primary-soft); transform: translateY(-2px); }

.btn .arrow-chip {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  margin-right: -8px;
  transition: transform 0.25s ease;
}

.btn:hover .arrow-chip { transform: rotate(45deg); }

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Kicker / Section headers ---------- */

.kicker {
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin: 14px 0 16px; }

/* ---------- Hero (hell, Bild rechts eingeblendet) ---------- */

.hero-split {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 72vh, 680px);
  padding: 72px 0;
  background: linear-gradient(180deg, #fbfbfd 0%, var(--surface) 100%);
  overflow: hidden;
}

.hero-split-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
}

.hero-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
  animation: hero-drift 26s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.hero-split .container { position: relative; z-index: 2; width: 100%; }

.hero-split-copy { max-width: 600px; }

.hero-split-copy h1 {
  font-size: clamp(38px, 5vw, 50px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 16px 0 22px;
  max-width: 600px;
}

.hero-split-copy p {
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 32px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-split-media img { animation: none; }
}

/* ---------- Platzhalter-Bilder ---------- */

.ph {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Services ---------- */

.services { background: var(--surface); padding: 88px 0; }

.services.on-white { background: #fff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.service-card .ph { border-radius: 0; aspect-ratio: 16 / 7; }

.service-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }

.icon-chip {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: -47px;
  margin-bottom: 16px;
  border: 4px solid #fff;
  position: relative;
  z-index: 1;
}

.service-body h3 { font-size: 19px; margin-bottom: 10px; }
.service-body p { font-size: 14.5px; flex: 1; }

.more-link {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.more-link:hover { color: var(--primary); gap: 12px; }

/* ---------- Why us ---------- */

.why { padding: 96px 0; background: #fff; }

.why-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.why-stage .ph {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

.why-panel {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 34px;
  max-width: 460px;
  box-shadow: var(--shadow-md);
}

.why-panel h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 12px 0 22px; }

.float-badge {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  padding: 10px 12px 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  animation: floaty 5s ease-in-out infinite;
}

.float-badge .arrow-chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
}

.float-badge:nth-of-type(odd) { animation-delay: -2.5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
  .float-badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Stats ---------- */

.stats { background: var(--surface); padding: 64px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 20px;
  box-shadow: var(--shadow-sm);
}

.stat-card .num {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  display: block;
}

.stat-card .lbl { font-size: 14px; color: var(--body); margin-top: 8px; display: block; }

/* ---------- Google-Bewertungen ---------- */

.reviews { padding: 96px 0; background: #fff; overflow: hidden; }

.reviews-head {
  display: block;
text-align: center;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.reviews-head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 14px; }

.reviews-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reviews-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.reviews-badge .rb-score { font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1; }
.reviews-badge .rb-stars { color: #fbbc05; font-size: 18px; letter-spacing: 2px; }
.reviews-badge .rb-count { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.reviews-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.reviews-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 8px 0;
  animation: reviews-scroll 44s linear infinite;
}

.reviews-marquee:hover .reviews-track { animation-play-state: paused; }

@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.review-card {
  width: 360px;
  flex: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rc-top { display: flex; align-items: center; gap: 12px; }

.rc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(135deg, var(--primary) 0%, #159b8f 100%);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  display: grid;
  place-items: center;
}

.rc-meta { display: flex; flex-direction: column; line-height: 1.3; }
.rc-meta strong { color: var(--ink); font-size: 15px; }
.rc-meta span { font-size: 12.5px; color: var(--muted); }
.rc-g { margin-left: auto; display: grid; place-items: center; }

.rc-stars { color: #fbbc05; font-size: 17px; letter-spacing: 2px; }

.review-card p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
  .reviews-marquee { overflow-x: auto; }
  .reviews-marquee { -webkit-mask-image: none; mask-image: none; }
}

@media (max-width: 720px) {
  .reviews-head { flex-direction: column; align-items: flex-start; }
  .review-card { width: 300px; }
}

/* ---------- FAQ ---------- */

.faq { padding: 96px 0; background: #fff; }

.faq-list { max-width: 760px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  font-size: 16px;
}

.faq-q .faq-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a p { padding: 0 24px 22px; font-size: 15px; }

/* ---------- Kontakt-Strip ---------- */

.contact-strip { background: var(--surface); padding: 80px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.contact-card h3 .icon-chip {
  margin: 0;
  border: 0;
  width: 38px;
  height: 38px;
}

.contact-card p, .contact-card li { font-size: 14.5px; }
.contact-card ul { list-style: none; }
.contact-card li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.contact-card li span:last-child { color: var(--ink); font-weight: 500; text-align: right; }

.contact-card a.tel {
  color: var(--primary);
  font-weight: 600;
  font-size: 18px;
}

/* ---------- CTA-Band ---------- */

.cta-band { background: #fff; padding: 40px 0 96px; }

.cta-inner {
  background: linear-gradient(120deg, var(--primary) 0%, #159b8f 100%);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-inner::before,
.cta-inner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-inner::before { width: 260px; height: 260px; top: -120px; left: -80px; }
.cta-inner::after { width: 320px; height: 320px; bottom: -160px; right: -100px; }

.cta-inner h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 12px; }
.cta-inner p { max-width: 520px; margin: 0 auto 28px; color: rgba(255, 255, 255, 0.85); }

.cta-inner .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(23, 22, 31, 0.25);
}

.cta-inner .btn-primary:hover { background: var(--primary-soft); }
.cta-inner .btn .arrow-chip { background: var(--primary-soft); color: var(--primary); }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #b9b8c4; padding: 64px 0 32px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { font-size: 14px; transition: color 0.2s ease; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: 14px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #8a8996;
}

/* ---------- Unterseiten ---------- */

.page-hero { background: var(--surface); padding: 64px 0; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 46px); margin: 14px 0 16px; letter-spacing: -0.02em; }
.page-hero p { max-width: 620px; }

.content-section { padding: 80px 0; background: #fff; }
.content-section.alt { background: var(--surface); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split .ph { aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }

.split h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 12px 0 18px; }
.split p + p { margin-top: 14px; }

.check-list { list-style: none; margin-top: 20px; display: grid; gap: 12px; }

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
}

.check-list li::before {
  content: "✓";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 3px;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }

.tile .icon-chip { margin: 0 0 18px; border: 0; }
.tile h3 { font-size: 17px; margin-bottom: 10px; }
.tile p { font-size: 14.5px; }

.notice {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--ink);
}

/* ---------- Bewerbungsformular ---------- */

.app-form {
  max-width: 760px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.form-grid .form-field { margin-bottom: 0; }

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.app-form input[type="text"],
.app-form input[type="email"],
.app-form input[type="tel"],
.app-form select,
.app-form textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-form textarea { resize: vertical; min-height: 120px; }

.app-form input:focus,
.app-form select:focus,
.app-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.app-form input[type="file"] {
  font: inherit;
  font-size: 14px;
  color: var(--body);
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  padding: 14px;
  width: 100%;
  cursor: pointer;
  background: var(--surface);
}

.app-form input[type="file"]::file-selector-button {
  font: inherit;
  font-weight: 500;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  margin-right: 14px;
  cursor: pointer;
}

.form-hint { font-size: 13px; color: var(--muted); }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
  margin: 4px 0 24px;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check a { color: var(--primary); font-weight: 600; }

/* Honeypot: für Menschen unsichtbar, aber im DOM vorhanden */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.app-form button[disabled] { opacity: 0.65; cursor: progress; }

.form-status {
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 500;
  display: none;
}

.form-status.show { display: block; }
.form-status.ok { color: var(--primary); }
.form-status.error { color: #b3261e; }

.app-form.sent .form-grid,
.app-form.sent .form-field,
.app-form.sent .form-check,
.app-form.sent .form-actions { display: none; }

.app-form.sent .form-status {
  background: var(--primary-soft);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  font-size: 16px;
}

.placeholder-note {
  background: #fff7e6;
  border: 1px dashed #e6b84c;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  color: #7a5c12;
  margin-bottom: 32px;
}

.legal-body h2 { font-size: 22px; margin: 36px 0 12px; }
.legal-body p { margin-bottom: 12px; }

/* ---------- Scroll-Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0s);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-split-media { width: 52%; }
  .hero-split-copy { max-width: 400px; }
  .services-grid, .tile-grid, .stats-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-stage { min-height: 480px; padding: 24px; }
  .float-badge { display: none; }
  .split.media-first .ph { order: -1; }
}

@media (max-width: 720px) {
  /* backdrop-filter würde den Header zum Bezugsrahmen für das fixe Menü machen
     (dann wäre das Panel nur header-hoch). Auf Mobil deshalb abschalten. */
  .site-header { backdrop-filter: none; }

  .main-nav {
    position: fixed;
    top: var(--header-h, 72px);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    background: #fff;
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px 40px;
    gap: 6px;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 40;
  }

  .main-nav.open { display: flex; }
  .main-nav > a, .nav-drop > button { width: 100%; justify-content: space-between; border-radius: 12px; font-size: 16px; padding: 14px 16px; }
  .nav-drop .drop-menu { position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; border: 0; display: none; padding-left: 16px; }
  .nav-drop.open .drop-menu { display: grid; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .services-grid, .tile-grid, .stats-grid, .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .app-form { padding: 22px; }
  .container { padding: 0 20px; }
  .header-inner { padding: 14px 20px; }
  .hero-split { min-height: 0; padding: 48px 0 0; flex-direction: column; align-items: stretch; }
  .hero-split-media { position: static; width: 100%; height: 280px; margin-top: 40px; order: 2; }
  .hero-split-media img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
  }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
