/* ==========================================================================
   Krankenversicherung24.eu – Hauptstylesheet
   Reines CSS (kein Framework) · responsiveness über Media Queries
   ========================================================================== */

/* ---------- Schriftarten (lokal gehostet, siehe assets/fonts/) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9E, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9E, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design-Tokens ---------- */
:root {
  --brand-950: #042F2E;
  --brand-900: #0B4F4A;
  --brand-800: #0E5F59;
  --brand-700: #0F766E;
  --brand-600: #129E93;
  --brand-500: #14B8A6;
  --brand-200: #99E5DB;
  --brand-100: #CCF1EC;
  --brand-50:  #F0FBF9;

  --accent-600: #D97706;
  --accent-500: #F59E0B;
  --accent-400: #FBBF24;
  --accent-50:  #FEF6E7;

  --ink-900: #0F172A;
  --ink-700: #334155;
  --ink-500: #64748B;
  --ink-300: #CBD5E1;
  --ink-100: #E9EEF4;

  --paper:   #FFFFFF;
  --paper-2: #F7FAFB;

  --ok-600: #059669;
  --err-600:#DC2626;

  --font-head: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 44px rgba(4, 47, 46, .16);

  --header-h: 78px;
  --container: 1180px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.22;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.22rem; font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-800); text-decoration: underline; }

ul, ol { margin: 0 0 1em; padding-left: 1.3em; }

img { max-width: 100%; height: auto; display: block; }

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

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

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand-800); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 10px; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 19px; height: 19px; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: #fff; box-shadow: 0 10px 24px rgba(15, 118, 110, .32);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(15, 118, 110, .42); }

.btn-accent {
  background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
  color: #3d2800; box-shadow: 0 10px 24px rgba(217, 119, 6, .3);
}
.btn-accent:hover { color: #2c1d00; box-shadow: 0 14px 30px rgba(217, 119, 6, .4); }

.btn-light { background: #fff; color: var(--brand-800); box-shadow: var(--shadow-md); }
.btn-light:hover { color: var(--brand-950); }

.btn-ghost-light {
  background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; }

.btn-outline { background: transparent; color: var(--brand-800); border-color: var(--brand-200); }
.btn-outline:hover { border-color: var(--brand-600); background: var(--brand-50); }

.btn-sm { padding: .55rem 1.15rem; font-size: .9rem; }

.btn-block { width: 100%; }

/* Textlink mit Pfeil */
.arrow-link { font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.arrow-link .ico { width: 17px; height: 17px; transition: transform .2s; }
.arrow-link:hover .ico { transform: translateX(4px); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-100);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 42px; height: 42px; flex: 0 0 auto; color: var(--brand-700); }
.logo-text {
  font-family: var(--font-head); font-weight: 800; font-size: 1.22rem;
  color: var(--ink-900); letter-spacing: -.02em; line-height: 1.1;
}
.logo-text small { display: block; font-size: .64rem; font-weight: 600; color: var(--ink-500); letter-spacing: .14em; text-transform: uppercase; }
.logo-text .z { color: var(--brand-600); }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
/* Dropdown-Untermenü: untereinander statt nebeneinander */
.main-nav ul.dropdown { display: block; }
.main-nav .dropdown li { margin: 0; }
.main-nav a {
  display: block; padding: .6rem .85rem; border-radius: 10px;
  font-weight: 600; font-size: .98rem; color: var(--ink-700);
}
.main-nav a:hover, .main-nav a:focus-visible { background: var(--brand-50); color: var(--brand-800); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--brand-800); background: var(--brand-100); }

/* Dropdown "Vergleiche" (reines CSS, kein JS nötig) */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: .35rem; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 285px;
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: 10px; }
.dropdown .ico { width: 19px; height: 19px; color: var(--brand-600); flex: 0 0 auto; }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 46px; height: 46px; border-radius: 12px; color: var(--brand-800);
  align-items: center; justify-content: center;
}
.burger svg { width: 26px; height: 26px; }
.burger:hover { background: var(--brand-50); }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(92deg, rgba(4,47,46,.94) 0%, rgba(5,59,55,.82) 34%, rgba(6,73,66,.36) 68%, rgba(6,73,66,.08) 100%),
    url('../images/hero-start.jpg') center 30% / cover no-repeat;
  color: #fff;
  padding: clamp(80px, 12vw, 150px) 0;
}
.hero-inner { max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  color: #E7FFFB; font-size: .85rem; font-weight: 600;
  padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1.4rem;
  backdrop-filter: blur(6px);
}
.hero-badge .ico { width: 16px; height: 16px; color: var(--accent-400); }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: var(--brand-200); }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.88); margin-bottom: 2.1rem; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: .86rem; font-weight: 600;
  padding: .38rem .95rem; border-radius: 999px;
}
.chip .ico { width: 15px; height: 15px; color: var(--brand-200); }

/* ---------- Hero (Unterseiten) ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--brand-950) 0%, var(--brand-800) 55%, var(--brand-700) 100%);
  padding: 58px 0 78px;
}
.page-hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px;
  background: radial-gradient(closest-side, rgba(20,184,166,.35), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.page-hero-grid {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: .35em 0 .4em; }
.page-hero p { color: rgba(255,255,255,.88); font-size: 1.04rem; max-width: 620px; }
.page-hero-media {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,.35); border: 4px solid rgba(255,255,255,.16);
  transform: rotate(1.5deg);
}
.page-hero-media img { width: 100%; height: 300px; object-fit: cover; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 .4rem; padding: 0; font-size: .87rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.72); }
.breadcrumb li + li::before { content: "/"; color: rgba(255,255,255,.4); }
.breadcrumb a { color: rgba(255,255,255,.85); font-weight: 600; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: var(--brand-200); font-weight: 600; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--paper-2); }
.section-brand { background: linear-gradient(120deg, var(--brand-950), var(--brand-700)); color: #fff; }
.section-brand h2, .section-brand h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 800; font-size: .8rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--brand-600);
  margin-bottom: .8rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--accent-500); }
.section-brand .eyebrow { color: var(--brand-200); }
.section-sub { color: var(--ink-500); font-size: 1.04rem; }
.section-brand .section-sub { color: rgba(255,255,255,.82); }

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

.card {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.card-title { margin-bottom: .45em; }
.card-text { color: var(--ink-500); font-size: .97rem; flex: 1; }
.card .arrow-link { margin-top: 1.1rem; font-size: .95rem; }

.icon-badge {
  width: 54px; height: 54px; border-radius: 16px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-100); margin-bottom: 1.05rem;
}
.icon-badge .ico, .icon-badge svg { width: 26px; height: 26px; }
.icon-badge.accent { background: var(--accent-50); color: var(--accent-600); border-color: #FDE9C8; }

/* Vergleichs-Kachel mit Foto */
.tile-card { padding: 0; overflow: hidden; }
.tile-card .tile-media { height: 172px; overflow: hidden; position: relative; }
.tile-card .tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tile-card:hover .tile-media img { transform: scale(1.06); }
.tile-card .tile-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4,47,46,.55));
}
.tile-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.tile-tag {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--brand-800);
  font-family: var(--font-head); font-weight: 800; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 999px;
}

/* ---------- Schritte ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.step {
  position: relative; background: #fff; border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg); padding: 34px 26px 26px; box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute; top: -20px; left: 26px;
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(15,118,110,.35);
}

/* ---------- Split (Text + Bild) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split-media.frame { position: relative; }
.split-media.frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border-radius: var(--radius-lg); border: 2px dashed var(--brand-200); z-index: -1;
}

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .8rem;
  color: var(--ink-700);
}
.check-list .ico {
  width: 24px; height: 24px; flex: 0 0 auto; margin-top: .18rem;
  color: var(--brand-600); background: var(--brand-50); border-radius: 50%; padding: 3px;
}
.section-brand .check-list .ico { color: var(--brand-200); background: rgba(255,255,255,.1); }

/* ---------- Widget-Bereich (Vergleich) ---------- */
.widget-section { padding: clamp(48px, 7vw, 84px) 0; background: var(--paper-2); }
.widget-box {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: clamp(18px, 3vw, 34px);
}
.widget-cmp { position: relative; }
.widget-cmp.is-loading { min-height: 320px; display: flex; align-items: center; justify-content: center; }
.widget-cmp.is-loading::after {
  content: ""; width: 46px; height: 46px; border-radius: 50%;
  border: 4px solid var(--brand-100); border-top-color: var(--brand-600);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Consent-Platzhalter anstelle des Vergleichs */
.cmp-placeholder {
  border: 2px dashed var(--brand-200); background: var(--brand-50);
  border-radius: var(--radius-md); padding: clamp(26px, 4vw, 46px);
  text-align: center;
}
.cmp-placeholder .icon-badge { margin: 0 auto 1rem; background: #fff; }
.cmp-placeholder h3 { font-size: 1.18rem; }
.cmp-placeholder p { color: var(--ink-500); max-width: 560px; margin: 0 auto 1.4rem; font-size: .95rem; }
.cmp-placeholder .btn-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 860px; }
.faq-list.wide { max-width: none; }
details.faq-item {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
details.faq-item[open] { border-color: var(--brand-200); box-shadow: var(--shadow-md); }
details.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: .9rem;
  padding: 18px 20px; font-family: var(--font-head); font-weight: 700; color: var(--ink-900);
  font-size: 1.02rem;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { color: var(--brand-800); }
.faq-plus {
  margin-left: auto; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-50); color: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s ease, background .2s;
}
.faq-plus svg { width: 16px; height: 16px; }
details.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--brand-700); color: #fff; }
.faq-answer { padding: 0 20px 20px 69px; color: var(--ink-700); }
.faq-answer a { font-weight: 600; }

/* ---------- Querverweise / Chip-Links ---------- */
.chips-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip-link {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--ink-100); color: var(--ink-700);
  border-radius: 999px; padding: .5rem 1.05rem; font-size: .92rem; font-weight: 600;
  box-shadow: var(--shadow-sm); transition: border-color .2s, color .2s, transform .15s;
}
.chip-link .ico { width: 17px; height: 17px; color: var(--brand-600); }
.chip-link:hover { border-color: var(--brand-500); color: var(--brand-800); transform: translateY(-2px); text-decoration: none; }

/* ---------- CTA-Band ---------- */
.cta-band { border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 60px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; left: -120px; bottom: -160px; width: 380px; height: 380px;
  background: radial-gradient(closest-side, rgba(20,184,166,.3), transparent 70%); border-radius: 50%;
}
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto 1.8rem; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; position: relative; }

/* ---------- Formulare ---------- */
.form-card {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: clamp(24px, 4vw, 42px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-grid .form-group { margin-bottom: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-family: var(--font-head); font-weight: 700; font-size: .93rem; color: var(--ink-900); margin-bottom: .45rem; }
.form-group label .req { color: var(--err-600); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink-900);
  padding: .8rem 1rem; border: 1.5px solid var(--ink-300); border-radius: 12px;
  background: var(--paper); transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(18,158,147,.14);
}
.form-group input.is-invalid, .form-group textarea.is-invalid, .form-group select.is-invalid { border-color: var(--err-600); }
.field-error { color: var(--err-600); font-size: .85rem; margin-top: .35rem; font-weight: 600; }
.form-hint { color: var(--ink-500); font-size: .85rem; margin-top: .35rem; }

.checkbox-group { display: flex; gap: .75rem; align-items: flex-start; }
.checkbox-group input[type="checkbox"] {
  width: 22px; height: 22px; margin-top: .2rem; accent-color: var(--brand-700); flex: 0 0 auto; cursor: pointer;
}

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; } /* Honeypot gegen Spam-Bots */

.alert { border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 24px; font-size: .96rem; display: flex; gap: .75rem; align-items: flex-start; }
.alert .ico { width: 22px; height: 22px; flex: 0 0 auto; margin-top: .1rem; }
.alert-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.alert-success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }

/* ---------- Rechtstexte ---------- */
.legal-body { max-width: 820px; }
.legal-body h2 { font-size: 1.45rem; margin-top: 2em; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal-body p, .legal-body li { color: var(--ink-700); }
.legal-body .placeholder { background: var(--accent-50); border: 1px dashed var(--accent-500); border-radius: 8px; padding: 2px 7px; font-weight: 600; color: #7C4A03; }

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .94rem; background: #fff; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ink-100); vertical-align: top; }
table.data th { font-family: var(--font-head); color: var(--ink-900); background: var(--brand-50); white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-950); color: rgba(255,255,255,.78); padding: 64px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text small { color: rgba(255,255,255,.55); }
.footer-brand .logo-mark { color: var(--brand-200); }
.footer-brand p { margin-top: 1rem; color: rgba(255,255,255,.65); max-width: 300px; }
.footer-col h4 {
  color: #fff; font-family: var(--font-head); font-size: .82rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: rgba(255,255,255,.72); }
.footer-col a:hover { color: var(--brand-200); }
.footer-col .btn { margin-top: .6rem; }
.linklike {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  color: rgba(255,255,255,.72); text-align: left;
}
.linklike:hover { color: var(--brand-200); text-decoration: underline; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 26px;
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between;
  color: rgba(255,255,255,.5); font-size: .85rem;
}
.footer-legal nav ul { display: flex; flex-wrap: wrap; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.footer-legal a, .footer-legal .linklike { color: rgba(255,255,255,.6); font-size: .85rem; }

/* ---------- Cookie-Consent-Manager (CMP) ---------- */
.cmp-backdrop {
  position: fixed; inset: 0; z-index: 300; background: rgba(4,47,46,.55);
  backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center;
  padding: 18px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.cmp-backdrop.is-open { opacity: 1; visibility: visible; }

.cmp-banner {
  width: 100%; max-width: 760px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: translateY(26px); transition: transform .3s ease;
}
.cmp-backdrop.is-open .cmp-banner { transform: translateY(0); }

.cmp-banner-head {
  display: flex; align-items: center; gap: 1rem; padding: 20px 24px;
  background: linear-gradient(120deg, var(--brand-950), var(--brand-700)); color: #fff;
}
.cmp-banner-head .icon-badge { background: rgba(255,255,255,.12); color: var(--brand-200); border-color: rgba(255,255,255,.2); margin: 0; width: 46px; height: 46px; }
.cmp-banner-head .icon-badge svg { width: 24px; height: 24px; }
.cmp-banner-head h2 { color: #fff; font-size: 1.15rem; margin: 0; }
.cmp-banner-head p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.75); }

.cmp-body { padding: 22px 24px; max-height: min(52vh, 480px); overflow-y: auto; }
.cmp-intro { font-size: .93rem; color: var(--ink-500); margin-bottom: 18px; }
.cmp-intro a { font-weight: 600; }

.cmp-service {
  border: 1px solid var(--ink-100); border-radius: var(--radius-md);
  padding: 14px 16px; margin-bottom: 12px; display: flex; gap: 14px; align-items: flex-start;
  background: var(--paper);
}
.cmp-service .ico { width: 22px; height: 22px; color: var(--brand-700); flex: 0 0 auto; margin-top: .2rem; }
.cmp-service-info { flex: 1; }
.cmp-service-info strong { font-family: var(--font-head); color: var(--ink-900); font-size: .98rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.cmp-service-info p { margin: .25rem 0 0; font-size: .86rem; color: var(--ink-500); }
.cmp-service-info .cmp-meta { font-size: .8rem; color: var(--ink-500); margin-top: .3rem; }
.cmp-service-info .cmp-meta span { display: block; }
.cmp-tag {
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px; padding: .14rem .6rem;
}
.cmp-tag.always { background: var(--ink-100); color: var(--ink-700); }
.cmp-tag.affiliate { background: var(--accent-50); color: var(--accent-600); }

/* Schalter (Switch) */
.cmp-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: 0 0 auto; margin-top: .15rem; }
.cmp-switch input { opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; position: absolute; z-index: 2; }
.cmp-switch .track {
  position: absolute; inset: 0; border-radius: 999px; background: var(--ink-300);
  transition: background .2s;
}
.cmp-switch .track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: transform .2s;
}
.cmp-switch input:checked + .track { background: var(--brand-600); }
.cmp-switch input:checked + .track::after { transform: translateX(20px); }
.cmp-switch input:disabled + .track { opacity: .75; cursor: not-allowed; }
.cmp-switch input:focus-visible + .track { outline: 3px solid var(--brand-500); outline-offset: 2px; }

.cmp-actions { display: flex; flex-wrap: wrap; gap: .75rem; padding: 18px 24px 22px; border-top: 1px solid var(--ink-100); background: var(--paper-2); }
.cmp-actions .btn { flex: 1 1 auto; }
.cmp-legal-note { padding: 0 24px 16px; font-size: .78rem; color: var(--ink-500); background: var(--paper-2); }

/* Toast */
.cmp-toast {
  position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 20px); z-index: 320;
  background: var(--brand-950); color: #fff; border-radius: 999px;
  padding: .7rem 1.4rem; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  display: flex; align-items: center; gap: .55rem;
}
.cmp-toast .ico { width: 18px; height: 18px; color: var(--brand-200); }
.cmp-toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Sonstiges ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 110;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--brand-700); color: #fff; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-800); }

/* Inhaltsverzeichnis (z. B. Ratgeber) – ohne Aufzählungszeichen */
.toc, .toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc li a {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .2rem; font-weight: 600; color: var(--ink-700);
  border-bottom: 1px solid var(--ink-100);
}
.toc li a:hover { color: var(--brand-800); text-decoration: none; background: var(--brand-50); }
.toc li a::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-200); flex: 0 0 auto; transition: background .2s, transform .2s;
}
.toc li a:hover::before { background: var(--brand-600); transform: scale(1.25); }

.divider-line { border: 0; border-top: 1px solid var(--ink-100); margin: 34px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 34px; max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 115;
    background: #fff; border-bottom: 1px solid var(--ink-100);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s, transform .22s, visibility .22s;
  }
  body.nav-open .main-nav { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 18px 20px; }
  .main-nav a { padding: .8rem 1rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 3px solid var(--brand-100);
    border-radius: 0; min-width: 0; margin: 2px 0 6px 14px; padding: 0 0 0 6px;
    display: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  body.nav-open { overflow: hidden; }

  .split { grid-template-columns: 1fr; gap: 34px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero-media img { height: 220px; }
  .page-hero-media { transform: none; max-width: 520px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards-2, .cards-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cmp-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .faq-answer { padding-left: 20px; }
  .footer-legal { flex-direction: column; gap: .6rem; }
  .header-cta-desktop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}
