/* =========================================================================
   Osmium Group — Premium Dark Theme
   Palette: Tiefschwarz · Platin-Silber · Osmium-Blau · metallischer Verlauf
   ========================================================================= */

:root {
  --bg: #0A0C12;
  --bg-2: #0B0E15;
  --surface: #13171F;
  --surface-2: #171C27;
  --border: #232B38;
  --border-soft: #1A2029;
  --text: #ECEFF3;
  --text-muted: #98A2B2;
  --text-dim: #6A7384;
  --accent: #56C6E6;        /* Osmium-Blau */
  --accent-2: #9FB3C8;      /* Platin */
  --accent-deep: #2C9CC0;
  --gold: #CBA86A;
  --good: #5BD6A6;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --maxw: 1180px;
  --shadow: 0 14px 44px -16px rgba(0,0,0,.65);
  --shadow-glow: 0 0 0 1px rgba(86,198,230,.14), 0 26px 70px -26px rgba(86,198,230,.32);
  --ease: cubic-bezier(.4,0,.2,1);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

/* ----------------------------------------------------------- Reset/Base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: #8AD9F0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
strong { color: #F4F7FA; font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 820px; }

.grad {
  background: linear-gradient(118deg, #B7ECF8 0%, #56C6E6 32%, #9FB3C8 68%, #EAF1F6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--accent); color: #06121A; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: 12px; }

/* ----------------------------------------------------------- Buttons */
.btn {
  --pad: 13px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; line-height: 1.2;
  padding: var(--pad); border-radius: 11px; font-weight: 650; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.btn--cta {
  background: linear-gradient(120deg, #6FD2EE 0%, #56C6E6 45%, #3FB6D8 100%);
  color: #04141C; box-shadow: 0 10px 30px -10px rgba(86,198,230,.55);
}
.btn--cta:hover { color: #04141C; transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(86,198,230,.7); }
.btn--ghost {
  background: rgba(255,255,255,.02); color: var(--text); border-color: var(--border);
}
.btn--ghost:hover { color: var(--text); border-color: var(--accent); background: rgba(86,198,230,.06); }
.btn--lg { --pad: 12px 30px; font-size: 1.05rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 700;
  color: var(--accent); margin-bottom: 14px;
}
.lead { font-size: 1.16rem; color: var(--text-muted); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; margin-top: 8px; }
.link-arrow:hover { gap: .7em; }

/* Icons — Open-Source (Lucide, MIT), inline SVG, currentColor */
.icn { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.15em; flex: none; }
.card__icon svg { width: 26px; height: 26px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ----------------------------------------------------------- Topbar */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,12,18,.72); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.topbar--scrolled { background: rgba(8,10,15,.92); box-shadow: 0 8px 30px -14px rgba(0,0,0,.8); border-color: var(--border); }
.topbar__inner { max-width: var(--maxw); margin-inline: auto; padding: 13px 24px; display: flex; align-items: center; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-weight: 800; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: radial-gradient(120% 120% at 30% 20%, #1b2230, #0c0f16);
  border: 1px solid var(--border); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  background-clip: padding-box;
}
.brand__mark { color: transparent; background-image: linear-gradient(120deg,#56C6E6,#9FB3C8); -webkit-background-clip: text; background-clip: text; box-shadow: inset 0 0 0 1px var(--border); }
.brand__name { font-size: 1.18rem; text-transform: uppercase; letter-spacing: .03em; }
.brand__accent { color: var(--accent); }

.topbar__nav { display: flex; gap: 2px; margin-left: 4px; }
.topbar__nav a { color: var(--text-muted); font-weight: 550; font-size: .92rem; padding: 7px 10px; border-radius: 8px; white-space: nowrap; }
.topbar__nav a:hover { color: var(--text); background: rgba(255,255,255,.04); }
/* Sprach-Umschalter (DE|EN-Segment mit SVG-Flaggen) */
.lang-switch { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.02); }
.topbar__inner > .lang-switch { margin-left: auto; }
.lang-switch__opt { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--text-dim); letter-spacing: .03em; }
.lang-switch__opt:hover { color: var(--text); }
.lang-switch__opt.is-active { background: rgba(86,198,230,.16); color: var(--text); }
.flag { width: 20px; height: 14px; border-radius: 3px; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); display: inline-block; vertical-align: -.18em; }
/* Header-CTA in DE & EN gleich breit */
.topbar__cta { min-width: 170px; justify-content: center; }

/* CCM19-Banner an die Brand angleichen (CCM19 = Light-DOM, also per CSS stylebar) */
.ccm-modal, .ccm-modal-inner { border-radius: var(--radius-lg) !important; }
.ccm-modal-inner { overflow: hidden; }
.ccm-widget--buttons .button, .ccm--action-buttons .ccm--small,
.ccm--button-primary, .ccm--save-settings, .ccm--decline-cookies,
.ccm-modal--close { border-radius: 11px !important; }
/* CCM19: Floating-Badge (unten links) ausblenden — erneutes Öffnen via Footer-Link "Cookie-Einstellungen" */
.ccm-settings-summoner.ccm-show { display: none !important; }

.topbar__burger { display: none; margin-left: auto; width: 44px; height: 40px; background: none; border: 1px solid var(--border); border-radius: 9px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; cursor: pointer; }
.topbar__burger span { width: 19px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .26s var(--ease), opacity .2s var(--ease); }
body.nav-open .topbar__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .topbar__burger span:nth-child(2) { opacity: 0; }
body.nav-open .topbar__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; }

/* ----------------------------------------------------------- Hero */
.hero { position: relative; padding: clamp(60px, 9vw, 120px) 0 clamp(50px, 7vw, 92px); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at 70% 30%, rgba(86,198,230,.18), rgba(86,198,230,.05) 40%, transparent 62%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; opacity: .24; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,18,.70), rgba(10,12,18,.90) 72%, var(--bg)); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.35rem); margin: 6px 0 20px; line-height: 1.14; }
.hero .lead { max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__trust { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.hero__trust li { color: var(--text-muted); font-size: .96rem; display: flex; align-items: center; gap: 10px; }
.hero__trust span { color: var(--accent); }

/* Hero glass panel */
.hero__panel {
  background: linear-gradient(165deg, rgba(23,28,39,.92), rgba(15,18,26,.92));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-glow); backdrop-filter: blur(8px);
}
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel__label { color: var(--text-muted); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; }
.panel__badge { font-size: .8rem; font-weight: 700; color: var(--good); background: rgba(91,214,166,.1); border: 1px solid rgba(91,214,166,.25); padding: 4px 10px; border-radius: 999px; }
.panel__price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 2px; }
.panel__value { font-size: clamp(2.4rem, 6vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; }
.panel__value { background: linear-gradient(120deg,#EAF1F6,#9FB3C8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.panel__unit { color: var(--text-muted); font-weight: 600; }
.panel__note { color: var(--text-dim); font-size: .85rem; margin-bottom: 20px; }
.panel__facts { display: grid; gap: 14px; border-top: 1px solid var(--border-soft); padding-top: 18px; }
.panel__facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.panel__facts dt { color: var(--text-muted); font-size: .92rem; }
.panel__facts dd { text-align: right; font-weight: 700; }
.panel__facts small { display: block; color: var(--text-dim); font-weight: 400; font-size: .76rem; }
.panel__link { display: inline-block; margin-top: 20px; font-weight: 650; font-size: .95rem; }

/* ----------------------------------------------------------- Stats bar */
.stats { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 18px; text-align: center; border-left: 1px solid var(--border-soft); }
.stat:first-child { border-left: none; }
.stat__num { display: block; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.stat__label { display: block; color: var(--text-muted); font-size: .9rem; margin-top: 6px; line-height: 1.4; }

/* ----------------------------------------------------------- Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--surface { background: var(--surface); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section--center { text-align: center; }
.section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section p { color: var(--text-muted); }
.section .section__head p { font-size: 1.1rem; margin-top: 12px; }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split__text h2 { margin-bottom: 18px; }
.split__text p { margin-bottom: 16px; }
.feature-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.feature-list li {
  position: relative; padding: 16px 18px 16px 48px; background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); color: var(--text-muted);
}
.feature-list li::before {
  content: "◆"; position: absolute; left: 18px; top: 16px; color: var(--accent); font-size: .9rem;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 20px; }
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 28px 24px; transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(86,198,230,.4); box-shadow: var(--shadow-glow); }
.card__icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; font-size: 1.4rem;
  background: rgba(86,198,230,.08); border: 1px solid rgba(86,198,230,.2); margin-bottom: 18px; color: var(--accent);
}
.card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.card p { color: var(--text-muted); font-size: .98rem; }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.compare thead th { background: var(--surface-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.compare thead th:nth-child(2) { color: var(--accent); }
.compare tbody tr:last-child td { border-bottom: none; }
.compare td:first-child { color: var(--text-muted); font-weight: 600; }
.compare .good { color: var(--good); font-weight: 650; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.step { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 28px 24px; }
.step__n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 800; font-size: 1.2rem;
  background: rgba(86,198,230,.1); border: 1px solid rgba(86,198,230,.3); color: var(--accent); margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: .98rem; }

/* CTA band — zentrierter, eigenständiger Handlungsaufruf (kein Dead-Space) */
.cta-band {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 12px 26px; flex-wrap: wrap;
  text-align: center; margin-top: clamp(34px, 5vw, 50px);
  background:
    radial-gradient(130% 170% at 50% -10%, rgba(86,198,230,.12), transparent 62%),
    linear-gradient(120deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 36px) clamp(24px, 4vw, 40px);
}
.cta-band p { font-size: clamp(1.12rem, 2.2vw, 1.32rem); font-weight: 700; color: var(--text); }
.cta-band .cta-wrap { align-items: center; }

/* FAQ */
.faq { display: grid; gap: 0; }
.faq__item { border-bottom: 1px solid var(--border-soft); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 4px; position: relative; font-weight: 700; font-size: 1.08rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400;
  color: var(--accent); transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { content: "−"; }
.faq__body { padding: 0 4px 24px; }
.faq__body p { color: var(--text-muted); }

/* Final CTA */
.cta-final { position: relative; text-align: center; padding: clamp(70px, 10vw, 130px) 0; overflow: hidden; border-top: 1px solid var(--border-soft); }
.cta-final__glow { position: absolute; inset: auto 0 -40% 0; height: 80%; margin-inline: auto; width: 80%; max-width: 800px; background: radial-gradient(ellipse at center, rgba(86,198,230,.2), transparent 65%); filter: blur(10px); pointer-events: none; }
.cta-final h2 { position: relative; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 18px; }
.cta-final .lead { position: relative; max-width: 620px; margin: 0 auto 32px; }
.cta-final .btn { position: relative; }

/* ----------------------------------------------------------- Footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: clamp(48px, 6vw, 76px) 0 0; }
.footer__inner { max-width: var(--maxw); margin-inline: auto; padding: 0 24px clamp(36px, 4vw, 52px); display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand p { color: var(--text-muted); font-size: .95rem; margin-top: 16px; max-width: 34ch; }
.brand--footer { margin-bottom: 4px; }
.footer__col h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin-bottom: 16px; font-weight: 700; }
.footer__col a { display: block; color: var(--text-muted); padding: 5px 0; font-size: .96rem; }
.footer__col a:hover { color: var(--accent); }
.footer__disclosure { border-top: 1px solid var(--border-soft); }
.footer__disclosure p { max-width: var(--maxw); margin-inline: auto; padding: 22px 24px; color: var(--text-dim); font-size: .82rem; line-height: 1.6; }
.footer__base { border-top: 1px solid var(--border-soft); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: var(--maxw); margin-inline: auto; padding: 18px 24px; color: var(--text-dim); font-size: .85rem; }

/* Page (404 etc.) */
.page-narrow .section { min-height: 62vh; display: grid; place-items: center; }
.page-narrow h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 10px 0 14px; }

/* ----------------------------------------------------------- Subpages */
.breadcrumb { border-bottom: 1px solid var(--border-soft); background: var(--bg-2); }
.breadcrumb .container { padding-block: 12px; font-size: .85rem; color: var(--text-dim); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-hidden] { margin: 0 5px; color: var(--text-dim); }

.page-hero { position: relative; padding: clamp(44px, 6vw, 78px) 0 clamp(34px, 4vw, 54px); overflow: hidden; }
.page-hero__glow { position: absolute; inset: -30% -10% auto auto; width: 60vw; max-width: 760px; height: 60vw; max-height: 760px; background: radial-gradient(circle at 70% 30%, rgba(86,198,230,.16), transparent 60%); filter: blur(20px); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.85rem, 4vw, 2.85rem); margin: 6px 0 18px; max-width: 20ch; line-height: 1.14; }
.page-hero .lead { max-width: 62ch; }
.page-hero .hero__cta { margin-top: 28px; align-items: flex-start; }

.cta-wrap { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cta-wrap--center { align-items: center; }
.ad-tag { font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; color: var(--text-dim); }

.steps--4 { grid-template-columns: repeat(4, 1fr); }

.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { padding-left: 1.2em; display: grid; gap: .5em; }
.prose a { font-weight: 600; }

.callout { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 18px 22px; color: var(--text-muted); }
.callout--warn { border-left-color: var(--gold); }
.callout strong { color: var(--text); }

@media (max-width: 860px) { .steps--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps--4 { grid-template-columns: 1fr; } }

/* Preis-Seite */
.price-now { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; background: linear-gradient(165deg, rgba(23,28,39,.92), rgba(15,18,26,.92)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 30px; box-shadow: var(--shadow-glow); margin: 28px 0 0; max-width: 640px; }
.price-now__value { font-size: clamp(2.3rem, 6vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; background: linear-gradient(120deg,#EAF1F6,#9FB3C8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-now__unit { color: var(--text-muted); font-weight: 600; font-size: 1rem; margin-left: 6px; }
.price-now__meta { color: var(--text-dim); font-size: .86rem; margin-top: 8px; }
.price-now__badge { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--good); background: rgba(91,214,166,.1); border: 1px solid rgba(91,214,166,.25); padding: 7px 13px; border-radius: 999px; }
.price-now__badge svg { width: 15px; height: 15px; }

.price-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-timeline__item { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 26px 24px; }
.price-timeline__year { color: var(--accent); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.price-timeline__price { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 6px; }
.price-timeline__note { color: var(--text-muted); font-size: .92rem; }
@media (max-width: 760px) { .price-timeline { grid-template-columns: 1fr; } }

/* Media / Galerie */
.media-figure { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.media-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-figure { aspect-ratio: 4 / 5; max-height: 560px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 18px; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-soft); background: var(--bg-2); transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.gallery figure:hover { transform: translateY(-5px); border-color: rgba(86,198,230,.5); box-shadow: var(--shadow-glow); }
.gallery img { width: 100%; height: 272px; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 34px 16px 15px; color: #fff; font-size: .93rem; font-weight: 600; letter-spacing: .01em; background: linear-gradient(to top, rgba(7,9,13,.94), rgba(7,9,13,.5) 58%, transparent); }
.gallery figcaption::before { content: ""; position: absolute; left: 16px; top: 18px; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; opacity: .9; }

/* 2-spaltiger Subpage-Hero (Text + Visual rechts) */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hero-grid h1, .hero-grid .lead { max-width: none; }
.hero-grid__visual { width: 100%; }

/* Mini-Faktenkarte (Glas) für Heroes ohne Bild */
.factcard { background: linear-gradient(165deg, rgba(23,28,39,.92), rgba(15,18,26,.92)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-glow); }
.factcard h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 18px; }
.factcard dl { display: grid; gap: 14px; margin: 0; }
.factcard dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--border-soft); padding-bottom: 12px; }
.factcard dl > div:last-child { border-bottom: none; padding-bottom: 0; }
.factcard dt { color: var(--text-muted); }
.factcard dd { font-weight: 700; text-align: right; margin: 0; }
.factcard dd small { display: block; color: var(--text-dim); font-weight: 400; font-size: .76rem; }

/* Preisentwicklung — Säulen-Chart */
.pchart-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.pchart { display: flex; align-items: flex-end; gap: clamp(8px, 2vw, 24px); height: 320px; min-width: 640px; padding: 46px 22px 0; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-radius: var(--radius-lg); }
.pchart__col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.pchart__bar { width: 100%; max-width: 86px; border-radius: 9px 9px 0 0; background: linear-gradient(180deg, #7BD8F0, #2C9CC0); position: relative; box-shadow: 0 0 34px -8px rgba(86,198,230,.55); }
.pchart__bar--start { background: linear-gradient(180deg, #3a4250, #232a36); box-shadow: none; }
.pchart__bar::before { content: attr(data-val); position: absolute; top: -26px; left: -10px; right: -10px; text-align: center; font-weight: 800; font-size: .8rem; color: var(--text); white-space: nowrap; }
.pchart__year { margin-top: 14px; font-weight: 700; }
.pchart__year small { display: block; color: var(--text-dim); font-size: .78rem; font-weight: 400; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .pchart { height: 240px; gap: 14px; padding: 36px 16px 0; } }

/* Tab-Galerie */
.gtabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.gtab { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); font-weight: 650; font-size: .95rem; cursor: pointer; transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.gtab:hover { color: var(--text); border-color: var(--accent); }
.gtab.is-active { background: linear-gradient(120deg, #6FD2EE, #3FB6D8); color: #04141C; border-color: transparent; box-shadow: 0 8px 22px -10px rgba(86,198,230,.6); }
.gpanel[hidden] { display: none; }

/* ----------------------------------------------------------- Responsive */
@media (max-width: 980px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .topbar__nav, .topbar__cta, .topbar__inner > .lang-switch { display: none; }
  .topbar__burger { display: flex; }
  .mobile-nav:not([hidden]) {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; inset: 63px 0 0 0; z-index: 99;
    background: rgba(8,10,15,.98); backdrop-filter: blur(16px) saturate(140%);
    padding: 20px 24px 32px; overflow-y: auto; animation: navIn .22s var(--ease);
  }
  @keyframes navIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  .mobile-nav .lang-switch { width: 100%; margin: 16px 0 6px; padding: 4px; }
  .mobile-nav .lang-switch__opt { flex: 1; justify-content: center; padding: 11px; font-size: .95rem; border-radius: 999px; }
  .mobile-nav a { color: var(--text); padding: 12px 8px; border-radius: 8px; font-weight: 600; }
  .mobile-nav a:not(.btn):hover { background: rgba(255,255,255,.05); }
  .mobile-nav .btn--cta { margin-top: 10px; padding-block: 13px; }
  .mobile-nav .btn--cta:hover { transform: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: -1; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border-soft); }
  .cta-band { align-items: center; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--border-soft); }
  .stat:first-child { border-top: none; }
}

/* Mobile-CTAs: kein Overflow, volle Breite, umbruchfähig */
@media (max-width: 560px) {
  .btn { white-space: normal; }
  .hero__cta, .hero__cta > .btn, .hero__cta > .cta-wrap, .hero__cta .cta-wrap .btn { width: 100%; }
  .cta-band .cta-wrap, .cta-band .cta-wrap .btn, .cta-band > .btn { width: 100%; }
}

/* Full-Bleed Bild-Showcase (Parallax) */
.showcase { position: relative; padding: clamp(100px, 15vw, 210px) 0; text-align: center; background-size: cover; background-position: center; border-block: 1px solid var(--border-soft); }
.showcase .container { position: relative; }
.showcase h2 { font-size: clamp(1.95rem, 4.6vw, 3.1rem); max-width: 18ch; margin: 8px auto 0; line-height: 1.12; }
.showcase p { max-width: 600px; margin: 18px auto 28px; color: var(--text-muted); font-size: 1.12rem; }
@media (min-width: 980px) { .showcase { background-attachment: fixed; } }

/* CTA-Final / Abschnitt mit Bild-Hintergrund */
.cta-final[style*="background-image"], .section[style*="background-image"] { background-size: cover; background-position: center; }

/* ----------------------------------------------------------- Motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* --------------------------------------------------- Scroll-Reveal (GSAP, progressiv) */
/* Inhalt wird nur ausgeblendet, wenn JS aktiv ist UND keine Reduced-Motion-Präferenz besteht.
   Lädt die Animations-Engine nicht, macht der Failsafe (.anim-failsafe) alles wieder sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  html.js :is(.section__head, .cards > .card, .steps > .step, .split > *, .factcard,
              .showcase .container > *, .cta-final .container > *, .faq__item, .table-wrap) {
    opacity: 0;
  }
}
html.anim-failsafe :is(.section__head, .cards > .card, .steps > .step, .split > *, .factcard,
            .showcase .container > *, .cta-final .container > *, .faq__item, .table-wrap) {
  opacity: 1 !important;
  transform: none !important;
}
.stat__num, .panel__value, .price-now__value, .pchart__bar::before { font-variant-numeric: tabular-nums; }
.hero__panel, .price-now { will-change: transform; }

/* ============================ Premium-Feinschliff ============================ */
/* Display-Font (self-hosted, variabel) — gibt der Seite eigenständigen Charakter */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}
:root { --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3,
.brand__name, .eyebrow,
.stat__num, .panel__value, .price-now__value, .price-timeline__price,
.pchart__bar::before, .faq__item summary, .step__n {
  font-family: var(--font-display);
}
h1, h2 { letter-spacing: -.032em; }

/* Metallischer Schimmer auf Gradient-Headlines */
.grad {
  background: linear-gradient(110deg, #CDEFF9 0%, #56C6E6 26%, #9FB3C8 50%, #EAF1F6 70%, #56C6E6 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShimmer 9s ease-in-out infinite alternate;
}
@keyframes gradShimmer { to { background-position: 100% 0; } }
/* Farbverlauf-Wörter in Überschriften kursiv (editorialer Akzent) */
:is(h1, h2, h3) .grad { font-style: italic; }

/* CTA-Button: dezenter Glanz-Sweep beim Hover */
.btn--cta { position: relative; overflow: hidden; isolation: isolate; }
.btn--cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -130%; width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.btn--cta:hover::after { animation: ctaShine .8s var(--ease) forwards; }
@keyframes ctaShine { to { left: 140%; } }

/* Card-Icon Mikro-Interaktion */
.card__icon { transition: transform .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease); }
.card:hover .card__icon { transform: translateY(-3px) scale(1.07); background: rgba(86,198,230,.16); border-color: rgba(86,198,230,.5); }

/* Osmium-Formen — Produkt-Kacheln (helle Bildfläche auf dunklem Grund) */
.formgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 880px) { .formgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .formgrid { grid-template-columns: 1fr; } }
.formcard { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-soft); background: linear-gradient(180deg, var(--surface-2), var(--surface)); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.formcard:hover { transform: translateY(-4px); border-color: rgba(86,198,230,.4); box-shadow: var(--shadow-glow); }
.formcard__img { aspect-ratio: 1 / 1; background: #fff; }
.formcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.formcard__body { padding: 15px 18px 18px; }
.formcard__body h3 { font-size: 1.05rem; margin-bottom: 5px; }
.formcard__body p { color: var(--text-muted); font-size: .9rem; line-height: 1.5; }
.study__meta { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.study__meta svg { width: 14px; height: 14px; }

/* Film-Grain-Overlay für Tiefe (sehr dezent, klickt nicht) */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
