/* ==========================================================================
   Maisch Automobile Frickenhausen — Design „Werkstatt Premium v2"
   Adaption Autohaus: Schwarz/Gelb aus dem Logo, Gelb nur auf dunkler Bühne
   ========================================================================== */

:root {
  color-scheme: light dark;

  /* Papier & Tinte */
  --paper:      #FAF9F7;
  --paper-2:    #F2EFEB;
  --card:       #FFFFFF;
  --ink:        #17171A;
  --ink-2:      #4C4B50;
  --ink-3:      #78767C;
  --hairline:   rgba(23, 23, 26, 0.1);

  /* Marke: Gelb-Familie (Logo) */
  --yellow:        #FFD500;
  --yellow-bright: #FFE14D;
  --yellow-deep:   #E3B400;
  --amber-ink:     #806200;   /* Light-Mode-Text-Akzent, 5.5:1 auf paper */
  --amber-tint:    #FBF3D9;

  --accent-ink:  var(--amber-ink);   /* Eyebrows, Links, Icons auf Hell */
  --accent-fill: var(--yellow);      /* Buttons, Dots, Glows */

  /* Dunkle Bühne — Automotive-Schwarz */
  --stage:      #0E0E11;
  --stage-2:    #1A1A1F;
  --stage-ink:  #F6F5F3;
  --stage-ink-2:rgba(246, 245, 243, 0.72);
  --stage-line: rgba(255, 255, 255, 0.12);
  --stage-glass:rgba(255, 255, 255, 0.07);

  --shadow-s: 0 1px 2px rgba(20, 15, 10, 0.05), 0 4px 12px -4px rgba(20, 15, 10, 0.08);
  --shadow-m: 0 2px 4px rgba(20, 15, 10, 0.05), 0 16px 40px -16px rgba(20, 15, 10, 0.18);
  --shadow-l: 0 4px 8px rgba(20, 15, 10, 0.06), 0 32px 64px -24px rgba(20, 15, 10, 0.28);
  --shadow-accent: 0 10px 32px -10px rgba(227, 180, 0, 0.45);

  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-display:  clamp(2.625rem, 6vw + 1rem, 4.75rem);
  --fs-title:    clamp(1.875rem, 3.2vw + 0.75rem, 2.75rem);
  --fs-subtitle: clamp(1.25rem, 1.5vw + 0.9rem, 1.5rem);
  --fs-lead:     clamp(1.125rem, 1vw + 0.95rem, 1.3125rem);
  --fs-body:     1.0625rem;
  --fs-caption:  0.875rem;
  --fs-label:    0.8125rem;

  --container: 1140px;
  --container-narrow: 720px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --s-1: 0.5rem;  --s-2: 0.75rem; --s-3: 1rem;   --s-4: 1.5rem;
  --s-5: 2rem;    --s-6: 3rem;    --s-7: 4rem;   --s-8: 6rem;

  --section-pad: clamp(4.5rem, 6vw + 2rem, 7.5rem);
  --radius-s: 12px; --radius-m: 20px; --radius-l: 28px; --radius-xl: 36px;

  --focus-ring: var(--amber-ink);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #121215;
    --paper-2:    #18181C;
    --card:       #1E1E23;
    --ink:        #F4F3F1;
    --ink-2:      #C3C2C7;
    --ink-3:      #929097;
    --hairline:   rgba(244, 243, 241, 0.12);
    --amber-ink:  #FFDD33;
    --amber-tint: #2A2410;
    --focus-ring: #FFD500;
    --shadow-s: 0 1px 2px rgba(0,0,0,0.4), 0 4px 12px -4px rgba(0,0,0,0.5);
    --shadow-m: 0 2px 4px rgba(0,0,0,0.4), 0 16px 40px -16px rgba(0,0,0,0.6);
    --shadow-l: 0 4px 8px rgba(0,0,0,0.4), 0 32px 64px -24px rgba(0,0,0,0.7);
  }
}

/* ==== Reset / Basis ==== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 6.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }
:where(a, button, summary):focus-visible {
  outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--yellow); color: #17171A;
  padding: 0.6rem 1.2rem; border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }

section { padding-block: var(--section-pad); }
.section-alt { background: var(--paper-2); }

.eyebrow {
  font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent-ink);
  margin-bottom: var(--s-3);
}
h1 { font-size: var(--fs-display); font-weight: 800; line-height: 1.03; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-title); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: var(--fs-subtitle); font-weight: 700; line-height: 1.25; letter-spacing: -0.012em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
p { max-width: 65ch; }
.section-intro { margin-top: var(--s-3); margin-bottom: var(--s-6); color: var(--ink-2); }
.center { text-align: center; }
.center p, .center .lead { margin-inline: auto; }

.tel-strong {
  font-size: var(--fs-subtitle); font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.tel-strong:hover { color: var(--accent-ink); }

/* ==== Buttons ==== */
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  border-radius: 980px;
  font-weight: 650; text-decoration: none;
  padding: 0.8rem 1.6rem; font-size: var(--fs-body);
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-primary {
  background: linear-gradient(140deg, var(--yellow-bright), var(--yellow-deep));
  color: #17171A;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(227, 180, 0, 0.55); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-secondary {
  background: transparent; color: var(--accent-ink);
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.btn-secondary:hover { transform: translateY(-2px); }
.btn-ghost {
  background: var(--stage-glass); color: var(--stage-ink);
  border: 1px solid var(--stage-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ==== Header ==== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.8) blur(22px);
  backdrop-filter: saturate(1.8) blur(22px);
  border-bottom: 1px solid var(--hairline);
  height: 5rem;
}
@media (min-width: 768px) { .header { height: 5.5rem; } }
.header-inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
}
.nav { display: none; gap: var(--s-5); }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-size: var(--fs-caption); font-weight: 600;
  color: var(--ink-2); text-decoration: none; position: relative;
}
.nav a:hover { color: var(--ink); }
.header .btn-primary { padding: 0.55rem 1.15rem; font-size: var(--fs-caption); }
.header-tel-mobile { display: grid; place-items: center; width: 44px; height: 44px; color: var(--accent-ink); }
@media (min-width: 900px) { .header-tel-mobile { display: none; } }
.header-tel-desktop { display: none; }
@media (min-width: 900px) { .header-tel-desktop { display: inline-flex; } }

/* ==== Logo (PNG, Light/Dark-Varianten) ==== */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: auto; height: 3.25rem; }
@media (min-width: 768px) { .brand img { height: 3.75rem; } }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark { display: block; }
}
/* Auf dunkler Fläche (Footer) immer die weiße Variante */
.on-stage .logo-light { display: none !important; }
.on-stage .logo-dark { display: block !important; }

/* ==== Hero (dunkle Bühne, linksbündig, Schwunglinie) ==== */
.hero {
  position: relative; overflow: hidden;
  background: var(--stage);
  color: var(--stage-ink);
  padding: 0;
}
.hero-swoosh {
  position: absolute; right: -18%; top: 6%;
  width: min(120vw, 1400px); height: auto;
  pointer-events: none;
  opacity: 0.9;
  mask-image: linear-gradient(100deg, transparent 8%, black 42%);
  -webkit-mask-image: linear-gradient(100deg, transparent 8%, black 42%);
}
.hero-swoosh .line-yellow {
  stroke: var(--yellow); stroke-width: 5; fill: none;
  stroke-linecap: round;
  filter: drop-shadow(0 0 24px rgba(255, 213, 0, 0.35));
}
.hero-swoosh .line-body {
  stroke: rgba(246, 245, 243, 0.28); stroke-width: 4; fill: none;
  stroke-linecap: round;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60rem 32rem at 78% 12%, rgba(255, 213, 0, 0.14), transparent 62%),
    radial-gradient(40rem 26rem at 8% 95%, rgba(255, 213, 0, 0.05), transparent 60%),
    linear-gradient(180deg, rgba(14,14,17,0.2), rgba(14,14,17,0.75) 78%, var(--stage));
}
.hero-inner {
  position: relative;
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  padding-block: clamp(4.5rem, 10vh, 7.5rem) clamp(7rem, 12vh, 10rem);
  text-align: left;
}
.hero-inner > * { max-width: 44rem; }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { text-wrap: balance; }
.hero .lead { color: var(--stage-ink-2); margin-top: var(--s-4); }
.hero-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-6); }
.hero-hours {
  margin-top: var(--s-5); font-size: var(--fs-caption);
  color: rgba(246, 245, 243, 0.55); font-variant-numeric: tabular-nums;
}

/* ==== Live-Status-Chip ==== */
.chip-live {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: var(--fs-caption); font-weight: 600;
  color: var(--stage-ink);
  background: var(--stage-glass);
  border: 1px solid var(--stage-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 980px; padding: 0.45rem 1rem;
  margin-bottom: var(--s-5);
  font-variant-numeric: tabular-nums;
}
.chip-live .dot {
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: #34C759; flex: none;
  box-shadow: 0 0 10px rgba(52, 199, 89, 0.8);
}
.chip-live.closed .dot { background: #FF9F0A; box-shadow: 0 0 10px rgba(255, 159, 10, 0.7); }

/* ==== Situationskarten (überlappen den Hero) ==== */
.situations { padding-block: 0 var(--section-pad); background: var(--paper); }
.situations-grid {
  display: grid; gap: var(--s-4); grid-template-columns: 1fr;
  margin-top: clamp(-5.5rem, -8vh, -4rem);
  position: relative; z-index: 2;
}
@media (min-width: 768px) { .situations-grid { grid-template-columns: repeat(3, 1fr); } }
.situation {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l); padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-2);
  box-shadow: var(--shadow-l);
}
.situation p { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.55; flex: 1; }
.situation .btn-primary, .situation .btn-secondary {
  margin-top: var(--s-3); align-self: flex-start;
  padding: 0.65rem 1.3rem; font-size: 0.9375rem;
}

/* ==== Icon-Kacheln ==== */
.icon-tile {
  width: 3.25rem; height: 3.25rem; border-radius: 16px;
  background: var(--amber-tint);
  color: var(--accent-ink);
  border: 1px solid color-mix(in srgb, var(--amber-ink) 16%, transparent);
  display: grid; place-items: center; margin-bottom: var(--s-3); flex: none;
}
.icon-tile svg { width: 1.6rem; height: 1.6rem; }

/* ==== Leistungen: Bento-Grid ==== */
.services-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-2);
  box-shadow: var(--shadow-s);
}
.card h3 { font-size: 1.1875rem; }
.card p { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.55; }
.card--wide { grid-column: span 1; }
@media (min-width: 640px) { .card--wide { grid-column: span 2; } }
.card--photo { position: relative; overflow: hidden; }
.card--photo .card-img {
  position: absolute; right: -12%; bottom: -18%;
  width: 58%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%;
  opacity: 0.92;
  box-shadow: var(--shadow-m);
  pointer-events: none;
}
@media (max-width: 639px) { .card--photo .card-img { display: none; } }
.card--photo h3, .card--photo p { position: relative; max-width: 58%; }
@media (max-width: 639px) { .card--photo h3, .card--photo p { max-width: none; } }
.price-badge {
  display: inline-block; align-self: flex-start;
  background: var(--amber-tint); color: var(--accent-ink);
  font-size: var(--fs-caption); font-weight: 700;
  border-radius: 980px; padding: 0.25rem 0.8rem;
  margin-top: var(--s-2);
}

/* ==== Dunkle Sektion (Bestand, Ankauf) ==== */
.section-dark {
  position: relative; overflow: hidden;
  background: var(--stage); color: var(--stage-ink);
}
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50rem 30rem at 85% 0%, rgba(255, 213, 0, 0.10), transparent 60%);
  pointer-events: none;
}
.section-dark > * { position: relative; }
.section-dark .eyebrow { color: var(--yellow); }
.section-dark .section-intro { color: var(--stage-ink-2); }
.swoosh-deko {
  position: absolute; right: -10%; bottom: -8%;
  width: min(90vw, 1000px); height: auto;
  opacity: 0.08; pointer-events: none;
}
.swoosh-deko path { stroke: #FFFFFF; stroke-width: 4; fill: none; stroke-linecap: round; }

/* ==== Bestand-Panel (mobile.de) ==== */
.bestand-panel {
  max-width: 720px; margin-inline: auto;
  background: var(--stage-glass);
  border: 1px solid var(--stage-line);
  border-radius: var(--radius-xl);
  padding: var(--s-6) var(--s-5);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  text-align: center;
  box-shadow: 0 24px 64px -20px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.06);
}
.bestand-panel .chip-live { margin-bottom: var(--s-4); }
.bestand-panel .btn-primary { margin-top: var(--s-5); }
.bestand-panel p { margin-inline: auto; color: var(--stage-ink-2); }
.ext-hint { margin-top: var(--s-3); font-size: var(--fs-caption); color: var(--stage-ink-2); }

/* ==== Ankauf-Sektion (dunkel) ==== */
.kriterien-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); max-width: none; }
.kriterien-chips .chip {
  font-size: var(--fs-caption); font-weight: 600; color: var(--stage-ink);
  background: var(--stage-glass); border: 1px solid var(--stage-line);
  border-radius: 980px; padding: 0.35rem 0.95rem; white-space: nowrap;
}
.checkliste {
  background: var(--stage-glass); border: 1px solid var(--stage-line);
  border-radius: var(--radius-m); padding: var(--s-4) var(--s-5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  margin-top: var(--s-5);
}
.checkliste ul { list-style: none; }
.checkliste li {
  padding: 0.35rem 0 0.35rem 1.6rem; position: relative;
  color: var(--stage-ink-2); font-size: 0.9375rem;
}
.checkliste li::before {
  content: "✓"; position: absolute; left: 0; top: 0.35rem;
  color: var(--yellow); font-weight: 700;
}

/* ==== Garantie-Fakten (hell) ==== */
.garantie-facts { display: grid; gap: var(--s-3); grid-template-columns: 1fr; max-width: none; }
@media (min-width: 640px) { .garantie-facts { grid-template-columns: repeat(3, 1fr); } }
.garantie-fact {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius-m); padding: var(--s-4);
  box-shadow: var(--shadow-s);
  border-top: 3px solid var(--yellow);
}
.garantie-fact strong {
  display: block; font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
  font-weight: 800; letter-spacing: -0.02em; color: var(--ink);
  white-space: nowrap;
}
.garantie-fact span { font-size: var(--fs-caption); color: var(--ink-2); }
.garantie-fussnote { font-size: var(--fs-caption); color: var(--ink-3); margin-top: var(--s-4); }

/* ==== Fotos ==== */
.photo {
  border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-m);
}
.photo img { width: 100%; height: auto; filter: saturate(0.92) contrast(1.03); }
.photo-caption { font-size: var(--fs-caption); color: var(--ink-3); margin-top: var(--s-3); }

/* ==== Split-Layout ==== */
.split { display: grid; gap: var(--s-6); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-7); } }

/* ==== Öffnungszeiten ==== */
.hours-card {
  max-width: 440px; margin-inline: auto;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius-xl); padding: var(--s-6) var(--s-5);
  box-shadow: var(--shadow-m);
}
.hours-row {
  display: flex; justify-content: space-between; gap: var(--s-3);
  padding-block: var(--s-2); border-bottom: 1px solid var(--hairline);
  font-variant-numeric: tabular-nums; font-size: 0.9375rem;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row .day { color: var(--ink-2); }
.hours-row .time { text-align: right; }
.hours-row.closed .time { color: var(--ink-3); }
.hours-row.today {
  margin-inline: calc(var(--s-3) * -1);
  padding-inline: var(--s-3);
  background: var(--amber-tint); border-radius: var(--radius-s);
  border-bottom-color: transparent;
}
.hours-row.today .day, .hours-row.today .time { font-weight: 700; color: var(--accent-ink); }
.hours-note {
  text-align: center; font-size: var(--fs-caption); color: var(--ink-3);
  margin: var(--s-4) auto 0; max-width: 440px;
}

/* ==== Kontakt ==== */
.contact-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: var(--s-6); } }
.contact-card {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius-l); padding: var(--s-5);
  box-shadow: var(--shadow-m);
}
.contact-line {
  display: flex; align-items: center; gap: var(--s-3);
  padding-block: var(--s-3); text-decoration: none;
  border-top: 1px solid var(--hairline);
}
.contact-line:first-of-type { margin-top: var(--s-4); }
.contact-line .icon-tile { margin: 0; }
.contact-line .label { font-size: var(--fs-caption); color: var(--ink-3); display: block; }
.address-block { font-style: normal; line-height: 1.6; }
.map-tile {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  padding: var(--s-4);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s-3); text-align: center;
  box-shadow: var(--shadow-m);
}
.map-tile p { font-size: var(--fs-caption); color: var(--ink-2); }
.map-preview {
  position: relative; display: block; width: 100%;
  border-radius: var(--radius-m); overflow: hidden;
  border: 1px solid var(--hairline);
}
.map-preview img { display: block; width: 100%; height: auto; }
.map-pin {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -92%);
  width: 2.75rem; height: 2.75rem;
  color: var(--amber-ink);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4)) drop-shadow(0 0 2px rgba(255,255,255,0.9));
  pointer-events: none;
}
.map-attribution {
  position: absolute; right: 6px; bottom: 4px;
  font-size: 0.6875rem; line-height: 1.4;
  background: rgba(255,255,255,0.85); color: #333;
  padding: 1px 7px; border-radius: 4px;
}

/* ==== FAQ ==== */
.faq { max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.faq-list {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius-l); padding-inline: var(--s-5);
  box-shadow: var(--shadow-s);
}
.faq details { border-bottom: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; list-style: none;
  padding-block: var(--s-4);
  font-weight: 650; font-size: var(--fs-body);
  display: flex; align-items: center; gap: var(--s-3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-weight: 300; font-size: 1.6rem; margin-left: auto;
  color: var(--accent-ink); flex: none; line-height: 1;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-answer { padding-bottom: var(--s-4); color: var(--ink-2); }

/* ==== Footer ==== */
.footer {
  background: var(--stage); color: rgba(246, 245, 243, 0.62);
  padding-block: var(--s-7) var(--s-5);
  font-size: var(--fs-caption);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer a { color: rgba(246, 245, 243, 0.88); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; margin-bottom: var(--s-6); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 {
  color: rgba(246, 245, 243, 0.95); font-size: var(--fs-label);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--s-3);
}
.footer ul { list-style: none; }
.footer li { padding-block: 0.3rem; }
.footer .brand { margin-bottom: var(--s-3); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-3);
  justify-content: space-between;
}

/* ==== Schwebender Telefon-Button (mobil) ==== */
.fab-tel { display: none; }
@media (max-width: 767px) {
  .fab-tel {
    display: grid; place-items: center;
    position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
    width: 3.5rem; height: 3.5rem; border-radius: 50%;
    background: var(--stage); color: var(--yellow);
    border: 1px solid rgba(255, 213, 0, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  }
  .fab-tel svg { width: 1.6rem; height: 1.6rem; }
}

/* ==== Rechtsseiten ==== */
.legal { padding-block: var(--s-7); }
.legal h1 { font-size: var(--fs-title); margin-bottom: var(--s-5); }
.legal h2 { font-size: var(--fs-subtitle); margin-top: var(--s-6); margin-bottom: var(--s-3); }
.legal h3 { font-size: var(--fs-body); font-weight: 700; margin-top: var(--s-4); margin-bottom: var(--s-2); }
.legal p, .legal li { color: var(--ink-2); margin-bottom: var(--s-3); }
.legal ul, .legal ol { padding-left: 1.25rem; margin-bottom: var(--s-3); }
.legal .todo {
  background: var(--amber-tint); border-radius: 8px;
  padding: 0.15rem 0.5rem; font-weight: 650; color: var(--accent-ink);
}
.legal .notice {
  background: var(--paper-2); border: 1px solid var(--hairline);
  border-radius: var(--radius-m); padding: var(--s-4); margin-top: var(--s-6);
  font-size: var(--fs-caption); color: var(--ink-3);
}

/* ==== Micro-Interactions ==== */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise-in both;
      animation-timeline: view();
      animation-range: entry 0% entry 38%;
    }
    @keyframes rise-in {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: none; }
    }
  }
  .card, .situation {
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .card:hover, .situation:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-l);
    border-color: color-mix(in srgb, #B08900 35%, var(--hairline));
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; bottom: -6px;
    width: 100%; height: 2px; background: var(--accent-ink); border-radius: 2px;
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1);
  }
  .nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
  .map-preview { transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1); }
  .map-preview:hover { transform: scale(1.012); }
  .chip-live .dot { animation: pulse-dot 2.4s ease-in-out infinite; }
  @keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.7; }
  }
  .hero-swoosh .line-yellow {
    stroke-dasharray: 2600; stroke-dashoffset: 2600;
    animation: draw-swoosh 1.2s cubic-bezier(0.2, 0, 0, 1) 0.2s forwards;
  }
  @keyframes draw-swoosh { to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .header, .fab-tel, .footer-grid { display: none; }
}
