/* ==========================================================================
   NORDBAHN Meisterwerkstatt Nürnberg — Stylesheet
   Designsystem: helle Fläche, große Typografie, ein Blau-Akzent, keine Schatten
   ========================================================================== */

:root {
  /* Farben */
  --ink: #1d1d1f;
  --ink-2: #474747;
  --mid: #707070;
  --hairline: #d6d6d6;
  --canvas: #f5f5f7;
  --paper: #ffffff;
  --wash: #e8e8ed;
  --nav: rgba(250, 250, 252, 0.82);
  --nav-0: rgba(255, 255, 255, 0.72);
  --card-ink: #1d1d1f;
  --ok-bg: #e6f5ea; --ok-fg: #1e7b3a;
  --warn-bg: #fdf0e6; --warn-fg: #b64400;
  --ph-bg: #fff6e5;
  --logo-filter: grayscale(1) opacity(.55);
  color-scheme: light;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --ember: #b64400;

  /* Produkt-/Flächenfarben (pastell) */
  --sky: #c8d8e0;
  --citrus: #dddc8c;
  --starlight: #f0e4d3;
  --silver: #e3e4e5;
  --blush: #e8d0d0;
  --indigo: #596680;
  --midnight: #2e3642;

  /* Typografie */
  --font: "Inter", "SF Pro Display", "SF Pro Text", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --max: 1200px;
  --gutter: 24px;
  --r-card: 28px;
  --r-pill: 980px;
  --band: clamp(80px, 10vw, 130px);
}

/* Dunkles Farbschema – wird per data-theme (theme.js) gesetzt */
:root[data-theme="dark"] {
  --ink: #f5f5f7;
  --ink-2: #d2d2d7;
  --mid: #86868b;
  --hairline: #3a3a3c;
  --canvas: #161617;
  --paper: #000000;
  --wash: #2c2c2e;
  --nav: rgba(22, 22, 23, 0.82);
  --nav-0: rgba(0, 0, 0, 0.72);
  --blue: #2997ff;
  --blue-hover: #47a6ff;
  --link: #2997ff;
  --ember: #ff9f0a;
  --card-ink: #1d1d1f;
  --sky: #2f4653; --citrus: #4f5030; --starlight: #4a4033; --silver: #3a3a3c; --blush: #4a3636;
  --ok-bg: #12351d; --ok-fg: #5bd07a;
  --warn-bg: #3a2610; --warn-fg: #ff9f0a;
  --ph-bg: #3a2c10;
  --logo-filter: grayscale(1) invert(1) opacity(.6);
  color-scheme: dark;
}
:root[data-theme="dark"] .hero__visual { background: linear-gradient(184deg, #1c1c1e 0%, #111114 45%, #0b2550 85%, #0a3d8f 100%); }
:root[data-theme="dark"] .map__consent { background: radial-gradient(circle at 30% 40%, rgba(41,151,255,.12), transparent 40%), repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.05) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.05) 39px 40px); }
:root[data-theme="dark"] .nav.is-scrolled { border-bottom-color: rgba(255,255,255,.08); }
:root[data-theme="dark"] .card__icon { background: rgba(255,255,255,.08); }
:root[data-theme="dark"] .pricelist__row { border-bottom-color: rgba(255,255,255,.08); }
:root[data-theme="dark"] .photo-band__overlay { background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75)); }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 72px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "tnum", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }

::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* --------------------------------------------------------------------------
   Layout-Helfer
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 760px; }

.band { padding: var(--band) 0; background: var(--paper); }
.band--gray { background: var(--canvas); }
.band--tight { padding: clamp(56px, 7vw, 88px) 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 12px;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */
.display {
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.h-lg { font-size: clamp(40px, 6vw, 80px); line-height: 1.05; letter-spacing: -0.015em; font-weight: 700; }
.h { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.07; letter-spacing: -0.005em; font-weight: 700; }
.h-sm { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; letter-spacing: 0; font-weight: 600; }
.sub { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.14; letter-spacing: 0.004em; font-weight: 600; }
.lead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; letter-spacing: 0.005em; color: var(--ink-2); }
.body { font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; }
.caption { font-size: 14px; line-height: 1.3; letter-spacing: -0.016em; color: var(--mid); }
.micro { font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; color: var(--mid); }
.muted { color: var(--mid); }
.center { text-align: center; }
.balance { text-wrap: balance; }

.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 20px;
}
.eyebrow--new { color: var(--ember); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .h { margin-bottom: 18px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* --------------------------------------------------------------------------
   Buttons & Links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; min-height: 44px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-size: 17px; font-weight: 400; letter-spacing: -0.01em; white-space: nowrap;
  cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--wash); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { opacity: .85; }
.btn--sm { padding: 8px 16px; min-height: 36px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 19px; }
.btn--block { width: 100%; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--link); font-size: 17px; letter-spacing: -0.01em;
}
.arrow-link::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform .2s ease; }
.arrow-link:hover { text-decoration: underline; }
.arrow-link:hover::after { transform: translateX(3px); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.ribbon {
  background: var(--paper); color: var(--ink);
  font-size: 13px; text-align: center; padding: 10px var(--gutter);
  border-bottom: 1px solid var(--hairline);
}
.ribbon a { color: var(--link); margin-left: 6px; }
.ribbon a:hover { text-decoration: underline; }

.nav {
  position: sticky; top: 0; z-index: 100;
  height: 52px;
  background: var(--nav-0);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: var(--nav); border-bottom-color: rgba(0,0,0,.06); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand__mark {
  width: 28px; height: 28px; border-radius: 9px; background: var(--ink);
  display: grid; place-items: center; color: var(--paper); font-size: 13px; font-weight: 700; letter-spacing: 0;
}
.brand__sub { font-weight: 400; color: var(--mid); font-size: 13px; letter-spacing: 0; }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 13px; color: var(--ink-2); letter-spacing: -0.01em; transition: color .2s ease; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"] { font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__phone { font-size: 13px; color: var(--ink-2); }
.nav__phone:hover { color: var(--ink); }

.nav__burger {
  display: none; width: 44px; height: 44px; margin-right: -8px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav__burger span {
  position: absolute; left: 12px; width: 20px; height: 1.5px; background: var(--ink);
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 26px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.nav__mobile {
  display: none; position: fixed; inset: 52px 0 0 0; z-index: 99;
  background: var(--paper); padding: 32px var(--gutter);
  overflow: auto;
}
.nav__mobile.is-open { display: block; }
.nav__mobile a { display: block; font-size: 28px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--hairline); letter-spacing: -0.01em; }
.nav__mobile .btn { margin-top: 28px; border-bottom: 0; font-size: 17px; font-weight: 400; }

@media (max-width: 900px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: block; }
}
@media (max-width: 480px) {
  .nav__actions .btn { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: clamp(64px, 9vw, 120px) 0 0; overflow: hidden; }
.hero__text { text-align: center; max-width: 900px; margin: 0 auto; }
.hero__text .eyebrow { margin-bottom: 18px; }
.hero__text .display { margin-bottom: 24px; }
.hero__text .lead { max-width: 640px; margin: 0 auto 32px; }
.hero__price { margin-top: 18px; color: var(--mid); font-size: 17px; }
.hero__price strong { color: var(--ink); font-weight: 600; }

.hero__visual {
  margin-top: clamp(48px, 7vw, 96px);
  border-radius: var(--r-card);
  background: linear-gradient(184deg, #1d1d1f 0%, #23232a 40%, #0d2c5a 82%, #0a3d8f 100%);
  color: #fff;
  min-height: clamp(360px, 48vw, 620px);
  position: relative;
  display: grid; place-items: center;
  padding: 40px;
}
.hero__car { width: min(760px, 88%); opacity: .95; }
.hero__chip {
  position: absolute;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 20px; padding: 14px 18px;
  font-size: 14px; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 12px;
  animation: float 6s ease-in-out infinite;
}
.hero__chip strong { display: block; font-size: 17px; font-weight: 600; }
.hero__chip small { display: block; opacity: .7; font-size: 13px; }
.hero__chip--a { top: 8%; left: 6%; animation-delay: 0s; }
.hero__chip--b { top: 14%; right: 7%; animation-delay: -2s; }
.hero__chip--c { bottom: 9%; left: 10%; animation-delay: -4s; }
.hero__chip--d { bottom: 12%; right: 8%; animation-delay: -1s; }
.hero__dot { width: 10px; height: 10px; border-radius: 50%; background: #34c759; flex: none; box-shadow: 0 0 0 4px rgba(52,199,89,.18); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 720px) {
  .hero__chip--b, .hero__chip--c { display: none; }
  .hero__chip { padding: 10px 14px; }
  .hero__visual { padding: 24px; border-radius: 22px; }
}

/* --------------------------------------------------------------------------
   Stat-Band
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: var(--paper); border-radius: var(--r-card); padding: 32px 28px; }
.stat__num { font-size: clamp(40px, 4.5vw, 56px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; margin-bottom: 10px; }
.stat__num small { font-size: .5em; font-weight: 600; letter-spacing: 0; margin-left: 2px; }
.stat__label { color: var(--mid); font-size: 15px; letter-spacing: -0.01em; }
.band--gray .stat { background: var(--paper); }
.band:not(.band--gray) .stat { background: var(--canvas); }

.stat--sm { padding: 24px 20px; }
.stat--sm .stat__num { font-size: 36px; }
.stat--sm .stat__label { font-size: 13px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Leistungs-Karten
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  border-radius: var(--r-card); padding: clamp(28px, 3.2vw, 40px);
  background: var(--canvas); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.band--gray .card { background: var(--paper); }
a.card:hover { transform: translateY(-4px); }
.card__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 28px; background: rgba(0,0,0,.06); }
.card__icon svg { width: 28px; height: 28px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card__title { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; line-height: 1.2; }
.card__text { color: var(--ink-2); font-size: 16px; line-height: 1.5; flex: 1; }
.card__foot { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__price { font-size: 15px; color: var(--mid); }
.card__price strong { color: var(--ink); font-weight: 600; }

.card--sky { background: var(--sky) !important; }
.card--citrus { background: var(--citrus) !important; }
.card--starlight { background: var(--starlight) !important; }
.card--silver { background: var(--silver) !important; }
.card--blush { background: var(--blush) !important; }
.card--ink { background: var(--card-ink) !important; color: #fff; }
.card--ink .card__text, .card--ink .card__price { color: rgba(255,255,255,.7); }
.card--ink .card__price strong { color: #fff; }
.card--ink .card__icon { background: rgba(255,255,255,.12); }
.card--ink .card__icon svg { stroke: #fff; }
.card--ink .arrow-link { color: #fff; }

.card--tall { min-height: 420px; }

/* --------------------------------------------------------------------------
   Feature Showcase (zweispaltig, wechselnd)
   -------------------------------------------------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 8vw, 120px); }
.feature--flip .feature__visual { order: -1; }
.feature__text .h-sm { margin-bottom: 18px; }
.feature__text .lead { margin-bottom: 28px; font-size: 19px; }
.feature__list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; color: var(--ink-2); }
.feature__list svg { width: 22px; height: 22px; flex: none; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.feature__visual {
  border-radius: var(--r-card); aspect-ratio: 5/4; display: grid; place-items: center; padding: 40px; overflow: hidden;
}
.feature__visual > svg { width: 62%; height: auto; stroke: var(--ink); fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__visual { order: 0; }
  .feature__visual { aspect-ratio: 16/10; }
}

/* Mockup „Digitale Fahrzeugakte“ */
.mock {
  width: 78%; background: var(--paper); border-radius: 22px; padding: 22px; color: var(--ink);
}
.mock__row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--canvas); font-size: 14px; }
.mock__row:last-child { border-bottom: 0; }
.mock__tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--canvas); color: var(--mid); }
.mock__tag--ok { background: var(--ok-bg); color: var(--ok-fg); }
.mock__tag--warn { background: var(--warn-bg); color: var(--warn-fg); }
.mock__head { font-size: 13px; color: var(--mid); margin-bottom: 8px; }
.mock__title { font-size: 18px; font-weight: 600; margin-bottom: 14px; }

/* Mockup Festpreis */
.pricecard { width: 72%; background: var(--paper); border-radius: 22px; padding: 26px; color: var(--ink); }
.pricecard__label { font-size: 13px; color: var(--mid); }
.pricecard__big { font-size: clamp(40px, 4vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 8px 0 18px; }
.pricecard__big small { font-size: .4em; font-weight: 500; color: var(--mid); letter-spacing: 0; }
.pricecard__line { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-top: 1px solid var(--canvas); color: var(--ink-2); }
.pricecard__line strong { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   Ablauf (Steps)
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--canvas); border-radius: var(--r-card); padding: 36px 32px; }
.band--gray .step { background: var(--paper); }
.step__num { font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--hairline); margin-bottom: 24px; }
.step__title { font-size: 22px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.step__text { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.person { text-align: left; }
.person__avatar {
  aspect-ratio: 1; border-radius: var(--r-card); display: grid; place-items: center;
  font-size: clamp(48px, 6vw, 72px); font-weight: 700; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 20px;
}
.person__name { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.person__role { color: var(--mid); font-size: 15px; margin-top: 4px; }
.person__bio { color: var(--ink-2); font-size: 15px; margin-top: 12px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Bewertungen
   -------------------------------------------------------------------------- */
.review { background: var(--canvas); border-radius: var(--r-card); padding: 36px 32px; display: flex; flex-direction: column; }
.band--gray .review { background: var(--paper); }
.review__stars { color: var(--ink); letter-spacing: 2px; font-size: 14px; margin-bottom: 20px; }
.review__quote { font-size: 19px; line-height: 1.4; letter-spacing: -0.01em; flex: 1; }
.review__meta { margin-top: 24px; font-size: 14px; color: var(--mid); }
.review__meta strong { color: var(--ink); font-weight: 600; display: block; }

.rating-summary { display: inline-flex; align-items: center; gap: 12px; background: var(--paper); border-radius: 999px; padding: 8px 18px 8px 10px; font-size: 14px; color: var(--ink-2); }
.band:not(.band--gray) .rating-summary { background: var(--canvas); }
.rating-summary strong { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.rating-summary .g { width: 28px; height: 28px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-weight: 700; font-size: 15px; }

/* --------------------------------------------------------------------------
   Preistabelle
   -------------------------------------------------------------------------- */
.pricelist { background: var(--paper); border-radius: var(--r-card); overflow: hidden; }
.band:not(.band--gray) .pricelist { background: var(--canvas); }
.pricelist__row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 22px 32px; border-bottom: 1px solid rgba(0,0,0,.06); }
.pricelist__row:last-child { border-bottom: 0; }
.pricelist__name { font-size: 17px; font-weight: 500; }
.pricelist__desc { font-size: 14px; color: var(--mid); margin-top: 2px; }
.pricelist__price { font-size: 19px; font-weight: 600; white-space: nowrap; }
.pricelist__price small { font-size: 13px; color: var(--mid); font-weight: 400; margin-right: 4px; }
@media (max-width: 560px) { .pricelist__row { padding: 18px 22px; } }

.service-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.service-detail + .service-detail { margin-top: clamp(72px, 9vw, 130px); }
.service-detail__head { position: sticky; top: 88px; }
.service-detail__head .h-sm { margin: 20px 0 18px; }
.service-detail__head .lead { font-size: 19px; margin-bottom: 24px; }
.service-detail__swatch { width: 80px; height: 80px; border-radius: 28px; }
@media (max-width: 860px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail__head { position: static; }
}

/* --------------------------------------------------------------------------
   Termin-CTA & Formular
   -------------------------------------------------------------------------- */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.booking__info .h { margin-bottom: 20px; }
.booking__info .lead { margin-bottom: 32px; }
.booking__facts { display: grid; gap: 14px; }
.booking__facts li { display: flex; gap: 12px; align-items: center; color: var(--ink-2); font-size: 16px; }
.booking__facts svg { width: 22px; height: 22px; flex: none; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }

.form { background: var(--paper); border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); }
.band:not(.band--gray) .form { background: var(--canvas); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__grid .field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

.field label { display: block; font-size: 13px; color: var(--mid); margin-bottom: 8px; letter-spacing: -0.005em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; letter-spacing: -0.01em; color: var(--ink);
  border: 1px solid transparent; border-radius: 14px;
  padding: 14px 16px; min-height: 52px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.band--gray .field input, .band--gray .field select, .band--gray .field textarea { background: var(--canvas); }
.band:not(.band--gray) .field input, .band:not(.band--gray) .field select, .band:not(.band--gray) .field textarea { background: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.15); }
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23707070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field.is-invalid input, .field.is-invalid select { border-color: #d70015; }
.field__error { display: none; font-size: 13px; color: #d70015; margin-top: 6px; }
.field.is-invalid .field__error { display: block; }

.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot {
  padding: 9px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--hairline);
  font-size: 14px; cursor: pointer; transition: all .15s ease; user-select: none;
}
.slot:hover { border-color: var(--ink); }
.slot.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.slot.is-disabled { opacity: .35; pointer-events: none; text-decoration: line-through; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.check a { color: var(--link); }

.form__actions { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.form__note { font-size: 13px; color: var(--mid); text-align: center; }

.form__success { display: none; text-align: center; padding: 40px 12px; }
.form.is-sent .form__success { display: block; }
.form.is-sent .form__body { display: none; }
.form__success .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; margin: 0 auto 24px; }
.form__success .ok svg { width: 32px; height: 32px; stroke: var(--paper); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   Kontakt-Infos & Karte
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info { background: var(--canvas); border-radius: var(--r-card); padding: 32px; }
.band--gray .info { background: var(--paper); }
.info__label { font-size: 13px; color: var(--mid); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.info__big { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.info__big a:hover { color: var(--link); }
.info__text { color: var(--ink-2); margin-top: 8px; font-size: 15px; line-height: 1.5; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: 15px; margin: 0; }
.hours dt { color: var(--mid); }
.hours dd { margin: 0; font-weight: 500; }
.hours .today { color: var(--blue); font-weight: 600; }

.map {
  margin-top: 20px; border-radius: var(--r-card); overflow: hidden; position: relative;
  aspect-ratio: 21/9; background: var(--canvas); min-height: 320px;
}
.band--gray .map { background: var(--paper); }
.map__consent {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 32px;
  background:
    radial-gradient(circle at 30% 40%, rgba(0,113,227,.08), transparent 40%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(0,0,0,.035) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(0,0,0,.035) 39px 40px);
}
.map__consent .inner { max-width: 440px; }
.map__consent .pin { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); margin: 0 auto 20px; display: grid; place-items: center; }
.map__consent .pin svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map__consent h3 { font-size: 22px; margin-bottom: 8px; letter-spacing: -0.01em; }
.map__consent p { color: var(--mid); font-size: 14px; margin-bottom: 20px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map.is-loaded .map__consent { display: none; }

/* --------------------------------------------------------------------------
   Marken-Band
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 48s linear infinite; padding: 8px 0; }
.marquee__track img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: var(--logo-filter); transition: filter .3s ease; }
.marquee__track img.logo--tall { height: 44px; }
.marquee__track img.logo--wide { height: 26px; }
.marquee:hover img { filter: grayscale(0) opacity(1); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track, .hero__chip { animation: none; } }

/* --------------------------------------------------------------------------
   Sub-Page Hero
   -------------------------------------------------------------------------- */
.page-hero { padding: clamp(64px, 8vw, 110px) 0 clamp(40px, 5vw, 64px); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero .h-lg { margin-bottom: 22px; max-width: 900px; }
.page-hero .lead { max-width: 660px; }

/* --------------------------------------------------------------------------
   Werte / Fakten (Über uns)
   -------------------------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.value { padding: 36px 32px; border-radius: var(--r-card); background: var(--paper); }
.band:not(.band--gray) .value { background: var(--canvas); }
.value__num { font-size: 13px; font-weight: 600; color: var(--mid); letter-spacing: .06em; margin-bottom: 20px; }
.value__title { font-size: 22px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.value__text { color: var(--ink-2); font-size: 16px; }

.timeline { max-width: 760px; }
.timeline__item { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.timeline__item:last-child { border-bottom: 0; }
.timeline__year { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.timeline__text { color: var(--ink-2); }
.timeline__text strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 4px; }

.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { padding: 10px 18px; border-radius: 999px; background: var(--paper); font-size: 14px; color: var(--ink-2); }
.band:not(.band--gray) .badge { background: var(--canvas); }

/* --------------------------------------------------------------------------
   Big Statement / Abschluss-CTA
   -------------------------------------------------------------------------- */
.statement { text-align: center; max-width: 900px; margin: 0 auto; }
.statement .h-lg { margin-bottom: 28px; }
.statement .lead { max-width: 620px; margin: 0 auto 36px; }

/* --------------------------------------------------------------------------
   Rechtstexte
   -------------------------------------------------------------------------- */
.legal h2 { font-size: 24px; font-weight: 600; margin: 48px 0 14px; letter-spacing: -0.01em; }
.legal h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--link); }
.legal a:hover { text-decoration: underline; }
.legal .placeholder { background: var(--ph-bg); color: var(--ember); padding: 1px 6px; border-radius: 6px; font-weight: 500; }
.legal-note { background: var(--canvas); border-radius: 18px; padding: 18px 22px; font-size: 14px; color: var(--ink-2); margin-bottom: 32px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--canvas); padding: 64px 0 40px; font-size: 12px; color: var(--mid); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--hairline); }
.footer__brand .brand { margin-bottom: 14px; }
.footer__brand p { font-size: 13px; line-height: 1.5; max-width: 300px; }
.footer h4 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--ink-2); }
.footer a:hover { text-decoration: underline; color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 20px; line-height: 1.33; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__bottom li { margin: 0; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer__top { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Sticky Mobile CTA
   -------------------------------------------------------------------------- */
.mobile-cta {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  gap: 10px;
}
.mobile-cta .btn { flex: 1; }
@media (max-width: 720px) { .mobile-cta { display: flex; } body { padding-bottom: 76px; } }

/* --------------------------------------------------------------------------
   Reveal-Animationen
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Druck */
@media print {
  .nav, .ribbon, .mobile-cta, .map__consent, .footer__top { display: none !important; }
  .band { padding: 24px 0; }
}

/* --------------------------------------------------------------------------
   Promo-Leiste (Demo-Hinweis)
   -------------------------------------------------------------------------- */
.promo-bar {
  background: var(--card-ink); color: #f5f5f7; font-size: 12px; letter-spacing: 0;
  text-align: center; padding: 8px var(--gutter); line-height: 1.4;
}
.promo-bar a { color: #2997ff; font-weight: 500; }
.promo-bar a:hover { text-decoration: underline; }
.promo-bar strong { font-weight: 600; }

/* --------------------------------------------------------------------------
   Theme-Umschalter
   -------------------------------------------------------------------------- */
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--ink-2); transition: background .2s ease, color .2s ease;
}
.theme-toggle:hover { background: var(--wash); color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }

/* --------------------------------------------------------------------------
   Fotos
   -------------------------------------------------------------------------- */
.photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 3/2; background: var(--canvas); }
.photo-card--wide { aspect-ratio: 16/9; }
.feature__visual--photo { padding: 0; }
.feature__visual--photo img { width: 100%; height: 100%; object-fit: cover; }
.person__avatar { overflow: hidden; }
.person__avatar img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.person:hover .person__avatar img { transform: scale(1.03); }

.photo-band { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: clamp(360px, 46vw, 620px); display: flex; align-items: flex-end; color: #fff; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.65)); }
.photo-band__text { position: relative; padding: clamp(28px, 4vw, 56px); max-width: 640px; }
.photo-band__text .eyebrow { color: rgba(255,255,255,.7); margin-bottom: 12px; }
.photo-band__text .h-sm { color: #fff; margin-bottom: 12px; }
.photo-band__text p:not(.eyebrow) { color: rgba(255,255,255,.85); font-size: 17px; }
.photo-band__text .btn--light { margin-top: 22px; background: #fff; color: #1d1d1f; }
.photo-credit { font-size: 12px; color: var(--mid); margin-top: 12px; }
