/* ==========================================================================
   FinReg Swiss – Stylesheet
   Layout & Effekte nach BlancBlock-Vorlage, Farben & Schrift nach FinReg-Branding
   ========================================================================== */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand */
  --blue: #0041e8;
  --blue-700: #0034ba;
  --blue-300: #7a9bee;
  --blue-100: #d0dcf0;
  --blue-50: #eef3fd;
  --navy: #002b54;
  --ink: #000014;
  --slate: #6b7c99;
  --slate-300: #a8b5c8;

  /* UI */
  --text: #0b1530;
  --text-muted: #4a5875;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --line: #e4e9f2;
  --success: #16a34a;
  --danger: #ef4444;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0, 20, 60, .06);
  --shadow: 0 10px 30px -12px rgba(0, 30, 90, .18);
  --shadow-lg: 0 30px 60px -20px rgba(0, 40, 120, .28);

  --brand: #0041e8;          /* gefüllte Flächen mit weisser Schrift */
  --surface: #ffffff;        /* Karten, Header, Eingabefelder */
  --header-bg: rgba(255, 255, 255, .92);
  --tile-bg: #ffffff;        /* Kundenlogo-Kacheln */
  --ok-bg: #e8f7ee;
  --no-bg: #fdecec;

  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
h1, h2, h3, h4, p, li, summary { overflow-wrap: break-word; }
@media (max-width: 720px) { h2, h3 { -webkit-hyphens: auto; hyphens: auto; } }
.grid > *, .modules > *, .num-list > *, .hero-grid > *, .feature > *, .split > *, .pricing > *, .faq-layout > *, .steps > *, .footer-grid > * { min-width: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; overflow-x: clip; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 72px 0; }
.text-blue { color: var(--blue); }
.muted { color: var(--text-muted); }
.center { text-align: center; }

/* Eyebrow label (BlancBlock „WALLET“-Label) */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue);
  font-size: .85rem; font-weight: 600;
  border: 1px solid var(--blue-100);
}
.badge--dark { background: rgba(122, 155, 238, .16); color: #c9d7fb; border-color: rgba(122, 155, 238, .35); }
.pill {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }
.section-head--left { margin-left: 0; text-align: left; }
.lead { font-size: 1.15rem; color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 65, 232, .55); }
.btn--primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(0, 65, 232, .6); }
.btn--outline { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--light { background: #fff; color: #0041e8; }
.btn--light:hover { background: var(--blue-50); color: var(--blue-700); transform: translateY(-2px); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0, 30, 90, .35); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }
.main-nav { flex: 1; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav a, .nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  color: var(--text); font-weight: 500; font-size: .98rem;
  background: none; border: 0; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.main-nav a:hover, .nav-dropdown-toggle:hover, .main-nav a[aria-current="page"], .nav-dropdown.is-active > .nav-dropdown-toggle { color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.nav-dropdown.is-open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 270px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown.is-open .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: flex; width: 100%; padding: 10px 14px; border-radius: 8px; }
.dropdown-menu a:hover, .dropdown-menu a[aria-current="page"] { background: var(--blue-50); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .25s, background-color .25s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 72px; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(1.9rem, 2.7vw, 2.3rem); line-height: 1.15; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(0, 65, 232, .08), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(122, 155, 238, .10), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin: 16px 0 14px; }
.hero .lead { max-width: 560px; }
.checklist { list-style: none; display: grid; gap: 10px; margin: 22px 0 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230041e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.hero-sub { font-weight: 700; font-size: 1.05rem; margin: 18px 0 0; }
.hero .checklist { gap: 8px; margin-top: 14px; }
.hero .btn-row { margin-top: 24px; }

/* Sub-page hero (kompakter) */
.page-hero { padding: 80px 0 72px; position: relative; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 420px at 90% 0%, rgba(0, 65, 232, .10), transparent 60%);
}
.page-hero .hero-grid { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 14px 0 18px; }

/* ---------- Hero-Illustration (BlancBlock-Stil: schwebende Karten + Ringe) ---------- */
.art { position: relative; aspect-ratio: 1 / .92; width: 100%; max-width: 560px; margin-left: auto; }
.art-rings { position: absolute; inset: 4%; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(0, 65, 232, .07) 0 1px, transparent 1px 38px); -webkit-mask: radial-gradient(circle, #000 55%, transparent 72%); mask: radial-gradient(circle, #000 55%, transparent 72%); }
.art-glow { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(0, 65, 232, .18), transparent 70%); filter: blur(10px); }
.art-card {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 18px;
}
.art-main { left: 12%; right: 12%; top: 20%; }
.art-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; margin-bottom: 14px; }
.art-title img { width: 22px; height: auto; }
.art-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: .82rem; color: var(--text-muted); }
.art-bar { height: 6px; border-radius: 6px; background: var(--blue-50); overflow: hidden; margin-top: 6px; }
.art-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--blue), var(--blue-300)); }
.art-ok { width: 22px; height: 22px; border-radius: 50%; background: var(--ok-bg); color: var(--success); display: grid; place-items: center; }
.art-ok svg { width: 13px; height: 13px; }
.art-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; white-space: nowrap;
}
.art-chip .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.art-chip .ico svg { width: 18px; height: 18px; }
.art-chip small { display: block; font-weight: 500; color: var(--text-muted); font-size: .75rem; }
.art-icon {
  position: absolute; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), #3a6cf0); color: #fff; box-shadow: 0 12px 24px -10px rgba(0, 65, 232, .6);
}
.art-icon svg { width: 22px; height: 22px; }
.art-icon--navy { background: linear-gradient(135deg, var(--navy), #0b3f75); }
.art-icon--light { background: var(--surface); color: var(--blue); border: 1px solid var(--line); box-shadow: var(--shadow); }
.float { animation: float 6s ease-in-out infinite; }
.float--2 { animation-duration: 7s; animation-delay: -2s; }
.float--3 { animation-duration: 8s; animation-delay: -4s; }
.float--4 { animation-duration: 6.5s; animation-delay: -1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.spin-slow { animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Feature rows (BlancBlock: Text/Bild abwechselnd) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature--reverse .feature-media { order: -1; }
.feature-media { position: relative; }
.feature h2 { margin-bottom: 18px; }
.feature p { color: var(--text-muted); }
.feature .checklist { margin-bottom: 8px; }

.photo-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--blue-50); max-width: 440px; margin: 0 auto; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-deco { position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px; border-radius: 28px; background: linear-gradient(135deg, var(--blue), var(--blue-300)); opacity: .9; z-index: -1; }
.photo-wrap { position: relative; isolation: isolate; max-width: 440px; margin: 0 auto; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 18px; list-style: none; }
.tag-list li { padding: 6px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-weight: 600; font-size: .88rem; border: 1px solid var(--blue-100); }
.meta-links { display: flex; flex-direction: column; gap: 6px; font-size: .95rem; }
.meta-links a { font-weight: 600; }

/* ---------- Karten / Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); margin: 0; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: var(--blue-50); color: var(--blue); transition: background-color .3s, color .3s; }
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--brand); color: #fff; }

/* Karte mit Bildkopf (BlancBlock-Produktraster) */
.card-media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-media .media-top {
  position: relative; height: 190px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 70%, var(--blue-300) 130%);
  display: grid; place-items: center; color: #fff;
}
.card-media .media-top::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 80% 120%, rgba(255, 255, 255, .09) 0 1px, transparent 1px 28px); }
.card-media .media-top svg { width: 64px; height: 64px; position: relative; transition: transform .5s var(--ease); }
.card-media:hover .media-top svg { transform: scale(1.12) rotate(-4deg); }
.card-media .media-top .media-label { position: absolute; left: 20px; bottom: 16px; font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.card-media .media-body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.card-media .media-body p { flex: 1; margin-bottom: 22px; }

/* Justin-Stil: Nutzenkarte mit grosser Überschrift + Icon (hell interpretiert) */
.benefit-card { display: grid; grid-template-columns: 96px 1fr; gap: 28px; align-items: start; padding: 40px; }
.benefit-card h3 { font-size: 1.5rem; }
.benefit-card .card-icon { width: 80px; height: 80px; border-radius: 22px; margin: 0; background: linear-gradient(135deg, var(--blue-50), var(--surface)); border: 1px solid var(--blue-100); }
.benefit-card .card-icon svg { width: 38px; height: 38px; }

/* Referenzen / Logos */
.logo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: center; }
.logo-tile { display: grid; place-items: center; height: 120px; padding: 24px 28px; background: var(--tile-bg); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.logo-tile img { max-height: 46px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .7; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.logo-tile:hover img { filter: none; opacity: 1; }

/* Statement */
.statement { max-width: 860px; margin: 64px auto 0; text-align: center; font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 600; line-height: 1.45; color: var(--text); }
.statement::before { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--brand); margin: 0 auto 24px; }

/* ---------- Dunkle Banner-Karte (BlancBlock „Coming soon“-Karten) ---------- */
.banner {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: 56px;
  background: linear-gradient(120deg, var(--ink) 0%, #061a46 55%, #0a2f86 100%);
  color: #dbe4f7;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.banner::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 65, 232, .55), transparent 65%); }
.banner::after { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 22px); }
.banner h2, .banner h3 { color: #fff; margin: 14px 0 10px; }
.banner p { margin: 0; color: #b9c7e6; max-width: 640px; }
.banner--purple { background: linear-gradient(120deg, #06103a 0%, #0b2a8a 60%, var(--blue) 120%); }

/* Abschluss-CTA (Justin: grosse Karte, ein Button) */
.cta-final {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  border-radius: 28px; padding: 88px 32px;
  background: linear-gradient(135deg, var(--blue) 0%, #0a36c0 50%, var(--navy) 100%);
  color: #fff;
}
.cta-final::before { content: ""; position: absolute; z-index: -1; inset: -40%; background: repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .07) 0 1px, transparent 1px 46px); animation: spin 120s linear infinite; }
.cta-final h2 { color: #fff; max-width: 820px; margin: 0 auto 30px; }
.cta-final img.cta-mark { width: 52px; margin: 0 auto 24px; }

/* ---------- Vergleichstabelle ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 22px; text-align: center; border-bottom: 1px solid var(--line); font-size: .98rem; }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 500; }
.compare thead th { font-weight: 700; background: var(--bg-soft); }
.compare tr:last-child td { border-bottom: 0; }
.compare .is-us { background: var(--blue-50); color: var(--blue); }
.compare thead .is-us { background: var(--brand); color: #fff; }
.compare .yes, .compare .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.compare .yes { background: var(--ok-bg); color: var(--success); }
.compare .no { background: var(--no-bg); color: var(--danger); }
.compare .yes svg, .compare .no svg { width: 15px; height: 15px; }
.compare .partly { font-weight: 700; font-size: .9rem; color: var(--text-muted); }

/* ---------- 3 Schritte (Justin: „Step“-Reiter über Karte) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 46px; }
.step-tab {
  position: absolute; top: 0; left: 0; height: 58px; padding: 12px 26px 0; border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--blue-100), rgba(208, 220, 240, 0));
  color: var(--blue); font-weight: 700; font-size: 1.05rem; width: 70%;
}
.step .card { height: 100%; border-top-left-radius: 0; display: flex; flex-direction: column; }
.step .card p { flex: 1; margin-bottom: 18px; }
.step-num { position: absolute; right: 24px; top: 18px; font-size: 3.5rem; font-weight: 800; line-height: 1; color: var(--blue-50); letter-spacing: -.04em; pointer-events: none; }

/* ---------- Module ---------- */
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.module { padding: 30px; }
.module-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.module-no { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.15rem; }
.module-head small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.module-head h3 { margin: 0; font-size: 1.2rem; }
.module > p { font-size: .96rem; }
.module-learn { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.module-learn strong { display: block; font-size: .85rem; margin-bottom: 8px; }
.module-learn ul { list-style: none; display: grid; gap: 6px; }
.module-learn li { position: relative; padding-left: 20px; font-size: .93rem; color: var(--text-muted); }
.module-learn li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--blue-300); }

/* ---------- Nummerierte Liste (Rechtslage) ---------- */
.num-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.num-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; }
.num-item .n { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; background: var(--brand); color: #fff; box-shadow: 0 12px 24px -12px rgba(0, 65, 232, .7); }

.note {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 26px 28px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100);
  margin-top: 40px;
}
.note .card-icon { margin: 0; background: var(--brand); color: #fff; width: 44px; height: 44px; }
.note p { margin: 0; }
.source { font-size: .88rem; color: var(--text-muted); margin-top: 14px; }

/* ---------- Preisrechner ---------- */
.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.pricing-calc { padding: 40px; }
.pricing-calc .eyebrow { margin-bottom: 18px; }
.calc-team { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.calc-team strong { font-size: 1.4rem; }
.calc-segment { color: var(--text-muted); font-size: .95rem; min-height: 1.6em; }
.range { width: 100%; margin: 26px 0 8px; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--blue) var(--p, 6%), var(--blue-50) var(--p, 6%)); outline-offset: 6px; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 6px solid var(--blue); box-shadow: 0 6px 16px -4px rgba(0, 65, 232, .6); transition: transform .15s; }
.range::-webkit-slider-thumb:hover { transform: scale(1.1); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 6px solid var(--blue); box-shadow: 0 6px 16px -4px rgba(0, 65, 232, .6); }
.range-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--text-muted); }
.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.calc-box { padding: 22px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.calc-box--main { background: var(--brand); color: #fff; border-color: var(--blue); }
.calc-box small { display: block; font-size: .85rem; opacity: .8; }
.calc-box .val { display: block; font-size: clamp(1.45rem, 2.3vw, 1.85rem); font-weight: 800; letter-spacing: -.02em; margin: 4px 0; white-space: nowrap; }
.calc-box .val .unit { font-size: .55em; font-weight: 600; opacity: .85; letter-spacing: 0; }
.pricing-incl { padding: 40px; background: linear-gradient(160deg, var(--ink), #082063); color: #dbe4f7; border: 0; }
.pricing-incl:hover { border: 0; }
.pricing-incl .eyebrow { color: var(--blue-300); }
.incl-list { list-style: none; display: grid; }
.incl-list { margin-bottom: 28px; }
.incl-list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 1rem; color: #e6ecf9; }
.incl-list li svg { width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 50%; background: rgba(122, 155, 238, .2); color: #a9c0ff; }
.pricing-intro { max-width: 820px; margin: 0 auto 48px; text-align: center; color: var(--text-muted); }

/* ---------- FAQ + Kontaktkarte (BlancBlock „Contact Us“) ---------- */
.faq-layout { display: grid; grid-template-columns: 1.35fr .9fr; gap: 28px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--blue-100); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 24px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); transition: transform .3s var(--ease), background-color .2s, color .2s; }
.faq-item summary .chev svg { width: 16px; height: 16px; }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--brand); color: #fff; }
.faq-body { padding: 0 24px 22px; color: var(--text-muted); }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body a { font-weight: 600; }
.contact-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 36px; }
.contact-card h3 { font-size: 1.5rem; }
.contact-line { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--text); font-weight: 500; }
.contact-line .card-icon { width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.contact-line .card-icon svg { width: 20px; height: 20px; }
.contact-card .btn { width: 100%; margin-top: 12px; }

/* Segment-Weiche „Nicht das richtige Segment?“ */
.segment-links { display: grid; gap: 8px; }
.segment-links a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }

/* ---------- Text-Blöcke ---------- */
.prose { max-width: 820px; }
.container.prose, .container--narrow { max-width: 868px; }
.prose p, .prose li { color: var(--text-muted); }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose strong { color: var(--text); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.quote {
  position: relative; margin: 32px 0; padding: 28px 32px 28px 36px; border-radius: var(--radius);
  background: var(--blue-50); border-left: 4px solid var(--blue); font-size: 1.2rem; font-weight: 600; color: var(--text); line-height: 1.5;
}
mark.placeholder { background: #fff3a3; color: #5b4a00; padding: 1px 6px; border-radius: 4px; font-weight: 700; }

/* Wort-Rotator (Education-Hero) */
.word-rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.3em; color: var(--blue); }
.word-rotator span { grid-area: 1 / 1; transform: translateY(110%); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.word-rotator span.is-active { transform: none; opacity: 1; }
.word-rotator span.is-leaving { transform: translateY(-110%); opacity: 0; }
.word-cloud { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 26px; }
.word-cloud li { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-sm); }

/* Produktkarten (Individuals) */
.product-card { display: flex; flex-direction: column; padding: 36px; }
.product-card .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.product-card h3 { font-size: 1.35rem; }
.product-card p { flex: 1; margin-bottom: 24px; font-size: .96rem; }
.price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.price s { color: var(--slate); font-size: 1.1rem; }
.price strong { font-size: 2.2rem; letter-spacing: -.02em; color: var(--blue); }
.social-proof { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }

/* Zertifikats-Mock */
.cert {
  position: relative; background: var(--surface); border-radius: 18px; padding: 34px; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  background-image: linear-gradient(135deg, rgba(0, 65, 232, .06), transparent 40%);
}
.cert::after { content: ""; position: absolute; inset: 10px; border: 1.5px solid var(--blue-100); border-radius: 12px; pointer-events: none; }
.cert-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.cert-head img { height: 26px; width: auto; }
.cert-seal { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.cert-seal svg { width: 28px; height: 28px; }
.cert ul { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.cert li { display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.cert li svg { width: 16px; height: 16px; color: var(--success); flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 80px 0 32px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.4fr; gap: 48px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--text-muted); max-width: 300px; }
.site-footer h4 { font-size: 1rem; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--blue); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: background-color .2s, color .2s, transform .2s; }
.social a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.newsletter p { color: var(--text-muted); }
.nl-form { display: grid; gap: 12px; }
.nl-row { display: flex; gap: 8px; }
.nl-row input[type="email"] { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; color: var(--text); transition: border-color .2s; }
.nl-row input[type="email"]:focus { outline: 0; border-color: var(--blue); }
.nl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--text-muted); line-height: 1.45; }
.nl-consent input { margin-top: 3px; accent-color: var(--blue); flex: none; }
.nl-msg { font-size: .9rem; min-height: 1.3em; margin: 0; }
.nl-msg.is-ok { color: var(--success); }
.nl-msg.is-err { color: var(--danger); }
.hp-field { position: absolute !important; left: -5000px !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding: 24px 64px 0 0; border-top: 1px solid var(--line); color: var(--text-muted); font-size: .9rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--blue); }

/* Back-to-top (BlancBlock) */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); }

/* ---------- Scroll-Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Logo hell/dunkel ---------- */
.logo-dark { display: none !important; }
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.cert-head img { height: 26px; width: auto; }

/* ---------- Sprachumschalter & Theme-Toggle ---------- */
.lang-switch { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--slate-300); }
.lang-switch a { color: var(--text-muted); padding: 4px 2px; }
.lang-switch a:hover { color: var(--blue); }
.lang-switch a[aria-current] { color: var(--blue); }
.theme-toggle {
  width: 40px; height: 40px; flex: none; border-radius: 10px; display: inline-grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: border-color .2s, color .2s;
}
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); }
.theme-toggle svg { width: 18px; height: 18px; grid-area: 1 / 1; }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* ---------- Hero-Video im Browser-Rahmen ---------- */
.hero-media { position: relative; }
.browser-frame { width: 100%; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.browser-frame[hidden], [data-hero-art][hidden] { display: none; }
.bf-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.bf-bar > span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; flex: none; }
.bf-bar > span:nth-child(2) { background: #febc2e; }
.bf-bar > span:nth-child(3) { background: #28c840; }
.bf-url { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; max-width: 300px; margin: 0 auto; padding: 4px 12px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--text-muted); font-size: .78rem; }
.bf-url svg { width: 12px; height: 12px; }
.browser-frame video { display: block; width: 100%; height: auto; aspect-ratio: 1120 / 592; object-fit: cover; background: #070b2a; }

/* ---------- Hero: Preiszeile & Video-Pause ---------- */
.hero-price { margin: 16px 0 0; font-size: .95rem; color: var(--text-muted); }
.hero-price strong { color: var(--text); }
.hero-price a { font-weight: 600; white-space: nowrap; }
.hero-login { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; font-size: .92rem; color: var(--text-muted); }
.hero-login svg { width: 15px; height: 15px; color: var(--blue); }
.hero-login a { font-weight: 600; }
.bf-screen { position: relative; }
.bf-pause {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(0, 0, 20, .6); color: #fff; opacity: .75; transition: opacity .2s, background-color .2s;
}
.bf-pause:hover, .bf-pause:focus-visible { opacity: 1; background: rgba(0, 0, 20, .85); }
.bf-pause svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.bf-pause .i-play, .bf-pause.is-paused .i-pause { display: none; }
.bf-pause.is-paused .i-play { display: block; }

/* ---------- Beweise: VQF-Zeile & Report-Vorschau ---------- */
.proof-line { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--blue-100); color: var(--text); font-weight: 600; font-size: .96rem; }
.proof-line svg { width: 22px; height: 22px; flex: none; color: var(--success); }
.doc-preview { position: relative; display: block; max-width: 460px; margin: 0 auto; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; transform: rotate(-1.5deg); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.doc-preview:hover { transform: rotate(0) translateY(-6px); }
.doc-preview img { display: block; width: 100%; height: auto; }
.doc-badge { position: absolute; top: 14px; right: 14px; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Kontaktkarte mit Ansprechperson ---------- */
.contact-person { display: flex; align-items: center; gap: 14px; margin: 6px 0 18px; }
.contact-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--blue-100); }
.contact-person strong { display: block; color: var(--text); }
.contact-person span { font-size: .9rem; color: var(--text-muted); }

/* ---------- Preise: Aktionen ---------- */
.incl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.incl-actions .btn { flex: 1 1 200px; }
.incl-hint { margin: 16px 0 0; font-size: .88rem; color: #b9c7e6; }

/* ---------- Produktkarten Einzelpersonen ---------- */
.product-incl { list-style: none; display: grid; gap: 8px; margin: 0 0 24px; }
.product-incl li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text); }
.product-incl svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--success); }
.price span { color: var(--text-muted); font-size: .95rem; }

.link-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }

/* ---------- Kontaktformular (Dialog) ---------- */
.contact-dialog {
  width: min(720px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); overflow: auto;
}
.contact-dialog::backdrop { background: rgba(0, 0, 20, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.contact-dialog[open] { animation: cd-in .25s var(--ease); }
@keyframes cd-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cd-inner { position: relative; padding: 30px 32px; }
.cd-inner h2 { font-size: 1.6rem; margin-bottom: 6px; }
.cd-form-wrap h2 { padding-right: 48px; }
.cd-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.cd-close:hover { border-color: var(--blue); color: var(--blue); }
.cd-close svg { width: 18px; height: 18px; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 18px 0 14px; }
.cf-grid > * { min-width: 0; }
.cf-full { grid-column: 1 / -1; }
.contact-form label { display: grid; gap: 5px; font-size: .88rem; font-weight: 600; color: var(--text); }
.contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea {
  width: 100%; min-height: 42px; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg);
  color: var(--text); font: inherit; font-weight: 400; transition: border-color .2s;
}
.contact-form textarea { resize: vertical; min-height: 76px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 0; border-color: var(--blue); }
.contact-form .req { color: var(--danger); }
.contact-form .opt { font-weight: 400; color: var(--text-muted); }
.cf-consent { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--text-muted) !important; line-height: 1.5; }
.cf-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.cf-msg { min-height: 1.2em; margin: 8px 0; color: var(--danger); font-size: .92rem; }
.cf-msg:empty { min-height: 0; margin: 4px 0; }
.cf-turnstile:empty { display: none; }
.contact-form button[type=submit] { width: 100%; }
.cd-success { text-align: center; padding: 24px 0 8px; }
.cd-success[hidden], .cd-form-wrap[hidden] { display: none; }
.cd-success-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--success); }
.cd-success-icon svg { width: 32px; height: 32px; }
.cd-success p { color: var(--text-muted); max-width: 440px; margin: 0 auto 22px; }
.contact-card .btn + .btn { margin-top: 10px; }
@media (max-width: 600px) {
  .cd-inner { padding: 28px 18px 22px; }
  .cf-grid { grid-template-columns: 1fr; }
}

/* ---------- Modul-1-Video (Schulungsseite) ---------- */
.module-video { max-width: 920px; margin: 0 auto; }
.module-video video { display: block; width: 100%; height: auto; background: #070b2a; }
.video-soon { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 30px; }
.video-soon[hidden] { display: none; }
.video-soon .card-icon { margin: 0; }
.video-soon h3 { margin-bottom: 4px; }
@media (max-width: 720px) { .video-soon { grid-template-columns: 1fr; } }

/* ---------- Diverses ---------- */
.social a.social-li { width: auto; height: auto; background: none; border: 0; border-radius: 4px; }
.social a.social-li:hover { background: none; transform: translateY(-2px); }
.li-logo { display: block; }
.case-logo { height: 64px; display: flex; align-items: center; margin-bottom: 20px; }
.case-logo img { height: 40px; width: auto; }
.legal-draft { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px 24px; margin-bottom: 40px; border-radius: var(--radius); background: #fff6db; border: 1.5px solid #f0c94d; color: #5b4500; }
.legal-draft .card-icon { margin: 0; width: 44px; height: 44px; background: #f0c94d; color: #4a3800; }
.legal-draft strong { color: #4a3800; font-size: 1.05rem; }
.legal-draft p { margin: 6px 0 0; color: #5b4500; }
@media (max-width: 1240px) { .hide-md { display: none !important; } }
.mobile-lang { display: flex; gap: 20px; padding: 16px 4px; }
.mobile-lang a { padding: 0 !important; width: auto !important; color: var(--text-muted); }
.mobile-lang a[aria-current] { color: var(--blue); font-weight: 700; }
@media (min-width: 561px) { .main-nav .mobile-sm { display: none !important; } }
@media (max-width: 560px) {
  .header-actions .lang-switch, .header-actions .btn--primary { display: none; }
  .header-actions { gap: 8px; }
}

/* ---------- Dunkelmodus ---------- */
[data-theme="dark"] {
  color-scheme: dark;
  --blue: #7c9dff;           /* Text-/Linkfarbe auf dunklem Grund */
  --blue-700: #a3bbff;
  --brand: #2f5ff0;
  --blue-300: #7c9dff;
  --blue-100: rgba(124, 157, 255, .28);
  --blue-50: rgba(124, 157, 255, .12);
  --text: #e8eefb;
  --text-muted: #a7b4cc;
  --slate: #8d9bb7;
  --slate-300: #5d6b88;
  --bg: #080e1f;
  --bg-soft: #0c1428;
  --surface: #111a33;
  --line: #233052;
  --header-bg: rgba(8, 14, 31, .9);
  --tile-bg: #eef2f9;
  --ok-bg: rgba(34, 197, 94, .16);
  --no-bg: rgba(239, 68, 68, .16);
  --success: #4ade80;
  --danger: #f87171;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
[data-theme="dark"] .btn--primary:hover { background: #4572f5; }
[data-theme="dark"] .btn--outline { color: var(--text); }
[data-theme="dark"] .btn--light:hover { background: #e6ecff; color: #0034ba; }
[data-theme="dark"] .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c9dff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
[data-theme="dark"] .compare thead th { background: var(--bg-soft); }
[data-theme="dark"] .compare .is-us { color: var(--text); }
[data-theme="dark"] .pricing-incl { background: linear-gradient(160deg, #0d1a40, #142b73); }
[data-theme="dark"] .banner { background: linear-gradient(120deg, #0c1530 0%, #0b2160 55%, #123a9e 100%); border: 1px solid var(--line); }
[data-theme="dark"] .to-top { background: var(--brand); }
[data-theme="dark"] .photo-frame { background: var(--surface); }
[data-theme="dark"] .logo-tile img { opacity: .8; }
[data-theme="dark"] .card-media .media-top { background: linear-gradient(135deg, #0b2160 0%, var(--brand) 75%, #6f8fff 130%); }
[data-theme="dark"] .legal-draft { background: rgba(240, 201, 77, .12); border-color: rgba(240, 201, 77, .5); color: #f3dc94; }
[data-theme="dark"] .legal-draft strong, [data-theme="dark"] .legal-draft p { color: #f3dc94; }
[data-theme="dark"] mark.placeholder { background: #6b5800; color: #fff3b0; }
[data-theme="dark"] .art-icon--light { color: var(--blue); }
[data-theme="dark"] .hero::before { background: radial-gradient(900px 500px at 85% 20%, rgba(47, 95, 240, .18), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(124, 157, 255, .08), transparent 60%); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav a, .nav-dropdown-toggle { padding: 10px 10px; font-size: .94rem; }
  .header-inner { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  /* backdrop-filter würde das fixe Mobilmenü auf die Headerhöhe begrenzen */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface); }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn--outline { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--surface); padding: 16px 24px 40px; overflow-y: auto;
    opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none;
    transition: opacity .25s, transform .3s var(--ease), visibility .3s;
  }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a, .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; display: none; min-width: 0; }
  .nav-dropdown.is-open .dropdown-menu { display: block; }
  .main-nav .mobile-only { display: block; }
  .hero-grid, .feature, .split, .pricing, .faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .feature--reverse .feature-media { order: 0; }
  .art { margin: 0 auto; max-width: 480px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .banner { grid-template-columns: 1fr; padding: 40px 32px; }
  .contact-card { position: static; }
  .section { padding: 80px 0; }
  .feature + .feature { margin-top: 80px; }
}
@media (min-width: 961px) { .main-nav .mobile-only { display: none; } }
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  h1, .hero h1, .page-hero h1 { font-size: 1.85rem; }
  h2 { font-size: 1.6rem; }
  .grid-2, .grid-4, .modules, .num-list { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .page-hero { padding: 56px 0; }
  .card, .pricing-calc, .pricing-incl, .contact-card, .product-card { padding: 26px; }
  .benefit-card { grid-template-columns: 1fr; padding: 28px; gap: 18px; }
  .calc-result { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-final { padding: 64px 22px; }
  .btn-row .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; }
  .header-actions .btn { white-space: nowrap; }
  .nl-form { grid-template-columns: minmax(0, 1fr); }
  .nl-row { flex-direction: column; }
  .nl-row .btn { width: 100%; }
  .photo-deco { inset: -12px -8px auto auto; width: 90px; height: 90px; }
  .banner { padding: 32px 22px; }
  .benefit-card .card-icon { width: 64px; height: 64px; }
  .brand img { height: 28px; }
  .header-actions .btn--primary { padding: 8px 14px; }
  .art-chip { font-size: .74rem; padding: 8px 10px; }
  .art-chip .ico { width: 28px; height: 28px; }
  .step-tab { width: 85%; }
  .section-head { margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
