/* =========================================================================
   SEN Landing Page styles
   - Mobile-first (≤768)
   - Desktop variant via container queries (.page is the container)
   ========================================================================= */
@import url("./tokens.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg-1); font: var(--t-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.page {
  container-type: inline-size;
  container-name: page;
  width: 100%;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
}

.eyebrow { font: var(--t-eyebrow); color: var(--trust); letter-spacing: 0.45px; margin: 0 0 12px; }

/* ============================================================ */
/* HEADER                                                       */
/* ============================================================ */
.sen-header {
  position: sticky; top: 0; z-index: 50;
  width: 100%;
  background: #fff;
  box-shadow: var(--shadow-nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; height: 78px;
}
.sen-header .logo { height: 56px; width: auto; object-fit: contain; }
.sen-header .nav-links { display: none; align-items: center; gap: 28px; font: 600 15px/1 var(--font-body); color: var(--ink-800); }
.sen-header .nav-links a { color: inherit; text-decoration: none; }
.sen-header .nav-links a:hover { color: var(--trust); opacity: 1; }
.sen-header .right { display: flex; align-items: center; gap: 18px; }
.sen-header .phone {
  display: none; align-items: center; gap: 8px;
  font: 700 15px/1 var(--font-body); color: var(--ink-900);
  text-decoration: none;
}
.sen-header .phone svg { width: 18px; height: 18px; color: var(--ink-900); }

@container page (min-width: 640px) { .sen-header .phone { display: inline-flex; } }
@container page (min-width: 1024px) {
  .sen-header { padding: 14px 56px; height: 88px; }
  .sen-header .nav-links { display: flex; }
  .sen-header .logo { height: 60px; }
}

/* ============================================================ */
/* BUTTONS                                                      */
/* ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border: 0; cursor: pointer;
  font: 700 17px/1 var(--font-body); letter-spacing: 0.2px;
  padding: 20px 28px; border-radius: var(--r-sm);
  transition: background-color 150ms ease, transform 100ms ease, box-shadow 150ms ease;
  text-decoration: none;
}
.btn.primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 6px 18px rgba(255,229,2,0.30);
}
.btn.primary:hover { background: var(--accent-hover); }
.btn.primary:active { background: var(--accent-pressed); transform: scale(.99); }
.btn.primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.dark { background: var(--ink-900); color: #fff; }
.btn.dark:hover { background: var(--action-dark-hover); }
.btn.outline { background: transparent; color: var(--fg-1); border: 1px solid var(--ink-900); }
.btn.full { width: 100%; }
.btn .arrow { transition: transform 150ms ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.compact { padding: 14px 22px; font-size: 15px; }

/* ============================================================ */
/* HERO                                                         */
/* ============================================================ */
.hero { padding: 0; background: #fff; }
.hero .inner { display: flex; flex-direction: column; }
.hero .photo {
  width: 100%; height: 460px;
  background-size: cover; background-position: center;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.hero .photo .photo-media,
.case .photo .photo-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Play-Overlay (Video-Placeholder bis rene-hero.mp4 vorliegt) ----- */
.hero .photo::before {
  /* dunkler Vignetten-Layer, damit der Play-Button vor sonnigem Foto kontrastiert */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.42) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero .photo .play-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  z-index: 2;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform 200ms ease;
}
.hero .photo .play-overlay:hover { transform: translate(-50%, -50%) scale(1.05); }
.hero .photo .play-overlay:focus-visible { outline: 3px solid var(--sen-yellow); outline-offset: 6px; border-radius: 4px; }
.hero .photo .play-overlay:active { transform: translate(-50%, -50%) scale(0.98); }
.hero .photo .play-overlay .play-btn {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink-900);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  position: relative;
}
.hero .photo .play-overlay .play-btn svg {
  margin-left: 3px; /* minimaler Ausgleich für den Dreieck-Schwerpunkt, optisch zentriert */
}
.hero .photo .play-overlay .play-btn::before,
.hero .photo .play-overlay .play-btn::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,229,2,0.55);
  animation: heroPlayPulse 2.6s ease-out infinite;
}
.hero .photo .play-overlay .play-btn::after { animation-delay: 1.3s; }
@keyframes heroPlayPulse {
  0%   { transform: scale(1);    opacity: 0.9; }
  80%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.hero .photo .play-overlay .play-label {
  background: rgba(26,29,35,0.82);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font: 700 12px/16px var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
@container page (min-width: 1024px) {
  .hero .photo .play-overlay .play-btn { width: 116px; height: 116px; }
  .hero .photo .play-overlay .play-btn svg { width: 52px; height: 52px; margin-left: 4px; }
  .hero .photo .play-overlay .play-label { font-size: 13px; padding: 10px 18px; }
}
.hero .photo .float-card {
  display: none;
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: #fff; border-radius: var(--r-md);
  padding: 14px 16px;
  align-items: center; gap: 12px;
  box-shadow: var(--shadow-card);
  max-width: 320px;
  z-index: 3;
}
.hero .photo .float-card .av {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--trust); color: #fff;
  font: 700 14px/1 var(--font-body); display: inline-flex; align-items: center; justify-content: center;
}
.hero .photo .float-card .nm { font: 700 14px/18px var(--font-body); color: var(--ink-900); }
.hero .photo .float-card .role { font: 400 12px/16px var(--font-body); color: var(--fg-2); }
.hero .photo .float-card .q { font: 400 12px/16px var(--font-body); color: var(--fg-1); margin-top: 6px; font-style: italic; }

.hero .body { padding: 36px 24px 44px; }
.hero h1 { font: 800 34px/1.15 var(--font-display); color: var(--fg-1); margin: 0 0 22px; letter-spacing: -0.01em; }
.hero h1 mark {
  background: linear-gradient(
    transparent 0%,
    transparent 24%,
    rgba(255, 229, 2, 0.55) 24%,
    rgba(255, 229, 2, 0.55) 92%,
    transparent 92%
  );
  color: var(--ink-900);
  padding: 0 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 0;
}
.hero ul.checks {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.hero .cta-row { display: flex; flex-direction: column; gap: 14px; }
.hero .trust-strip {
  margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 18px;
  font: var(--t-meta); color: var(--fg-2);
}
.hero .trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.hero .trust-strip svg { width: 16px; height: 16px; color: var(--trust); }

.check { display: flex; gap: 14px; align-items: flex-start; font: var(--t-lead); color: inherit; }
.check .ic { flex: 0 0 24px; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; color: var(--trust); }
.bg-dark .check .ic { color: var(--sen-yellow); }
.check .ic svg { width: 24px; height: 24px; }

@container page (min-width: 1024px) {
  .hero .inner {
    flex-direction: row;
    max-width: 1280px; margin: 0 auto;
    padding: 56px 56px 80px;
    gap: 64px;
    align-items: center;
  }
  .hero .photo {
    flex: 1 1 50%;
    height: 640px;
    border-radius: var(--r-lg);
  }
  .hero .photo .float-card { display: flex; }
  .hero .body { flex: 1 1 50%; padding: 0; }
  .hero h1 { font: 800 50px/1.1 var(--font-display); letter-spacing: -0.02em; margin-bottom: 26px; }
  .hero .cta-row { flex-direction: row; align-items: center; }
  .hero ul.checks { gap: 16px; margin-bottom: 36px; }
}

/* ============================================================ */
/* DIFFERENTIATION                                              */
/* ============================================================ */
.differ {
  padding: 64px 24px;
  background: var(--bg-2);
}
.differ .inner { max-width: 1280px; margin: 0 auto; }
.differ .lead {
  max-width: 720px; margin-bottom: 36px;
}
.differ .lead h2 { font: 800 32px/38px var(--font-display); letter-spacing: -0.01em; margin: 0 0 16px; }
.differ .lead p { font: var(--t-lead); color: var(--fg-2); margin: 0 0 12px; }
.differ .stats {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.differ .stat {
  background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-md);
  padding: 24px 22px;
}
.differ .stat .num { font: 800 36px/40px var(--font-display); color: var(--ink-900); letter-spacing: -0.01em; }
.differ .stat .lbl { font: 700 15px/20px var(--font-body); color: var(--ink-900); margin-top: 6px; }
.differ .stat .desc { font: var(--t-body); color: var(--fg-2); margin-top: 6px; }

@container page (min-width: 1024px) {
  .differ { padding: 120px 56px; }
  .differ .lead h2 { font: 800 48px/54px var(--font-display); }
  .differ .stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .differ .stat { padding: 32px; }
}

/* ============================================================ */
/* PRODUCT CALCULATOR                                           */
/* ============================================================ */
.product-calc { padding: 64px 24px; background: var(--bg); }
.product-calc .inner { max-width: 1280px; margin: 0 auto; }
.product-calc .eyebrow { text-align: center; }
.product-calc h2 { font: var(--t-h2); text-align: center; margin: 0 0 12px; }
.product-calc .sub { text-align:center; margin:0 auto 28px; max-width:600px; font:var(--t-body-lg); color:var(--fg-2); }
.product-cards { display: flex; flex-direction: column; gap: 12px; max-width: 560px; margin: 0 auto; }
.product-card {
  border: 1px solid var(--border-2); border-radius: var(--r-md);
  background: #fff; padding: 20px;
  display: flex; gap: 16px; align-items: center;
  cursor: pointer; text-align: left;
  position: relative;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 120ms ease, background-color 150ms ease;
  width: 100%;
}
.product-card::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 32px; height: 32px; transform: translateY(-50%);
  border-radius: 50%; background: var(--accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231a1d23' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/><polyline points='12 5 19 12 12 19'/></svg>");
  background-repeat: no-repeat; background-position: center;
  box-shadow: 0 4px 12px rgba(255,229,2,0.45);
  transition: transform 150ms ease;
}
.product-card:hover { border-color: var(--ink-900); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.product-card:hover::after { transform: translateY(-50%) translateX(3px); }
.product-card .body { flex: 1; padding-right: 40px; }
.product-card .pic {
  width: 56px; height: 56px; flex: 0 0 56px;
  border-radius: 50%;
  background: var(--sen-yellow-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-900);
}
.product-card .pic svg { width: 32px; height: 32px; }
.product-card .lbl { font: 700 17px/22px var(--font-body); color: var(--fg-1); display: block; }
.product-card .sub-lbl { font: var(--t-meta); color: var(--fg-2); display: block; margin-top: 4px; }

@container page (min-width: 1024px) {
  .product-calc { padding: 120px 56px; }
  .product-calc h2 { font: 800 48px/54px var(--font-display); }
  .product-cards {
    display: grid; grid-template-columns: repeat(4, 1fr);
    max-width: none; gap: 20px; margin-top: 40px;
  }
  .product-card {
    flex-direction: column; align-items: flex-start; padding: 32px 28px 28px;
    min-height: 200px;
  }
  .product-card::after { top: auto; bottom: 24px; right: 24px; transform: none; }
  .product-card:hover::after { transform: translateX(3px); }
  .product-card .body { padding-right: 0; }
  .product-card .pic { width: 64px; height: 64px; flex-basis: 64px; margin-bottom: 12px; }
  .product-card .lbl { font: 700 22px/28px var(--font-body); }
}

/* ============================================================ */
/* REASONS ACCORDION                                            */
/* ============================================================ */
.reasons { padding: 64px 24px; background: var(--bg-2); }
.reasons .inner { max-width: 980px; margin: 0 auto; }
.reasons h2 { margin-bottom: 24px; font: 800 36px/40px var(--font-display); letter-spacing: -0.01em; }
.reason-acc { display: flex; flex-direction: column; gap: 10px; }
.reason-item {
  background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-md);
  overflow: hidden;
}
.reason-item summary {
  padding: 22px 22px; cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 18px;
  font: 700 18px/24px var(--font-body); color: var(--ink-900);
}
.reason-item summary::-webkit-details-marker { display: none; }
.reason-item summary .num {
  flex: 0 0 36px; font: 800 28px/1 var(--font-display);
  color: var(--trust); letter-spacing: -0.02em;
}
.reason-item summary .lbl { flex: 1; }
.reason-item summary .chev {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 50%; background: var(--bg-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-900);
  transition: transform 200ms ease, background-color 150ms ease;
}
.reason-item summary .chev svg { width: 18px; height: 18px; }
.reason-item[open] summary .chev { transform: rotate(180deg); background: var(--ink-900); color: #fff; }
.reason-item summary:hover { background: var(--bg-2); }
.reason-item .body {
  padding: 0 24px 22px 78px;
  font: var(--t-body); color: var(--fg-1);
}
@container page (min-width: 1024px) {
  .reasons { padding: 120px 56px; }
  .reasons h2 { font: 800 48px/54px var(--font-display); margin-bottom: 36px; }
  .reason-item summary { padding: 26px 28px; font-size: 20px; }
  .reason-item summary .num { font-size: 32px; }
}

/* ============================================================ */
/* FUNDING BAND (dark)                                          */
/* ============================================================ */
.funding-band { background: var(--ink-900); color: #fff; }
.funding-band .inner { display: flex; flex-direction: column; }
.funding-band .photo { width: 100%; height: 360px; background-size: cover; background-position: center; }
.funding-band .body { padding: 44px 24px 56px; }
.funding-band .eyebrow { color: var(--sen-yellow); font: 700 13px/18px var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; }
.funding-band h2 { font: 800 32px/38px var(--font-display); color: #fff; margin: 14px 0 24px; }
.funding-band ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 16px; }

@container page (min-width: 1024px) {
  .funding-band .inner {
    flex-direction: row; align-items: stretch;
    max-width: 1440px; margin: 0 auto;
  }
  .funding-band .photo { flex: 1 1 50%; height: auto; min-height: 520px; }
  .funding-band .body { flex: 1 1 50%; padding: 96px 64px; display: flex; flex-direction: column; justify-content: center; }
  .funding-band h2 { font: 800 48px/54px var(--font-display); }
}

/* ============================================================ */
/* GOOGLE REVIEWS                                               */
/* ============================================================ */
.tests { padding: 72px 0 64px; background: var(--bg); }
.tests .top { padding: 0 24px; text-align: center; margin-bottom: 28px; max-width: 720px; margin-left: auto; margin-right: auto; }
.tests .gscore {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  padding: 16px 24px; background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-pill);
  margin-bottom: 16px; box-shadow: var(--shadow-card-sm);
}
.tests .gscore .glogo {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 16px/1 var(--font-body); color: var(--ink-900);
}
.tests .gscore .glogo img { width: 24px; height: 24px; display: block; }
.tests .gscore .divider { width: 1px; height: 22px; background: var(--border-2); }
.tests .gscore .stars { color: #FBBC04; display: inline-flex; gap: 1px; }
.tests .gscore .stars svg { width: 18px; height: 18px; }
.tests .gscore .score { font: 800 18px/1 var(--font-body); color: var(--ink-900); }
.tests .tot { font: var(--t-meta); color: var(--fg-2); margin-bottom: 22px; }
.tests .tot a { color: var(--trust); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.tests h2 { margin: 14px 0 0; font: 800 36px/40px var(--font-display); letter-spacing: -0.01em; }

.tests .row {
  display: flex; gap: 14px; padding: 24px 24px 4px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.tests .row::-webkit-scrollbar { display: none; }
.greview {
  flex: 0 0 320px; scroll-snap-align: start;
  border-radius: var(--r-md); background: #fff;
  border: 1px solid var(--border-2);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-card-sm);
}
.greview .head { display: flex; align-items: center; gap: 12px; }
.greview .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font: 700 16px/1 var(--font-body);
}
.greview .who { display: flex; flex-direction: column; }
.greview .name { font: 700 15px/18px var(--font-body); color: var(--ink-900); }
.greview .lg-badge { font: 700 10px/14px var(--font-body); color: var(--fg-2); letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; }
.greview .lg-badge::before { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FBBC04'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>") no-repeat center; background-size: contain; flex: 0 0 12px; }
.greview .meta { display: flex; align-items: center; gap: 10px; }
.greview .meta .stars { color: #FBBC04; display: inline-flex; gap: 1px; }
.greview .meta .stars svg { width: 14px; height: 14px; }
.greview .meta .when { font: var(--t-meta); color: var(--fg-2); }
.greview .body { font: var(--t-body); color: var(--ink-800); margin: 0; flex: 1; }
.greview .footer-row {
  display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px;
  border-top: 1px solid var(--border-3);
  font: 600 13px/16px var(--font-body); color: var(--trust);
  text-decoration: none;
}
.greview .footer-row img { width: 14px; height: 14px; }
.tests .pager { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.tests .pager button {
  width: 48px; height: 48px; border-radius: var(--r-pill);
  border: 1px solid var(--ink-900); background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.tests .pager button:disabled { opacity: 0.3; cursor: default; }
.tests .pager svg { width: 18px; height: 18px; }

@container page (min-width: 1024px) {
  .tests { padding: 120px 0; }
  .tests h2 { font: 800 48px/54px var(--font-display); }
  .tests .row { padding: 32px 56px 8px; gap: 20px; }
  .greview { flex-basis: 380px; padding: 28px; }
}

/* ============================================================ */
/* CASE STUDY                                                   */
/* ============================================================ */
.case {
  background: var(--ink-900); color: #fff; padding: 72px 24px 80px;
}
.case.light { background: var(--surface-3); color: var(--ink-900); }
.case .inner { max-width: 1280px; margin: 0 auto; }
.case .eyebrow { color: var(--sen-yellow); font: 700 13px/18px var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 14px; }
.case.light .eyebrow { color: var(--trust); }
.case h2 { font: 800 38px/42px var(--font-display); letter-spacing: -0.01em; color: #fff; margin: 0 0 14px; }
.case.light h2 { color: var(--ink-900); }
.case .sub { font: var(--t-lead); color: rgba(255,255,255,0.78); margin: 0 0 32px; max-width: 720px; }
.case.light .sub { color: var(--fg-2); }
.case .draft-marker {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font: 600 11px/16px var(--font-body); letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(255,229,2,0.15); color: var(--sen-yellow);
  margin-left: 12px; vertical-align: middle; white-space: nowrap;
}
.case.light .draft-marker { background: rgba(0,150,63,0.12); color: var(--trust); }
.case .draft-marker svg { width: 12px; height: 12px; }
.case .grid { display: grid; gap: 24px; }
.case .media {
  display: flex; flex-direction: column;
}
.case .photo {
  position: relative;
  width: 100%; height: 420px;
  background-size: cover; background-position: center;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.case .badge {
  background: #fff; color: var(--ink-900);
  padding: 18px 18px; border-radius: 0 0 var(--r-lg) var(--r-lg);
  display: flex; align-items: flex-start; gap: 14px;
  border: 1px solid var(--border-2);
  border-top: 0;
}
.case .badge .av {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--trust); color: #fff;
  font: 700 18px/1 var(--font-body); display: inline-flex; align-items: center; justify-content: center;
}
.case .badge .meta-col { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.case .badge .nm { font: 700 15px/20px var(--font-body); }
.case .badge .sub { font: 400 13px/16px var(--font-body); color: var(--fg-2); margin: 0; }
.case .badge .q { font: 600 13px/18px var(--font-body); color: var(--ink-900); margin-top: 4px; font-style: italic; }
.case .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.case .stat {
  padding: 18px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.case.light .stat { background: #fff; border-color: var(--border-2); }
.case .stat .big { font: 800 28px/32px var(--font-display); color: #fff; letter-spacing: -0.01em; }
.case.light .stat .big { color: var(--ink-900); }
.case .stat .lbl { font: 600 11px/16px var(--font-body); color: rgba(255,255,255,0.65); margin-top: 4px; letter-spacing: 0.04em; text-transform: uppercase; }
.case.light .stat .lbl { color: var(--fg-2); }

.case .ba {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  margin: 12px 0 26px;
}
.case .ba .col {
  padding: 22px; border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.case .ba .col.before { background: rgba(255,255,255,0.03); }
.case .ba .col.after  { background: var(--sen-yellow); color: var(--ink-900); border-color: transparent; }
.case.light .ba .col.before { background: #fff; border-color: var(--border-2); }
.case .ba .col h5 {
  font: 700 11px/16px var(--font-body); letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin: 0 0 14px;
}
.case.light .ba .col.before h5 { color: var(--fg-2); }
.case .ba .col.after h5 { color: rgba(26,29,35,0.55); }
.case .ba .row {
  display: grid; grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.10);
  column-gap: 16px;
}
.case.light .ba .col.before .row { border-bottom-color: rgba(0,0,0,0.08); }
.case .ba .col.after .row { border-bottom-color: rgba(26,29,35,0.14); }
.case .ba .row:last-of-type { border-bottom: 0; }
.case .ba .row .k { font: 600 13px/18px var(--font-body); color: rgba(255,255,255,0.7); }
.case.light .ba .col.before .row .k { color: var(--fg-2); }
.case .ba .col.after .row .k { color: rgba(26,29,35,0.65); }
.case .ba .row .v {
  font: 700 16px/20px var(--font-body); color: #fff; text-align: right;
  font-variant-numeric: tabular-nums;
}
.case.light .ba .col.before .row .v { color: var(--ink-900); }
.case .ba .col.after .row .v { color: var(--ink-900); }
.case .ba .hi {
  font: 800 28px/32px var(--font-display); margin-top: 16px;
  display: flex; justify-content: space-between; align-items: baseline;
  font-variant-numeric: tabular-nums;
}
.case .ba .hi .lbl { font: 700 11px/16px var(--font-body); color: rgba(255,255,255,0.6); letter-spacing: 0.06em; text-transform: uppercase; }
.case.light .ba .col.before .hi .lbl { color: var(--fg-2); }
.case .ba .col.after .hi .lbl { color: rgba(26,29,35,0.6); }
.case .story-p { font: var(--t-body-lg); color: rgba(255,255,255,0.85); margin: 0 0 22px; }
.case.light .story-p { color: var(--ink-800); }
.case .pull {
  border-left: 3px solid var(--sen-yellow);
  padding: 6px 0 6px 20px; margin: 0 0 28px;
  font: 600 22px/30px var(--font-display); color: #fff;
}
.case.light .pull { color: var(--ink-900); border-left-color: var(--trust); }
.case .pull cite { display: block; margin-top: 12px; font: 600 13px/18px var(--font-body); color: rgba(255,255,255,0.6); font-style: normal; }
.case.light .pull cite { color: var(--fg-2); }
.case .cta-row { display: flex; flex-direction: column; gap: 10px; }
.case .cta-row .lbl { font: var(--t-body); color: rgba(255,255,255,0.7); }
.case.light .cta-row .lbl { color: var(--fg-2); }
.case .timeline {
  margin-top: 36px; padding: 22px 24px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.case.light .timeline { background: #fff; border-color: var(--border-2); }
.case .timeline .ev { display: flex; align-items: flex-start; gap: 12px; }
.case .timeline .ev .yr { font: 800 16px/22px var(--font-display); color: var(--sen-yellow); flex: 0 0 70px; }
.case.light .timeline .ev .yr { color: var(--trust); }
.case .timeline .ev .lbl { font: 600 14px/20px var(--font-body); color: rgba(255,255,255,0.85); }
.case.light .timeline .ev .lbl { color: var(--ink-800); }

/* Verbrauchs-Ledger: echte Jahres-Abrechnung als Balken */
.case .ledger {
  margin: 4px 0 26px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.03);
  overflow: hidden;
}
.case.light .ledger { background: #fff; border-color: var(--border-2); }
.case .ledger-head,
.case .ledger-row {
  display: grid;
  grid-template-columns: 48px 1fr 72px 76px;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
}
.case .ledger-head {
  font: 700 10px/14px var(--font-body);
  letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.case.light .ledger-head { color: var(--fg-2); border-bottom-color: var(--border-2); }
.case .ledger-head .r { text-align: right; }
.case .ledger-row { border-bottom: 1px solid rgba(255,255,255,0.06); }
.case.light .ledger-row { border-bottom-color: var(--border-3); }
.case .ledger-row:last-child { border-bottom: 0; }
.case .ledger-row .yr { font: 700 14px/20px var(--font-body); color: #fff; }
.case.light .ledger-row .yr { color: var(--ink-900); }
.case .ledger .track { display: block; width: 100%; height: 14px; }
.case .ledger .bar {
  display: block; height: 14px; min-width: 5px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.26);
}
.case .ledger .bar.post { background: var(--sen-green); }
.case .ledger .kwh { font: 700 12px/16px var(--font-body); color: rgba(255,255,255,0.72); white-space: nowrap; text-align: right; }
.case.light .ledger .kwh { color: var(--ink-700); }
.case .ledger .cost { font: 700 13px/18px var(--font-body); color: #fff; white-space: nowrap; text-align: right; }
.case.light .ledger .cost { color: var(--ink-900); }
.case .ledger-row.post .cost { color: var(--sen-green); }
.case.light .ledger-row.post .cost { color: var(--trust); }
.case .ledger-divider {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--sen-yellow-soft);
  border-top: 1px solid rgba(255,229,2,0.22);
  border-bottom: 1px solid rgba(255,229,2,0.22);
  font: 700 10px/14px var(--font-body);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--sen-yellow);
}
.case.light .ledger-divider { color: #8a7000; background: rgba(255,229,2,0.16); }
.case .ledger-divider svg { width: 13px; height: 13px; flex: 0 0 13px; }
.case .ledger-note { font: 400 12px/17px var(--font-body); color: rgba(255,255,255,0.5); margin: -16px 0 26px; }
.case.light .ledger-note { color: var(--fg-2); }

@container page (min-width: 1024px) {
  .case .grid { grid-template-columns: 5fr 7fr; align-items: start; gap: 40px; }
  .case .media { position: relative; display: block; }
  .case .photo {
    aspect-ratio: 4/5; height: auto;
    border-radius: var(--r-lg);
    overflow: hidden;
  }
  .case .badge {
    position: absolute; left: 16px; bottom: 16px; right: 16px;
    border-radius: var(--r-md);
    border: 0;
    padding: 14px 16px;
    box-shadow: var(--shadow-card);
  }
  .case .badge .av { width: 40px; height: 40px; flex-basis: 40px; font-size: 16px; }
  .case .badge .nm { font-size: 14px; }
  .case .badge .sub { font-size: 12px; }
  .case .badge .q { font-size: 12px; }
  .case .ba { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .case .timeline { grid-template-columns: repeat(3, 1fr); }
  .case .timeline .ev .yr { flex-basis: auto; }
  .case .cta-row { flex-direction: row; align-items: center; }
}
@container page (min-width: 1024px) {
  .case { padding: 120px 56px; }
  .case h2 { font: 800 56px/60px var(--font-display); margin-bottom: 20px; }
  .case .stats { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .case .stat .big { font: 800 30px/34px var(--font-display); }
}

/* ============================================================ */
/* ABOUT RENÉ                                                   */
/* ============================================================ */
.about { padding: 64px 24px; background: var(--bg-2); }
.about .inner { max-width: 1280px; margin: 0 auto; }
.about .grid { display: grid; gap: 24px; }
.about .photo { aspect-ratio: 4/5; width: 70%; max-width: none; margin: 0 auto; background: var(--surface-2); border-radius: var(--r-lg); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font: 400 14px/20px var(--font-body); color: var(--fg-2); text-align: center; padding: 28px;
  background-image: linear-gradient(135deg, rgba(0,150,63,0.10), rgba(255,229,2,0.10));
}
.about .photo .placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.about .photo svg { width: 96px; height: 96px; color: var(--trust); opacity: 0.5; }
.about .photo.has-image { padding: 0; background-image: none; }
.about .photo.has-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.about h2 { margin-bottom: 12px; font: 800 36px/40px var(--font-display); }
.about .role { font: 600 13px/18px var(--font-body); color: var(--trust); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 16px; }
.about p { font: var(--t-body-lg); margin: 0 0 16px; }
.about .stats-row { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 28px 0 24px; }
.about .stats-row .x {
  background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-md);
  padding: 16px 18px;
}
.about .stats-row .x .num { font: 800 24px/28px var(--font-display); color: var(--ink-900); }
.about .stats-row .x .lbl { font: 400 12px/16px var(--font-body); color: var(--fg-2); margin-top: 4px; }

@container page (min-width: 1024px) {
  /* Foto wächst nur so hoch wie der Text-Block daneben (Headline → Button). */
  .about .grid { grid-template-columns: 7fr 5fr; align-items: stretch; gap: 64px; }
  .about .photo {
    width: 100%;
    aspect-ratio: auto;
    height: 100%;
    max-height: 560px;
    align-self: stretch;
  }
  .about .photo svg { width: 72px; height: 72px; }
}
@container page (min-width: 1024px) {
  .about { padding: 120px 56px; }
  .about h2 { font: 800 40px/46px var(--font-display); }
  .about .stats-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .about .stats-row .x:nth-child(1),
  .about .stats-row .x:nth-child(4) { grid-column: span 2; }
  .about .stats-row .x:nth-child(1) .num,
  .about .stats-row .x:nth-child(4) .num { font-size: 28px; line-height: 32px; }
  .about .stats-row .x { padding: 20px 24px; }
}

/* ============================================================ */
/* PROCESS STEPS                                                */
/* ============================================================ */
.process { padding: 64px 24px; background: #fff; }
.process .inner { max-width: 1280px; margin: 0 auto; }
.process h2 { margin-bottom: 24px; font: 800 32px/38px var(--font-display); }
.process .steps { display: flex; flex-direction: column; gap: 14px; }
.process .step {
  display: flex; flex-direction: column; gap: 8px;
  padding: 26px 28px; border-radius: var(--r-md);
  color: #fff;
}
.process .step:nth-child(odd)  { background: var(--trust); }
.process .step:nth-child(even) { background: var(--ink-900); }
.process .step .num { font: 800 52px/1 var(--font-display); color: #fff; letter-spacing: -0.03em; margin: 0 0 2px; opacity: 0.85; }
.process .step h4 { font: 800 22px/28px var(--font-display); margin: 0; color: #fff; }
.process .step p  { font: var(--t-body-lg); margin: 0; color: rgba(255,255,255,0.92); }
.process .cta-after { margin-top: 24px; text-align: center; }

@container page (min-width: 1024px) {
  .process { padding: 120px 56px; }
  .process h2 { font: 800 48px/54px var(--font-display); text-align: center; margin-bottom: 48px; }
  .process .steps { grid-template-columns: repeat(3, 1fr); display: grid; gap: 20px; }
  .process .step { padding: 36px 32px; }
  .process .cta-after { margin-top: 40px; }
}

/* ============================================================ */
/* FAQ                                                          */
/* ============================================================ */
.faq { padding: 64px 24px; background: var(--bg-2); }
.faq .inner { max-width: 860px; margin: 0 auto; }
.faq h2 { font: 800 32px/38px var(--font-display); margin-bottom: 28px; }
.faq-item { background: #fff; border-radius: var(--r-md); border: 1px solid var(--border-2); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 22px 24px; cursor: pointer; font: 700 17px/24px var(--font-body); color: var(--ink-900); display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font: 400 24px/1 var(--font-display); color: var(--fg-2); transition: transform 200ms ease; flex: 0 0 24px; text-align: right; }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--trust); }
.faq-item .ans { padding: 0 24px 22px; font: var(--t-body); color: var(--fg-1); }

@container page (min-width: 1024px) {
  .faq { padding: 120px 56px; }
  .faq h2 { font: 800 48px/54px var(--font-display); text-align: center; margin-bottom: 48px; }
}

/* ============================================================ */
/* STICKY CTA (mobile only) — fixed to viewport                 */
/* ============================================================ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 10px; padding: 10px 14px;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
}
.sticky-cta .btn { flex: 1; padding: 16px 14px; font-size: 16px; }
.sticky-cta.hidden { display: none; }
@container page (min-width: 1024px) {
  .sticky-cta { display: none; }
}
/* Pad page bottom so sticky CTA doesn't cover footer content on mobile */
@media (max-width: 1023px) {
  body { padding-bottom: 84px; }
}

/* ============================================================ */
/* FOOTER                                                       */
/* ============================================================ */
.footer { background: var(--ink-900); color: #fff; padding: 56px 24px 96px; text-align: center; }
.footer .inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.footer .logo { height: 64px; margin: 0 auto 24px; display: block; padding: 10px 14px; background: #fff; border-radius: var(--r-sm); }
.footer .address { font: var(--t-body); color: rgba(255,255,255,0.65); margin-bottom: 20px; max-width: 400px; }
.footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; margin-bottom: 18px; }
.footer .links a { color: #fff; font: var(--t-body); opacity: 0.8; text-decoration: none; }
.footer .copy { font: var(--t-meta); color: rgba(255,255,255,0.5); }
@container page (min-width: 1024px) {
  .footer { padding: 80px 56px 56px; }
}

/* ============================================================ */
/* QUIZ MODAL                                                   */
/* ============================================================ */
.quiz-overlay {
  position: fixed; inset: 0; z-index: 2147483645;
  background: rgba(26,29,35,0.66);
  display: none; align-items: stretch; justify-content: center;
}
.quiz-overlay.open { display: flex; }
.quiz-overlay.layout-fullscreen { padding: 0; }
.quiz-overlay.layout-centered { padding: 24px; align-items: center; }
.quiz-overlay.layout-sidebar { padding: 0; justify-content: flex-end; }

.quiz {
  background: #fff; width: 100%; max-width: 720px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.quiz-overlay.layout-fullscreen .quiz { border-radius: 0; max-width: 720px; height: 100%; }
.quiz-overlay.layout-centered .quiz { border-radius: var(--r-lg); max-width: 640px; max-height: calc(100vh - 48px); }
.quiz-overlay.layout-sidebar .quiz { border-radius: 0; max-width: 540px; height: 100%; }

@media (min-width: 720px) {
  .quiz-overlay.layout-fullscreen { padding: 32px; align-items: center; }
  .quiz-overlay.layout-fullscreen .quiz { border-radius: var(--r-lg); max-height: calc(100vh - 64px); height: auto; }
}

.quiz .top { display: flex; align-items: center; gap: 14px; padding: 18px 22px 14px; border-bottom: 1px solid var(--border-3); }
.quiz .top .logo { height: 36px; }
.quiz .top .progress { flex: 1; height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.quiz .top .progress .bar { height: 100%; background: var(--trust); transition: width 250ms ease; width: 0%; }
.quiz .top .close { background: transparent; border: 0; cursor: pointer; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-900); border-radius: 50%; }
.quiz .top .close:hover { background: var(--bg-2); }

.quiz .frame-wrap { flex: 1; overflow: hidden; position: relative; }
.quiz .frame {
  padding: 32px 24px 40px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 16px;
  height: 100%;
  animation: frameIn 280ms cubic-bezier(.2,.7,.3,1);
}
@keyframes frameIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.quiz .frame.back { animation: frameInBack 280ms cubic-bezier(.2,.7,.3,1); }
@keyframes frameInBack {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.quiz .frame h2 { font: 800 28px/34px var(--font-display); margin: 0 0 4px; letter-spacing: -0.01em; color: var(--ink-900); }
.quiz .frame p.sub { font: var(--t-body-lg); color: var(--fg-2); margin: 0 0 12px; max-width: 540px; }
.quiz .frame .eyebrow-q { font: 700 12px/16px var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--trust); margin: 0 0 8px; }
.quiz .frame .trust-strip { display: flex; flex-wrap: wrap; gap: 14px; font: var(--t-meta); color: var(--fg-2); margin: 8px 0; }
.quiz .frame .trust-strip svg { width: 14px; height: 14px; color: var(--trust); vertical-align: -2px; margin-right: 4px; }

.quiz .options { display: flex; flex-direction: column; gap: 10px; }
.quiz .opt {
  display: flex; align-items: center; gap: 16px; padding: 18px;
  border: 1px solid var(--border-2); border-radius: var(--r-md);
  background: #fff; cursor: pointer; text-align: left; min-height: 76px;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 80ms ease, background-color 150ms ease;
  font: 700 17px/22px var(--font-body); color: var(--ink-900);
  width: 100%;
}
.quiz .opt:hover { border-color: var(--trust); box-shadow: var(--shadow-card-sm); }
.quiz .opt:active { transform: scale(.99); }
.quiz .opt.selected { border-color: var(--trust); background: rgba(0,150,63,0.06); box-shadow: var(--shadow-card-sm); }
.quiz .opt .pic {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%;
  background: var(--sen-yellow-soft);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink-900);
}
.quiz .opt .pic svg { width: 26px; height: 26px; }
.quiz .opt .lbl { flex: 1; display: flex; flex-direction: column; }
.quiz .opt .sub { display: block; font: 400 14px/18px var(--font-body); color: var(--fg-2); margin-top: 2px; }

.quiz .grid2 { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.quiz .grid2 .opt { padding: 16px; min-height: 64px; font-size: 15px; }
.quiz .grid2 .opt .pic { width: 36px; height: 36px; flex-basis: 36px; }
.quiz .grid2 .opt .pic svg { width: 20px; height: 20px; }

.quiz .field {
  position: relative; padding: 12px 16px; border: 1px solid var(--border-1); border-radius: var(--r-sm); background: #fff;
}
.quiz .field .lab { display: block; font: var(--t-label); color: var(--ink-300); margin-bottom: 4px; }
.quiz .field input {
  border: 0; outline: 0; width: 100%; font: 700 17px/22px var(--font-body); color: var(--ink-900);
  background: transparent;
}
.quiz .field input::placeholder { color: var(--ink-300); font-weight: 400; }
.quiz .check-row { display: flex; gap: 10px; align-items: flex-start; font: var(--t-body); color: var(--fg-1); cursor: pointer; }
.quiz .check-row input { margin-top: 4px; flex: 0 0 16px; }
.quiz .plz-warn {
  background: rgba(255,229,2,0.16);
  border: 1px solid var(--sen-yellow);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font: var(--t-meta);
  color: var(--ink-900);
}
.quiz .field-label {
  font: 700 14px/20px var(--font-body); color: var(--ink-900); margin-bottom: 10px; margin-top: 4px;
}

.quiz .nav-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px 22px; border-top: 1px solid var(--border-3); }
.quiz .nav-row .back {
  background: transparent; border: 0; color: var(--fg-2); cursor: pointer;
  font: 600 14px/20px var(--font-body); display: inline-flex; align-items: center; gap: 4px;
}
.quiz .nav-row .back svg { width: 14px; height: 14px; }
.quiz .nav-row .step-count { font: var(--t-meta); color: var(--fg-2); }

.quiz .exit { text-align: center; padding: 24px 8px; }
.quiz .exit .ico { width: 80px; height: 80px; margin: 0 auto 14px; border-radius: 50%; background: var(--bg-2); color: var(--fg-2); display: inline-flex; align-items: center; justify-content: center; }
.quiz .exit .ico svg { width: 40px; height: 40px; }
.quiz .exit p.sub { margin: 0 auto 22px; text-align: center; }
.quiz .success .ico { background: rgba(0,150,63,0.12); color: var(--trust); }
.quiz .success .ico svg { width: 44px; height: 44px; }

.quiz-confirm {
  position: fixed; inset: 0; z-index: 2147483646;
  background: rgba(0,0,0,0.45); display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.quiz-confirm.open { display: flex; }
.quiz-confirm .card { background: #fff; border-radius: var(--r-md); padding: 26px; max-width: 380px; text-align: center; }
.quiz-confirm .card h3 { font: 800 20px/26px var(--font-display); margin: 0 0 8px; color: var(--ink-900); }
.quiz-confirm .card p { font: var(--t-body); color: var(--fg-2); margin: 0 0 18px; }
.quiz-confirm .card .actions { display: flex; gap: 10px; }
.quiz-confirm .card .actions .btn { flex: 1; padding: 12px 16px; font-size: 15px; }

/* ============================================================
   VIDEO-LIGHTBOX (René-Hegel-Vorstellungsvideo)
   Responsive Pop-up, 16:9, Desktop + Mobile
   ============================================================ */
.video-overlay {
  position: fixed; inset: 0; z-index: 2147483646;
  background: rgba(26, 29, 35, 0.82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 16px;
  /* Seitenverhältnis des Videos — von video.js aus window.SEN_VIDEO_ASPECT gesetzt.
     Default = Hochkant (René-Handyvideo 720x1290). Querformat: 16 / 9 setzen. */
  --video-aspect: 720 / 1290;
}
.video-overlay.open { display: flex; }

/* Dialog = Spalte: Kopfzeile über dem Video, CTA darunter */
.video-dialog {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  overflow: auto; /* Sicherheitsnetz auf sehr kleinen Viewports */
}

/* Kopfzeile über dem Video */
.video-head { text-align: center; }
.video-head .eyebrow { color: var(--sen-yellow); margin: 0 0 6px; }
.video-head h3 { font: 800 22px/27px var(--font-display); margin: 0; letter-spacing: -0.01em; color: #fff; }
.video-head .video-sub { font: 400 13px/18px var(--font-body); color: rgba(255, 255, 255, 0.72); margin: 6px 0 0; }

/* Video-Bühne hält das Seitenverhältnis (höhenbasiert → passt auch im Hochformat) */
.video-stage {
  position: relative;
  aspect-ratio: var(--video-aspect);
  height: min(56svh, 540px);
  max-width: 100%;
  flex: 0 0 auto;
  background: #000;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-lg);
}
.video-player,
.video-stage .video-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}

/* Schließen-Button in der oberen Ecke des Videos */
.video-close {
  position: absolute; top: 10px; right: 10px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); color: var(--ink-900); border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card); z-index: 2;
  transition: background 150ms ease;
}
.video-close:hover { background: #fff; }
.video-close:focus-visible { outline: 3px solid var(--sen-yellow); outline-offset: 2px; }

/* CTA unter dem Video */
.video-foot { width: 100%; text-align: center; flex: 0 0 auto; }
.video-foot .video-cta { padding: 18px 26px; font-size: 16px; }
.video-foot .video-micro {
  display: block; margin-top: 10px;
  font: 600 12px/16px var(--font-body); color: rgba(255, 255, 255, 0.66);
  letter-spacing: 0.04em;
}
