/* Schlüsselhelden Hamburg — design system
   Konzept: "Der Generalschlüssel" — Scroll ist die Drehung im Schloss.
   Lead-Magnet-Architektur: Anruf zuerst, Reservierung erst nach Verfügbarkeits-Check.
   Basis: DESIGN-HANDOFF.md / design-brief.md + Matrixx-Skills (luxury: Double-Bezel,
   Nested-CTA; taste: dvh-Hero, transform-only-Motion, getönte Schatten). */

@font-face {
  font-family: "Geist Variable";
  src: url("fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono Variable";
  src: url("fonts/geist-mono-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b1b24;
  --bg-soft: #0e2029;
  --surface: #10242f;
  --surface-2: #16303d;
  --surface-3: #1c3a49;
  --ink: #ede7dc;
  --muted: #93a7ae;
  --muted-2: #7f939b;
  --accent: #d9a75e;
  --accent-2: #e8c68c;
  --accent-ink: #1c1206;
  --success: #6fae72;
  --success-2: #8fd193;
  --danger: #e08a6b;
  --line: rgba(237, 231, 220, 0.12);
  --line-strong: rgba(237, 231, 220, 0.22);
  --shadow-lg: 0 30px 80px -24px rgba(2, 10, 16, 0.7);
  --shadow-md: 0 16px 40px -18px rgba(2, 10, 16, 0.6);
  --shadow-brass: 0 12px 30px -10px rgba(217, 167, 94, 0.45);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 160ms;
  --dur-med: 420ms;
  --dur-slow: 900ms;
  --font-display: "Geist Variable", "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono Variable", ui-monospace, "SF Mono", Menlo, monospace;
  --container: 1180px;
  --nav-h: 76px;
  --reveal-y: 26px;
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --reveal-y: 0px;
    --dur-fast: 1ms;
    --dur-med: 1ms;
    --dur-slow: 1ms;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

/* [hidden] must always win, even against display:grid/flex component rules */
[hidden] { display: none !important; }
.is-hidden { display: none !important; }

:focus { outline: none; }
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 1rem;
  z-index: 1000;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 1rem; }

.shell {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  text-wrap: balance;
}

/* Ausgewogene Zeilenumbrüche für Überschriften (Mobile-Polish, progressive) */
.section-head h1, .section-head .section-title, .cta-band h2 { text-wrap: balance; }
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 167, 94, 0.18);
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin-top: 0.6rem;
  max-width: 26ch;
}
.section-lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  max-width: 48ch;
  margin-top: 0.9rem;
}
.section-head { margin-bottom: clamp(2rem, 5vw, 3.25rem); }

section.block { padding-block: clamp(4rem, 9vw, 7rem); position: relative; }
.block--rule { border-top: 1px solid var(--line); }
.block--tint {
  background:
    radial-gradient(1200px 480px at 12% -10%, rgba(217, 167, 94, 0.09), transparent 55%),
    radial-gradient(900px 420px at 90% 110%, rgba(16, 60, 78, 0.55), transparent 55%);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease-spring), background var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-brass {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
  box-shadow: var(--shadow-brass);
  position: relative;
  overflow: hidden;
}
.btn-brass::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  animation: sheen 4.5s var(--ease) 4;
  pointer-events: none;
}
@keyframes sheen {
  0%, 72% { left: -70%; }
  88%, 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) { .btn-brass::after { animation: none; display: none; } }
.btn-brass:hover { box-shadow: 0 16px 40px -8px rgba(217, 167, 94, 0.6); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-xl { font-size: 1.08rem; padding: 1.1rem 1.9rem; min-height: 58px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Nested-CTA: leading icon sits in its own orb (Matrixx luxury pattern) */
.btn-orb {
  width: 2em; height: 2em;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: rgba(28, 18, 6, 0.16);
  margin-left: -0.5em;
}
.btn-ghost .btn-orb { background: rgba(237, 231, 220, 0.08); }
.btn-orb svg { width: 1em; height: 1em; }

.hotline {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.hotline:hover { border-color: var(--accent); color: var(--accent-2); }
.hotline svg { color: var(--accent); width: 1em; height: 1em; }
@media (max-width: 480px) {
  /* Telefon-Button im Header als Icon-Kreis (wie Startseite) — verhindert Nummern-Umbruch */
  .hotline { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: var(--accent-ink); box-shadow: 0 12px 26px -14px rgba(217, 167, 94, 0.6); }
  .hotline svg { color: inherit; }
  .hotline:hover { color: var(--accent-ink); }
  .hotline span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}

/* Live status pill (hero + tracker) */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--success-2);
  background: rgba(111, 174, 114, 0.1);
  border: 1px solid rgba(111, 174, 114, 0.35);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
}
.live-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
  flex: none;
}
.live-pill .dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--success);
  opacity: 0.6;
  animation: pill-pulse 1.6s ease-out infinite;
}
@keyframes pill-pulse {
  0% { transform: scale(0.5); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .live-pill .dot::after { animation: none; opacity: 0; } }

/* ============ Nav ============ */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(11, 27, 36, 0.92), rgba(11, 27, 36, 0));
  transition: background var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), backdrop-filter var(--dur-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 21, 28, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__row {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}
.brand svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.brand__text small { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  font-size: 0.94rem;
}
.nav__links a { text-decoration: none; color: var(--muted); transition: color var(--dur-fast) var(--ease); }
.nav__links a:hover { color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: 0.75rem; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: transparent;
  align-items: center;
  justify-content: center;
}
.nav__burger svg { width: 20px; height: 20px; }

.nav__cta {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
}
.nav__cta:hover { box-shadow: var(--shadow-brass); }
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__cta span { display: none; }
  .nav__cta { padding: 0.7rem 0.95rem; min-height: 44px; }
}

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 190;
  background: rgba(9, 18, 24, 0.98);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  padding: 2rem clamp(1.25rem, 6vw, 2.5rem);
  gap: 1.6rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}
.mobile-menu .btn { margin-top: 0.5rem; font-size: 1.1rem; }

/* ============ Hero: scroll-scrubbed key film with two chapters ============ */
.hero-scrub {
  position: relative;
  height: 300vh;
}
.hero-scrub__stage {
  position: sticky;
  top: 0;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
}
.hero-scrub__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg);
}
.hero-scrub__media video,
.hero-scrub__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  transform: scale(var(--hero-zoom, 1));
  transform-origin: 60% 45%;
}
.hero-scrub__media video { opacity: 0; transition: opacity 480ms ease; }
.hero-scrub__media.is-ready video { opacity: 1; }
.hero-scrub__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 27, 36, 0.35) 0%, rgba(11, 27, 36, 0.15) 30%, rgba(11, 27, 36, 0.55) 78%, rgba(11, 27, 36, 0.94) 100%),
    linear-gradient(90deg, rgba(11, 27, 36, 0.75) 0%, rgba(11, 27, 36, 0.15) 46%, transparent 62%);
}
.hero-scrub__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-chapter {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 6vw, 4.5rem) clamp(2.5rem, 7vw, 5rem);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
.hero-chapter.is-active { opacity: 1; pointer-events: auto; }
.hero-chapter__copy { max-width: 680px; }
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.hero-kicker::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.hero-title {
  font-size: clamp(2.4rem, 6.2vw, 4.5rem);
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.hero-body {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--ink);
  opacity: 0.88;
  max-width: 48ch;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.hero-tags li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
  background: rgba(11, 27, 36, 0.5);
  backdrop-filter: blur(6px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; align-items: center; }
.hero-status { margin-top: 1.5rem; }
@media (max-width: 600px) {
  /* Lange CTA-Texte ("Jetzt anrufen: 040 · 123 456 78", "Diesen Helden jetzt
     reservieren") sind als nowrap-Textlauf breiter als 375px-Viewports —
     ohne diese Regel zwingt der Button per min-content den ganzen Flex-Item-
     Block über den Viewport hinaus. Mobile Safari/Chrome weiten dann lautlos
     den Layout-Viewport auf (kein sichtbarer Scrollbalken, aber Inhalte
     rechts abgeschnitten bzw. der Header verzerrt). Betrifft jede
     Button-Zeile mit langem Label: Hero-CTAs, Tracker-Ergebnis, Schluss-CTA. */
  .hero-actions .btn,
  .eta-cta-row .btn,
  .cta-band .actions .btn {
    white-space: normal;
    text-align: center;
    flex: 1 1 100%;
  }
}

.hero-scrub__scrollhint {
  position: absolute;
  right: clamp(1.25rem, 6vw, 4.5rem);
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: opacity var(--dur-med) var(--ease);
}
.hero-scrub__scrollhint.is-done { opacity: 0; }
.hero-scrub__scrollhint .track {
  width: 1px; height: 34px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.hero-scrub__scrollhint .track span {
  position: absolute; inset-inline: 0; top: 0;
  height: 40%;
  background: var(--accent);
  animation: hint-fall 1.8s ease-in-out infinite;
}
@keyframes hint-fall { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }
@media (prefers-reduced-motion: reduce) {
  .hero-scrub { height: auto; }
  .hero-scrub__stage { position: relative; height: auto; min-height: 100svh; display: flex; }
  .hero-chapter { position: relative; opacity: 1; pointer-events: auto; }
  .hero-chapter--2 { display: none; }
  .hero-scrub__scrollhint { display: none; }
}
/* Ohne JS: Hero statisch und vollstaendig lesbar */
html.no-js .hero-scrub { height: auto; }
html.no-js .hero-scrub__stage { position: relative; height: auto; min-height: 100svh; display: flex; }
html.no-js .hero-chapter { position: relative; opacity: 1; pointer-events: auto; }
html.no-js .hero-chapter--2 { display: none; }
html.no-js .hero-scrub__scrollhint { display: none; }
@media (max-width: 640px) { .hero-scrub__scrollhint { display: none; } }

/* Fix 05.10.: Kompakter Mobile-Hero — verhindert, dass die H1-Zeile
   "Ausgesperrt?" unter die fixe Kopfzeile rutscht (kleine Viewports). */
@media (max-width: 600px) {
  .hero-chapter { padding: calc(var(--nav-h) + 0.85rem) clamp(1rem, 5vw, 2rem) 1.1rem; }
  .hero-kicker { margin-bottom: 0.5rem; font-size: 0.7rem; letter-spacing: 0.14em; }
  .hero-title { font-size: clamp(1.7rem, 7.4vw, 2.3rem); line-height: 1.06; overflow-wrap: break-word; }
  .hero-body { margin-top: 0.65rem; font-size: 0.95rem; line-height: 1.55; }
  .hero-status { margin-top: 0.65rem; }
  .hero-team-strip { margin-top: 0.65rem; padding: 0.5rem 0.75rem; gap: 0.55rem; }
  .hero-team-strip__avatar { width: 38px; height: 38px; }
  .hero-team-strip__text { font-size: 0.76rem; line-height: 1.4; }
  .hero-actions { margin-top: 0.95rem; gap: 0.55rem; }
  .hero-cta-hint { margin-top: 0.55rem; font-size: 0.78rem; }
  .floating-cta { bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); }
}
/* Fix 05.10.: Header-Overflow-Fix schmale Phones (<=480px) — goldener
   Anruf-Button wurde bei 390px am rechten Rand abgeschnitten. */
@media (max-width: 480px) {
  .nav__row { padding-inline: 0.9rem; gap: 0.55rem; }
  .brand { gap: 0.5rem; min-width: 0; overflow: hidden; }
  .brand svg { width: 22px; height: 22px; }
  .brand__text { min-width: 0; }
  .brand__text strong { font-size: 0.98rem; white-space: nowrap; }
  .brand__text small { font-size: 0.56rem; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav__actions { gap: 0.5rem; flex: none; }
  .nav__cta { padding: 0.6rem 0.8rem; min-height: 42px; }
  .nav__burger { width: 42px; height: 42px; }
}
/* Fix 05.10.: Overflow-Guard — verhindert, dass ein zu breites Element den
   Layout-Viewport auf Phones aufweitet (Header/Buttons wurden rechts abgeschnitten).
   overflow-x: clip (statt hidden) bricht position:sticky nicht. */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }
/* ============ Double-Bezel shell (Matrixx luxury pattern) ============ */
.bezel {
  background: rgba(237, 231, 220, 0.045);
  border: 1px solid rgba(237, 231, 220, 0.08);
  border-radius: calc(var(--radius-lg) + 7px);
  padding: 7px;
  box-shadow: var(--shadow-lg);
}
.bezel > * {
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

/* ============ Availability tracker (the conversion engine) ============ */
.tracker {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.plz-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
}
@media (min-width: 640px) { .plz-form { flex-direction: row; align-items: center; } }
.plz-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  transition: border-color var(--dur-fast) var(--ease);
}
.plz-input:focus-within { border-color: var(--accent); }
.plz-input svg { color: var(--accent); width: 1.1em; height: 1.1em; flex: none; }
.plz-input input {
  border: 0; background: transparent; color: var(--ink);
  font: inherit; font-family: var(--font-mono); font-size: 1.05rem;
  width: 100%; outline: none;
}
.plz-input input::placeholder { color: var(--muted-2); }

.form-msg { font-size: 0.9rem; padding: 0.1rem 0; }
.form-msg[data-tone="error"] { color: var(--danger); }
.form-msg:empty { display: none; }

/* Scan state — radar sweep while "checking" availability */
.tracker-scan {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.5rem;
}
.tracker-scan__radar {
  width: 54px; height: 54px;
  border-radius: 50%;
  flex: none;
  position: relative;
  background:
    radial-gradient(circle, rgba(217, 167, 94, 0.08) 0%, transparent 70%),
    var(--bg-soft);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.tracker-scan__radar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, rgba(217, 167, 94, 0.55), transparent 70deg);
  animation: radar-sweep 1.1s linear infinite;
}
.tracker-scan__radar::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  border: 1px solid rgba(217, 167, 94, 0.4);
}
@keyframes radar-sweep { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tracker-scan__radar::before { animation: none; } }
.tracker-scan__text { font-family: var(--font-mono); font-size: 0.92rem; color: var(--accent-2); }
.tracker-scan__text small { display: block; color: var(--muted); margin-top: 0.3rem; font-size: 0.8rem; }

/* Result card */
.eta-result {
  display: grid;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(111, 174, 114, 0.4);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 2rem);
}
@media (min-width: 800px) { .eta-result { grid-template-columns: 1.05fr 1fr; align-items: center; } }
.eta-result--busy { border-color: rgba(224, 138, 107, 0.45); }
.map-panel { border-radius: var(--radius-md); overflow: hidden; background: var(--bg-soft); }
.status-line {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--success-2);
  margin-bottom: 0.8rem;
}
.status-line .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(111, 174, 114, 0.18); flex: none; }
.eta-result--busy .status-line { color: var(--danger); }
.eta-result--busy .status-line .dot { background: var(--danger); box-shadow: 0 0 0 5px rgba(224, 138, 107, 0.18); }
.eta-big { font-family: var(--font-mono); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; color: var(--accent-2); line-height: 1; }
.eta-big span { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--muted); margin-left: 0.4rem; }
.mono-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink);
  background: rgba(217, 167, 94, 0.1);
  border: 1px solid rgba(217, 167, 94, 0.25);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
}
.mono-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(111, 174, 114, 0.2); flex: none; }
.muted-note { color: var(--muted); font-size: 0.9rem; margin-top: 0.75rem; }
.muted-note--urgency { color: var(--accent-2); font-weight: 500; }
.eta-cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }

/* Gated reservation — only revealed after a successful availability check */
.booking-wrap {
  border: 1px solid rgba(217, 167, 94, 0.35);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(217, 167, 94, 0.06), var(--surface) 40%);
  padding: clamp(1.4rem, 3.2vw, 2.2rem);
}
.booking-wrap.is-entering { animation: booking-in var(--dur-slow) var(--ease) both; }
@keyframes booking-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.booking-head { margin-bottom: 1.4rem; }
.booking-head h3 { font-size: 1.35rem; font-weight: 660; }
.booking-head p { color: var(--muted); margin-top: 0.45rem; font-size: 0.95rem; }
.booking-head .mono-pill { margin-top: 0.8rem; }

.booking-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .booking-form { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.span2 { grid-column: 1 / -1; }
.field label { font-size: 0.84rem; color: var(--muted); font-weight: 600; }
.field input, .field select {
  /* Native <select>-Elemente stretchen in Flex-Spalten nicht zuverlässig wie
     <input> — ohne explizite Breite sizt Chromium sie auf die längste
     Options-Breite und sprengt schmale Viewports (< 375px). */
  width: 100%;
  min-width: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease);
}
.field input:focus, .field select:focus { border-color: var(--accent); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2393A7AE' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }

.label-optional { color: var(--muted-2); font-weight: 400; }

.pay-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.pay-note svg { width: 1em; height: 1em; color: var(--accent); flex: none; }

.booking-done {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(111, 174, 114, 0.1);
  border: 1px solid rgba(111, 174, 114, 0.35);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}
.booking-done svg { width: 28px; height: 28px; color: var(--success); flex: none; margin-top: 0.1rem; }
.booking-done p { color: var(--muted); margin-top: 0.35rem; }
.booking-done__fallback a { color: var(--accent-2); font-weight: 600; }

/* ============ Tilt (3D hover) cards ============ */
.tilt { transform-style: preserve-3d; transition: transform var(--dur-fast) ease-out, box-shadow var(--dur-fast) ease-out; will-change: transform; }

/* ============ Reveal-on-scroll (nur mit JS — no-js sieht alles sofort) ============ */
html:not(.no-js) .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y));
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
html:not(.no-js) .reveal.is-revealed { opacity: 1; transform: none; }

/* ============ Festpreis section: steps + prices ============ */
.steps { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-bottom: clamp(2rem, 5vw, 3rem); }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem;
}
.step .idx { font-family: var(--font-mono); color: var(--accent); font-size: 0.85rem; letter-spacing: 0.06em; }
.step h3 { margin-top: 0.9rem; font-size: 1.15rem; font-weight: 650; }
.step p { margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; }

.prices { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.price-table {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.7rem; transform-style: preserve-3d;
}
.price-table__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.1rem; }
.price-table__head h3 { font-size: 1.2rem; font-weight: 650; }
.price-table__head span { color: var(--muted); font-size: 0.85rem; text-align: right; }
.price-row { display: flex; justify-content: space-between; padding: 0.75rem 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.price-row strong { font-family: var(--font-mono); color: var(--accent-2); font-size: 1.05rem; }
.price-note { color: var(--muted); font-size: 0.88rem; margin-top: 1.4rem; max-width: 68ch; line-height: 1.6; }

/* ============ Trust ============ */
.trust-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.trust-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem; display: flex; gap: 1.1rem; align-items: flex-start; transform-style: preserve-3d;
}
.trust-card.feature { border-color: rgba(217, 167, 94, 0.35); background: linear-gradient(180deg, rgba(217, 167, 94, 0.08), var(--surface) 60%); }
.trust-card .ico {
  width: 42px; height: 42px; border-radius: var(--radius-sm); flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(217, 167, 94, 0.14); color: var(--accent);
}
.trust-card .ico svg { width: 22px; height: 22px; }
.trust-card h3 { font-size: 1.05rem; font-weight: 650; }
.trust-card p { margin-top: 0.5rem; color: var(--muted); font-size: 0.92rem; }
.trust-card .badge { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.8rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--success); }
.trust-card .badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

/* ============ Testimonials ============ */
.testimonial-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.testimonial-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.5rem; transform-style: preserve-3d; margin: 0;
}
.testimonial-card p { font-size: 0.95rem; line-height: 1.6; color: var(--ink); }
.testimonial-card p::before { content: ""; }
.testimonial-card cite { display: block; margin-top: 0.9rem; font-style: normal; font-size: 0.82rem; color: var(--muted); font-family: var(--font-mono); }

/* ============ Notdienst strip (compact services) ============ */
.services { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.4rem; transform-style: preserve-3d;
}
.service-card .ico {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: rgba(217, 167, 94, 0.14); color: var(--accent); margin-bottom: 0.9rem;
}
.service-card .ico svg { width: 21px; height: 21px; }
.service-card h3 { font-size: 1.02rem; font-weight: 650; }
.service-card p { margin-top: 0.45rem; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.service-card .price { margin-top: 0.8rem; font-family: var(--font-mono); font-size: 0.82rem; color: var(--accent-2); }

/* ============ Testimonials ============ */

/* ============ FAQ ============ */
.faq { display: grid; gap: 0.8rem; max-width: 760px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 0.3rem 1.4rem;
}
.faq-item summary {
  cursor: pointer; padding: 1.15rem 0; font-weight: 620; font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform var(--dur-fast) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { padding-bottom: 1.25rem; color: var(--muted); font-size: 0.95rem; line-height: 1.6; max-width: 62ch; }

/* ============ Final CTA band (key artwork background) ============ */
.cta-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(4rem, 10vw, 7rem);
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/img/cta-key.jpg");
  background-size: cover;
  background-position: 68% center;
}
.cta-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 27, 36, 0.95) 0%, rgba(11, 27, 36, 0.8) 45%, rgba(11, 27, 36, 0.35) 100%),
    linear-gradient(180deg, rgba(11, 27, 36, 0.6), transparent 30%, transparent 70%, rgba(11, 27, 36, 0.6));
}
.cta-band__inner { position: relative; max-width: 640px; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 680; letter-spacing: -0.015em; line-height: 1.08; }
.cta-band p { margin-top: 1rem; color: var(--ink); opacity: 0.85; font-size: 1.08rem; max-width: 44ch; }
.cta-band .actions { margin-top: 2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ============ Footer ============ */
.site-footer { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2.4rem; grid-template-columns: 1.3fr 1fr 1fr 1fr; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid .footer-heading { font-size: 0.95rem; font-weight: 650; margin-bottom: 1rem; letter-spacing: 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); margin-bottom: 0.9rem; }
.footer-brand svg { width: 22px; height: 22px; color: var(--accent); }
.footer-grid a, .footer-grid address { display: block; color: var(--muted); text-decoration: none; font-style: normal; margin-bottom: 0.65rem; font-size: 0.94rem; }
.footer-grid a:hover { color: var(--accent-2); }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  color: var(--muted-2); font-size: 0.85rem;
}
.footer-legal { display: flex; gap: 1.2rem; }
.footer-legal a { color: var(--muted-2); text-decoration: none; }
.footer-legal a:hover { color: var(--accent-2); }

/* ============ Floating mobile CTA (phone-first) ============ */
.floating-cta {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150;
  display: none; justify-content: center; gap: 0.7rem;
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
  pointer-events: none;
}
.floating-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.floating-cta a { pointer-events: auto; }
.floating-cta .btn-brass { flex: 1.5; }
.floating-cta .btn-ghost { flex: 1; background: rgba(11, 21, 28, 0.85); backdrop-filter: blur(10px); }
@media (max-width: 760px) {
  .floating-cta { display: flex; }
  /* Der fixierte Balken (bottom:1rem + ~56px Höhe) liegt sonst über den
     letzten Footer-Zeilen (Impressum/Datenschutz, Copyright) — unantippbar. */
  .site-footer { padding-bottom: 6rem; }
}

/* ============ Legal / prose pages ============ */
.prose-page { padding-block: calc(var(--nav-h) + 3rem) 5rem; }
.prose-page .shell { max-width: 800px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 680; letter-spacing: -0.01em; }
.prose .updated { color: var(--muted-2); font-family: var(--font-mono); font-size: 0.82rem; margin-top: 0.6rem; }
.prose h2 { font-size: 1.35rem; font-weight: 650; margin-top: 2.6rem; margin-bottom: 0.9rem; }
.prose h3 { font-size: 1.05rem; font-weight: 650; margin-top: 1.6rem; margin-bottom: 0.6rem; }
.prose p { color: var(--ink); opacity: 0.92; line-height: 1.7; margin-top: 0.9rem; }
.prose ul { margin-top: 0.9rem; display: grid; gap: 0.5rem; padding-left: 1.3rem; list-style: disc; color: var(--ink); opacity: 0.92; }
.prose a { color: var(--accent-2); }
/* Kontrast-Fix: Buttons in Artikeln/Coutrouten behalten ihre eigene Textfarbe
   (dunkel auf Gold) — Gold-auf-Gold war unlesbar (Owner-Meldung 09.11.). */
.prose a.btn-brass,
.prose .callout a.btn-brass,
.prose a.btn { color: var(--accent-ink); }
.prose .callout {
  margin-top: 2rem; padding: 1.2rem 1.4rem; border-radius: var(--radius-md);
  background: rgba(217, 167, 94, 0.08); border: 1px solid rgba(217, 167, 94, 0.3);
  font-size: 0.92rem; color: var(--accent-2); line-height: 1.6;
}
.prose .placeholder { background: rgba(224, 138, 107, 0.14); color: var(--accent-2); padding: 0 0.3em; border-radius: 4px; }

/* ============ Motion guards ============ */
@media (prefers-reduced-motion: reduce) {
  .tilt { transform: none !important; }
  * { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .nav, .floating-cta, .hero-scrub__scrollhint, .skip-link { display: none; }
  body { background: #fff; color: #111; }
}

/* ============ Team-Präsentation (Hero-Strip + Karten) ============ */
.hero-team-strip {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 1.1rem; max-width: 30rem;
  padding: 0.65rem 0.9rem; border-radius: 999px;
  background: rgba(16, 36, 47, 0.72); border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.hero-team-strip__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; object-position: 50% 22%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 167, 94, 0.18);
  flex: 0 0 auto;
}
.hero-team-strip__avatar + .hero-team-strip__avatar { margin-left: -0.9rem; }
.hero-team-strip__text { font-size: 0.82rem; line-height: 1.45; color: var(--ink); opacity: 0.94; }
.hero-team-strip__text strong { color: var(--accent-2); }

.team-grid {
  display: grid; gap: 1.4rem; margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 46rem;
}
.team-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); transform-style: preserve-3d;
}
.team-card__photo { position: relative; aspect-ratio: 2 / 3; overflow: hidden; }
.team-card__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  display: block; transition: transform 0.7s ease;
}
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card__status {
  position: absolute; left: 0.9rem; bottom: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.8rem; border-radius: 999px;
  background: rgba(11, 27, 36, 0.85); border: 1px solid rgba(111, 174, 114, 0.5);
  color: var(--success-2); font-size: 0.78rem; font-weight: 600;
  backdrop-filter: blur(6px);
}
.team-card__status.is-off { border-color: var(--line-strong); color: var(--muted); }
.team-card__status .dot { background: var(--success-2); }
.team-card__status.is-off .dot { background: var(--muted-2); }
.team-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.team-card__body h3 { font-size: 1.25rem; font-weight: 700; }
.team-card__role { color: var(--accent-2); font-size: 0.85rem; margin-top: 0.2rem; }
.team-card__bio { color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin-top: 0.7rem; }
.team-card__facts { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.45rem; }
.team-card__facts li { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: var(--ink); opacity: 0.9; }
.team-card__facts svg { width: 15px; height: 15px; color: var(--success-2); flex: 0 0 auto; }
.team-note {
  display: flex; gap: 0.6rem; align-items: flex-start;
  margin-top: 1.4rem; max-width: 46rem;
  color: var(--muted); font-size: 0.85rem; line-height: 1.55;
}
.team-note svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; margin-top: 0.1rem; }

/* ============ Live-Karte ============ */
.live-map-block {
  margin-top: 3rem; padding: 1.6rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.live-map-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.live-map-head h3 { font-size: 1.35rem; font-weight: 700; margin-top: 0.3rem; }
.live-map-head .section-lead { font-size: 0.92rem; margin-top: 0.4rem; max-width: 34rem; }
.live-map-status { flex: 0 0 auto; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.live-map-status[data-tone="live"] { border-color: rgba(111, 174, 114, 0.55); color: var(--success-2); }
.live-map-status[data-tone="off"] { border-color: var(--line-strong); color: var(--muted); }
.live-map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
#live-map { height: 380px; width: 100%; background: var(--bg-soft); }
#live-map .leaflet-tile-pane { filter: grayscale(0.35) brightness(0.82) contrast(1.05) sepia(0.12); }
#live-map .leaflet-container { background: var(--bg-soft); }

/* Karten-Chrome im dunklen Look (Zoom-Bedienung + Attribution) */
#live-map .leaflet-control-attribution { background: rgba(11, 27, 36, 0.85); color: var(--muted); }
#live-map .leaflet-control-attribution a { color: var(--accent-2); }
#live-map .leaflet-bar { border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-md); }
#live-map .leaflet-bar a { background: rgba(15, 38, 53, 0.95); color: var(--ink); border-bottom: 1px solid var(--line); }
#live-map .leaflet-bar a:hover, #live-map .leaflet-bar a:focus { background: #1c3a49; color: var(--accent-2); }
#live-map .leaflet-bar a.leaflet-disabled { background: rgba(15, 38, 53, 0.7); color: var(--muted-2); }
.live-map-privacy { margin-top: 0.9rem; color: var(--muted); font-size: 0.8rem; line-height: 1.5; }

/* Avatar-Marker auf der Karte */
.tech-marker {
  position: relative; width: 46px; height: 46px;
  background: transparent !important; border: none;
}
.tech-marker img {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; object-position: 50% 18%;
  border: 2.5px solid var(--accent);
  box-shadow: 0 4px 14px rgba(2, 10, 16, 0.55), 0 0 0 4px rgba(217, 167, 94, 0.16);
  display: block;
}
.tech-marker__ping {
  position: absolute; inset: -7px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0.55;
  animation: tech-ping 2.1s ease-out infinite;
}
.tech-marker__label {
  position: absolute; top: 46px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; padding: 0.2rem 0.55rem; border-radius: 6px;
  background: rgba(11, 27, 36, 0.92); border: 1px solid var(--line-strong);
  color: var(--ink); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em;
}
@keyframes tech-ping {
  0% { transform: scale(0.75); opacity: 0.55; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .tech-marker__ping { animation: none; opacity: 0.25; } }
@media (max-width: 640px) {
  #live-map { height: 300px; }
  .live-map-block { padding: 1.1rem; }
  .hero-team-strip__text { font-size: 0.76rem; }
}

/* ============ Aufmerksamkeits-CTA (Hero) ============ */
.btn-attention { position: relative; overflow: visible; border-color: rgba(217, 167, 94, 0.5); }
.btn-attention::after {
  content: ""; position: absolute; inset: -3px; border-radius: inherit;
  border: 1.5px solid rgba(217, 167, 94, 0.55); pointer-events: none;
  animation: cta-pulse 2.6s ease-out infinite;
}
@keyframes cta-pulse {
  0% { transform: scale(0.99); opacity: 0.85; }
  65% { transform: scale(1.1); opacity: 0; }
  100% { transform: scale(1.1); opacity: 0; }
}
.hero-cta-hint {
  display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem;
  color: var(--accent-2); font-size: 0.85rem; letter-spacing: 0.01em;
}
.hero-cta-hint .dot { background: var(--accent-2); animation: hint-dot 2.2s ease-out infinite; }
@keyframes hint-dot {
  0% { box-shadow: 0 0 0 0 rgba(232, 198, 140, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(232, 198, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 198, 140, 0); }
}

/* ============ Barrierefreiheit & Feinschliff ============ */
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(217, 167, 94, 0.35); color: var(--ink); }
.btn-brass { transition: transform 0.16s ease, box-shadow 0.22s ease, background-color 0.2s ease; }
.btn-brass:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -16px rgba(217, 167, 94, 0.5); }
.btn-ghost { transition: transform 0.16s ease, border-color 0.2s ease, background-color 0.2s ease; }
.btn-ghost:hover { transform: translateY(-1px); }
.linklike {
  background: none; border: none; padding: 0; font: inherit; color: var(--accent-2);
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(232, 198, 140, 0.4); text-align: left;
}
.linklike:hover { color: var(--ink); }
.eta-chat-row { margin-top: 0.9rem; }

/* ============ Karten-Popup (Techniker) ============ */
.leaflet-popup-content-wrapper {
  background: rgba(11, 27, 36, 0.97); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow-lg);
}
.leaflet-popup-content { margin: 0.9rem 1rem; line-height: 1.45; }
.leaflet-popup-tip { background: rgba(11, 27, 36, 0.97); border: 1px solid var(--line-strong); }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.tech-pop { display: grid; gap: 0.55rem; min-width: 178px; }
.tech-pop strong { font-size: 0.95rem; }
.tech-pop small { color: var(--muted); font-size: 0.78rem; }
.tech-pop__actions { display: grid; gap: 0.45rem; margin-top: 0.2rem; }
.tech-pop__actions button {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.55rem 0.7rem; border-radius: 10px; border: 1px solid rgba(217, 167, 94, 0.5);
  background: rgba(217, 167, 94, 0.12); color: var(--accent-2);
  font-size: 0.82rem; font-weight: 650; cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
}
.tech-pop__actions button:hover { background: rgba(217, 167, 94, 0.22); transform: translateY(-1px); }

/* ============ Concierge-Chat ============ */
html.concierge-open, html.concierge-open body { overflow: hidden; }
.concierge { border: none; padding: 0; background: transparent; max-width: min(440px, 94vw); width: 100%; margin: auto; font-family: inherit; color: var(--ink); }
.concierge::backdrop { background: rgba(4, 10, 15, 0.62); backdrop-filter: blur(3px); }
.concierge__head {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.95rem 1.1rem;
  background: linear-gradient(180deg, #123044, #0f2635);
  border: 1px solid var(--line-strong); border-bottom: none; border-radius: 18px 18px 0 0;
}
.concierge__avatar { position: relative; width: 44px; height: 44px; flex: 0 0 auto; }
.concierge__avatar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 2px solid var(--accent); }
.concierge__online { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: var(--success-2); border: 2.5px solid #0f2635; }
.concierge__who { display: grid; gap: 1px; }
.concierge__who strong { font-size: 0.95rem; }
.concierge__who small { color: var(--muted); font-size: 0.76rem; }
.concierge__close {
  margin-left: auto; width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: rgba(11, 27, 36, 0.5);
  color: var(--ink); font-size: 0.95rem; cursor: pointer; transition: background 0.18s ease;
}
.concierge__close:hover { background: rgba(237, 231, 220, 0.08); }
.concierge__log {
  height: min(52vh, 420px); overflow-y: auto; padding: 1rem 1rem 0.6rem;
  display: flex; flex-direction: column; gap: 0.6rem; background: #0d1f2b;
  border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong);
  scroll-behavior: smooth; overscroll-behavior: contain;
}
.msg { max-width: 86%; padding: 0.6rem 0.85rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.5; animation: msg-in 0.3s ease both; }
.msg--bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg--user { align-self: flex-end; background: rgba(217, 167, 94, 0.16); border: 1px solid rgba(217, 167, 94, 0.35); border-bottom-right-radius: 5px; }
.msg .mono { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em; }
.msg__photo { display: block; max-width: 200px; border-radius: 10px; margin-top: 0.5rem; border: 1px solid var(--line-strong); }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.concierge__typing { align-self: flex-start; display: flex; gap: 4px; padding: 0.65rem 0.8rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 5px; }
.concierge__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1.1s ease-in-out infinite; }
.concierge__typing i:nth-child(2) { animation-delay: 0.15s; }
.concierge__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-4px); opacity: 1; } }
.concierge__foot {
  padding: 0.85rem 1rem 1rem; background: #0f2635;
  border: 1px solid var(--line-strong); border-top: 1px solid var(--line);
  border-radius: 0 0 18px 18px; min-height: 74px;
}
.concierge .choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.concierge .choice {
  padding: 0.6rem 0.9rem; border-radius: 12px; border: 1px solid rgba(217, 167, 94, 0.5);
  background: rgba(217, 167, 94, 0.1); color: var(--accent-2);
  font-size: 0.86rem; font-weight: 650; cursor: pointer;
  transition: background 0.16s ease, transform 0.14s ease;
}
.concierge .choice:hover { background: rgba(217, 167, 94, 0.22); transform: translateY(-1px); }
.file-choice { position: relative; }
.file-choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.cform__grid label { display: grid; gap: 0.3rem; font-size: 0.78rem; color: var(--muted); text-align: left; }
.cform__grid input { padding: 0.6rem 0.7rem; border-radius: 10px; border: 1px solid var(--line-strong); background: #0b1b24; color: var(--ink); font-size: 0.92rem; }
.cform__wide { grid-column: 1 / -1; }
.cform__err { color: #f0b7a0; font-size: 0.8rem; margin: 0.5rem 0 0; }
.cform__send { width: 100%; margin-top: 0.7rem; }
@media (max-width: 640px) {
  .concierge { max-width: 100vw; margin: auto 8px 8px; }
  .concierge__log { height: 46vh; }
}
@media (prefers-reduced-motion: reduce) {
  .msg { animation: none; }
  .concierge__typing { display: none; }
  .btn-attention::after, .hero-cta-hint .dot { animation: none !important; opacity: 0.35; }
}

/* ============ Design-Refinement: Motion, Kacheln, Concierge-Prominenz ============ */
:root { --ease-spring: cubic-bezier(0.32, 0.72, 0, 1); }

/* Scroll-Fortschritt (feine Goldlinie) */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px rgba(217, 167, 94, 0.5); }

/* Vertrauens-Kacheln (Double-Bezel-Architektur) */
.stats-band { padding-block: clamp(1.6rem, 3vw, 2.4rem); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-tile {
  position: relative;
  background: linear-gradient(180deg, rgba(217, 167, 94, 0.05), transparent 55%), var(--surface);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 1.15rem 1.25rem 1.2rem;
  display: grid; gap: 0.45rem; align-content: start;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.5s var(--ease-spring), border-color 0.3s ease, box-shadow 0.5s var(--ease-spring);
}
.stat-tile::before {
  content: ""; position: absolute; inset: -4px; border-radius: 22px;
  border: 1px solid rgba(237, 231, 220, 0.07); pointer-events: none;
}
.stat-tile:hover {
  transform: translateY(-3px); border-color: rgba(217, 167, 94, 0.35);
  box-shadow: 0 26px 60px -32px rgba(2, 10, 16, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.stat-tile__icon {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(217, 167, 94, 0.12); border: 1px solid rgba(217, 167, 94, 0.28); color: var(--accent-2);
}
.stat-tile__icon svg { width: 18px; height: 18px; }
.stat-tile__value { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 720; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-tile__value small { font-size: 0.55em; font-weight: 600; color: var(--accent-2); margin-left: 0.15em; }
.stat-tile__label { color: var(--muted); font-size: 0.84rem; line-height: 1.45; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { gap: 0.7rem; } .stat-tile { padding: 0.95rem; border-radius: 15px; } .stat-tile::before { border-radius: 19px; } }

/* Section-Titel: animierte Akzentlinie beim Einblenden */
.section-head .section-title::after {
  content: ""; display: block; width: 68px; height: 3px; border-radius: 2px; margin-top: 0.85rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1s var(--ease-spring) 0.12s;
}
.section-head.is-revealed .section-title::after { transform: scaleX(1); }

/* Karten-Feinschliff (Spring-Motion + ambient Schatten) */
.trust-card, .service-card, .testimonial-card, .team-card {
  transition: transform 0.5s var(--ease-spring), border-color 0.3s ease, box-shadow 0.5s var(--ease-spring);
}
.trust-card:hover, .service-card:hover, .testimonial-card:hover {
  border-color: rgba(217, 167, 94, 0.3);
  box-shadow: 0 28px 70px -36px rgba(2, 10, 16, 0.95), 0 0 0 1px rgba(217, 167, 94, 0.07);
}

/* Team-Fotos: weicher Verlauf + feiner Rahmen, Zoom folgt der Maus */
.team-card__photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 46%;
  background: linear-gradient(180deg, transparent, rgba(6, 12, 18, 0.62)); pointer-events: none;
}
.team-card { border-color: rgba(237, 231, 220, 0.14); }
.team-card:hover { transform: translateY(-3px); border-color: rgba(217, 167, 94, 0.32); box-shadow: 0 30px 80px -40px rgba(2, 10, 16, 0.95); }
.team-card__photo img { transition: transform 0.9s var(--ease-spring), filter 0.5s ease; }
.team-card:hover .team-card__photo img { transform: scale(1.045); filter: saturate(1.04); }

/* Concierge-Floating-Button */
.chat-bubble {
  position: fixed; right: 18px; bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  z-index: 165; display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.1rem; border-radius: 999px; border: 1px solid rgba(217, 167, 94, 0.6);
  background: linear-gradient(135deg, #d9a75e, #e8c68c); color: #1c1206;
  font: inherit; font-size: 0.9rem; font-weight: 720; letter-spacing: 0.01em;
  cursor: pointer; box-shadow: 0 18px 44px -16px rgba(217, 167, 94, 0.55);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring), opacity 0.3s ease;
}
.chat-bubble:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 22px 54px -18px rgba(217, 167, 94, 0.65); }
.chat-bubble:active { transform: scale(0.99); }
.chat-bubble__icon { width: 20px; height: 20px; }
.chat-bubble__pulse { position: absolute; inset: -4px; border-radius: 999px; border: 1.5px solid rgba(217, 167, 94, 0.5); pointer-events: none; animation: cta-pulse 2.8s ease-out infinite; }
html.concierge-open .chat-bubble { opacity: 0; pointer-events: none; }
@media (min-width: 761px) { .chat-bubble { bottom: 22px; } }
@media (max-width: 380px) { .chat-bubble__label { display: none; } .chat-bubble { padding: 0.85rem; } }
@media (prefers-reduced-motion: reduce) {
  .chat-bubble, .chat-bubble__pulse, .stat-tile, .trust-card, .service-card, .testimonial-card, .team-card,
  .section-head .section-title::after, .team-card__photo img { transition: none !important; animation: none !important; }
  .section-head .section-title::after { transform: scaleX(1); }
}

/* Sanftes Scrollen (nur wenn erwünscht) */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }


/* ============ Mobile-Polish 05.10. (Kopfzeile / Schrift / Abstaende / Farben) ============ */
@media (max-width: 600px) {
  /* Farben: Muted-Ton minimal heller fuer Kleinschrift */
  :root { --muted: #9aafb6; }

  /* Kopfzeile: Micro-Zeile groesser und ruhiger */
  .brand__text small { font-size: 0.64rem; letter-spacing: 0.045em; }

  /* Typografie: kleine Labels anheben, Anruf-CTA einzeilig */
  .hero-kicker { font-size: 0.72rem; }
  .eyebrow { font-size: 0.79rem; letter-spacing: 0.14em; }
  .hero-actions { gap: 0.6rem; }
  .hero-actions .btn { font-size: clamp(0.9rem, 3.8vw, 0.98rem); white-space: nowrap; padding-inline: 1rem; }

  /* Abstaende: etwas ruhigerer Sektions-Rhythmus */
  section.block { padding-block: clamp(3.5rem, 8.5vw, 7rem); }

  /* Chat-Bubble: kompakt + waehrend Hero-Scrub ausgeblendet (Overlap-Fix) */
  .chat-bubble { padding: 0.85rem; right: 14px; }
  .chat-bubble__label { display: none; }
  body.bubble-late .chat-bubble { opacity: 0; pointer-events: none; transform: translateY(10px); }
}
@media (max-width: 359px) {
  .hero-actions .btn { white-space: normal; }
}

/* ===== Image-Reveal (Motion-Atom 01, adaptiert für die Team-Sektion) ===== */
html:not(.no-js) .team-grid .team-card__photo { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-spring) 0.2s; }
html:not(.no-js) .team-grid.is-revealed .team-card__photo { clip-path: inset(0 0 0 0); }
html:not(.no-js) .team-grid .team-card__photo img { transform: scale(1.06); transition: transform 1.2s var(--ease-spring) 0.2s; }
html:not(.no-js) .team-grid.is-revealed .team-card__photo img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  html:not(.no-js) .team-grid .team-card__photo,
  html:not(.no-js) .team-grid .team-card__photo img { clip-path: none !important; transform: none !important; transition: none !important; }
}

/* ===== Higgsfield-Einsatzband + CTA-Van (Runde 7, 05.10.) ===== */
.night-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #081420;
}
.night-band__media { position: absolute; inset: -5% 0; pointer-events: none; }
.night-band__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 38%;
  transform: translate3d(0, 0, 0) scale(1.06);
  will-change: transform;
}
.night-band__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 19, 29, 0.88) 0%, rgba(8, 19, 29, 0.6) 44%, rgba(8, 19, 29, 0.16) 100%),
    linear-gradient(180deg, rgba(11, 27, 36, 0.74) 0%, rgba(11, 27, 36, 0.16) 34%, rgba(11, 27, 36, 0.3) 68%, rgba(11, 27, 36, 0.92) 100%);
}
.night-band .shell { position: relative; }
.night-band__inner { max-width: 44rem; padding-block: clamp(6rem, 15vw, 10.5rem); }
.night-band .eyebrow { color: var(--accent-2); }
.night-band__title {
  font-size: clamp(2.05rem, 4.6vw, 3.3rem);
  font-weight: 680; letter-spacing: -0.017em; line-height: 1.08;
  margin-top: 0.7rem; max-width: 24ch; text-wrap: balance;
  text-shadow: 0 2px 28px rgba(2, 10, 16, 0.55);
}
.night-band__title em { font-style: normal; color: var(--accent-2); }
.night-band__lead {
  margin-top: 1.1rem; max-width: 52ch;
  color: rgba(237, 231, 220, 0.94);
  font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.6;
  text-shadow: 0 1px 20px rgba(2, 10, 16, 0.6);
}
.night-band__facts { list-style: none; margin: 1.9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.night-band__facts .mono-pill { background: rgba(11, 27, 36, 0.55); backdrop-filter: blur(4px); }
@media (max-width: 600px) {
  .night-band__media img { object-position: 50% 34%; }
  .night-band__facts .mono-pill { font-size: 0.78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .night-band__media img { transform: none !important; }
}

/* CTA-Band: Van-Motiv (Higgsfield) ersetzt Key-Artwork */
.cta-band__bg { background-image: url("assets/einsatz/van-szene-2560.jpg"); background-position: 50% 58%; }
@media (max-width: 900px) { .cta-band__bg { background-image: url("assets/einsatz/van-szene-1280.jpg"); } }

/* ==========================================================================
   Launch-Fix 07.10. (Abend): Desktop-Hero kollidierte mit der Fixed-Nav.
   Der Kapitel-Inhalt war ~660px hoch; zwischen Nav (76px) und der Unterkante
   eines 720px-Laptop-Viewports passen aber nur ~540px — mit align-items:
   flex-end ragte der Block oben IN die Nav (H1 startete bei y≈25px). Der
   hier strafft Typo + Abstände auf Desktop-Höhen, analog zum Mobile-Fix
   vom 05.10.; unter 700px Höhe rückt zusätzlich der Team-Strip (doppelt
   vorhanden in #helden) weich.
   ========================================================================== */
@media (min-width: 601px) and (max-height: 880px) {
  .hero-chapter { padding-top: calc(var(--nav-h) + 1rem); padding-bottom: clamp(1.5rem, 3.5vh, 2.5rem); }
  .hero-kicker { margin-bottom: 0.7rem; }
  .hero-title { font-size: clamp(2.3rem, 4.6vw, 3.4rem); }
  .hero-body { margin-top: 0.9rem; font-size: clamp(1rem, 1.35vw, 1.15rem); }
  .hero-status { margin-top: 1rem; }
  .hero-actions { margin-top: 1.3rem; gap: 0.75rem; }
  .hero-cta-hint { margin-top: 0.7rem; }
}
@media (min-width: 601px) and (max-height: 700px) {
  .hero-team-strip { display: none; }
}

/* ==========================================================================
   Team 07.10. (Abend): Zickzack statt Doppelspalte — Salmei links (Bild
   links, Text rechts), Soltan darunter gespiegelt (Bild rechts, Text
   links). Fotos in Graustufen, bei Hover/Fokus in Farbe (dekorativer
   Effekt, Alt-Texte tragen die Information; kein reines Farb-Signal).
   ========================================================================== */
.team-grid { grid-template-columns: 1fr; gap: 1.8rem; max-width: 62rem; }
.team-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: stretch;
}
.team-card:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.team-card:nth-child(even) .team-card__photo { order: 2; }
.team-card:nth-child(even) .team-card__body { order: 1; }
.team-card__photo { aspect-ratio: auto; min-height: 320px; }
.team-card__photo img {
  height: 100%;
  filter: grayscale(1) contrast(1.03);
  transition: transform 0.7s ease, filter 0.45s ease;
}
.team-card:hover .team-card__photo img,
.team-card:focus-within .team-card__photo img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1);
}
@media (prefers-reduced-motion: reduce) {
  .team-card:hover .team-card__photo img,
  .team-card:focus-within .team-card__photo img { transform: none; }
}
@media (max-width: 760px) {
  .team-card { grid-template-columns: 1fr; }
  .team-card:nth-child(even) .team-card__photo { order: 0; }
  .team-card:nth-child(even) .team-card__body { order: 0; }
  .team-card__photo { aspect-ratio: 4 / 5; min-height: 0; }
}
