/* ==========================================================================
   Egloff Automobile – styles.css
   Architecture: Tokens → Reset → Base → Layout → Components → Utilities → Print
   Mobile-first. BEM-ähnlich. Eine Datei. Keine @import-Ketten.
   ========================================================================== */


/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* Farben – Marineblau (Schweizer Tiefe) & Champagne-Bronze (statt knallig-Gold) */
  --navy-950: #04091F;   /* tiefer, weniger blau-stichig */
  --navy-900: #0E2342;   /* eine Spur wärmer, Premium-Tiefe */
  --navy-800: #173159;   /* mehr Volumen */
  --navy-700: #20416F;   /* klarere Definition */
  --gold-500: #C99A4D;   /* Champagne-Gold statt Senf-Gelb */
  --gold-400: #DDB372;   /* sanftes Champagne-Highlight */
  --gold-600: #A37928;   /* Bronze-Tiefe für Hover/Active */
  --paper:    #FAF6EE;   /* warmes Pergament-Off-White */
  --paper-2:  #F0E9D8;   /* sanfter Creme-Beige */
  --white:    #FFFFFF;
  --ink:      #0C1830;   /* leicht gemildertes Tinte-Schwarz */
  --ink-soft: #4A5878;
  --ink-mute: #707990;   /* AA-Kontrast bleibt erhalten */
  --line:     #E8E1D2;   /* dezent sichtbarer */
  --line-strong:#D2C9B0;
  --line-dark:rgba(255,255,255,.14);

  /* Typografie */
  --serif:"Cormorant Garamond","Times New Roman",Georgia,serif;
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;

  /* Type-Scale (clamp, mobile→desktop) */
  --t-xs:  .8125rem;        /* 13px */
  --t-sm:  .875rem;         /* 14px */
  --t-base:1rem;            /* 16px */
  --t-md:  1.0625rem;       /* 17px */
  --t-lede:clamp(1.05rem, .25vw + 1rem, 1.2rem);
  --t-h3:  clamp(1.25rem, .4vw + 1.15rem, 1.5rem);
  --t-h2:  clamp(2rem, 2.4vw + 1rem, 3.25rem);
  --t-h1:  clamp(2.5rem, 4.2vw + 1rem, 4.75rem);
  --t-display: clamp(3rem, 6vw, 5.5rem);

  /* Spacing-Scale (4px-Raster) */
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10:8rem;
  --s-11:10rem;

  /* Layout */
  --container: 78rem;          /* 1248px */
  --container-narrow: 52rem;   /* 832px */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);

  /* Geometrie */
  --r-1: 2px;
  --r-2: 4px;
  --r-pill: 999px;
  --hairline: 1px;

  /* Schatten – sehr zurückhaltend, monochrom */
  --shadow-1: 0 1px 2px rgba(14, 35, 66,.04);
  --shadow-2: 0 8px 24px -12px rgba(14, 35, 66,.18), 0 2px 4px -2px rgba(14, 35, 66,.06);
  --shadow-card-hover: 0 22px 40px -28px rgba(14, 35, 66,.35), 0 6px 12px -8px rgba(14, 35, 66,.10);

  /* Easings & Timings */
  --t-fast: 180ms;
  --t-base: 240ms;
  --t-slow: 360ms;
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --ease-in-out: cubic-bezier(.45,0,.35,1);

  /* Z-Index */
  --z-nav: 50;
  --z-overlay: 80;
  --z-skip: 100;

  /* Header-Höhe (für Sticky-Offset) */
  --header-h: 4.5rem;
}

@media (min-width: 1024px) {
  :root { --header-h: 5.25rem; }
}


/* ==========================================================================
   2. RESET / NORMALIZE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  hanging-punctuation: first last;
}

body {
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: clip;
}

img, svg, video, picture { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; }

::selection { background: var(--gold-500); color: var(--navy-900); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: var(--r-1);
}

/* Reduced-Motion: Animationen stilllegen */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   3. BASE TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 600; }

p { text-wrap: pretty; }

strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }


/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--paper { background: var(--paper); color: var(--ink); }
.section--navy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: rgba(255,255,255,.86);
  background:
    radial-gradient(60% 50% at 88% 12%, rgba(221, 179, 114,.08), transparent 65%),
    radial-gradient(70% 55% at 8% 92%, rgba(32, 65, 111,.55), transparent 70%),
    linear-gradient(170deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
}
.section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .05;
  mix-blend-mode: overlay;
}

/* Atmender Lichtkegel oben rechts – bewegt sich sanft, wirkt wie Werkstatt-Lampe */
.section--navy::after {
  content: "";
  position: absolute;
  top: -20%; right: -15%;
  width: 70%; height: 100%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(221, 179, 114,.16), transparent 70%);
  filter: blur(20px);
  animation: navyAmbient 28s ease-in-out infinite;
}
@keyframes navyAmbient {
  0%, 100% { transform: translate(0, 0) scale(1);     opacity: .6; }
  50%      { transform: translate(-3%, 2%) scale(1.08); opacity: .9; }
}
@media (prefers-reduced-motion: reduce) {
  .section--navy::after { animation: none; opacity: .7; }
}

/* Optionaler Werkstatt-Hintergrund-Loop */
.section--navy__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: .28;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .section--navy__video { display: none; }
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy strong { color: var(--white); }

.section__head {
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}
.section__head--inverted .eyebrow { color: var(--gold-500); }
.section__head--inverted .section__title { color: var(--white); }

.section__title {
  font-size: var(--t-h2);
  font-family: var(--serif);
  font-weight: 500;
  margin-top: var(--s-3);
  letter-spacing: -0.012em;
}
.section__lede {
  font-size: var(--t-lede);
  color: var(--ink-soft);
  max-width: 38rem;
  margin-top: var(--s-5);
  line-height: 1.55;
}
.section--navy .section__lede { color: rgba(255,255,255,.7); }


/* – Eyebrow / Mini-Headline mit dünnem Gold-Marker – */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow--gold { color: var(--gold-500); }
.eyebrow__dot {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold-500);
  flex: 0 0 auto;
}
.section--navy .eyebrow { color: var(--gold-500); }
.section--navy .eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 10px rgba(201, 154, 77,.55);
}
/* Hero-Eyebrow: dezenter, weisser Punkt statt goldener Linie */
.hero .eyebrow {
  color: rgba(255,255,255,.7);
}
.hero .eyebrow__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
}


/* ==========================================================================
   5. COMPONENTS
   ========================================================================== */

/* --- 5.1 Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.4rem;
  min-height: 44px;             /* Touch-Target */
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--r-1);
  cursor: pointer;
  transition: background var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn--lg { padding: 1.05rem 1.75rem; font-size: 1rem; }

.btn--gold {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: var(--shadow-1);
}
.btn--gold:hover {
  background: var(--gold-400);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.btn--outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn--outline:hover {
  background: var(--navy-900);
  color: var(--white);
}
/* Outline-Variante auf dunklem Hintergrund (Hero) */
.hero .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.hero .btn--outline:hover {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  padding: .65rem .85rem;
}
.btn--ghost:hover { color: var(--gold-600); }

.btn--text {
  background: transparent;
  padding: .65rem 0;
  min-height: 0;
  color: var(--navy-900);
  font-weight: 500;
  border: 0;
}
.btn--text:hover { color: var(--gold-600); }
.section--navy .btn--text,
.hero .btn--text { color: rgba(255,255,255,.92); }
.section--navy .btn--text:hover,
.hero .btn--text:hover { color: var(--gold-400); }

.btn--phone { gap: .5rem; }
.btn--phone span { font-variant-numeric: tabular-nums; }


/* --- 5.1b Top-Bar (Adresse + Live-Status) -------------------------------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255,255,255,.7);
  font-size: .78rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: .4rem;
  min-height: 32px;
}
.topbar p { margin: 0; }
.topbar__address {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.62);
}
.topbar__address svg {
  color: var(--gold-500);
  flex: 0 0 auto;
}
.topbar__hours {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.topbar__status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  flex: 0 0 auto;
  box-shadow: 0 0 8px rgba(201, 154, 77,.5);
  animation: topbarPulse 2.6s ease-in-out infinite;
}
.topbar__status--open {
  background: #6FBF73;
  box-shadow: 0 0 9px rgba(111,191,115,.55);
}
.topbar__status--closed {
  background: rgba(255,255,255,.35);
  box-shadow: none;
  animation: none;
}
@keyframes topbarPulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: .55; transform: scale(.85); }
}
@media (prefers-reduced-motion: reduce) {
  .topbar__status { animation: none; }
}
@media (max-width: 767.98px) {
  .topbar { font-size: .72rem; }
  .topbar__address { display: none; }
  .topbar__inner { justify-content: center; padding-block: .35rem; }
}


/* --- 5.2 Header & Brand -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(251,249,244,.85);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(251,249,244,.95);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(14, 35, 66,.02);
}
/* Auto-Hide-on-Scroll nur auf Mobile/Tablet – auf Desktop bleibt der Header
   immer sichtbar, weil er dort als persistenter Navigations-Anker dient. */
@media (max-width: 1023.98px) {
  .site-header.is-hidden {
    transform: translateY(-100%);
  }
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  height: var(--header-h);
  transition: height var(--t-base) var(--ease-out);
}
.site-header.is-scrolled .site-header__inner {
  height: calc(var(--header-h) - .5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 40px; height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-base) var(--ease-out);
}
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand:hover .brand__mark { transform: rotate(-3deg) scale(1.05); }
@media (min-width: 1024px) {
  .brand__mark { width: 44px; height: 44px; }
}
.brand__name { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__name-1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.005em;
  color: var(--navy-900);
}
.brand__name-2 {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 3px;
}

/* ==========================================================================
   Nav — Mobile = Vollbild-Overlay, Desktop = inline-Liste.
   Mobile: display:none als default, display:flex bei body.is-nav-open.
   z-index: 9999 = über allem. Kein Slide-Transform mehr — robuster Fade.
   ========================================================================== */

/* Mobile-Default: hidden */
@media (max-width: 1023.98px) {
  .site-nav {
    display: none;
  }

  /* Mobile-Open: Vollbild über allem */
  body.is-nav-open .site-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 9999;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    width: 100dvw;
    color: var(--white);
    padding: 4.5rem var(--gutter) max(1.75rem, env(safe-area-inset-bottom)) var(--gutter);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y;
    background:
      radial-gradient(120% 60% at 100% 0%, rgba(221,179,114,.12), transparent 55%),
      radial-gradient(80% 50% at 0% 100%, rgba(32,65,111,.4), transparent 70%),
      linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
    animation: navFadeIn 220ms var(--ease-out);
  }

  @keyframes navFadeIn {
    from { opacity: 0; transform: scale(.985); }
    to   { opacity: 1; transform: scale(1); }
  }
  @media (prefers-reduced-motion: reduce) {
    body.is-nav-open .site-nav { animation: none; }
  }
}

/* iOS-Safari: SVG/Bars im Burger sollen Click NIE selbst empfangen,
   damit closest('.nav-toggle') zuverlässig matcht. */
.nav-toggle * { pointer-events: none; }
.nav-toggle,
.site-nav__close,
.site-nav__list a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Schliessen-Button im Drawer (Mobile only) — prominenter im Vollbild */
.site-nav__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255,255,255,.04);
  transition: color var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.site-nav__close:hover {
  color: var(--gold-400);
  background: rgba(255,255,255,.08);
  border-color: rgba(221,179,114,.3);
  transform: rotate(90deg);
}
.site-nav__close:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

/* Backdrop entfällt — Mobile-Drawer ist jetzt Vollbild und deckt
   alles ab. Falls JS doch ein Backdrop-Element injiziert, wird es
   visuell unsichtbar gemacht. */
.site-nav__backdrop { display: none; }
.site-nav__list {
  display: flex; flex-direction: column;
  gap: .25rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  position: relative;
}
.site-nav__list::before {
  content: "Navigation";
  display: block;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--s-5);
  padding-left: .85rem;
}
.site-nav__list a {
  display: block;
  position: relative;
  padding: .55rem .85rem;
  margin-inline: -.85rem;
  border-radius: var(--r-1);
  color: rgba(255,255,255,.92);
  letter-spacing: -0.005em;
  transition: color var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out),
              padding-left var(--t-base) var(--ease-out);
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: .85rem;
  bottom: .55rem;
  width: 0;
  height: 1px;
  background: var(--gold-500);
  transition: width var(--t-base) var(--ease-out);
}
.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  color: var(--gold-400);
  background: rgba(255,255,255,.04);
  padding-left: 1.1rem;
}
.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after { width: 1.5rem; }

/* ----- Drawer-Brand (Mobile) ----- */
.site-nav__brand {
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-nav__brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.1;
}
.site-nav__brand-tag {
  display: block;
  margin-top: .25rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}

/* ----- Drawer-Kontakt-Cluster (Mobile) ----- */
.site-nav__contact {
  margin-top: auto;
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

/* Primärer CTA als prominenter Goldbutton */
.site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1rem;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: var(--r-1);
  text-decoration: none;
  transition: background var(--t-base) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}
.site-nav__cta:hover { background: var(--gold-400); }
.site-nav__cta:active { transform: scale(.98); }
.site-nav__cta svg {
  transition: transform var(--t-base) var(--ease-out);
}
.site-nav__cta:hover svg { transform: translateX(3px); }

/* Phone-Card mit Icon links + 2 Zeilen rechts */
.site-nav__phone {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1rem;
  background: rgba(255,255,255,.04);
  border-radius: var(--r-1);
  text-decoration: none;
  color: var(--white);
  transition: background var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out);
}
.site-nav__phone:hover {
  background: rgba(255,255,255,.08);
  color: var(--gold-400);
}
.site-nav__phone-icon {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201,154,77,.15);
  color: var(--gold-400);
}
.site-nav__phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.site-nav__phone-text strong {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  color: inherit;
  font-variant-numeric: tabular-nums;
}
.site-nav__phone-text span {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 1px;
}

/* Adresse als feiner Footer */
.site-nav__address {
  font-style: normal;
  font-size: .85rem;
  line-height: 1.5;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.01em;
  padding-top: .25rem;
}

/* iOS-tauglicher Body-Scroll-Lock — overflow:hidden allein reicht auf
   iOS Safari nicht. JS speichert die Scroll-Position, setzt body fixed,
   und stellt nach Schliessen wieder her. Nur auf Mobile aktiv. */
@media (max-width: 1023.98px) {
  html.is-nav-open,
  body.is-nav-open {
    overflow: hidden;
    height: 100%;
    overscroll-behavior: none;
  }
  body.is-nav-open {
    position: fixed;
    width: 100%;
    /* top wird von JS gesetzt (-savedScrollY in px) */
  }
}

/* Burger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: var(--r-1);
  position: relative;
}
.nav-toggle__bar {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform var(--t-base) var(--ease-out),
              opacity var(--t-fast) var(--ease-out),
              width var(--t-base) var(--ease-out);
  transform-origin: center;
}
.nav-toggle__bar:nth-child(2) { width: 16px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 22px; }

/* Site-Header Actions */
.site-header__actions { display: inline-flex; align-items: center; gap: .25rem; }

/* Desktop-Layout für Header / Nav */
@media (min-width: 1024px) {
  .site-nav {
    position: static;
    width: auto;
    inset: auto;
    height: auto;
    background: transparent;
    color: inherit;
    padding: 0;
    transform: none;
    transition: none;
    box-shadow: none;
    border: 0;
    overflow: visible;
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .site-nav__list {
    flex-direction: row;
    gap: clamp(1.25rem, 2vw, 2.25rem);
    font-family: var(--sans);
    font-size: .95rem;
    font-weight: 500;
  }
  .site-nav__list::before { display: none; }
  .site-nav__list a {
    margin-inline: 0;
    padding: .25rem .1rem;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    padding: .25rem .1rem;
  }
  .site-nav__list a::after {
    left: 0;
    bottom: 0;
    background: var(--gold-500);
  }
  .site-nav__list a:hover,
  .site-nav__list a:focus-visible {
    color: var(--navy-900);
    background: transparent;
    padding-left: .1rem;
  }
  .site-nav__list a:hover::after,
  .site-nav__list a:focus-visible::after { width: 100%; }
  .site-nav__list a.is-active { color: var(--navy-900); }
  .site-nav__list a.is-active::after { width: 100%; }
  .site-nav__close { display: none; }
  .site-nav__brand { display: none; }
  .site-nav__contact { display: none; }
  .nav-toggle { display: none; }
  .site-header__actions { gap: .5rem; }
}

/* Desktop: CTA-Button mit Pfeil — Pfeil wandert bei Hover */
.btn__arrow {
  margin-left: .15rem;
  transition: transform var(--t-base) var(--ease-out);
}
.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow { transform: translateX(3px); }

/* Subtiler Goldakzent unten am Header sobald gescrollt wird */
.site-header.is-scrolled::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: .55;
  pointer-events: none;
}
@media (max-width: 1023.98px) {
  .btn--phone span,
  .brand__name-2 { display: none; }
  .btn--phone { padding: .55rem .65rem; }
}


/* --- 5.3 Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-900);
  color: rgba(255,255,255,.88);
  min-height: 90svh;
  display: flex;
  align-items: center;
  padding-block: clamp(5rem, 12vh, 8rem);
}
@media (min-width: 1024px) {
  .hero { min-height: 100svh; max-height: 1100px; }
}

/* Hintergrund: Gradient + Noise + Linien + Lichtkegel */
.hero__backdrop {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(201, 154, 77,.12), transparent 60%),
    radial-gradient(80% 60% at 10% 100%, rgba(32, 65, 111,.55), transparent 70%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
}
/* SVG-Noise via data-URI */
.hero__backdrop::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .07;
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* Architektonische Akzent-Linien entfernt – der Glow + Noise tragen die
   Atmosphäre allein. Selektoren bleiben stehen, sind aber visuell inert. */
.hero__line { display: none; }
.hero__glow {
  position: absolute;
  width: 60vmax; height: 60vmax;
  right: -25vmax; top: -25vmax;
  background: radial-gradient(closest-side, rgba(221, 179, 114,.18), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  max-width: 48rem;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-h1);
  line-height: 1.06;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-top: var(--s-2);
}
.hero__title em {
  display: inline-block;
  font-style: italic;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  margin-top: .35rem;
  font-size: .82em;
  letter-spacing: -0.005em;
}

.hero__lede {
  font-size: var(--t-lede);
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  max-width: 38rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1rem;
  align-items: center;
  margin-top: var(--s-3);
}
.hero__cta .btn--text {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-left: 0;
}
.hero__cta .btn--text strong { color: var(--white); }

.hero__meta {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  letter-spacing: 0.02em;
  margin-top: var(--s-2);
}

/* Trust-Pills */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: var(--s-2);
}
.trust-row__item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .75rem .35rem .25rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.72);
  border: 0;
  background: transparent;
}
.trust-row__item + .trust-row__item {
  border-left: 1px solid rgba(255,255,255,.12);
  padding-left: 1rem;
}
.trust-row__item svg { color: var(--gold-400); opacity: .85; }


/* --- 5.4 Service-Cards --------------------------------------------------- */
.cards {
  display: grid;
  gap: clamp(1rem, 1.6vw, 1.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: clamp(1.5rem, 2vw, 2rem);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--gold-500);
  transition: width var(--t-base) var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-strong);
}
.card:hover::before { width: 3px; }

.card__icon {
  display: inline-flex;
  width: 56px; height: 56px;
  border-radius: var(--r-2);
  background: linear-gradient(140deg, rgba(201, 154, 77,.08), rgba(14, 35, 66,.04));
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  margin-bottom: var(--s-5);
  transition: color var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out);
}
.card:hover .card__icon {
  color: var(--gold-600);
  background: linear-gradient(140deg, rgba(201, 154, 77,.18), rgba(201, 154, 77,.05));
}
.card__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-3);
  letter-spacing: -0.005em;
}
.card__text {
  font-size: .975rem;
  line-height: 1.6;
  color: var(--ink-soft);
}


/* --- 5.5 USPs (Warum wir) ------------------------------------------------ */
.usp-grid {
  display: grid;
  gap: clamp(1.5rem, 2.5vw, 2.75rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .usp-grid { grid-template-columns: repeat(4, 1fr); } }

.usp {
  position: relative;
  padding: clamp(1.5rem, 2.2vw, 2rem);
  background:
    linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.012));
  border: 0;
  border-radius: var(--r-2);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    inset 0 0 28px rgba(255,255,255,.025);
  transition: background var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.usp:hover {
  background:
    linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 0 32px rgba(255,255,255,.04),
    0 22px 36px -24px rgba(0,0,0,.6);
}
.usp__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 3.25rem;
  line-height: 1;
  color: var(--gold-500);
  letter-spacing: -0.025em;
  margin-bottom: var(--s-4);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 36px rgba(201, 154, 77,.18);
  transition: text-shadow var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out);
}
.usp:hover .usp__num {
  color: var(--gold-400);
  text-shadow: 0 0 42px rgba(221, 179, 114,.32);
}
.usp__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: var(--s-3);
  letter-spacing: -0.005em;
}
.usp__text {
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
}


/* --- 5.6 Prozess-Steps --------------------------------------------------- */
.steps {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card-hover);
}

/* Grosse Outline-Number als dezentes Watermark oben rechts */
.step__num {
  position: absolute;
  top: -.4rem;
  right: 22px;
  z-index: -1;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 5.75rem;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,154,77,.35);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  transition: -webkit-text-stroke-color var(--t-base) var(--ease-out);
}
.step:hover .step__num {
  -webkit-text-stroke-color: rgba(201,154,77,.6);
}

/* Icon-Badge oben links */
.step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s-5);
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(201,154,77,.10), rgba(14,35,66,.04));
  color: var(--navy-900);
  transition: color var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out);
}
.step:hover .step__icon {
  color: var(--gold-600);
  background: linear-gradient(140deg, rgba(201,154,77,.18), rgba(201,154,77,.05));
}

/* Caps-Subline für Zeit-Hinweis */
.step__time {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: .55rem;
}

.step__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.005em;
  margin-bottom: var(--s-3);
  color: var(--ink);
}

.step__text {
  font-size: .975rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-top: auto;
}

/* Verbindungs-Pfeile zwischen den Cards (Desktop only) */
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(22px + clamp(1.75rem, 2.5vw, 2.25rem));
    right: -1rem;
    width: 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong));
    z-index: 1;
  }
}


/* --- 5.7 Über (Split + Portrait-Frame) ----------------------------------- */
.section--split { background: var(--paper); }

.split {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .split { grid-template-columns: 5fr 6fr; } }

.split__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--r-2);
  overflow: hidden;
}
.split__media::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .08;
  mix-blend-mode: overlay;
}

.portrait-frame {
  position: absolute;
  inset: clamp(1.25rem, 3vw, 2.5rem);
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 154, 77,.35);
}
.portrait-frame__corner {
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--gold-500);
  border-style: solid;
  border-width: 0;
}
.portrait-frame__corner--tl { top: -1px; left: -1px; border-top-width: 1.5px; border-left-width: 1.5px; }
.portrait-frame__corner--tr { top: -1px; right: -1px; border-top-width: 1.5px; border-right-width: 1.5px; }
.portrait-frame__corner--bl { bottom: -1px; left: -1px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.portrait-frame__corner--br { bottom: -1px; right: -1px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.portrait-frame__monogram {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(5rem, 10vw, 8rem);
  color: var(--gold-500);
  letter-spacing: -0.02em;
  line-height: 1;
  opacity: .9;
}

.split__copy p {
  margin-top: var(--s-4);
  color: var(--ink-soft);
  font-size: var(--t-md);
  line-height: 1.7;
  max-width: 36rem;
}
.split__copy p:first-of-type { margin-top: var(--s-5); }

/* Facts (Definition List) */
.facts {
  margin-top: var(--s-7);
  border-top: 1px solid var(--line);
}
.facts__row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.facts__row dt {
  color: var(--ink-mute);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  align-self: center;
}
.facts__row dd { color: var(--ink); font-weight: 500; }


/* --- 5.8 FAQ-Accordion --------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--t-base) var(--ease-out);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--gold-600); }

/* Custom Plus/Minus-Marker */
.faq__chev {
  position: relative;
  width: 18px; height: 18px;
  flex: 0 0 auto;
}
.faq__chev::before,
.faq__chev::after {
  content: "";
  position: absolute;
  background: var(--ink-soft);
  transition: transform var(--t-base) var(--ease-out),
              opacity var(--t-base) var(--ease-out);
}
.faq__chev::before { /* horizontal */
  top: 50%; left: 0; right: 0; height: 1.5px;
  transform: translateY(-50%);
}
.faq__chev::after  { /* vertical */
  left: 50%; top: 0; bottom: 0; width: 1.5px;
  transform: translateX(-50%);
}
.faq__item[open] .faq__chev::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq__item[open] .faq__q { color: var(--navy-900); }

.faq__a {
  padding: 0 0 1.4rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 52rem;
}

/* Smooth-Open Animation */
.faq__item[open] .faq__a { animation: faqDown var(--t-slow) var(--ease-out); }
@keyframes faqDown {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}


/* --- 5.9 Kontakt: Form + Sidebar ----------------------------------------- */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
}

/* Form */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.form__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--s-5);
  position: relative;
  padding-bottom: var(--s-4);
}
.form__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 1px;
  background: var(--gold-500);
}
.form__row { margin-bottom: var(--s-5); }
.form__grid {
  display: grid;
  gap: var(--s-5);
  margin-bottom: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 540px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
}
.form__label {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .55rem;
}
.form__label--inline {
  display: inline;
  text-transform: none;
  letter-spacing: 0;
  font-size: .9rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin: 0;
}
.form__input {
  width: 100%;
  padding: .85rem 1rem;
  min-height: 48px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  transition: border-color var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
  appearance: none;
}
.form__input::placeholder { color: var(--ink-mute); }
.form__input:hover { border-color: var(--line-strong); }
.form__input:focus-visible {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 154, 77,.18);
}
.form__textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.form__select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234A5878' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><path d='m4 6 4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form__row--check {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: .75rem;
  align-items: start;
}
.form__check {
  width: 1.1rem; height: 1.1rem;
  margin-top: .25rem;
  accent-color: var(--gold-500);
  cursor: pointer;
}

/* Link "Zur Datenschutzerklärung" unter dem Checkbox-Label */
.form__privacy-link {
  display: inline-block;
  margin-top: .25rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--gold-600);
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
  transition: color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.form__privacy-link:hover,
.form__privacy-link:focus-visible {
  color: var(--navy-900);
  border-bottom-color: var(--gold-500);
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-5);
  margin-top: var(--s-2);
}
.form__hint {
  font-size: .8rem;
  color: var(--ink-mute);
  margin-top: var(--s-4);
}

/* Inline-Fehlermeldung pro Feld – rot, unterhalb des Inputs */
.form__error {
  display: block;
  margin: .35rem 0 0;
  padding: 0;
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.4;
  color: #B43A3A;
  letter-spacing: 0.005em;
  animation: formErrorIn 200ms var(--ease-out);
}
@keyframes formErrorIn {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: none; }
}

/* Feld im Fehlerzustand – rote Border, rotes Focus-Ring */
.form__row.has-error .form__input {
  border-color: #B43A3A;
}
.form__row.has-error .form__input:hover {
  border-color: #B43A3A;
}
.form__row.has-error .form__input:focus,
.form__row.has-error .form__input:focus-visible {
  outline: none;
  border-color: #B43A3A;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(180,58,58,.18);
}
.form__row--check.has-error .form__check {
  outline: 2px solid #B43A3A;
  outline-offset: 2px;
}
.form__row--check.has-error .form__label--inline {
  color: #B43A3A;
}
@media (prefers-reduced-motion: reduce) {
  .form__error { animation: none; }
}

/* Inline-Status (von main.js dynamisch eingefügt) */
.form__status {
  margin: 0 0 var(--s-4);
  padding: .85rem 1rem;
  font-size: .95rem;
  line-height: 1.5;
  border-left: 3px solid var(--ink-mute);
  background: var(--paper);
  border-radius: 0 var(--r-1) var(--r-1) 0;
  color: var(--ink);
}
.form__status[data-kind="pending"] {
  border-left-color: var(--ink-soft);
  color: var(--ink-soft);
  font-style: italic;
}
.form__status[data-kind="success"] {
  border-left-color: #2E7D5B;
  background: #EAF4ED;
  color: #1F5A3F;
}
.form__status[data-kind="error"] {
  border-left-color: #B43A3A;
  background: #FBECEC;
  color: #7C1F1F;
}
/* hidden-Attribut respektieren — verhindert leere Status-Box im Default-Zustand */
.form__status[hidden] {
  display: none;
}

/* Kontakt-Sidebar */
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
.contact-meta__block { }
.contact-meta__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--s-3);
  position: relative;
  padding-bottom: var(--s-3);
}
.contact-meta__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 1px;
  background: var(--gold-500);
}
.contact-meta__sub {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}
.contact-meta__address {
  font-style: normal;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.55;
}
.contact-meta__list {
  display: flex; flex-direction: column;
  gap: var(--s-3);
}
.contact-meta__list li {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: 1rem;
}
.contact-meta__list svg { color: var(--gold-600); flex: 0 0 auto; }
.contact-meta__list a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color var(--t-base), border-color var(--t-base);
}
.contact-meta__list a:hover {
  color: var(--gold-600);
  border-bottom-color: var(--gold-500);
}

/* Hours-Tabelle */
.hours { width: 100%; font-size: .95rem; }
.hours th, .hours td {
  text-align: left;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.hours th {
  font-weight: 500;
  color: var(--ink-mute);
  width: 6.5rem;
  font-size: .8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* Map – OpenStreetMap-Embed mit Adress-Card-Overlay */
.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  overflow: hidden;
  background:
    linear-gradient(135deg, #EAE3D2 0%, #F0E9D8 60%, #E9E2D0 100%);
}
.map__frame {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
  filter: saturate(.92) contrast(.96);
}
.map__card {
  position: absolute;
  left: var(--s-4);
  bottom: var(--s-4);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem .85rem;
  padding: .7rem .95rem;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  box-shadow: 0 6px 20px -10px rgba(14, 35, 66,.18);
  max-width: calc(100% - 2 * var(--s-4));
}
.map__card svg { color: var(--gold-600); flex: 0 0 auto; }
.map__address {
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.35;
  font-weight: 500;
  margin: 0;
}
.map__route-link {
  font-size: .85rem;
  padding: .25rem 0;
}
.map__attribution {
  position: absolute;
  right: 6px; bottom: 4px;
  font-size: .65rem;
  color: var(--ink-soft);
  background: rgba(255,255,255,.8);
  padding: 1px 5px;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.map__attribution:hover { color: var(--gold-600); }


/* --- 5.10 Footer --------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.7);
  padding-top: var(--s-9);
  padding-bottom: var(--s-5);
  font-size: .92rem;
}
.site-footer__grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.site-footer__brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--s-3);
}
.site-footer__address { font-style: normal; line-height: 1.6; color: rgba(255,255,255,.65); }

.site-footer__title {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--s-4);
}
.site-footer__list {
  display: flex; flex-direction: column;
  gap: .55rem;
}
.site-footer__list a {
  color: rgba(255,255,255,.78);
  transition: color var(--t-base) var(--ease-out);
}
.site-footer__list a:hover { color: var(--gold-400); }

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-top: var(--s-5);
}
.site-footer__copy { color: rgba(255,255,255,.62); font-size: .82rem; }
.site-footer__legal {
  display: flex; flex-wrap: wrap;
  gap: var(--s-5);
  font-size: .82rem;
}
.site-footer__legal a { color: rgba(255,255,255,.65); transition: color var(--t-base); }
.site-footer__legal a:hover { color: var(--gold-400); }


/* ==========================================================================
   6. UTILITIES
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Scroll-Reveal – Klasse wird per IntersectionObserver in main.js gesetzt */
.reveal,
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Floating "Nach oben"-Button – wird per JS dynamisch erzeugt */
.back-to-top {
  position: fixed;
  right: clamp(.85rem, 2vw, 1.5rem);
  bottom: clamp(.85rem, 2vw, 1.5rem);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--navy-900);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 22px -10px rgba(14, 35, 66,.25);
  z-index: 60;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.back-to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
  box-shadow: 0 14px 28px -8px rgba(14, 35, 66,.45);
}
.back-to-top:active { transform: scale(.94); }
.back-to-top:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 1ms; transform: none; }
}


/* Hairline-Trennung (zwischen Sektionen, optional) */
.hr-fine {
  display: block;
  width: 64px;
  height: 1px;
  margin: 0 auto;
  background: var(--gold-500);
  border: 0;
  opacity: .8;
}


/* ==========================================================================
   Legal-Pages – Editorial-Flow für Impressum & Datenschutzerklärung
   ========================================================================== */
.legal { max-width: 48rem; }
.legal .eyebrow { margin-bottom: var(--s-3); }

.legal__title {
  font-family: var(--serif);
  font-size: var(--t-h2);
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: var(--s-4);
}
.legal__lede {
  font-size: var(--t-lede);
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--line);
}

.legal h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-top: var(--s-7);
  margin-bottom: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: var(--s-5);
  margin-bottom: var(--s-3);
  letter-spacing: 0;
}

.legal p {
  margin-bottom: var(--s-4);
  line-height: 1.7;
  color: var(--ink);
}
.legal p:last-child { margin-bottom: 0; }

.legal address {
  font-style: normal;
  margin-bottom: var(--s-4);
  line-height: 1.6;
  color: var(--ink);
}

.legal ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 0 0 var(--s-4);
}
.legal ul li {
  margin-bottom: var(--s-2);
  line-height: 1.65;
  color: var(--ink);
}
.legal ul li::marker { color: var(--gold-500); }

.legal a {
  color: var(--navy-900);
  border-bottom: 1px solid var(--line-strong);
  transition: color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.legal a:hover {
  color: var(--gold-600);
  border-bottom-color: var(--gold-500);
}

.legal code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .92em;
  background: var(--paper-2);
  padding: 0.05em 0.35em;
  border-radius: 2px;
}

.legal__updated {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* aria-current="page" auf Footer-Legal-Links */
.site-footer__legal a[aria-current="page"] {
  color: var(--gold-400);
  pointer-events: none;
}


/* ==========================================================================
   7. PRINT
   ========================================================================== */
@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  body { font-size: 11pt; line-height: 1.45; }

  .site-header, .nav-toggle, .site-nav,
  .hero__backdrop, .hero__cta,
  .form, .map, .faq__chev,
  .site-footer__legal { display: none !important; }

  .hero { min-height: 0; padding: 1cm 0 .5cm; }
  .hero__title { color: #000 !important; padding-bottom: .5cm; }
  .hero__title::after { background: #000 !important; }

  .section { padding: .75cm 0; page-break-inside: avoid; }
  .cards, .usp-grid, .steps, .contact-grid, .split { display: block !important; }
  .card, .usp, .step {
    border: 1px solid #999 !important;
    padding: .5cm !important;
    margin-bottom: .35cm !important;
    page-break-inside: avoid;
  }

  a { text-decoration: underline; }
  a[href^="tel:"]::after,
  a[href^="mailto:"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555 !important; }

  .site-footer {
    background: transparent !important;
    border-top: 1px solid #000;
    padding: .5cm 0;
  }
  .site-footer__brand { color: #000 !important; }
}
