/* ==========================================================================
   Naim Dental — Zahnarzt in Niederkassel
   Landing page styles (ported 1:1 from the v4 design prototype)
   Design tokens, fonts and exact measurements mirror the original mockup.
   ========================================================================== */

:root {
  /* Accent (v4 default = lime). Change these three to re-skin the whole site. */
  --accent: #C9D64A;
  --accent-deep: #7C8A1C;
  --accent-rgb: 201, 214, 74;

  /* Buttons + the dark "Warum" banner derive from the accent above. */
  --btn-bg: #C9D64A;
  --btn-fg: #1E1D22;
  --warum-bg: linear-gradient(125deg, #1E1D22 0%, #2A2622 42%, #473827 100%);

  /* Neutral palette */
  --ink: #1E1D22;
  --ink2: #2B2B2B;
  --mut: #6B6B6B;
  --mut2: #9A9A9A;
  --bg: #ECEDEF;
  --band: #E3E1DE;
  --line: #D5D2CE;
  --gold: var(--accent);
  --goldt: var(--accent-deep);

  /* Type families */
  --sora: 'Sora', sans-serif;
  --afa: 'Afacad', sans-serif;
  --jos: 'Josefin Sans', sans-serif;
}

/* ----- Base ----- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); overflow-x: hidden; overflow-x: clip; }
html { scroll-behavior: smooth; }
body { font-family: var(--afa); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { opacity: .7; }
h1, h2, h3, p, ul, figure { margin: 0; }
button { font: inherit; }
/* Long German compound words (e.g. "Craniomandibuläre") must break rather than
   force a grid track wider than its column — prevents overflow at narrow widths. */
h1, h2, h3, p, .nd-h, .nd-hero-h, .nd-split-h, .warum-card, .step .t, .reassure .t, .team-quote { overflow-wrap: break-word; }

.container { max-width: 1480px; margin: 0 auto; padding: 0 56px; }

/* Keep anchor targets clear of the 92px sticky nav when jumping via #links */
section[id] { scroll-margin-top: 148px; }

input::placeholder, textarea::placeholder { color: #B8B6B2; }
.nd-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.nd-scroll::-webkit-scrollbar { display: none; }

:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }

/* ----- Shared type helpers (mirror the H / Lead / Eyebrow components) ----- */
.eyebrow {
  font-family: var(--jos); font-size: 14px; font-weight: 300; letter-spacing: .28em;
  color: var(--goldt); text-transform: uppercase; margin-bottom: 24px; text-align: left;
}
.eyebrow.light { color: rgba(255, 255, 255, .5); }
.eyebrow.center { text-align: center; }

.nd-h {
  font-family: var(--sora); font-size: 42px; font-weight: 400; line-height: 1.16;
  letter-spacing: -.015em; color: var(--ink); margin: 0; text-align: left;
}
.nd-h.light { color: #fff; }
.nd-h.center { text-align: center; }
.nd-h.med { font-weight: 500; }

.nd-lead {
  font-family: var(--afa); font-size: 19px; font-weight: 400; line-height: 1.65;
  color: var(--mut); margin: 0;
}
.nd-lead.light { color: rgba(255, 255, 255, .62); }
.nd-lead.center { text-align: center; }

/* ----- Buttons (BtnInk / BtnGhost) ----- */
.btn-ink, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 40px; font-family: var(--afa); font-size: 19px; line-height: 1;
  white-space: nowrap; text-decoration: none; cursor: pointer; border: none;
  transition: opacity .2s ease;
}
.btn-ink { background: var(--btn-bg); color: var(--btn-fg); padding: 17px 36px; font-weight: 600; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(43, 43, 43, .3); padding: 16px 32px; font-weight: 500; }
.btn-ghost.light { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ink:hover, .btn-ghost:hover { opacity: .88; }

/* ----- Gold badge / pill ----- */
.gold-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .35);
  border-radius: 30px; padding: 8px 18px; white-space: nowrap;
}
.gold-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block; }
.gold-badge span:last-child { font-family: var(--afa); font-size: 14px; color: var(--goldt); font-weight: 600; }

/* Subtle photo zoom (the prototype tagged these images .nd-zoom; parents clip). */
.nd-zoom { transition: transform .6s cubic-bezier(.2, .6, .2, 1); width: 100%; }
.nd-zoom:hover { transform: scale(1.045); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nd-nav { position: sticky; top: 42px; z-index: 50; background: rgba(236, 237, 239, .9); backdrop-filter: blur(12px); }
.nd-nav .container { height: 92px; display: flex; align-items: center; justify-content: space-between; }
.nd-brand { display: flex; align-items: center; gap: 12px; }
.nd-brand .mark { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.nd-brand-name { font-family: var(--sora); font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: .1em; }
.nd-brand-name span { color: var(--mut2); }
.nd-brand-sub { font-family: var(--jos); font-size: 14px; font-weight: 300; letter-spacing: .14em; color: var(--mut2); text-transform: uppercase; margin-top: 3px; white-space: nowrap; }
.nd-nav-links { display: flex; gap: 36px; align-items: center; }
.nd-nav-links a { font-family: var(--afa); font-size: 19px; color: #555; text-decoration: none; white-space: nowrap; }
.nd-nav-right { display: flex; align-items: center; gap: 14px; }
.nd-nav .btn-ghost { padding: 13px 26px; font-size: 19px; }

/* ----- Mobile nav: hamburger + dropdown (added on top of the v4 design) ----- */
.nd-burger { display: none; width: 44px; height: 44px; padding: 0; border: none; background: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nd-burger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.nd-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nd-burger.open span:nth-child(2) { opacity: 0; }
.nd-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nd-mobile-menu {
  position: fixed; top: 134px; left: 0; right: 0; z-index: 49;
  background: rgba(236, 237, 239, .98); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); box-shadow: 0 24px 44px rgba(43, 43, 43, .13);
  visibility: hidden; opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.nd-mobile-menu.open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .22s ease, transform .22s ease; }
.nd-mobile-menu .container { display: flex; flex-direction: column; padding-top: 6px; padding-bottom: 26px; }
.nd-mobile-menu a { font-family: var(--afa); font-size: 22px; color: #333; text-decoration: none; padding: 17px 2px; border-bottom: 1px solid var(--line); }
.nd-mm-call { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-weight: 600; color: var(--ink) !important; border-bottom: none !important; }

/* ==========================================================================
   HERO
   ========================================================================== */
.nd-hero { position: relative; height: 740px; background: #D9D5D2; overflow: hidden; }
.nd-hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: min(700px, 54vw); background: #D9D5D2; overflow: hidden; will-change: transform; }
.nd-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% top; }
.nd-hero .container { position: relative; height: 100%; display: flex; align-items: center; z-index: 5; }
/* Width = the space left of the right-anchored image (54vw / max 700px) minus a
   gap, so the text never slides under the photo at mid widths (~900–1340px). */
.nd-hero-content { width: min(720px, calc(100vw - min(54vw, 700px) - 96px)); display: flex; flex-direction: column; align-items: flex-start; will-change: transform, opacity; }
.nd-hero-content .gold-badge { margin-bottom: 24px; }
.nd-hero-h { font-family: var(--sora); font-size: 38px; font-weight: 500; line-height: 1.2; color: var(--ink); letter-spacing: -.015em; margin: 0 0 22px; }
.nd-hero-content .lead-text { font-family: var(--afa); font-size: 19px; color: var(--mut); line-height: 1.6; margin: 0 0 32px; max-width: min(560px, 100%); }
.nd-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   KONTAKT + SPRECHZEITEN
   ========================================================================== */
.s-kz { padding: 104px 0; }
.nd-kz-grid { display: grid; grid-template-columns: 1fr 1px 1.15fr; gap: 0; align-items: stretch; }
.nd-kz-col { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 40px; }
.nd-kz-head { font-family: var(--jos); font-size: 42px; font-weight: 300; letter-spacing: .34em; color: var(--ink); text-transform: uppercase; margin: 0 0 36px; }
.nd-kz-addr { font-family: var(--afa); font-size: 19px; color: var(--ink2); line-height: 1.7; margin-bottom: 28px; }
.nd-kz-line { font-family: var(--afa); font-size: 19px; color: var(--ink2); margin-bottom: 10px; }
.nd-kz-line.last { margin-bottom: 36px; }
.nd-kz-line a { color: var(--ink2); text-decoration: none; font-weight: 600; }
.nd-kz-divider { background: rgba(43, 43, 43, .12); }
.nd-zeiten { display: grid; grid-template-columns: auto auto; column-gap: 36px; row-gap: 14px; margin-bottom: 30px; }
.nd-zeiten .d { font-family: var(--afa); font-size: 19px; color: var(--ink2); text-align: right; }
.nd-zeiten .h { font-family: var(--afa); font-size: 19px; color: var(--mut); text-align: left; }
.nd-zeiten-note { font-family: var(--afa); font-size: 19px; font-style: italic; color: var(--mut2); }

/* ==========================================================================
   INTRO
   ========================================================================== */
.s-intro { padding: 130px 0; }
.s-intro .container { max-width: 920px; margin: 0 auto; }
.s-intro .nd-h { max-width: 680px; margin: 0 auto; }
.s-intro .nd-lead { margin: 32px auto 0; max-width: 760px; }

/* ==========================================================================
   LEISTUNGEN
   ========================================================================== */
.s-leistungen { padding: 120px 0; background: var(--band); }
.s-leistungen .sec-head { text-align: center; max-width: 760px; margin: 0 auto 72px; }
.nd-services-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 72px; }
.nd-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 30px 8px; border: none; border-top: 1px solid var(--line); border-radius: 0;
  background: none; -webkit-appearance: none; appearance: none; text-align: left;
  cursor: pointer; width: 100%; min-width: 0; transition: padding-left .2s ease;
}
.nd-row:hover { padding-left: 16px; }
.nd-row h3 { font-family: var(--sora); font-size: 26px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; margin: 0; overflow-wrap: break-word; }
.nd-row .row-sub { font-family: var(--afa); font-size: 19px; color: var(--mut); line-height: 1.5; margin-top: 6px; }
.nd-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--afa); font-size: 19px; color: var(--mut); flex-shrink: 0; transition: all .2s ease;
}
.nd-row:hover .nd-arrow { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ==========================================================================
   SPLIT CARDS (Abdruckfrei + Diagnostik)
   ========================================================================== */
.s-split { padding: 120px 0 70px; }
.s-split.diag { padding: 90px 0 70px; }
.nd-split { display: grid; border-radius: 40px; }
.nd-split-text { padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; }
.nd-split-media { position: relative; min-height: 440px; }
.nd-split-media img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.nd-split-h { font-family: var(--sora); font-size: 42px; font-weight: 500; line-height: 1.14; letter-spacing: -.015em; margin: 0; }
.nd-split-text .nd-lead { margin-top: 24px; }

/* Abdruckfrei — dark text card left, scanner image right */
.split--dark { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); box-shadow: 0 30px 70px rgba(43, 43, 43, .1); }
.split--dark .nd-split-text { background: var(--ink); border-radius: 40px 0 0 40px; }
.split--dark .nd-split-h { color: #fff; }
.split--dark .nd-split-media { background: #E6E3DF; border-radius: 0 40px 40px 0; }
.split--dark .nd-split-media .media-inner { position: absolute; left: 8%; right: 8%; top: -104px; bottom: 0; }

/* Diagnostik — image left, text right (on a band-coloured card) */
.split--light { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); background: var(--band); box-shadow: 0 30px 70px rgba(43, 43, 43, .08); }
.split--light .nd-split-h { color: var(--ink); }
.split--light .nd-split-media { background: radial-gradient(circle at 50% 42%, #F4F2EF 0%, #E6E3DF 100%); border-radius: 40px 0 0 40px; }
.split--light .nd-split-media .media-inner { position: absolute; left: 6%; right: 6%; top: -36px; bottom: 0; }

/* ==========================================================================
   WARUM (dark gradient banner, 3 cards)
   ========================================================================== */
.s-warum { padding: 110px 0; }
.warum-banner { background: var(--warum-bg); padding: 88px 0 92px; }
.warum-banner .sec-head { text-align: center; max-width: 900px; margin: 0 auto 60px; }
.nd-warum-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.warum-card {
  background: #fff; border-radius: 18px; padding: 52px 48px; box-shadow: 0 14px 38px rgba(43, 43, 43, .07);
  display: flex; flex-direction: column; min-height: 388px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.warum-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(43, 43, 43, .16); }
.warum-card .t { font-family: var(--sora); font-size: 26px; font-weight: 600; color: var(--ink); margin-bottom: 14px; letter-spacing: -.01em; }
.warum-card .d { font-family: var(--afa); font-size: 19px; color: var(--mut); line-height: 1.7; margin-bottom: auto; }
.warum-card .f { margin-top: 32px; font-family: var(--afa); font-size: 14px; color: var(--mut2); }
.warum-cta { text-align: center; margin-top: 56px; }
.link-arrow { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-family: var(--afa); font-size: 19px; font-weight: 600; color: #fff; }
.link-arrow .circle { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: inline-flex; align-items: center; justify-content: center; }

/* ==========================================================================
   ANGST
   ========================================================================== */
.s-angst { padding: 120px 0; }
.s-angst .sec-head { text-align: center; max-width: 860px; margin: 0 auto; }
.s-angst .sec-head .nd-lead { margin-top: 32px; }
.s-angst .nd-h .soft { color: var(--mut2); }
.nd-reassure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; max-width: 980px; margin: 72px auto 0; }
.reassure { text-align: center; }
.reassure .ic { width: 52px; height: 52px; border-radius: 50%; background: rgba(var(--accent-rgb), .1); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.reassure .t { font-family: var(--sora); font-size: 26px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.reassure .d { font-family: var(--afa); font-size: 19px; color: var(--mut); line-height: 1.6; }
.angst-cta { text-align: center; margin-top: 64px; }
.angst-cta p { font-family: var(--afa); font-size: 19px; color: var(--mut2); margin-top: 18px; }

/* ==========================================================================
   PRAXIS
   ========================================================================== */
.s-praxis { padding: 120px 0; }
.nd-praxis-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.praxis-photo { border-radius: 28px; overflow: hidden; min-height: 520px; background: var(--band); }
.praxis-photo img { width: 100%; height: 520px; object-fit: cover; }
.s-praxis .nd-lead { margin-top: 28px; }
.praxis-bio { font-family: var(--afa); font-size: 19px; color: var(--ink); line-height: 1.7; margin-top: 24px; }
.praxis-bio strong { font-weight: 600; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.s-team { padding: 120px 0; background: var(--band); }
.s-team .sec-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.nd-team-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 64px; align-items: center; }
.nd-team-photo { border-radius: 50%; overflow: hidden; width: 340px; height: 340px; background: #D9D5D2; }
.nd-team-img { width: 340px; height: 340px; object-fit: cover; object-position: 12% center; }
.team-photo-wrap { position: relative; }
.team-badge { position: absolute; bottom: 8px; right: 8px; background: var(--ink); color: #fff; border-radius: 50%; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; }
.team-badge img { width: 34px; height: 34px; object-fit: contain; }
.team-quote { font-family: var(--sora); font-size: 26px; font-weight: 400; line-height: 1.45; color: var(--ink); letter-spacing: -.01em; margin: 0; }
.team-meta { margin-top: 32px; display: flex; align-items: center; gap: 16px; }
.team-meta .name { font-family: var(--sora); font-size: 19px; font-weight: 600; color: var(--ink); }
.team-meta .role { font-family: var(--afa); font-size: 19px; color: var(--mut); margin-top: 2px; }
.team-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.team-chips span { font-family: var(--afa); font-size: 14px; color: var(--goldt); background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .25); border-radius: 30px; padding: 8px 16px; }

/* ==========================================================================
   GALERIE
   ========================================================================== */
.s-galerie { padding: 120px 0; }
.galerie-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 56px; flex-wrap: wrap; }
.galerie-head .col { max-width: 640px; }
.galerie-head .nd-lead { max-width: 380px; }
.nd-gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.nd-gallery-grid > div { overflow: hidden; border-radius: 24px; }
.nd-gallery-grid img { width: 100%; object-fit: cover; }
.g7 { grid-column: span 7; } .g5 { grid-column: span 5; } .g4 { grid-column: span 4; }
.g-tall img { height: 380px; }
.g-short img { height: 300px; }

/* ==========================================================================
   NEUE PATIENTEN
   ========================================================================== */
.s-neu { padding: 120px 0; background: var(--band); }
.s-neu .sec-head { text-align: center; max-width: 720px; margin: 0 auto 72px; }
.nd-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.step .num { font-family: var(--sora); font-size: 42px; font-weight: 300; color: var(--accent-deep); margin-bottom: 20px; line-height: 1; }
.step .t { font-family: var(--sora); font-size: 26px; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.step .d { font-family: var(--afa); font-size: 19px; color: var(--mut); line-height: 1.65; }
.neu-note { font-family: var(--afa); font-size: 14px; color: var(--mut2); line-height: 1.7; text-align: center; max-width: 760px; margin: 56px auto 0; }
.neu-note strong { color: var(--mut); font-weight: 600; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.s-faq { padding: 120px 0; }
.s-faq .container { max-width: 1000px; margin: 0 auto; }
.s-faq .nd-h { max-width: 760px; margin: 0 auto 64px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; background: none; border: none; cursor: pointer; padding: 30px 4px; text-align: left; }
.faq-q .q { font-family: var(--sora); font-size: 26px; font-weight: 500; color: var(--ink); }
.faq-q .chev { font-family: var(--afa); font-size: 24px; color: var(--goldt); flex-shrink: 0; transition: transform .25s ease; line-height: 1; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { font-family: var(--afa); font-size: 19px; color: var(--mut); line-height: 1.7; margin: 0; padding: 0 4px 32px; max-width: 820px; }
.faq-a[hidden] { display: none; }

/* ==========================================================================
   KONTAKT (form card)
   ========================================================================== */
.s-kontakt { padding: 120px 0; background: var(--band); }
.s-kontakt .container { max-width: 1160px; margin: 0 auto; }
.nd-contact-card { background: #fff; border-radius: 32px; padding: 72px 80px; box-shadow: 0 24px 60px rgba(43, 43, 43, .08); }

/* ----- Booking form ----- */
.booking-form .form-title { margin-bottom: 36px; } /* type comes from .nd-h.med; this only sets spacing */
.nd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.fld-wrap { display: block; flex: 1; }
.fld-cap { display: block; font-family: var(--jos); font-size: 12px; font-weight: 300; letter-spacing: .16em; color: var(--mut2); text-transform: uppercase; margin-bottom: 8px; }
.fld { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 22px 26px; font-family: var(--afa); font-size: 19px; color: var(--ink); background: #fff; outline: none; }
.fld:focus { border-color: var(--accent-deep); }
textarea.fld { resize: vertical; }
select.fld { cursor: pointer; }
select.fld:has(option[value=""]:checked) { color: #9A9A9A; } /* grey while "Bitte wählen" is selected */
.fld-msg { margin-bottom: 32px; }
.checks { display: grid; gap: 18px; margin-bottom: 28px; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-family: var(--afa); font-size: 19px; color: var(--ink); line-height: 1.4; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.check .box svg { opacity: 0; }
.check input:checked + .box { border-color: var(--ink); background: var(--ink); }
.check input:checked + .box svg { opacity: 1; }
.check a { color: var(--goldt); }
.form-disclaimer { font-family: var(--afa); font-size: 19px; color: var(--mut); line-height: 1.7; margin: 0 0 36px; max-width: 780px; }
.form-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.form-success { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.form-success .tick { width: 68px; height: 68px; border-radius: 50%; background: rgba(var(--accent-rgb), .14); display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--goldt); }
.form-success .ttl { font-family: var(--sora); font-size: 26px; font-weight: 500; color: var(--ink); margin: 22px 0 10px; }
.form-success[hidden] { display: none; }

/* ==========================================================================
   MODALS (Service + Booking)
   ========================================================================== */
.overlay { position: fixed; inset: 0; background: rgba(30, 29, 34, .55); backdrop-filter: blur(4px); display: flex; }
.overlay[hidden] { display: none; }
.overlay-service { z-index: 200; align-items: center; justify-content: center; padding: 32px 24px; }
.overlay-booking { z-index: 300; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; }
.nd-modal-card { background: #fff; position: relative; box-shadow: 0 40px 100px rgba(30, 29, 34, .35); }
.modal-service { border-radius: 24px; max-width: 600px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 52px 52px 48px; }
.modal-booking { border-radius: 28px; max-width: 720px; width: 100%; padding: 52px 56px; margin: auto; box-shadow: 0 40px 100px rgba(30, 29, 34, .4); }
.modal-close { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: none; cursor: pointer; font-family: var(--afa); font-size: 22px; color: var(--mut); line-height: 1; display: flex; align-items: center; justify-content: center; }
.modal-booking .modal-close { width: 42px; height: 42px; font-size: 24px; }
.modal-kicker { font-family: var(--jos); font-size: 13px; font-weight: 300; letter-spacing: .28em; color: var(--goldt); text-transform: uppercase; }
.modal-service .modal-kicker { margin-bottom: 16px; }
.modal-booking .modal-kicker { margin-bottom: 14px; }
.modal-service h3 { font-family: var(--sora); font-size: 30px; font-weight: 600; color: var(--ink); letter-spacing: -.015em; margin: 0 0 8px; line-height: 1.2; padding-right: 36px; }
.modal-service .svc-sub { font-family: var(--afa); font-size: 19px; color: var(--goldt); font-weight: 600; margin-bottom: 22px; }
.modal-service .svc-long { font-family: var(--afa); font-size: 19px; color: var(--ink2); line-height: 1.7; margin: 0 0 26px; }
.modal-service ul { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 12px; }
.modal-service li { display: flex; align-items: flex-start; gap: 12px; font-family: var(--afa); font-size: 19px; color: var(--ink2); line-height: 1.5; }
.modal-service li .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 9px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.nd-footer { background: var(--ink); padding: 96px 0 40px; }
.nd-footer-claim { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; flex-wrap: wrap; padding-bottom: 72px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.nd-footer-claim .claim-text { max-width: 720px; }
.nd-footer-claim h2 { font-family: var(--sora); font-size: 26px; font-weight: 500; line-height: 1.3; color: #fff; letter-spacing: -.01em; margin: 0 0 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 48px; height: 48px; object-fit: contain; }
.footer-brand .name { font-family: var(--sora); font-size: 19px; font-weight: 600; color: #fff; letter-spacing: .1em; }
.footer-brand .name span { color: rgba(255, 255, 255, .45); }
.footer-brand .sub { font-family: var(--jos); font-size: 14px; font-weight: 300; letter-spacing: .14em; color: rgba(255, 255, 255, .4); text-transform: uppercase; margin-top: 4px; white-space: nowrap; }
.nd-footer-cols { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr 1.3fr; gap: 48px; padding: 64px 0; }
.footer-col-h { font-family: var(--jos); font-size: 14px; font-weight: 300; letter-spacing: .22em; color: rgba(255, 255, 255, .4); text-transform: uppercase; margin-bottom: 22px; }
.footer-link { font-family: var(--afa); font-size: 19px; color: rgba(255, 255, 255, .62); text-decoration: none; display: block; margin-bottom: 13px; }
.footer-contact { font-family: var(--afa); font-size: 19px; color: rgba(255, 255, 255, .62); line-height: 1.9; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-hours { display: flex; justify-content: space-between; gap: 16px; font-family: var(--afa); font-size: 14px; color: rgba(255, 255, 255, .55); margin-bottom: 10px; }
.footer-hours span:last-child { color: #fff; white-space: nowrap; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-family: var(--afa); font-size: 14px; color: rgba(255, 255, 255, .35); }
.footer-bottom .links { display: flex; gap: 28px; }
.footer-bottom a { color: rgba(255, 255, 255, .35); text-decoration: none; }

/* ==========================================================================
   RESPONSIVE  (ported verbatim from the prototype, same order/breakpoints)
   ========================================================================== */
@media (max-width: 1200px) { .nd-split-h { font-size: 34px; } }
@media (max-width: 900px)  { .nd-split-h { font-size: 28px; } }
@media (max-width: 1080px) { .nd-nav-links { display: none; } .nd-burger { display: flex; } }
@media (min-width: 1081px) { .nd-mobile-menu { display: none; } }
@media (max-width: 1100px) { .nd-hero-h { font-size: 26px; } }
@media (max-width: 820px)  { .nd-hero-h { font-size: 22px; } }

@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  .nd-footer-cols { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .nd-split { grid-template-columns: 1fr; border-radius: 28px; }
  .nd-split-text { border-radius: 0 0 28px 28px; padding: 48px 44px; }
  .split--dark .nd-split-text { border-radius: 0 0 28px 28px; }
  .nd-split-media { order: -1; min-height: 340px; border-radius: 28px 28px 0 0; overflow: hidden; }
  .split--dark .nd-split-media, .split--light .nd-split-media { border-radius: 28px 28px 0 0; }
  .split--dark .nd-split-media .media-inner,
  .split--light .nd-split-media .media-inner { position: relative; left: 0; right: 0; top: 0; bottom: 0; height: auto; padding: 30px 26px; box-sizing: border-box; }
  /* Portrait split images (scanner 1024×1536, diag 1016×1080) must not blow up
     to full-width height when stacked — cap height and centre them. */
  .nd-split-media { min-height: 0; }
  .nd-split-media img { width: auto; max-width: 100%; height: auto; max-height: 400px; margin: 0 auto; display: block; }
  .nd-kz-head { font-size: 32px; letter-spacing: .22em; }
}

@media (max-width: 820px) {
  .nd-warum-grid { grid-template-columns: 1fr; }
  .warum-card { min-height: 0; padding: 40px 36px; }
  .nd-reassure-grid { grid-template-columns: 1fr; gap: 40px; max-width: 460px; }
}

@media (max-width: 900px) {
  /* Immersive hero: full-bleed photo fills the screen, text overlaid at the bottom */
  .nd-hero { height: auto; min-height: 100vh; min-height: 100svh; }
  .nd-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; }
  .nd-hero-media img { object-position: 38% center; }
  .nd-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(20,19,24,.5) 0%, rgba(20,19,24,.12) 14%, rgba(20,19,24,0) 30%, rgba(20,19,24,.42) 58%, rgba(20,19,24,.88) 100%); }
  .nd-hero .container { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100vh; min-height: 100svh; padding-top: 120px; padding-bottom: 44px; }
  .nd-hero-content { width: 100%; align-items: stretch; }
  .nd-hero-content .gold-badge { align-self: flex-start; background: rgba(var(--accent-rgb), .2); border-color: rgba(var(--accent-rgb), .45); }
  .nd-hero-content .gold-badge span:last-child { color: #fff; }
  .nd-hero-h { font-size: 30px; color: #fff; }
  .nd-hero-content .lead-text { max-width: 100%; color: rgba(255, 255, 255, .85); }
  .nd-hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .nd-hero-cta .btn-ink, .nd-hero-cta .btn-ghost { width: 100%; }
  .nd-hero-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }

  /* Nav: drop the inline CTA on mobile and go transparent over the hero photo
     (JS adds .over-hero while the hero is in view; reverts to solid on scroll).
     Fixed (not sticky) so the photo fills the screen *behind* the nav. */
  .nd-nav { position: fixed; top: 42px; left: 0; right: 0; }
  .nd-nav .btn-ghost { display: none; }
  .nd-nav.over-hero { background: transparent; backdrop-filter: none; }
  .nd-nav.over-hero .nd-brand-name { color: #fff; }
  .nd-nav.over-hero .nd-brand-name span { color: rgba(255, 255, 255, .65); }
  .nd-nav.over-hero .nd-brand-sub { color: rgba(255, 255, 255, .72); }
  .nd-nav.over-hero .nd-burger span { background: #fff; }

  /* Stack Kontakt + Sprechzeiten early — the 3-column centred layout gets too
     cramped below ~820px and the long opening-hours line would overflow. */
  .nd-kz-grid { grid-template-columns: 1fr; row-gap: 52px; }
  .nd-kz-divider { display: none; }
}

@media (max-width: 680px) {
  .container { padding: 0 22px; }
  main > section:not(.nd-hero) { padding-top: 74px !important; padding-bottom: 74px !important; }
  .nd-h { font-size: 27px; }
  .nd-hero-h { font-size: 30px; }
  .nd-split-h { font-size: 24px; }
  .nd-kz-head { font-size: 23px; letter-spacing: .14em; margin-bottom: 26px; }
  .nd-zeiten { column-gap: 18px; }
  .nd-zeiten .d, .nd-zeiten .h { font-size: 16px; }
  .nd-kz-col { padding: 0; }
  .nd-kz-grid { grid-template-columns: 1fr; row-gap: 52px; }
  .nd-kz-divider { display: none; }
  .nd-services-grid { grid-template-columns: 1fr; gap: 0; }
  .nd-reassure-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 52px; }
  .nd-praxis-grid { grid-template-columns: 1fr; gap: 34px; }
  .nd-team-grid { grid-template-columns: 1fr; gap: 30px; justify-items: center; text-align: center; }
  .nd-team-photo { width: 240px; height: 240px; }
  .nd-team-img { width: 240px; height: 240px; }
  .nd-team-grid .team-quote { font-size: 21px; }
  .nd-steps-grid { grid-template-columns: 1fr; gap: 44px; }
  .nd-form-grid { grid-template-columns: 1fr; gap: 18px; }
  .nd-footer-cols { grid-template-columns: 1fr; gap: 40px; }
  .nd-footer-claim { gap: 30px; }
  .nd-gallery-grid > div { grid-column: span 12; }
  .nd-gallery-grid img { height: 240px; }
  .nd-contact-card { padding: 40px 24px; }
  .nd-modal-card { padding: 44px 24px; }
  .modal-booking, .modal-service { padding: 44px 24px; }
  .nd-nav .btn-ghost { padding: 9px 15px; font-size: 14px; }
  .nd-brand-sub { display: none; }
  .nd-brand-name { font-size: 16px; }
  .team-meta { justify-content: center; }
  .galerie-head { align-items: flex-start; }
}

@media (max-width: 430px) {
  .nd-hero-h { font-size: 26px; }
}

@media (max-width: 420px) {
  /* Very small phones: stack each day's hours under the day, and let long
     button labels wrap so nothing spills past the screen edge. */
  .nd-zeiten { grid-template-columns: 1fr; row-gap: 0; }
  .nd-zeiten .d { text-align: center; margin-top: 14px; }
  .nd-zeiten .d:first-child { margin-top: 0; }
  .nd-zeiten .h { text-align: center; }
  .btn-ink, .btn-ghost { white-space: normal; text-align: center; }
  .footer-brand .sub { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .nd-zoom, .warum-card, .nd-row, .nd-arrow, .faq-q .chev { transition: none !important; }
}

/* =============== JOB-BANNER (Startseite, über der Nav) =============== */
@keyframes nd-jobbar-pulse {
  0% { box-shadow: 0 0 0 0 rgba(124, 138, 28, .4); }
  70% { box-shadow: 0 0 0 7px rgba(124, 138, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 138, 28, 0); }
}
.nd-jobbar { position: sticky; top: 0; z-index: 51; display: flex; justify-content: center; align-items: center; gap: 10px; height: 42px; padding: 8px 20px; background: #FCFCFB; color: var(--ink); text-decoration: none; font-family: var(--jos); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid #E0DEDA; text-align: center; }
.nd-jobbar:hover .nd-jobbar-cta { text-decoration: underline; }
.nd-jobbar-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-deep); animation: nd-jobbar-pulse 1.8s ease-out infinite; flex: none; }
.nd-jobbar-text strong { font-weight: 600; }
.nd-jobbar-cta { color: var(--accent-deep); font-weight: 600; margin-left: 4px; white-space: nowrap; }
@media (max-width: 640px) {
  .nd-jobbar { font-size: 11.5px; gap: 8px; }
  .nd-jobbar-roles { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nd-jobbar-dot { animation: none; } }

/* =============== JOB-POPUP (einmal pro Besucher) =============== */
.nd-jobpopup { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px; }
.nd-jobpopup[hidden] { display: none; }
.nd-jobpopup-backdrop { position: absolute; inset: 0; background: rgba(30, 29, 34, .45); backdrop-filter: blur(3px); }
.nd-jobpopup-card { position: relative; background: #FCFCFB; border-radius: 26px; max-width: 520px; width: 100%; padding: 50px 46px 40px; box-shadow: 0 40px 90px rgba(30, 29, 34, .35); text-align: center; animation: nd-jp-in .35s ease; }
@keyframes nd-jp-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.nd-jobpopup-x { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #E0DEDA; background: #fff; font-size: 16px; cursor: pointer; color: var(--mut); line-height: 1; }
.nd-jobpopup-x:hover { color: var(--ink); }
.nd-jobpopup-photo { width: 128px; height: 128px; border-radius: 50%; overflow: hidden; margin: 0 auto 20px; border: 4px solid var(--bg); box-shadow: 0 16px 36px rgba(30, 29, 34, .18); }
.nd-jobpopup-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(2); transform-origin: 0% 0%; }
.nd-jobpopup-kicker { font-family: var(--jos); font-size: 12px; font-weight: 300; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 12px; }
.nd-jobpopup-h { font-family: var(--sora); font-size: 27px; font-weight: 500; letter-spacing: -.015em; color: var(--ink); margin: 0 0 12px; line-height: 1.2; }
.nd-jobpopup-p { font-family: var(--afa); font-size: 17px; color: var(--mut); line-height: 1.55; margin: 0 0 26px; }
.nd-jobpopup-p strong { color: var(--ink); }
.nd-jobpopup-actions { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.nd-jobpopup-later { background: none; border: none; font-family: var(--afa); font-size: 16px; color: var(--mut); cursor: pointer; text-decoration: underline; }
.nd-jobpopup-later:hover { color: var(--ink); }
@media (max-width: 560px) {
  .nd-jobpopup { padding: 16px; }
  .nd-jobpopup-card { padding: 40px 24px 30px; }
  .nd-jobpopup-photo { width: 104px; height: 104px; }
  .nd-jobpopup-h { font-size: 23px; }
  .nd-jobpopup-actions .btn-ink { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .nd-jobpopup-card { animation: none; } }
