/* =====================================================================
   Landwehr-Apotheke – Designentwurf, Vorschlag 1
   Aufbau nach Medicate „Home 1“, eigene Umsetzung. Statisch, ohne Build.
   ===================================================================== */

/* ---------- Schriften (lokal, latin-Teilmenge, variabel) ---------- */
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Marke: aus dem Logo gemessen */
  --blue: #0742bf;
  --blue-600: #0535a0;
  --blue-300: #8fb0f0;
  --blue-100: #d6e2f9;
  --blue-50: #ecf2fd;
  --navy: #0c2459;
  --navy-900: #081a42;
  --red: #dc0a1c;
  --green: #14a356;
  --amber: #f0a81c;

  /* Neutrale */
  --ink: #0e1a33;
  --text: #4f5b70;
  --muted: #7a8599;
  --line: #e3e8f0;
  --soft: #f4f6fa;
  --white: #fff;

  /* Typo */
  --font-head: "Quicksand", "Segoe UI", system-ui, sans-serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, sans-serif;

  /* Form */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(12, 36, 89, 0.06);
  --shadow-md: 0 18px 44px -16px rgba(12, 36, 89, 0.22);
  --shadow-lg: 0 34px 80px -24px rgba(8, 26, 66, 0.42);

  /* Raster und Rhythmus */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 88px;

  /* Bewegung */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h2 { font-size: clamp(2rem, 3.3vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.2em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; border-radius: 4px; }

.i { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(980px + 2 * var(--gutter)); }
.section { padding: var(--section) 0; }
.section--soft { background: var(--soft); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--r-xs);
}
.skip:focus { top: 12px; }

/* ---------- Bausteine ---------- */

/* Label über Überschriften (Medicate: kleines hellblaues Kästchen) */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-50);
  padding: 5px 10px; border-radius: var(--r-xs);
  margin-bottom: 18px;
}
.pill--light { color: #fff; background: rgba(255, 255, 255, 0.16); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head p { font-size: 1.05rem; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; text-align: left; max-width: none; }
.section-head--row h2 { margin-bottom: 0; }

/* Buttons: Großbuchstaben, kleines Plus wie im Vorbild */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 15px 28px; border-radius: var(--r-xs);
  border: 1.5px solid transparent;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  white-space: nowrap;
}
.btn .i { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i { transform: translateX(2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(7, 66, 191, 0.6); }
.btn--primary:hover { background: var(--blue-600); }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--blue-50); }
.btn--outline { border-color: var(--blue-100); color: var(--blue); background: #fff; }
.btn--outline:hover { border-color: var(--blue); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.btn--outline-light:hover { border-color: #fff; }
.btn--glass {
  color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.22); }
.btn--lg { padding: 18px 32px; font-size: 14px; }
.btn--block { width: 100%; }

.more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
}
.more .i { width: 14px; height: 14px; transition: transform 0.35s var(--ease-out); }

/* Live-Status: grün = offen, gelb = schließt bald, rot = zu */
.status {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: #fff;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.status__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.status.is-open .status__dot { background: var(--green); }
.status.is-soon .status__dot { background: var(--amber); }
.status.is-closed .status__dot { background: var(--red); }
.status.is-open .status__dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--green); opacity: 0; animation: pulse 2.2s var(--ease-out) infinite;
}
@keyframes pulse { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
.status--small { padding: 3px 10px 3px 9px; font-size: 12px; background: rgba(255, 255, 255, 0.08); }
.status--on-blue { margin-top: 20px; background: rgba(255, 255, 255, 0.14); }

/* ---------- Obere Leiste ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, 0.82); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; }
.topbar__info { display: flex; gap: 28px; }
.topbar__info li, .topbar__info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__info a:hover { color: #fff; }
.topbar__info .i { color: var(--blue-300); }
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__social { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.topbar__social:hover { background: var(--blue); color: #fff; }

/* ---------- Kopf ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  transition: box-shadow 0.4s var(--ease-out);
}
.header.is-scrolled { box-shadow: 0 10px 30px -14px rgba(12, 36, 89, 0.25); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height 0.4s var(--ease-out); }
.header.is-scrolled .header__inner { height: 72px; }
.logo img { width: auto; height: 50px; transition: height 0.4s var(--ease-out); }
.header.is-scrolled .logo img { height: 42px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__item > a {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  padding: 10px 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink);
  transition: color 0.2s;
}
.nav__item > a:hover, .nav__item:focus-within > a { color: var(--blue); }
.nav__chev { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.has-sub:hover .nav__chev, .has-sub:focus-within .nav__chev { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-md); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0.25s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 14px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.sub a:hover { background: var(--blue-50); color: var(--blue); }
.nav__mobile-extra { display: none; }
.burger { display: none; }

/* ---------- Hero ---------- */
/* Oben Text auf Navy, darunter der Film als Bühne im Kinoformat 2,35:1.
   Der Film hat eingebrannte Texte; deshalb liegt keine Überschrift darauf. */
.hero {
  position: relative; isolation: isolate; color: #fff;
  padding: clamp(48px, 6vw, 84px) 0 0;
  --split: 190px; /* ab hier wird der Hintergrund weiß, die Bühne ragt hinein */
  background:
    radial-gradient(ellipse 60% 70% at 85% 0%, rgba(7, 66, 191, 0.55), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.07) 1.2px, transparent 1.2px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--navy-900) 0, var(--navy) calc(100% - var(--split)), var(--white) calc(100% - var(--split)));
}
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 3.9vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em;
  margin-bottom: clamp(36px, 4.5vw, 56px); text-wrap: balance;
}
.hero h1 span { color: var(--blue-300); }

/* Bühne bis zu 120 px je Seite breiter als der Inhaltsbereich (die Karten darunter) */
.hero__stage {
  --stage-extra: clamp(0px, 8vw, 120px);
  position: relative;
  width: 100%; max-width: calc(var(--container) + 2 * var(--gutter) + 2 * var(--stage-extra));
  margin: 0 auto; padding: 0 var(--gutter);
  animation: stageIn 1.3s var(--ease-out) 0.45s both;
}

/* Stempel Grippeschutzimpfung: schräg, ragt oben rechts über den Film, schwebt leicht */
.stempel {
  position: absolute; z-index: 4; top: -64px; right: calc(var(--gutter) + 56px);
  width: clamp(112px, 12vw, 176px); aspect-ratio: 1;
  border-radius: 50%; color: #fff;
  animation: stempelAuf 0.9s cubic-bezier(0.2, 1.4, 0.4, 1) 1.2s both;
}
.stempel__svg {
  display: block; width: 100%; height: 100%; overflow: visible;
  transform: rotate(-14deg);
  filter: drop-shadow(0 18px 30px rgba(8, 26, 66, 0.45));
  animation: stempelSchweben 7s ease-in-out 2.2s infinite;
  transition: transform 0.4s var(--ease-out);
}
.stempel:hover .stempel__svg, .stempel:focus-visible .stempel__svg { transform: rotate(-6deg) scale(1.05); animation-play-state: paused; }
.stempel__scheibe { fill: var(--red); stroke: #fff; stroke-width: 4; }
.stempel__ring { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.4; }
.stempel__ring--innen { stroke-dasharray: 2 4; stroke-opacity: 0.6; }
.stempel__rand { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; fill: #fff; letter-spacing: 0.14em; }
.stempel__icon { color: #fff; }
.stempel__jahr { font-family: var(--font-head); font-size: 31px; font-weight: 700; fill: #fff; letter-spacing: -0.02em; }
.stempel__cta { font-family: var(--font-body); font-size: 10.5px; font-weight: 700; fill: #fff; letter-spacing: 0.12em; }
@keyframes stempelAuf { from { opacity: 0; transform: scale(1.7); } to { opacity: 1; transform: none; } }
@keyframes stempelSchweben {
  0%, 100% { transform: rotate(-14deg) translateY(0); }
  50% { transform: rotate(-11deg) translateY(-7px); }
}
@keyframes stageIn { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
.hero__media {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 2.35 / 1; border-radius: var(--r-lg);
  background: var(--navy-900); box-shadow: var(--shadow-lg);
  transform-origin: 50% 35%;
}
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.hero__video.is-playing { opacity: 1; }
.hero__video iframe { position: absolute; border: 0; pointer-events: none; }
.hero__film--stage {
  position: absolute; left: 20px; top: 20px; z-index: 2;
  padding: 6px 18px 6px 6px; border-radius: 999px; font-size: 13px;
  background: rgba(8, 26, 66, 0.45); border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero__film--stage .hero__film-icon { width: 36px; height: 36px; }
.hero__film--stage .hero__film-icon::after { display: none; }


.hero__film { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: #fff; }
.hero__film-icon {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--blue);
  transition: transform 0.4s var(--ease-out);
}
.hero__film-icon .i { width: 18px; height: 18px; margin-left: 3px; fill: currentColor; }
.hero__film-icon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.45); animation: ring 2.6s var(--ease-out) infinite; }
@keyframes ring { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.hero__film:hover .hero__film-icon { transform: scale(1.08); }

/* Einblenden beim Laden: nacheinander, mit leichter Unschärfe */
.hero__top > * { animation: rise 1.1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 150ms); }
@keyframes rise { from { opacity: 0; transform: translateY(30px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Schnellzugriff: drei Karten ---------- */
.quick { position: relative; z-index: 3; margin-top: -64px; }
.quick__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qcard {
  position: relative; overflow: hidden;
  padding: 40px 36px 38px; border-radius: var(--r-md);
  color: rgba(255, 255, 255, 0.86); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: flex-start;
}
.qcard--blue { background: var(--blue); }
.qcard--navy { background: var(--navy); }
.qcard__icon { width: 50px; height: 50px; color: #fff; margin-bottom: 22px; stroke-width: 1.5; }
.qcard__mark { position: absolute; right: -14px; top: -10px; width: 120px; height: 120px; color: #fff; opacity: 0.08; }
.qcard__title { color: #fff; font-size: 1.55rem; margin-bottom: 12px; }
.qcard p { margin-bottom: 26px; }
.qcard .btn { margin-top: auto; }
.qcard__phone {
  margin-top: auto; display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: #fff;
}
.qcard__phone span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy); }
.qcard__phone .i { width: 20px; height: 20px; }
.hours { margin: 0; width: 100%; }
.hours__row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.25); font-size: 15px; }
.hours__row dt, .hours__row dd { margin: 0; }
.hours__row dd { color: #fff; font-weight: 600; white-space: nowrap; }
.hours__row a { text-decoration: underline; text-underline-offset: 3px; }
.hours__row.is-today { font-weight: 700; color: #fff; }
.hours__row.is-today dt::after {
  content: "heute"; margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: #fff; color: var(--blue); padding: 2px 7px; border-radius: 999px; vertical-align: 2px;
}

/* ---------- Über uns ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.about__media { position: relative; padding: 0 40px 60px 0; }
.about__img { width: 100%; aspect-ratio: 5 / 5.6; object-fit: cover; object-position: 56% 40%; border-radius: var(--r-md); }
.about__img2 {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 35% 50%;
  border-radius: var(--r-md); border: 8px solid #fff; box-shadow: var(--shadow-md);
}
.about__badge {
  position: absolute; left: -20px; top: 36px;
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: var(--r-sm); padding: 14px 20px 14px 14px; box-shadow: var(--shadow-md);
  font-size: 13px; line-height: 1.35; color: var(--text);
}
.about__badge strong { display: block; font-family: var(--font-head); font-size: 16px; color: var(--ink); }
.about__badge-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; }
.about__badge-icon .i { width: 22px; height: 22px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 8px 0 36px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: 15px; line-height: 1.4; }
.checks__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-50); color: var(--blue); flex: none; }
.checks__icon .i { width: 14px; height: 14px; stroke-width: 3; }

/* ---------- Leistungen ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.scard {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 44px 26px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff;
  transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.scard__icon {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue); margin-bottom: 22px;
  transition: background-color 0.35s, color 0.35s, transform 0.5s var(--ease-out);
}
.scard__icon .i { width: 38px; height: 38px; stroke-width: 1.5; }
.scard h3 { font-size: 1.2rem; margin-bottom: 8px; }
.scard p { font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.scard .more { margin-top: auto; }
.scard:hover { z-index: 1; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.scard:hover .scard__icon { background: var(--blue); color: #fff; transform: scale(1.06); }
.scard:hover .more .i, .review .more:hover .i { transform: rotate(90deg); }

/* ---------- E-Rezept in Schritten ---------- */
.steps__wrap { position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 160px; overflow: visible; }
.steps__dots { fill: none; stroke: var(--blue); stroke-opacity: 0.45; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 0.5 11; vector-effect: non-scaling-stroke; }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.step { text-align: center; }
.step:nth-child(even) { padding-top: 34px; }
.step__circle {
  position: relative; display: grid; place-items: center;
  width: 132px; height: 132px; margin: 0 auto 26px; border-radius: 50%;
  background: #fff; color: var(--blue); box-shadow: var(--shadow-md); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out);
}
.step__circle .i { width: 48px; height: 48px; stroke-width: 1.4; }
.step__num {
  position: absolute; left: 4px; top: 6px; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; box-shadow: 0 0 0 5px #fff;
}
.step:hover .step__circle { transform: translateY(-6px); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15px; line-height: 1.6; max-width: 250px; margin: 0 auto; }
.steps__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 56px; }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tcard { position: relative; display: flex; flex-direction: column; }
.tcard__img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--blue-100); }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.tcard:hover .tcard__img img { transform: scale(1.05); }
.tcard__img--placeholder {
  display: grid; place-content: center; text-align: center; gap: 4px;
  background: radial-gradient(circle at 30% 20%, var(--blue) 0%, var(--navy) 75%);
  color: #fff;
}
.tcard__img--placeholder span { font-family: var(--font-head); font-weight: 700; font-size: 4.5rem; line-height: 1; }
.tcard__img--placeholder small { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.tcard__body {
  position: relative; margin: -46px 16px 0; padding: 18px 16px; text-align: center;
  background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-md);
}
.tcard__body h3 { font-size: 1.15rem; margin: 0 0 2px; }
.tcard__body span { display: block; line-height: 1.5; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.tcard--job {
  overflow: hidden; padding: 36px 30px; border-radius: var(--r-md);
  background: var(--blue); color: rgba(255, 255, 255, 0.86); justify-content: flex-end; align-items: flex-start;
}
.tcard--job h3 { color: #fff; font-size: 1.6rem; }
.tcard__mark { position: absolute; right: -20px; top: -20px; width: 150px; height: 150px; color: #fff; opacity: 0.08; }

/* ---------- Termin ---------- */
.appoint { padding-top: 0; }
.team + .appoint { padding-top: var(--section); }
.appoint__box {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(36px, 6vw, 72px); border-radius: var(--r-lg); color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.16), transparent 40%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px) 0 0 / 22px 22px,
    var(--blue);
  box-shadow: var(--shadow-lg);
}
.appoint__box h2 { color: #fff; }
.appoint__box p { font-size: 1.05rem; margin: 0; }
.appoint__card { background: #fff; border-radius: var(--r-md); padding: 32px; color: var(--text); text-align: center; }
.appoint__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.appoint__phone { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.6rem); color: var(--ink); margin: 8px 0 2px; }
.appoint__card p { font-size: 14px; margin-bottom: 22px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.review { display: flex; gap: 18px; margin-top: 16px; padding: 28px; border-radius: var(--r-md); background: var(--soft); }
.review__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--amber); flex: none; box-shadow: var(--shadow-sm); }
.review__icon .i { width: 24px; height: 24px; fill: currentColor; }
.review h3 { font-size: 1.15rem; margin-bottom: 4px; }
.review p { font-size: 15px; margin-bottom: 12px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink);
  transition: color 0.2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.qa__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-50); color: var(--blue); flex: none; transition: transform 0.4s var(--ease-out), background-color 0.3s, color 0.3s; }
.qa__icon .i { width: 16px; height: 16px; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.qa__body p { margin: 0; padding: 0 56px 24px 0; }
.qa__body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
/* Weiches Aufklappen, wo der Browser es kann (Chrome 131+) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height 0.45s var(--ease-out), content-visibility 0.45s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

/* ---------- Fuß ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.7); font-size: 15px; }
.emergency {
  position: relative; top: -90px; margin-bottom: -90px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: 38px 44px; border-radius: var(--r-md); color: rgba(255, 255, 255, 0.86);
  background: radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px) 0 0 / 22px 22px, var(--blue);
  box-shadow: var(--shadow-lg);
}
.emergency__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 0 8px rgba(220, 10, 28, 0.22); }
.emergency__icon .i { width: 30px; height: 30px; }
.emergency h2 { color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: 6px; }
.emergency p { margin: 0; font-size: 15px; }
.emergency__actions { display: grid; gap: 10px; justify-items: end; }
.emergency__actions small { font-size: 12px; opacity: 0.8; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.25fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; }
.footer__logo { display: inline-block; background: #fff; padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 20px; }
.footer__logo img { height: 46px; width: auto; }
.footer__social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; transition: background-color 0.25s; }
.footer__social:hover { background: var(--blue); }
.footer__title { position: relative; color: #fff; font-size: 1.2rem; margin-bottom: 26px; padding-bottom: 12px; }
.footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--blue-300); }
.footer__links li { margin-bottom: 10px; }
.footer__links a { transition: color 0.2s, padding 0.3s var(--ease-out); }
.footer__links a:hover { color: #fff; padding-left: 6px; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.55; }
.footer__contact .i { color: var(--blue-300); margin-top: 4px; }
.footer__contact a:hover { color: #fff; }
.footer .btn--outline-light { margin-top: 8px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__bottom a:hover { color: #fff; }
.footer__draft { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 12px; }

/* ---------- Handy-Leiste, Nach-oben, Film ---------- */
.actionbar { display: none; }
.totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-xs);
  background: var(--blue); color: #fff; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.35s, transform 0.45s var(--ease-out);
}
.totop .i { transform: rotate(-90deg); }
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.film { width: min(1120px, 92vw); padding: 0; border: 0; border-radius: var(--r-md); background: #000; overflow: visible; }
.film::backdrop { background: rgba(8, 26, 66, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.film[open] { animation: filmIn 0.5s var(--ease-out); }
@keyframes filmIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.film__frame { aspect-ratio: 16 / 9; }
.film__frame iframe { width: 100%; height: 100%; border: 0; border-radius: var(--r-md); display: block; }
.film__close { position: absolute; right: -14px; top: -14px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow-md); }

/* =====================================================================
   Bewegung
   ===================================================================== */

/* Einblenden beim Erscheinen (nur mit JS, sonst bleibt alles sichtbar) */
html.js [data-reveal] {
  opacity: 0; transform: translateY(34px); filter: blur(6px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
html.js .quick [data-reveal] { transform: translateY(60px); }
html.js .quick [data-reveal].is-in { transform: none; }

/* Scroll-gekoppelte Effekte: laufen im Compositor, Firefox zeigt den Endzustand */
@supports (animation-timeline: scroll()) {
  /* Hero: Bühne wächst auf volle Breite (Faktor --grow aus JS), Text tritt zurück */
  .hero__media { animation: stageGrow linear both; animation-timeline: scroll(root block); animation-range: 0 60vh; }
  @keyframes stageGrow { to { transform: scale(var(--grow, 1.1)); border-radius: 0; } }
  .hero__top { animation: heroBack linear both; animation-timeline: scroll(root block); animation-range: 0 60vh; }
  @keyframes heroBack { to { opacity: 0.3; transform: translateY(-40px); } }
}

/* Bewegung reduzieren: alles still, alles sichtbar */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* =====================================================================
   Breakpoints
   ===================================================================== */
@media (max-width: 1180px) {
  /* doppelte Klasse nötig: „.topbar__info li“ (0,1,1) würde „.topbar__mail“ (0,1,0) sonst überstimmen */
  .topbar__info .topbar__mail { display: none; }
  .header__cta { padding: 13px 20px; }
}

@media (max-width: 1100px) {
  :root { --header-h: 76px; }
  .logo img { height: 42px; }
  .header__cta { margin-left: auto; }
  .burger {
    display: grid; place-content: center; gap: 5px;
    width: 46px; height: 46px; border-radius: var(--r-xs); background: var(--blue-50);
  }
  .burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.35s var(--ease-out), opacity 0.2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* backdrop-filter macht den Kopf zum Bezugsrahmen für position:fixed – das Off-Canvas-Menü
     stünde dann neben der Seite (seitlicher Überlauf) und wäre nur so hoch wie der Kopf. */
  .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
    width: min(380px, 100%); padding: 96px 24px 32px; overflow-y: auto;
    background: #fff; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.5s var(--ease-out); visibility: hidden;
  }
  body.nav-open .nav { transform: none; visibility: visible; }
  /* Abdunkelung im selben Stapelkontext wie das Menü (der Kopf ist sticky mit z-index 50):
     als body::after läge sie sonst über dem ganzen Kopf samt Menü. */
  body.nav-open .header::after { content: ""; position: fixed; inset: 0; z-index: 55; background: rgba(8, 26, 66, 0.5); }
  .burger { position: relative; z-index: 70; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item > a { display: flex; justify-content: space-between; padding: 14px 4px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav__chev { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 4px 0 10px 12px; min-width: 0; }
  .sub::before { display: none; }
  .sub a { padding: 8px 4px; font-size: 14px; color: var(--text); }
  .nav__mobile-extra { display: grid; gap: 12px; margin-top: 28px; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  body { padding-bottom: 68px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .topbar__info li:first-child { display: none; }
  .hero { --split: 90px; }
  .hero__stage { padding: 0; }
  .hero__media { aspect-ratio: 16 / 9; border-radius: 0; animation: none !important; }
  .hero__film--stage { left: auto; right: 12px; top: auto; bottom: 12px; }
  .stempel { top: -34px; right: 14px; width: 108px; }
  .quick { margin-top: 32px; }
  .quick__grid { grid-template-columns: 1fr; }
  .about__grid, .faq__grid, .appoint__box { grid-template-columns: 1fr; }
  .about__media { padding: 0 24px 48px 0; }
  .about__badge { left: 12px; top: 16px; }
  .steps__line { display: none; }
  .steps__list { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .step:nth-child(even) { padding-top: 0; }
  .emergency { grid-template-columns: 1fr; text-align: left; padding: 32px 26px; }
  .emergency__actions { justify-items: start; }
  .section-head--row { flex-direction: column; align-items: flex-start; }

  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: 1fr 1fr 1.3fr;
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -10px 30px -16px rgba(12, 36, 89, 0.3);
  }
  .actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 64px; font-size: 12px; font-weight: 700; color: var(--ink); }
  .actionbar .i { width: 22px; height: 22px; color: var(--blue); }
  .actionbar__main { background: var(--blue); color: #fff !important; }
  .actionbar__main .i { color: #fff; }
  .totop { display: none; }
}

@media (max-width: 600px) {
  h2 { font-size: 1.85rem; }
  .topbar__info { gap: 16px; }
  .topbar__social { display: none; }
  .qcard { padding: 32px 26px; }
  .checks { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .scard { flex-direction: row; text-align: left; align-items: flex-start; gap: 18px; padding: 24px 18px; }
  .scard__icon { width: 60px; height: 60px; margin: 0; flex: none; }
  .scard__icon .i { width: 28px; height: 28px; }
  .scard > :not(.scard__icon) { margin-left: 0; }
  .scard { display: grid; grid-template-columns: 60px 1fr; }
  .scard h3, .scard p, .scard .more { grid-column: 2; }
  .scard__icon { grid-row: 1 / span 3; }
  .scard p { margin-bottom: 8px; }
  .steps__list { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .tcard__body { margin: -36px 8px 0; padding: 12px 8px; }
  .tcard--job { grid-column: 1 / -1; }
  /* Inhaberin über die volle Breite, die beiden Fotos darunter nebeneinander – keine Lücke im Raster */
  .tcard:first-child { grid-column: 1 / -1; }
  .tcard:first-child .tcard__img { aspect-ratio: 16 / 9; }
  .tcard__body span { font-size: 11px; letter-spacing: 0.04em; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .qa__body p { padding-right: 0; }
}
