@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo.woff2") format("woff2-variations"), url("fonts/archivo.woff2") format("woff2");
}

:root {
  /* Seite ist bewusst nur hell gestaltet – Browser sollen nichts automatisch abdunkeln */
  color-scheme: only light;
  /* Farben aus dem GOS-Logo */
  --navy: #0d1357;
  --navy-2: #1a2382;
  --navy-3: #3b45b0;
  --ink: #000;
  --white: #fff;
  --bg: #f2f3f7;
  --line: #d8dae3;
  --steel: #555b6e;
  --ok: #1d7a45;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* Dunkelmodus des Geräts: gleiches Design behalten.
   Samsung Internet dunkelt Seiten nur ab, wenn sie keine eigenen Dark-Mode-Regeln haben –
   diese Regeln signalisieren "wird von der Seite selbst gehandhabt". */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: only light; }
  html, body { background: var(--bg); color: var(--ink); }
  .topbar { background: rgba(255, 255, 255, 0.96); }
  .brand img, .footer__logo { filter: none; }

  /* Samsung Internet ignoriert color-scheme und dunkelt trotzdem ab.
     Darum Flächen wählen, die das Abdunkeln unverändert überstehen:
     dunkle Kopfzeile mit weißem Logo, Überschrift in reinem Weiß. */
  html.samsung .topbar { background: var(--navy); border-bottom-color: rgba(255, 255, 255, 0.14); }
  html.samsung .menu-toggle { background: transparent; border-color: rgba(255, 255, 255, 0.35); }
  html.samsung .menu-toggle span { background: var(--white); }
  html.samsung .topbar__phone { background: var(--white); color: var(--navy); }
  html.samsung .scan .line {
    background: none; color: var(--white); -webkit-text-fill-color: var(--white); animation: none;
  }
}

h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 68%;
  font-weight: 800;
  line-height: 1.02;
  margin: 0;
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: var(--navy); }
h3 { font-size: 1.5rem; font-stretch: 75%; font-weight: 750; }
p { margin: 0; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--navy-3); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--steel); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--white); color: var(--navy); padding: 10px 14px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.brand { display: block; line-height: 0; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--steel); }
.nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.topbar__phone {
  font-weight: 700; text-decoration: none; white-space: nowrap;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 6px;
}
.topbar__phone:hover { background: var(--navy-2); }
.nav__extra { display: none; }

/* Burger-Menü (nur mobil sichtbar) */
.menu-toggle {
  display: none; position: relative; flex: none;
  width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--white); cursor: pointer; padding: 0;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--navy);
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: var(--white);
  min-height: min(860px, calc(100vh - 80px));
  display: flex; align-items: flex-end;
}
.hero__photo { position: absolute; inset: 0 0 0 38%; z-index: -3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; }
.hero::before {
  /* Übergang Navy -> Foto */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, var(--navy) 0%, var(--navy) 36%, rgba(13, 19, 87, 0.82) 50%, rgba(13, 19, 87, 0.25) 72%, rgba(13, 19, 87, 0.15) 100%),
    linear-gradient(0deg, rgba(13, 19, 87, 0.85) 0%, rgba(13, 19, 87, 0) 45%);
}
.hero__credit {
  position: absolute; right: 14px; top: 12px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.7);
}
.hero__credit a { color: inherit; }

.hero__inner {
  width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
  gap: clamp(32px, 6vw, 96px); align-items: end;
  padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(40px, 6vw, 72px);
}
.hero__text { container-type: inline-size; }
.hero h1 {
  /* genau zwei Zeilen: Größe folgt der Breite der Textspalte (längste Zeile ≈ 9,2 em) */
  font-size: clamp(2rem, 4.6vw, 5rem);
  font-size: clamp(2rem, 10.6cqi, 5.6rem);
  font-stretch: 62%;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.hero h1 .line { display: block; white-space: nowrap; }
/* Scanner-Effekt (nach "TextScanner" / animated-text-10, ohne React) */
.scan {
  --scan-ink: 255, 255, 255;
  --scan-accent: #8fa2ff;
  --scan-time: 2.6s;
  position: relative; display: inline-block;
}
/* Verlauf pro Zeile (Safari/iPhone zeigt background-clip:text sonst nicht zuverlässig);
   beide Zeilen sind gleich breit, daher läuft der Glanz synchron */
.scan .line {
  background-image: linear-gradient(90deg,
    rgba(var(--scan-ink), 0.55) 0 40%, rgb(var(--scan-ink)) 50%, rgba(var(--scan-ink), 0.55) 60% 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: scan-text var(--scan-time) ease-in-out infinite alternate;
}
.scan::after {
  content: ""; position: absolute; top: -6px; bottom: -6px; left: 0; width: 2px;
  background: var(--scan-accent); box-shadow: 0 0 14px var(--scan-accent);
  pointer-events: none;
  animation: scan-line var(--scan-time) ease-in-out infinite alternate;
}
@keyframes scan-text { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@keyframes scan-line { from { left: 0%; transform: translateX(0); } to { left: 100%; transform: translateX(-100%); } }

.hero__lead { margin-top: 26px; max-width: 44ch; font-size: 1.2rem; color: rgba(255, 255, 255, 0.86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Hero-Buttons: Icon + zweizeiliger Text */
.cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 9px 26px 9px 9px; border-radius: 999px;
  text-decoration: none; line-height: 1.15;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.cta__icon {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  transition: transform 0.25s ease;
}
.cta__text { display: flex; flex-direction: column; gap: 3px; }
.cta__text b { font-size: 1.02rem; font-weight: 700; }
.cta__text small { font-size: 0.86rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.cta:hover { transform: translateY(-2px); }
.cta:hover .cta__icon { transform: rotate(-12deg) scale(1.06); }
.cta:active { transform: translateY(0); }

.cta--solid { background: var(--white); color: var(--navy); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.55); }
.cta--solid .cta__icon { background: var(--navy); color: var(--white); }
.cta--solid small { color: var(--steel); }
.cta--solid:hover { box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.65); }

.cta--glass {
  color: var(--white); background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(8px);
}
.cta--glass .cta__icon { background: rgba(255, 255, 255, 0.14); }
.cta--glass small { color: rgba(255, 255, 255, 0.72); }
.cta--glass:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.5); }

@media (prefers-reduced-motion: reduce) {
  .cta, .cta__icon { transition: none; }
  .cta:hover, .cta:hover .cta__icon { transform: none; }
}
.hero__badges {
  list-style: none; padding: 0; margin: 34px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
/* kleine, eckigere Buttons – bewusst anders als die runden Haupt-Buttons */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 0 14px 0 12px; border-radius: 8px;
  font-size: 0.88rem; font-weight: 600; color: rgba(255, 255, 255, 0.92); text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16); border-left: 3px solid #8fa2ff;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.chip svg { color: #8fa2ff; flex: none; }
.chip .stars { color: #ffc93c; letter-spacing: 1px; margin-right: 0; font-size: 0.8rem; }
.chip:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.32); border-left-color: #b9c5ff; }
.stars { letter-spacing: 1px; margin-right: 4px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 6px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent;
}
.btn--primary { background: var(--white); color: var(--navy); }
.btn--primary:hover { background: #e4e6f5; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* Preis-Aushang im Hero */
.tariff {
  background: var(--white); color: var(--ink);
  border-radius: 10px; padding: 24px 26px 20px;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 20, 0.75);
}
.tariff__status {
  display: flex; align-items: center; gap: 9px;
  font-weight: 650; font-size: 0.95rem; color: var(--steel);
  padding-bottom: 14px; border-bottom: 2px solid var(--navy);
}
.tariff__status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--steel); flex: none; }
.tariff__status.is-open { color: var(--ok); }
.tariff__status.is-open::before {
  background: #2fa362; box-shadow: 0 0 0 0 rgba(47, 163, 98, 0.55);
  animation: live-pulse 1.8s ease-out infinite;
}
/* "Live"-Punkt: leuchtet auf und sendet einen Ring nach außen */
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 163, 98, 0.55); opacity: 1; }
  50% { opacity: 0.55; }
  70% { box-shadow: 0 0 0 9px rgba(47, 163, 98, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 163, 98, 0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .tariff__status.is-open::before { animation: none; box-shadow: 0 0 0 4px rgba(47, 163, 98, 0.18); }
}
.tariff__list { margin: 0; }
.tariff__list div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.tariff__list dt { font-weight: 600; }
.tariff__list dd { margin: 0; white-space: nowrap; color: var(--steel); font-size: 0.92rem; }
.tariff__list dd b {
  font-family: var(--display); font-stretch: 70%; font-weight: 800; font-size: 1.65rem; color: var(--navy);
  margin-right: 4px;
}
.tariff__more { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--navy); text-underline-offset: 4px; }

/* ---------- Gut zu wissen ---------- */
.facts { padding: clamp(56px, 8vw, 88px) 0 clamp(24px, 4vw, 40px); }
.facts__grid {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 2px solid var(--navy);
}
.facts__grid li { padding: 22px 24px 8px 0; }
.facts__grid li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts__grid h3 { font-size: 1.35rem; margin-bottom: 10px; color: var(--navy); }
.facts__grid p { color: var(--steel); font-size: 1rem; }

/* ---------- Leistungen ---------- */
.services { background: var(--white); padding: clamp(56px, 8vw, 96px) 0; }
.services__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.services__grid {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.service {
  display: flex; flex-direction: column; height: 100%;
  padding: 22px 22px 20px; border-radius: 14px; text-decoration: none; color: var(--ink);
  background: var(--bg); border: 1px solid transparent;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.service:hover { background: var(--white); border-color: var(--navy); transform: translateY(-2px); }
.service__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--white); color: var(--navy); border: 1px solid var(--line);
}
.service h3 { margin-top: 16px; font-size: 1.45rem; color: var(--navy); }
.service p { margin-top: 8px; color: var(--steel); font-size: 0.98rem; flex: 1; }
.service__price {
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line);
  font-family: var(--display); font-stretch: 78%; font-weight: 800; font-size: 1.15rem; color: var(--navy);
}
.service--feature { background: var(--navy); color: var(--white); }
.service--feature:hover { background: var(--navy-2); border-color: var(--navy-2); }
.service--feature .service__icon { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); color: var(--white); }
.service--feature h3, .service--feature .service__price { color: var(--white); }
.service--feature p { color: rgba(255, 255, 255, 0.78); }
.service--feature .service__price { border-top-color: rgba(255, 255, 255, 0.22); }
@media (prefers-reduced-motion: reduce) { .service, .service:hover { transition: none; transform: none; } }

/* Fachkundige Unterstützung: größer und hervorgehoben */
.services__lead { grid-column: span 2; }
.services__grid > li:last-child { grid-column: 1 / -1; }
.service--highlight {
  background: #eef0fb; border: 2px solid var(--navy);
  padding: 26px 28px 24px;
}
.service--highlight:hover { background: #eef0fb; border-color: var(--navy); transform: none; }
.service__price--row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.service__call {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px;
  background: var(--navy); color: var(--white); text-decoration: none;
  font-family: var(--body); font-stretch: 100%; font-size: 0.95rem; font-weight: 700;
}
.service__call:hover { background: var(--navy-2); }
.service--highlight .service__icon { width: 52px; height: 52px; background: var(--navy); color: var(--white); border-color: var(--navy); }
.service--highlight h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.service--highlight p { flex: 0 0 auto; color: #3c4257; font-size: 1.04rem; max-width: 58ch; }
.service__points { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; flex: 1; align-content: flex-start; }
.service__points li {
  padding: 6px 11px; border-radius: 8px; background: var(--white); border: 1px solid #d3d8f2;
  font-size: 0.9rem; font-weight: 600; color: var(--navy);
}
.service .service__eyebrow {
  flex: 0 0 auto; margin-top: 16px; color: var(--navy-3);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.service .service__eyebrow + h3 { margin-top: 4px; }
.service__steps {
  list-style: none; counter-reset: step; padding: 0; margin: 16px 0 6px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.service__steps li {
  counter-increment: step; position: relative; padding: 12px 14px 12px 50px;
  background: var(--white); border: 1px solid #d3d8f2; border-radius: 10px;
  font-size: 0.98rem; line-height: 1.45; color: #3c4257;
}
.service__steps li::before {
  content: counter(step); position: absolute; left: 13px; top: 11px;
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-size: 0.9rem; font-weight: 800;
}
.service__steps b { color: var(--navy); }
@media (max-width: 600px) { .service__steps { grid-template-columns: 1fr; } }
.service--highlight .service__price { border-top-color: #cdd3ef; font-size: 1.1rem; }
.service--highlight .service__price b { font-size: 1.9rem; font-weight: 900; margin-right: 4px; }

.tariff__list .tariff__top { margin: 0 -12px; padding: 12px; border-radius: 8px; background: #eef0fb; border-bottom: 0; }

/* ---------- Anhänger ---------- */
.trailer { padding: clamp(40px, 6vw, 72px) 0 clamp(16px, 3vw, 32px); }
.trailer__inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center;
  gap: clamp(24px, 5vw, 64px);
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(14px, 3vw, 32px);
}
.trailer__inner { align-items: start; }
.trailer__photo { margin: 0; position: sticky; top: 104px; }
.trailer__photo img { width: 100%; height: auto; border-radius: 10px; background: #f3f3f3; }
.trailer__photo figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--steel); }
.trailer__text h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); overflow-wrap: break-word; hyphens: manual; }
.trailer__text > p { margin-top: 16px; color: var(--steel); max-width: 46ch; font-size: 1.05rem; }
.trailer__specs { margin: 22px 0 24px; }
.trailer__sub { font-size: 1.25rem; color: var(--navy); }
.trailer__terms { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trailer__terms li {
  padding: 7px 12px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line);
  font-size: 0.92rem; font-weight: 600; color: var(--navy);
}
.trailer__price { margin: 20px 0 22px; padding: 14px 16px; border-radius: 8px; background: #eef0fb; color: var(--navy); font-weight: 600; }
.trailer__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta--line { color: var(--navy); background: var(--white); border: 1px solid var(--line); }
.cta--line .cta__icon { background: var(--bg); color: var(--navy); }
.cta--line small { color: var(--steel); }
.cta--line:hover { border-color: var(--navy); }
.contact__mail { font-size: 1.15rem; font-weight: 650; text-underline-offset: 4px; word-break: break-all; }
.trailer__specs div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 0; border-top: 1px solid var(--line);
}
.trailer__specs div:last-child { border-bottom: 1px solid var(--line); }
.trailer__specs dt { color: var(--steel); }
.trailer__specs dd { margin: 0; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 1.35rem; color: var(--navy); }

.cta--navy { background: var(--navy); color: var(--white); box-shadow: 0 14px 30px -16px rgba(13, 19, 87, 0.7); }
.cta--navy .cta__icon { background: var(--white); color: var(--navy); }
.cta--navy small { color: rgba(255, 255, 255, 0.72); }
.cta--navy:hover { background: var(--navy-2); }

/* ---------- Galerie ---------- */
.gallery { padding: clamp(48px, 7vw, 80px) 0 clamp(16px, 3vw, 32px); }
.gallery__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.gallery__grid {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 12px;
}
.gallery__grid li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__item {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 10px; overflow: hidden; background: var(--line);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; text-align: left;
  color: var(--white); font: 600 0.92rem/1.3 var(--body);
  background: linear-gradient(0deg, rgba(13, 19, 87, 0.85), rgba(13, 19, 87, 0));
}
.gallery__empty { margin-top: 20px; }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(5, 8, 40, 0.94); color: var(--white);
}
.lightbox::backdrop { background: rgba(5, 8, 40, 0.6); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: min(1200px, 90vw); }
.lightbox__figure img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 6px; }
.lightbox__figure figcaption { font-weight: 600; text-align: center; }
.lightbox__btn {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08); color: var(--white); font: 400 2rem/1 var(--body); cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 18px; top: 50%; margin-top: -26px; }
.lightbox__count { position: absolute; top: 30px; left: 24px; font-size: 0.9rem; color: #b3b7d6; }

/* ---------- Preisliste ---------- */
.prices { padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 9vw, 112px); }
.prices__inner { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.prices__side { position: sticky; top: 104px; }
.prices__intro { margin-top: 14px; color: var(--steel); font-size: 0.98rem; }
.prices__nav { display: flex; flex-direction: column; margin-top: 26px; border-left: 2px solid var(--line); }
.prices__nav a {
  text-decoration: none; padding: 7px 0 7px 16px; font-weight: 600; color: var(--steel);
  margin-left: -2px; border-left: 2px solid transparent;
}
.prices__nav a:hover { color: var(--navy); }
.prices__nav a.is-active { color: var(--navy); border-left-color: var(--navy); }

.prices__tables { display: grid; gap: 20px; }
.pgroup { background: var(--white); border-radius: 10px; padding: 26px clamp(18px, 3vw, 34px) 14px; border: 1px solid var(--line); }
.pgroup h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--navy); }
.pgroup__note { margin-top: 6px; color: var(--steel); font-size: 0.95rem; }
.plist { list-style: none; padding: 0; margin: 16px 0 0; }
.plist li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 8.5em; align-items: baseline; column-gap: 14px;
  padding: 11px 0; border-top: 1px solid var(--line);
}
.plist span { font-weight: 550; }
.plist small { display: block; font-size: 0.86rem; color: var(--steel); font-weight: 400; margin-top: 2px; }
.plist b {
  font-family: var(--display); font-stretch: 75%; font-weight: 750; font-size: 1.22rem;
  text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.plist b.free { color: var(--ok); font-stretch: 85%; font-size: 1.05rem; }
.plist b.ask { color: var(--navy); font-stretch: 85%; font-size: 1.05rem; }
.plist i { font-style: normal; color: var(--steel); font-size: 0.9rem; }
.prices__foot { padding: 6px 4px 0; color: var(--steel); max-width: 60ch; }

/* ---------- Kontakt ---------- */
.contact { background: var(--navy); color: var(--white); }
.contact h2 { color: var(--white); }
.contact__inner {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 72px);
  padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px);
}
.contact__block { margin-top: 30px; }
.contact__block h3 { font-size: 1.15rem; font-stretch: 85%; color: #b9bdf0; margin-bottom: 8px; }
.contact address { font-style: normal; font-size: 1.15rem; }
.contact .muted { color: #b3b7d6; margin-top: 4px; }
.link { display: inline-block; margin-top: 10px; font-weight: 650; text-underline-offset: 4px; }
.contact__phone {
  font-family: var(--display); font-stretch: 65%; font-weight: 900; font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1; text-decoration: none; color: var(--white);
}
.contact__phone:hover { text-decoration: underline; text-underline-offset: 6px; }

.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today th::after { content: " (heute)"; font-weight: 400; color: #b3b7d6; }

.rating {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px;
  text-decoration: none; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 6px;
}
.rating:hover { border-color: var(--white); }
.rating__stars { letter-spacing: 2px; }

.map {
  border-radius: 10px; overflow: hidden; min-height: 420px; position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--navy-2);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; gap: 12px;
}
.map__placeholder::before {
  content: ""; width: 34px; height: 34px; margin-bottom: 6px;
  background: var(--white); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: inset 0 0 0 10px var(--white), inset 0 0 0 17px var(--navy);
}
.map__title { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 1.6rem; }
.map__text { color: #b3b7d6; max-width: 34ch; font-size: 0.95rem; }

/* ---------- Fußzeile ---------- */
.footer { background: var(--ink); color: #c7c9d3; font-size: 0.92rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 26px; padding-bottom: 26px; }
.footer__logo { height: 54px; width: auto; margin-right: auto; }
.footer a { color: var(--white); }
.footer .muted { color: #8a8d99; }
.footer__legal { display: flex; gap: 18px; }

/* Impressum / Datenschutz */
.legal { padding: clamp(40px, 7vw, 80px) 0; background: var(--white); }
.legal__inner { max-width: 760px; }
.legal h1 { font-family: var(--display); font-stretch: 75%; font-weight: 900; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1; color: var(--navy); margin-bottom: 28px; }
.legal h2 { font-size: 1.2rem; color: var(--navy); margin: 32px 0 8px; }
.legal h3 { font-size: 1rem; margin: 20px 0 6px; }
.legal p, .legal ul { margin-bottom: 12px; line-height: 1.6; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--navy-2); word-break: break-word; }
.legal__home { margin-left: auto; font-weight: 650; color: var(--navy); }
.legal__back { display: inline-block; margin-bottom: 20px; font-weight: 650; color: var(--navy-2); }
.legal__stand { margin-top: 32px; color: var(--steel); font-size: 0.9rem; }

/* Anruf-Leiste nur mobil */
.callbar { display: none; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  .scan .line { animation: none; background: none; color: var(--white); -webkit-text-fill-color: var(--white); }
  .scan::after { display: none; }
}

/* ---------- Responsive ---------- */
/* Laptops mit wenig Höhe: Hero passt auf einen Bildschirm */
@media (min-width: 861px) and (max-height: 900px) {
  .hero { min-height: calc(100vh - 80px); }
  .hero__inner { padding-top: clamp(28px, 6vh, 72px); padding-bottom: clamp(24px, 5vh, 56px); align-items: center; }
  .hero h1 { font-size: clamp(2rem, min(10.6cqi, 13vh), 5.6rem); }
  .hero__lead { margin-top: clamp(14px, 2.6vh, 26px); font-size: clamp(1rem, 2.2vh, 1.2rem); }
  .hero__actions { margin-top: clamp(18px, 3.4vh, 34px); }
  .hero__badges { margin-top: clamp(14px, 3vh, 34px); }
  .tariff { padding: clamp(16px, 2.6vh, 24px) 24px clamp(14px, 2.2vh, 20px); }
  .tariff__list div { padding: clamp(7px, 1.4vh, 12px) 0; }
  .tariff__list dd b { font-size: clamp(1.3rem, 3vh, 1.65rem); }
  .tariff__more { margin-top: clamp(8px, 1.6vh, 16px); }
}

@media (max-width: 1000px) {
  .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services__grid > li:last-child { grid-column: auto; }
}
@media (max-width: 600px) {
  .services__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .services__lead, .services__grid > li:last-child { grid-column: auto; }
  /* kompakt: Icon links, Text rechts */
  .service { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .service__icon { grid-row: span 3; width: 42px; height: 42px; }
  .service h3 { margin-top: 0; font-size: 1.25rem; }
  .service p { margin-top: 4px; font-size: 0.92rem; }
  .service__price { margin-top: 8px; padding-top: 0; border-top: 0; font-size: 1.05rem; }
  /* hervorgehobene Karte bleibt untereinander aufgebaut */
  .service--highlight { display: flex; padding: 20px 18px 18px; }
  .service--highlight h3 { margin-top: 14px; font-size: 1.6rem; }
  .service--highlight p { margin-top: 8px; font-size: 0.98rem; }
  .service--highlight .service__price { margin-top: 16px; padding-top: 12px; border-top: 1px solid #cdd3ef; }
}
@media (max-width: 600px) {
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 8px; }
  .gallery__caption { display: none; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 22px; margin-top: 0; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}
@media (max-width: 1000px) {
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts__grid li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 1180px) {
  .topbar__phone { margin-left: auto; }
  .menu-toggle { display: block; }
  .topbar__inner { position: relative; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(13, 19, 87, 0.35);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    max-height: calc(100vh - 66px); overflow-y: auto;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s ease, transform 0.2s ease; }
  .nav a, .nav .nav__extra {
    display: flex; align-items: center; min-height: 52px; padding: 0 4px;
    font-size: 1.08rem; font-weight: 650; color: var(--navy); border-bottom: 1px solid var(--line);
  }
  .nav a:hover { text-decoration: none; background: var(--bg); }
  .nav .nav__call {
    justify-content: center; margin-top: 14px; border: 0; border-radius: 999px;
    background: var(--navy); color: var(--white);
  }
  .nav .nav__call:hover { background: var(--navy-2); }
}
@media (min-width: 861px) and (max-width: 1180px) {
  /* Tablet/kleiner Laptop: Menü als Panel rechts statt über die ganze Breite */
  .nav { left: auto; width: 360px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; }
}
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; }
  /* Foto oben als eigener Block, Text darunter – nichts überlappt */
  .hero__photo { position: relative; inset: auto; display: block; height: 300px; }
  .hero__photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, var(--navy) 0%, rgba(13, 19, 87, 0.55) 22%, rgba(13, 19, 87, 0) 55%);
  }
  .hero::before { display: none; }
  .hero__credit { top: auto; bottom: auto; right: 12px; top: 272px; z-index: 1; font-size: 0.68rem; }
  .hero__inner, .contact__inner, .trailer__inner { grid-template-columns: minmax(0, 1fr); }
  .trailer__text { padding: 0 4px 6px; }
  .trailer__photo { position: static; }
  .trailer__actions .cta { flex: 1 1 100%; padding: 6px 18px 6px 6px; gap: 12px; }
  .hero__inner { align-items: start; gap: 28px; padding-top: 4px; padding-bottom: 36px; position: relative; }
  .prices__inner { grid-template-columns: minmax(0, 1fr); }
  .prices__side { position: static; }
  .prices__nav {
    flex-direction: row; flex-wrap: nowrap; overflow-x: auto; border-left: 0; gap: 8px;
    margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); padding-bottom: 4px;
    scrollbar-width: none;
  }
  .prices__nav::-webkit-scrollbar { display: none; }
  .prices__nav a {
    margin-left: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
    padding: 7px 14px; white-space: nowrap; color: var(--ink); font-size: 0.92rem;
  }
  .prices__nav a.is-active { border-color: var(--navy); color: var(--navy); }
  .map { min-height: 320px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; padding-bottom: 64px; }
  .topbar__inner { min-height: 66px; gap: 12px; }
  .brand img { height: 50px; }
  .topbar__phone { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero__photo { height: 230px; }
  .hero__credit { top: 204px; }
  .hero__lead { margin-top: 14px; font-size: 1rem; line-height: 1.5; }
  .hero__actions { gap: 10px; margin-top: 22px; }
  .hero__actions .cta { flex: 1 1 100%; padding: 6px 18px 6px 6px; gap: 12px; }
  .cta__icon { width: 42px; height: 42px; }
  .cta__text b { font-size: 0.98rem; }
  .cta__text small { font-size: 0.8rem; }
  .hero__badges { margin-top: 18px; gap: 8px; }
  .chip { min-height: 34px; padding: 0 11px 0 9px; font-size: 0.8rem; gap: 6px; }
  .tariff { padding: 22px 18px 18px; }
  .facts__grid { grid-template-columns: minmax(0, 1fr); }
  .facts__grid li, .facts__grid li + li { padding: 18px 0 14px; border-left: 0; }
  .facts__grid li + li { border-top: 1px solid var(--line); }
  .plist li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; padding: 9px 0; line-height: 1.35; }
  .plist i { grid-column: 2; text-align: right; font-size: 0.8rem; line-height: 1.1; }
  .plist i:empty { display: none; }
  .footer__logo { margin-right: 0; flex-basis: 100%; max-width: 170px; height: auto; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--navy); border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(110%); transition: transform 0.25s ease;
  }
  /* erst einblenden, wenn die Hero-Buttons aus dem Bild gescrollt sind */
  .callbar.is-visible { transform: none; }
  .callbar a {
    display: flex; align-items: center; justify-content: center; min-height: 58px;
    font-weight: 700; text-decoration: none; color: var(--white);
  }
  .callbar a:first-child { background: var(--white); color: var(--navy); }
}
