/* ==========================================================================
   Kfz Gutachter CG & Autoglas Köln – Stylesheet
   Aufbau: 1 Schriften · 2 Tokens · 3 Basis · 4 Layout · 5 Komponenten
           6 Sektionen · 7 Unterseiten · 8 Hilfsklassen · 9 Bewegung
   ========================================================================== */

/* 1 · Schriften (lokal, keine Verbindung zu Google) ----------------------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-wght.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* 2 · Design-Tokens -------------------------------------------------------- */
:root {
  /* Markenfarben (aus Logo und Flyer übernommen) */
  --navy-950: #011326;
  --navy-900: #021b35;
  --navy-800: #022342;      /* Navy aus Flyer/Banner */
  --navy-700: #0b3560;
  --cyan-500: #1cb2e8;      /* Cyan aus dem Logo */
  --cyan-600: #1497cc;
  --cyan-700: #0a74a6;      /* Cyan für Text auf Weiß/Hellgrau (Kontrast ≥ 4,5:1, s. tools/contrast.py) */
  --cyan-50:  #eaf7fd;
  --red-600:  #b91e3e;      /* Akzent aus der Logo-Spitze – sparsam einsetzen */
  --whatsapp: #25d366;
  --whatsapp-dark: #128c4a;

  /* Neutrale Töne */
  --ink:      #12202f;
  --ink-soft: #46576a;
  --line:     #dbe4ec;
  --surface:  #ffffff;
  --surface-2:#f4f8fb;

  /* Typografie */
  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-300: 0.875rem;
  --fs-400: 1rem;
  --fs-500: 1.125rem;
  --fs-600: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-700: clamp(1.75rem, 1.35rem + 1.7vw, 2.625rem);
  --fs-800: clamp(2.125rem, 1.4rem + 3.2vw, 3.75rem);

  /* Abstände & Formen */
  --gutter: 16px;
  --container: 1200px;
  --section-y: clamp(4rem, 3rem + 5vw, 7rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(2 35 66 / 0.06), 0 2px 8px rgb(2 35 66 / 0.06);
  --shadow:    0 2px 4px rgb(2 35 66 / 0.06), 0 12px 32px rgb(2 35 66 / 0.10);
  --shadow-lg: 0 24px 60px rgb(1 19 38 / 0.35);
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) {
  :root { --gutter: 24px; --header-h: 80px; }
}

/* 3 · Basis ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-400);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--navy-800);
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-800); font-weight: 800; }
h2 { font-size: var(--fs-700); font-weight: 800; }
h3 { font-size: var(--fs-600); font-weight: 700; }
p  { margin: 0 0 1em; text-wrap: pretty; }
a  { color: var(--cyan-700); text-underline-offset: 0.18em; }
a:hover { color: var(--navy-800); }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.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;
}

/* 4 · Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--muted { background: var(--surface-2); }
.section--dark {
  background: var(--navy-800);
  color: #d5e3ef;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: var(--fs-500); margin: 0; }
.section--dark .section-head p { color: #b9cde0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-700);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan-500) 70%, var(--red-600) 70%);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--cyan-500); }

/* 5 · Komponenten ---------------------------------------------------------- */

/* Icons */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* Buttons */
.btn {
  --btn-bg: var(--cyan-500);
  --btn-fg: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(28 178 232 / 0.35);
}
.btn .icon { width: 1.3em; height: 1.3em; }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #06311a; }
.btn--whatsapp:hover { box-shadow: 0 10px 24px rgb(37 211 102 / 0.35); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgb(255 255 255 / 0.4);
}
.btn--ghost:hover { border-color: #fff; box-shadow: none; }
.btn--navy { --btn-bg: var(--navy-800); --btn-fg: #fff; }
.btn--navy:hover { box-shadow: 0 10px 24px rgb(2 35 66 / 0.3); }
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--navy-800); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
/* Auf kleinen Displays volle Breite – bequem mit dem Daumen erreichbar */
@media (max-width: 559.98px) {
  .btn-row .btn { flex: 1 1 100%; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}
.brand { display: block; flex: none; margin-right: auto; }
.brand img { width: 180px; height: auto; }
@media (min-width: 768px) { .brand img { width: 220px; } }

.nav { display: none; }
.nav__list { list-style: none; display: flex; gap: 0.25rem; }
.nav__link {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--navy-800);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.nav__link:hover, .nav__link[aria-current="true"] { color: var(--cyan-700); background: var(--cyan-50); }

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--cyan-500);
  color: var(--navy-900);
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
}
.header-call:hover { color: var(--navy-900); background: #45c3f0; }
.header-call__text { display: none; }
@media (min-width: 560px) {
  .header-call { width: auto; padding: 0 1.1rem; }
  .header-call__text { display: inline; }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy-800);
  cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobiles Menü */
@media (max-width: 1023.98px) {
  /* Sichtbarkeit hängt nur an display – die Animation bewegt lediglich (kein Opacity-Fade) */
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgb(2 35 66 / 0.12);
  }
  .nav.is-open {
    display: block;
    animation: nav-in 0.22s var(--ease);
  }
  @keyframes nav-in { from { transform: translateY(-10px); } }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.0625rem;
  }
  .nav__link:hover { background: none; }
}
@media (min-width: 1024px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}

/* Karten */
.card {
  position: relative;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); }

.icon-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--cyan-50);
  color: var(--cyan-700);
}
.icon-badge .icon { width: 26px; height: 26px; }

/* Platzhalter für fehlende Kundenangaben – vor Veröffentlichung ersetzen */
.ph {
  display: inline;
  padding: 0.1em 0.4em;
  border: 1px dashed #b7791f;
  border-radius: 4px;
  background: #fff6db;
  color: #6b4400;
  font-size: 0.92em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ph-note {
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border: 1px dashed #b7791f;
  border-left-width: 4px;
  border-radius: var(--radius-sm);
  background: #fff6db;
  color: #5b3a00;
}

/* WhatsApp-Button (schwebend) */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 60px;
  min-width: 60px;
  padding: 0 1.1rem 0 1.1rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #06311a;           /* dunkles Symbol: Kontrast 7,2:1 statt 2:1 bei Weiß */
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgb(18 140 74 / 0.4);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.wa-float:hover { color: #06311a; transform: translateY(-3px); box-shadow: 0 14px 32px rgb(18 140 74 / 0.5); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float__text { display: none; }
@media (min-width: 768px) {
  .wa-float { right: 24px; bottom: 24px; padding-right: 1.4rem; }
  .wa-float__text { display: inline; }
}
@media (max-width: 767.98px) {
  .wa-float { justify-content: center; padding: 0; width: 60px; }
}

/* 6 · Sektionen ------------------------------------------------------------ */

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3rem, 2rem + 5vw, 6.5rem);
  background:
    radial-gradient(1100px 520px at 85% -10%, rgb(28 178 232 / 0.22), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgb(28 178 232 / 0.12), transparent 60%),
    var(--navy-800);
  color: #c9dbea;
}
.hero__swoosh {
  position: absolute;
  inset: auto -10% -2px -10%;
  width: 120%;
  height: auto;
  color: var(--cyan-500);
  opacity: 0.16;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
}
@media (min-width: 700px) and (max-width: 1099.98px) {
  .hero__media { max-width: 760px; }
}
.hero h1 { color: #fff; margin-bottom: 0.45em; }
.hero h1 .accent { color: var(--cyan-500); }
.nowrap { white-space: nowrap; }
.hero__lead {
  max-width: 36rem;
  font-size: var(--fs-500);
  color: #c9dbea;
  margin-bottom: 1.75rem;
}
.hero__lead strong { color: #fff; font-weight: 600; }
.hero .btn-row { margin-bottom: 2rem; }
.hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  font-size: 0.9375rem;
  color: #e3edf6;
}
.hero__facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__facts .icon { color: var(--cyan-500); }

.hero__media { position: relative; }
.hero__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 45%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--navy-700);
}
.hero__badge {
  position: absolute;
  left: clamp(-0.5rem, -2vw, 0rem);
  bottom: -1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: calc(100% - 1rem);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy-800);
  box-shadow: var(--shadow);
  font-size: 0.9375rem;
  line-height: 1.35;
}
.hero__badge .icon-badge { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.hero__badge strong { display: block; font-family: var(--font-head); }
@media (max-width: 479.98px) {
  .hero__badge { position: static; max-width: none; margin-top: 0.75rem; }
}
@media (min-width: 1100px) {
  .hero__img { aspect-ratio: 5 / 3.4; }
  .hero__badge { left: -1.5rem; bottom: -1.5rem; }
}

/* Vorteile */
.features { display: grid; gap: 1.75rem 1.5rem; }
@media (min-width: 600px)  { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .icon-badge { margin: 0; }
.feature h3 { font-size: 1.0625rem; margin-bottom: 0.3em; }
.feature p { font-size: 0.9375rem; }

/* Leistungen */
.services {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.service { display: flex; flex-direction: column; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c4d7e6; }
.service::after {
  content: "";
  position: absolute;
  left: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  right: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--cyan-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.service:hover::after { transform: scaleX(1); }
.service--autoglas { border-style: dashed; }
.service__tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.service-extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
}
.service-extras__label { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); margin-right: 0.25rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9375rem;
  color: var(--navy-800);
}
.chip .icon { width: 1em; height: 1em; color: var(--cyan-700); }

/* Ablauf */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.step {
  counter-increment: step;
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--cyan-500);
}
.step h3 { font-size: 1.125rem; margin-bottom: 0.4em; }
.step p { margin: 0; font-size: 0.9375rem; color: #b9cde0; }

.notice {
  display: grid;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgb(28 178 232 / 0.16), rgb(28 178 232 / 0.04));
  border: 1px solid rgb(28 178 232 / 0.35);
}
.notice h3 { margin-bottom: 0.25em; font-size: 1.1875rem; }
.notice p { margin: 0; color: #d5e3ef; }
.notice small { display: block; margin-top: 0.5rem; color: #9fb8cf; font-size: 0.8125rem; }
@media (min-width: 900px) { .notice { grid-template-columns: 1fr auto; padding: 1.75rem 2rem; } }

/* Über mich */
.about {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.about__media {
  position: relative;
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.about__media::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--cyan-500) 82%, var(--red-600) 82%);
  z-index: 1;
}
.about__media img { width: 100%; aspect-ratio: 607 / 1032; object-fit: cover; }
.about__media figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1.25rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--navy-800);
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.35;
}
.about__media figcaption strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.about__text p { color: var(--ink-soft); font-size: 1.0625rem; }
.quote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--cyan-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-2);
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy-800);
}
.quote p { margin: 0; color: inherit; font-size: inherit; }
.checklist { list-style: none; display: grid; gap: 0.7rem; margin: 1.5rem 0 2rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist .icon { margin-top: 0.2rem; color: var(--cyan-700); }
.signature { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); margin: 0; }
.signature span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.9375rem; color: var(--ink-soft); }

/* Galerie */
.gallery {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .gallery li:nth-child(-n + 2) { grid-column: span 2; grid-row: span 2; }
}
.gallery a {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}
.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(2 35 66 / 0.55));
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery a:hover img { transform: scale(1.05); }
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; }

/* Lightbox */
.lightbox {
  width: min(100vw - 2rem, 1200px);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
}
.lightbox::backdrop { background: rgb(1 19 38 / 0.88); }
.lightbox__figure { margin: 0; }
.lightbox__img {
  width: 100%;
  max-height: calc(100dvh - 7rem);
  object-fit: contain;
  background: #000;
}
.lightbox__caption { padding: 0.9rem 4.5rem 1rem 1.25rem; font-size: 0.9375rem; color: #c9dbea; }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: var(--navy-800);
  cursor: pointer;
}
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__btn:hover { background: #fff; }
.lightbox__close { top: 0.75rem; right: 0.75rem; }
.lightbox__prev, .lightbox__next { top: calc(50% - 2.5rem); }
.lightbox__prev { left: 0.75rem; }
.lightbox__next { right: 0.75rem; }

/* CTA-Band */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  background: linear-gradient(120deg, var(--navy-800) 0%, var(--navy-700) 100%);
  color: #c9dbea;
}
.cta-band__inner { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { margin: 0; font-size: var(--fs-500); }

/* Kontakt */
.contact { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.contact-list { list-style: none; display: grid; gap: 0.25rem; margin: 1.25rem 0 1.75rem; }
.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon-badge { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.contact-list .icon-badge .icon { width: 22px; height: 22px; }
.contact-list__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-list a, .contact-list__value {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-800);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-list a:hover { color: var(--cyan-700); text-decoration: underline; }
.contact .btn-row .btn { flex: 1 1 220px; }
@media (max-width: 359.98px) {
  .contact .card { padding: 1.1rem; }
  .contact-list li { gap: 0.75rem; }
  .contact-list a, .contact-list__value { font-size: 0.9375rem; }
}

.location { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.location img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.location__body { padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.location__body address { margin-bottom: 1.25rem; font-size: 1.0625rem; color: var(--ink); }

/* Footer */
.site-footer {
  padding-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  padding-bottom: 6.5rem;
  background: var(--navy-950);
  color: #a9bfd3;
  font-size: 0.9375rem;
}
@media (min-width: 768px) { .site-footer { padding-bottom: 2rem; } }
.footer-grid { display: grid; gap: 2rem 3rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { width: 210px; margin-bottom: 1rem; }
.footer-brand p { max-width: 24rem; margin: 0; }
.site-footer h2 {
  margin-bottom: 0.9rem;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.footer-list { list-style: none; display: grid; gap: 0.5rem; }
.site-footer a { color: #d5e3ef; text-decoration: none; }
.site-footer a:hover { color: var(--cyan-500); text-decoration: underline; }
.footer-list a { display: inline-flex; align-items: center; gap: 0.5rem; padding-block: 0.15rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.875rem;
}
.footer-bottom ul { list-style: none; display: flex; gap: 1.25rem; }

/* 7 · Unterseiten (Impressum, Datenschutz, 404) --------------------------- */
.page-hero {
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  background:
    radial-gradient(900px 400px at 90% -20%, rgb(28 178 232 / 0.2), transparent 60%),
    var(--navy-800);
}
.page-hero h1 { color: #fff; margin: 0; font-size: var(--fs-700); }
.page-hero p { margin: 0.75rem 0 0; color: #c9dbea; }
.prose { max-width: 48rem; }
.prose h2 { font-size: var(--fs-600); margin-top: 2.25em; }
.prose h3 { font-size: 1.125rem; margin-top: 1.75em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #2c3d50; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose address { margin-bottom: 1em; }
.error-page { text-align: center; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.error-page .btn-row { justify-content: center; margin-top: 2rem; }

/* 9 · Bewegung ------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .wa-float, .hero__swoosh, .cta-band, .lightbox { display: none !important; }
  body { color: #000; }
}
