/* ════════════════════════════════════════════════════════
   vJourney Landing Page — main.css
   Design-Tokens & Struktur gemäß SPEC.md (Tesla-Prinzip)
   ════════════════════════════════════════════════════════ */

/* ── Fonts (self-hosted, DSGVO) ── */
@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-neue.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* ── Tokens ── */
:root {
  --navy: #000a19;
  --navy-soft: #041226;
  --blue: #1f72ff;
  --blue-hover: #4489ff;
  --gold: #e5b80b;
  --gold-dark: #7a6108;      /* Gold-Ersatz für kleinen Text auf hellem Grund (Kontrast) */
  --white: #ffffff;
  --off-white: #f5f7fa;
  --grey-text: #8b95a5;
  --ink: #10151f;
  --ink-soft: #45505f;
  --hairline-dark: rgba(255, 255, 255, 0.12);
  --hairline-light: rgba(0, 10, 25, 0.12);

  --font-display: "Manrope", -apple-system, "Segoe UI", sans-serif; /* Meta-Stil: Satzschreibung statt Versal-Display */
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  --nav-h: 72px;
  --banner-h: 40px;
  --radius: 4px;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* Sicherheitsnetz: kein horizontaler Seiten-Scroll */
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold); color: var(--navy); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typografie ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
}
.section-light .eyebrow { color: var(--gold-dark); }

h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.02;
  text-wrap: balance;
}
h1 { font-size: clamp(56px, 8vw, 120px); }
h2 { font-size: clamp(40px, 5vw, 72px); margin-bottom: 24px; }

.lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  max-width: 62ch;
}

/* ── Sections ── */
section { position: relative; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark .lead, .section-dark p { color: rgba(255, 255, 255, 0.82); }
.section-dark h2 { color: var(--white); }
.section-light { background: var(--off-white); color: var(--ink); }
.section-white { background: var(--white); }
.section-pad { padding: 120px 0; }

@media (min-width: 900px) {
  .section-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
}

/* ── Reveal (IntersectionObserver) ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ── Buttons (Tesla-Stil) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 32px;
  border-radius: 999px; /* Meta-Stil: Pill-Buttons */
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  text-align: center;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.25); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ════════════════ NAVBAR ════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-solid {
  background: var(--navy);
  box-shadow: 0 1px 0 var(--hairline-dark);
}
.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.nav-links a:hover { background: rgba(255, 255, 255, 0.12); }

.nav-burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile-Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }
.nav-overlay ul { list-style: none; text-align: center; }
.nav-overlay a {
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 56px);
  color: var(--white);
  display: block;
  padding: 10px 0;
  letter-spacing: 0.03em;
}
.nav-overlay a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ════════════════ HERO ════════════════ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: hero-zoom 24s ease-in-out infinite alternate; }
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, var(--navy) 0%, rgba(0, 10, 25, 0.55) 35%, rgba(0, 10, 25, 0.25) 60%, rgba(0, 10, 25, 0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 14vh;
}
.hero-avail {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero .lead { margin: 20px 0 24px; color: rgba(255, 255, 255, 0.88); }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
}

/* Ton an/aus für den Hero-Loop */
.sound-toggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(10, 18, 38, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.sound-toggle:hover { background: rgba(31, 114, 255, 0.35); border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.video-toggle { right: 80px; }
.video-toggle .vid-play { display: none; }
.video-toggle.is-paused .vid-play { display: block; }
.video-toggle.is-paused .vid-pause { display: none; }
.sound-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sound-toggle .snd-off { display: none; }
.sound-toggle.is-muted .snd-off { display: block; }
.sound-toggle.is-muted .snd-on { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-hint { animation: bounce 2.2s ease-in-out infinite; }
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ════════════════ VISION ════════════════ */
/* ── Animierte VR-Brille (Metaversum im Tourismus) ── */
.visor-stage {
  margin: 80px auto 0;
  max-width: 720px;
  text-align: center;
}
.visor-claim {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.visor-claim strong { font-weight: 800; }
.visor-zoom {
  transform: scale(0.86);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .visor-zoom { transform: none !important; }
}
.visor-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.visor {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 50px rgba(31, 114, 255, 0.22));
}
@media (prefers-reduced-motion: no-preference) {
  .visor { animation: visor-float 6s ease-in-out infinite alternate; }
}
@keyframes visor-float {
  from { transform: translateY(-8px); }
  to { transform: translateY(8px); }
}
.visor-t1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 34px;
  fill: #ffffff;
  text-anchor: middle;
}
.visor-t2 {
  font-family: var(--font-mono);
  font-size: 19px;
  letter-spacing: 0.08em;
  fill: var(--gold);
  text-anchor: middle;
}
.visor-line { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .visor-line { animation: visor-cycle 20s infinite; }
  .vl-2 { animation-delay: 4s; }
  .vl-3 { animation-delay: 8s; }
  .vl-4 { animation-delay: 12s; }
  .vl-5 { animation-delay: 16s; }
}
@media (prefers-reduced-motion: reduce) {
  .vl-1 { opacity: 1; }
}
@keyframes visor-cycle {
  0% { opacity: 0; transform: translateY(6px); }
  3.5% { opacity: 1; transform: translateY(0); }
  17% { opacity: 1; }
  20% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 0; }
}

/* ── Tourismus-2035-Thesen (aufklappbar unter der Brille) ── */
.thesen-details {
  max-width: 720px;
  margin: 20px auto 0;
  text-align: center;
}
.thesen-details summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 10px 18px;
  border: 1px solid var(--hairline-light);
  border-radius: 999px;
  background: var(--white);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.thesen-details summary::-webkit-details-marker { display: none; }
.thesen-details summary::after {
  content: "▾";
  font-size: 11px;
  transition: transform 0.25s ease;
}
.thesen-details[open] summary::after { transform: rotate(180deg); }
.thesen-details summary:hover { color: var(--ink); border-color: var(--gold-dark); }
.thesen-details[open] .thesen { animation: step-in 0.4s ease; }

.thesen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
  text-align: left;
}
.these-card {
  background: var(--white);
  border: 1px solid var(--hairline-light);
  border-radius: 8px;
  padding: 28px 26px;
}
.these-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.these-card h3 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
}
.these-card p { font-size: 14.5px; color: var(--ink-soft); }
.these-quelle {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-top: 18px;
}
@media (max-width: 900px) {
  .thesen { grid-template-columns: 1fr; }
  .visor-t1 { font-size: 40px; }
  .visor-t2 { font-size: 23px; }
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--hairline-light);
  border-radius: 8px;
  overflow: hidden;
}
.value-card .illu {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.value-card .illu img { width: 100%; height: 100%; object-fit: cover; }
.value-body { padding: 26px 28px 30px; }
.value-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-title {
  width: 26px;
  height: 26px;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.section-dark .icon-title { color: var(--gold); }
.value-card p { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 900px) {
  .value-cards { grid-template-columns: 1fr; }
}

/* ════════════════ PRODUCT ════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 1200px) and (min-width: 901px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
.product-card {
  background: var(--white);
  border: 1px solid var(--hairline-light);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 10, 25, 0.12); }
.product-card figure {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #0a2145 0%, var(--navy) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 0.4s ease;
}
.product-card figure.is-photo img { object-fit: cover; padding: 0; }
.product-body h3 { display: flex; align-items: center; gap: 12px; }
.product-card:hover figure img { transform: scale(1.03); }
.product-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3 {
  /* Manrope statt Bebas, damit „vApp/vFilm/vShop" mit kleinem v stehen */
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex-wrap: wrap;
}
.product-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  align-self: center;
}
.product-body p {
  margin: 10px 0 24px;
  font-size: 15.5px;
  flex: 1;
  color: var(--ink-soft);
}
.product-cta {
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
}
.product-cta:hover { color: var(--navy); }
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ════════════════ MAP ════════════════ */
.map-section { padding: 120px 0 0; }
.map-head { margin-bottom: 40px; }
.map-hint {
  margin-top: 20px;
  max-width: 62ch;
  color: var(--grey-text);
  font-size: 16px;
}
.map-hint a { color: var(--gold); }
.map-hint a:hover { text-decoration: underline; }
.map-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hairline-dark);
  isolation: isolate; /* Leaflet-z-indices (bis 1000) bleiben unter der fixen Navigation */
}
#map {
  height: 480px;
  background: var(--navy);
}
@media (max-width: 900px) {
  #map { height: 420px; }
}
.map-teasers {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 500;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.map-teaser {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--white);
  background: rgba(0, 10, 25, 0.82);
  border: 1px solid var(--hairline-dark);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.map-teaser:hover { border-color: var(--gold); background: rgba(0, 10, 25, 0.95); }
.map-section .map-head { margin-bottom: 32px; }
.map-section { padding: 120px 0; }

/* Leaflet-Overrides (dunkler Look) */
.leaflet-container { font-family: var(--font-body); background: #060d1a; }
/* OSM-Tiles dunkel einfärben (CARTO-Dark verlangt inzwischen einen API-Key) */
.map-dark-tiles {
  filter: invert(1) hue-rotate(180deg) brightness(0.75) contrast(1.05) saturate(0.25);
}
.leaflet-control-attribution {
  background: rgba(0, 10, 25, 0.8) !important;
  color: var(--grey-text) !important;
  font-size: 10px;
}
.leaflet-control-attribution a { color: var(--grey-text) !important; }
.leaflet-control-zoom a {
  background: var(--navy-soft) !important;
  color: var(--white) !important;
  border-color: var(--hairline-dark) !important;
}

/* Gold-Marker mit Puls */
.marker-gold {
  position: relative;
  width: 14px;
  height: 14px;
}
.marker-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(229, 184, 11, 0.8);
}
@media (prefers-reduced-motion: no-preference) {
  .marker-gold::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    animation: pulse 2.4s ease-out infinite;
  }
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.leaflet-popup-content-wrapper {
  background: var(--navy-soft);
  color: var(--white);
  border: 1px solid var(--hairline-dark);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.leaflet-popup-tip { background: var(--navy-soft); }
.leaflet-popup-content { margin: 0; width: 240px !important; }
.popup-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 7px 7px 0 0; }
.popup-body { padding: 14px 16px 16px; }
.popup-body h4 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.03em;
}
.popup-cat {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 6px;
}
.popup-body p { font-size: 13px; color: var(--grey-text); margin: 6px 0 10px; line-height: 1.45; }
.popup-link {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-hover);
}
.popup-link:hover { color: var(--white); }
.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(229, 184, 11, 0.5);
  border-radius: 999px;
  padding: 3px 10px;
  margin-right: 6px;
}
.badge-free { color: var(--navy); background: var(--gold); border-color: var(--gold); }

/* ════════════════ 360° TOURISM ════════════════ */
.quote-gold {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  color: var(--gold-dark);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 56px 0;
  max-width: 20ch;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0 0;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--hairline-light);
  border-radius: 8px;
  padding: 28px 24px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }
.step-icon {
  width: 30px;
  height: 30px;
  color: var(--navy);
  margin-bottom: 12px;
  display: block;
}
/* Mobil: die 4 Schritte als seitlich scrollbare Reihe statt gequetschtem Grid */
@media (max-width: 900px) {
  .steps {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: -24px;
    padding-inline: 24px;
    padding-bottom: 10px;
    scrollbar-width: none;
  }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 min(72vw, 260px); scroll-snap-align: start; }
}



/* ── Evolution-Grafik (aus dem Flyer): analog → digital → virtuell ── */
.evolution {
  margin: 80px 0 0;
  background: var(--white);
  border: 1px solid var(--hairline-light);
  border-radius: 12px;
  padding: 48px 40px 36px;
}
.evolution-head {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.35;
  max-width: 22ch;
  margin-bottom: 48px;
}
.evolution-head strong { font-weight: 800; }
.evolution-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: end; /* Treppen-Anstieg: analog < digital < virtuell */
}
.evo-card {
  border-radius: 12px;
  padding: 0 0 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.evo-card ul { flex: 1; }
/* Einblend-Animation der Kacheln, gestaffelt */
@media (prefers-reduced-motion: no-preference) {
  .evolution .evo-card { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .evolution.is-visible .evo-card { opacity: 1; transform: none; }
  .evolution.is-visible .evo-card:nth-child(2) { transition-delay: 0.18s; }
  .evolution.is-visible .evo-card:nth-child(3) { transition-delay: 0.36s; }
}
.evo-label {
  display: block;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  padding: 12px 16px;
}
.evo-card ul {
  list-style: none;
  background: var(--white);
  margin: 0 8px;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 15px;
}
.evo-card li { padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.evo-card li svg { width: 17px; height: 17px; flex-shrink: 0; }
.evo-analog { background: #e3e5e8; min-height: 175px; }
.evo-digital { background: #dcdee2; min-height: 215px; }
.evo-virtuell { background: var(--navy); min-height: 260px; }
.evo-virtuell .evo-label { color: var(--white); }
.evo-virtuell li svg { color: var(--gold-dark); }
/* Zeitachse */
.evolution-axis { margin-top: 36px; }
.axis-line {
  position: relative;
  height: 2px;
  background: var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.axis-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--ink);
  justify-self: center;
  transform: translateY(-6px);
}
.axis-dot.is-future { background: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .axis-dot.is-future { animation: dot-blink 1.6s ease-in-out infinite; }
}
@keyframes dot-blink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 184, 11, 0.7); opacity: 1; }
  50% { box-shadow: 0 0 0 9px rgba(229, 184, 11, 0); opacity: 0.55; }
}
.axis-arrow {
  position: absolute;
  right: -2px;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 9px solid var(--ink);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.axis-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
}
.axis-labels span {
  justify-self: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  padding: 5px 14px;
}
@media (max-width: 760px) {
  .evolution { padding: 32px 20px 28px; }
  .evolution-steps { grid-template-columns: 1fr; align-items: stretch; }
  .evo-analog, .evo-digital, .evo-virtuell { min-height: 0; }
  .evolution-axis { display: none; }
}

/* ── Produktions-Karussell (Tesla-Stil: nächstes Bild peekt) ── */
.carousel { position: relative; margin: 80px 0 0; }
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.car-slide {
  flex: 0 0 78%;
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
}
.car-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}
.car-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline-light);
  background: var(--white);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.car-btn:hover { background: var(--navy); color: var(--white); }
@media (max-width: 760px) {
  .car-slide { flex-basis: 88%; }
}

/* Award-Strip: dünnes Endlos-Karussell direkt unter dem Hero */
.award-strip {
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline-light);
}
.award-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding-right: 12px;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 45s linear infinite; }
  .award-marquee:hover .marquee-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .award-marquee { overflow-x: auto; }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

.press-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.award-chip {
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--hairline-light);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.award-chip:hover { border-color: var(--gold-dark); transform: translateY(-2px); }
.award-chip img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: contain;
}
.award-chip .a-result {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  white-space: nowrap;
}

/* ════════════════ FORMULAR ════════════════ */
.form-progress {
  position: absolute;
  top: 0; left: 0;
  height: 4px;
  background: var(--gold);
  width: 0%;
  transition: width 0.4s ease;
}
.form-stage { max-width: 780px; }
.form-step { display: none; }
.form-step.is-active { display: block; animation: step-in 0.4s ease; }
@keyframes step-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.form-step h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.05;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.option-tile {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline-dark);
  border-radius: 8px;
  padding: 24px 20px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.option-tile:hover { border-color: var(--blue); background: rgba(31, 114, 255, 0.12); }
.option-tile.is-selected {
  border-color: var(--gold);
  background: rgba(229, 184, 11, 0.12);
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 8px;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--hairline-dark);
  padding: 10px 2px;
  transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(139, 149, 165, 0.55); }
.field-error {
  color: #ff7b7b;
  font-size: 13px;
  margin-top: 6px;
  min-height: 18px;
  display: block;
}
.form-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.btn-back {
  background: none;
  border: 0;
  color: var(--grey-text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 8px;
}
.btn-back:hover { color: var(--white); }
.key-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-text);
}

/* Zusammenfassung */
.summary-list { list-style: none; margin-bottom: 28px; }
.summary-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-dark);
  color: var(--white);
}
.summary-list .s-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
  flex-shrink: 0;
}
.summary-list .s-value { text-align: right; }
.summary-list button {
  background: none;
  border: 0;
  color: var(--blue-hover);
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
}
.dsgvo-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}
.dsgvo-row input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--gold); }

.form-success { text-align: center; }
.form-success h3 { margin-bottom: 16px; }
.form-success p { color: rgba(255, 255, 255, 0.85); font-size: 18px; max-width: 48ch; margin: 0 auto; }


/* ── Kontakt: Segmented-Toggle + Panorama-Panel (Tesla-Stil) ── */
.contact-block { margin-top: 80px; }
.seg-toggle {
  display: inline-flex;
  background: #e7ebf0;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.seg-btn {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 11px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.seg-btn.is-active {
  background: var(--blue);
  color: var(--white);
}
.seg-btn:not(.is-active):hover { color: var(--ink); }

.pano-panel {
  position: relative;
  background: var(--navy);
  border-radius: 12px;
  margin-top: 18px;
  overflow: hidden;
}
.pano-view { position: relative; }
.pano-view[hidden] { display: none; }
#panel-anfrage { padding: 56px 48px; }
#panel-anfrage .form-stage { display: block; max-width: 780px; }

/* Kaffee in Panorama: Bild links, Formular rechts */
.kaffee-pano {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: stretch;
}
.kaffee-pano > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  min-height: 360px;
}
.kaffee-form { padding: 48px; max-width: 560px; }
.kaffee-form h3 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 8px;
}
.kaffee-form p { color: rgba(255, 255, 255, 0.82); font-size: 16px; margin-bottom: 24px; }
.kaffee-form input,
.kaffee-form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--hairline-dark);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.kaffee-form input::placeholder { color: var(--grey-text); }
.kaffee-form input:focus, .kaffee-form select:focus { outline: none; border-color: var(--gold); }
.kaffee-form select option { color: var(--ink); }
.coffee-when { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.kaffee-form .btn { width: 100%; min-width: 0; margin-top: 6px; }
@media (max-width: 860px) {
  #panel-anfrage { padding: 36px 22px; }
  .kaffee-pano { grid-template-columns: 1fr; }
  .kaffee-pano > img { max-height: 300px; min-height: 0; }
  .kaffee-form { padding: 28px 22px; }
  .seg-toggle { width: 100%; }
  .seg-btn { flex: 1; padding: 11px 10px; }
}

/* ════════════════ NEWS ════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.news-more { text-align: center; margin-top: 36px; }
.btn-grey { background: #e7ebf0; color: var(--ink); }
.btn-grey:hover { background: #dbe1e8; }
@media (max-width: 1100px) and (min-width: 901px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
.news-card {
  background: var(--white);
  border: 1px solid var(--hairline-light);
  border-radius: 8px;
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-card:hover .news-body h3 { color: var(--blue); }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 10, 25, 0.1); }
.news-card figure {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy) 0%, #0a2145 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card figure span {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
}
.news-card figure img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 24px; }
.news-date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  text-transform: uppercase;
}
.news-body h3 { font-size: 18px; font-weight: 800; margin: 10px 0 8px; line-height: 1.35; }
.news-body p { font-size: 14.5px; color: var(--ink-soft); }
.badge-result {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border-radius: 999px;
  padding: 4px 12px;
  margin-top: 14px;
}
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ════════════════ ABOUT ════════════════ */
.about-story { max-width: 62ch; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 64px 0 56px;
}
.team-member { text-align: center; color: var(--ink); display: block; }
.team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(1);
  margin-bottom: 14px;
  transition: filter 0.35s ease, transform 0.35s ease;
}
.team-member:hover img { filter: grayscale(0); transform: translateY(-4px); }
/* Touch-Geräte haben kein Hover: Foto wird farbig, sobald es gut im Viewport steht (JS setzt .in-view) */
@media (hover: none) {
  .team-member.in-view img { filter: grayscale(0); }
}
.team-member strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15.5px;
  font-weight: 800;
}
.team-member span { font-size: 13.5px; color: var(--ink-soft); }
.li-icon {
  width: 15px;
  height: 15px;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}
a.team-member:hover .li-icon { color: #0a66c2; }
a.team-member:hover strong { color: #0a66c2; }
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid .team-member:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
}

/* ════════════════ FOOTER ════════════════ */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 40px;
  border-top: 1px solid var(--hairline-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand img { height: 32px; width: auto; margin-bottom: 12px; }
.footer-brand p {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-text);
}
.footer-social { display: flex; gap: 14px; margin-top: 24px; }
.footer-social a { color: var(--white); transition: color 0.2s ease; }
.footer-social a:hover { color: var(--gold); }
.footer-social svg { width: 22px; height: 22px; }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 18px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a, .footer ul span { color: rgba(255, 255, 255, 0.85); font-size: 15px; }
.footer ul a:hover { color: var(--gold); }
/* vHealth-Highlight mit EU/SH-Förderhinweis */
.footer-vhealth {
  margin-top: 56px;
  padding: 32px;
  border: 1px solid var(--hairline-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-vhealth-text { max-width: 520px; }
.footer-vhealth h4 { color: var(--gold); margin-bottom: 10px; }
.footer-vhealth p { color: rgba(255, 255, 255, 0.85); font-size: 15.5px; margin-bottom: 18px; }
.funding-box {
  background: var(--white);
  border-radius: 10px;
  padding: 16px 22px;
  flex: 0 1 380px;
}
.funding-box img { display: block; width: 100%; height: auto; }

.footer-legal {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-dark);
  font-size: 13px;
  color: var(--grey-text);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-vhealth { padding: 24px; }
  .funding-box { flex-basis: 100%; }
}

/* Scroll-Spy: aktive Sektion in der Navigation */
.nav-links a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
}

/* Brand-Farben im About-Titel */
.t-blue { color: var(--blue); }
.t-gold { color: var(--gold); }

/* Skip-Link: unsichtbar, bei Tastaturfokus oben links sichtbar */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 2000;
  background: var(--white);
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 16px; outline: 2px solid var(--gold); outline-offset: 2px; }

/* Datenschutz-Hinweis unter dem Kaffee-Formular */
.form-privacy { margin-top: 12px; font-size: 13px; color: var(--grey-text); }
.form-privacy a { color: inherit; text-decoration: underline; }
.field-error a { color: inherit; text-decoration: underline; font-weight: 700; }

/* Externer Link im Button (z. B. vHealth): kleiner Pfeil nach rechts oben */
.btn-external::after {
  content: "↗";
  display: inline-block;
  margin-left: 8px;
  font-size: 0.95em;
  transition: transform 0.2s ease;
}
.btn-external:hover::after { transform: translate(2px, -2px); }

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

/* vFilm: 360°-Orbit-Clip zwischen Produktionsschritten und Karussell */
.orbit-clip { margin: 56px 0 0; }
.orbit-clip video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: var(--navy);
}
.orbit-clip figcaption {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 60ch;
}
.orbit-clip figcaption strong { color: var(--ink); }


/* ════════════════ Meta-Stil (clean, minimal) ════════════════ */

/* Überschriften: kräftig, eng laufend, normale Schreibweise */
h1, h2, .display,
.nav-overlay a, .value-card h3, .popup-body h4, .quote-gold,
.form-step h3, .kaffee-form h3, .news-card figure span {
  font-weight: 700;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(44px, 6.2vw, 88px); line-height: 1.04; }
h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.08; }

/* Eyebrow: ruhig statt Mono-Versalien */
.eyebrow {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 14px;
}

/* Zentrierte Sektions-Intros */
.section-intro { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.section-intro .lead { margin-left: auto; margin-right: auto; max-width: 680px; color: var(--ink-soft); }

/* Hero: ruhiges Standbild, Lesbarkeit über seitlichen Verlauf */
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { animation: none; object-position: 62% center; }
.hero::after {
  background:
    linear-gradient(90deg, rgba(0, 10, 25, 0.78) 0%, rgba(0, 10, 25, 0.45) 38%, rgba(0, 10, 25, 0) 62%),
    linear-gradient(to top, rgba(0, 10, 25, 0.85) 0%, rgba(0, 10, 25, 0) 30%);
}
.hero .eyebrow { color: var(--gold); }
.hero h1 { max-width: 19ch; }
.hero .lead { max-width: 560px; }
@media (max-width: 760px) {
  .hero-media img { object-position: center top; }
  .hero::after {
    background: linear-gradient(to top, rgba(0, 10, 25, 0.95) 0%, rgba(0, 10, 25, 0.7) 38%, rgba(0, 10, 25, 0) 62%);
  }
  .hero-content { padding-bottom: 9vh; }
}

/* Buttons: kleinere Pill-Variante + helle Sekundär-Pill (wie Meta „Mehr dazu“) */
.btn-sm { padding: 11px 22px; font-size: 14.5px; min-width: 0; }
.btn-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  border: 0;
}
.btn-light:hover { background: #fff; }

/* Produkte: große Bildkarten, Text unten mittig im Bild */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.tile {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: -2;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 10, 25, 0.88) 0%, rgba(0, 10, 25, 0.55) 32%, rgba(0, 10, 25, 0) 60%);
}
.tile:hover img { transform: scale(1.03); }
.tile-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 32px 28px 30px;
  text-align: center;
  color: var(--white);
}
.tile-eyebrow { display: block; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.8); margin-bottom: 4px; }
.tile h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 8px; }
.tile p { font-size: 15px; color: rgba(255, 255, 255, 0.85); max-width: 40ch; margin: 0 auto 18px; }
.tile-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 760px) {
  .tile-grid { grid-template-columns: 1fr; gap: 16px; }
  .tile { aspect-ratio: 4 / 5; border-radius: 20px; }
  .tile-body { padding: 24px 16px 24px; }
  .tile .btn-sm { padding: 10px 16px; font-size: 14px; }
}

/* Award-Karussell jetzt in der Awards-Sektion */
.news-marquee { margin: 8px 0 48px; }

/* Vision als Feature-Strecke (Meta „Revolutionäres Design / Kinoerlebnis“) */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 56px;
  align-items: center;
  margin: 0 0 110px;
}
.feature-row--flip { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.feature-row--flip .feature-text { order: 2; }
.feature-text h3,
.feature-center h3 {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.feature-text p,
.feature-center p { font-size: 16.5px; color: var(--ink-soft); }
.feature-link { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--blue); }
.feature-link:hover { color: var(--navy); }
.feature-media { margin: 0; border-radius: 24px; overflow: hidden; background: var(--navy); }
.feature-media img,
.feature-media video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.feature-center { text-align: center; margin: 0 0 110px; }
.feature-center p { max-width: 680px; margin: 0 auto 40px; }
.feature-center .orbit-clip { margin: 0; }
.feature-center .orbit-clip video { border-radius: 0; }
@media (max-width: 900px) {
  .feature-row,
  .feature-row--flip { grid-template-columns: 1fr; gap: 24px; margin-bottom: 72px; }
  .feature-row--flip .feature-text { order: 0; }
  .feature-center { margin-bottom: 72px; }
  .feature-center p { margin-bottom: 28px; }
  .feature-media { border-radius: 20px; }
}
.thesen-details summary {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* Scroll-Zoom-Loop unter den 4 USPs: Karte → volle Breite, Bild zoomt hinein */
.zoom-stage {
  position: relative;
  height: 180vh;
  width: 100vw;
  margin: 0 0 40px calc(50% - 50vw);
}
.zoom-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.zoom-frame {
  --zp: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  clip-path: inset(calc((1 - var(--zp)) * 12%) calc((1 - var(--zp)) * 10%) round calc((1 - var(--zp)) * 24px));
  will-change: clip-path;
}
.zoom-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1 + var(--zp) * 0.18));
  will-change: transform;
}
@media (max-width: 760px) {
  .zoom-stage { height: auto; margin-top: 16px; }
  .zoom-sticky { position: static; height: auto; }
  .zoom-frame { height: auto; aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  .zoom-stage { height: auto; width: auto; margin: 0 0 40px; }
  .zoom-sticky { position: static; height: auto; }
  .zoom-frame { height: auto; aspect-ratio: 16 / 9; clip-path: none; border-radius: 24px; overflow: hidden; }
}
.feature-text p + p { margin-top: 12px; }
.tile--vhealth img { object-position: 32% center; }
@media (max-width: 760px) { .tile--vhealth img { object-position: 82% center; } }
.tile--vapp img { object-position: 45% center; }
@media (max-width: 760px) { .tile--vapp img { object-position: 58% center; } }
.hero .video-toggle { right: 24px; }

/* Sprungziel „Anfragen“: Umschalter bleibt unter der fixen Navigation sichtbar */
#anfrage { scroll-margin-top: calc(var(--banner-h) + var(--nav-h) + 32px); }

/* Hinweis-Banner über der Navigation (vHealth) */
html.no-banner { --banner-h: 0px; }
html.no-banner .top-banner { display: none; }
.top-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 44px;
  background: #05c1b8; /* vHealth-Türkis (Logo) */
  color: #0a140d;      /* vHealth-Textton, Kontrast ~9:1 */
  font-size: 14px;
  font-weight: 500;
}
.top-banner p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-banner a { color: #0a140d; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 8px; }
.top-banner a:hover { color: #014011; text-decoration-thickness: 2px; }
.top-banner strong { font-weight: 800; }
.tb-short { display: none; }
.tb-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0a140d;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.tb-close:hover { background: rgba(10, 20, 13, 0.1); }
.tb-close:focus-visible, .top-banner a:focus-visible { outline: 2px solid #0a140d; outline-offset: 2px; }
.nav { top: var(--banner-h); }
.nav-overlay { top: var(--banner-h); }
section[id] { scroll-margin-top: var(--banner-h); }
@media (max-width: 760px) {
  .top-banner { font-size: 13px; padding: 0 40px 0 12px; }
  .tb-long { display: none; }
  .tb-short { display: inline; }
}

/* „Mehr Details hier“ unter dem Kontaktbereich */
.contact-more { text-align: center; margin-top: 28px; }
.btn-light-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--hairline-light);
}
.btn-light-outline:hover { border-color: var(--navy); background: #fff; }

/* Hero: goldene Zeile auch vor hellem Himmel lesbar; Titel auf dem Handy kompakter */
.hero .eyebrow { text-shadow: 0 1px 10px rgba(0, 10, 25, 0.65); }
@media (max-width: 760px) {
  .hero h1 { font-size: 34px; }
}
