/*
Theme Name: elifto
Description: elifto.de nach dem Designsystem vom November 2026: große Schrift, hoher Kontrast, keine Fremdskripte.
Version: 1.0.0
Author: René Lindelaub
*/
@font-face{font-family:"Atkinson Hyperlegible Next";src:url(assets/fonts/atkinson-hyperlegible-next-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible Next";src:url(assets/fonts/atkinson-hyperlegible-next-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
/* =====================================================================
   elifto.de – Designsystem v1.0 (Nov 2026)
   Zielgruppe 65+ & Angehörige: große Schrift, hoher Kontrast,
   große Klickflächen (min. 48 px), klare Hierarchie, WCAG 2.2 AA.
   Alle Farben/Größen als CSS-Variablen -> 1:1 in theme.json übertragbar.
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Marke */
  --c-primary: #0E5A63;        /* Petrol – Kontrast auf Weiß 7,6:1 */
  --c-primary-dark: #093E45;   /* Petrol dunkel – Header-Akzente, Footer */
  --c-primary-light: #E3F0F0;  /* Petrol hell – Flächen */
  --c-primary-mid: #B9D9DA;
  --c-cta: #C4520A;            /* Orange – Kontrast mit Weiß 4,6:1 */
  --c-cta-hover: #A04205;
  --c-cta-light: #FDEBDC;
  --c-accent: #F2B33D;         /* Warmgelb – nur Deko/Sterne, nie Text auf Weiß */

  /* Neutral */
  --c-bg: #FBF7F1;             /* Creme */
  --c-surface: #FFFFFF;
  --c-text: #1C2629;           /* 15:1 auf Creme */
  --c-text-muted: #4A5759;     /* 7:1 auf Weiß */
  --c-border: #D8D2C8;
  --c-border-strong: #8A9799;
  --c-success: #1E7A3A;
  --c-error: #B3261E;
  --c-focus: #1565C0;

  /* Typo – Atkinson Hyperlegible (für Sehschwäche entwickelt), lokal hosten! */
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-head: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", system-ui, Arial, sans-serif;
  --fs-base: 1.1875rem;        /* 19 px – Basis Fließtext */
  --fs-small: 1.0625rem;       /* 17 px – kleinste erlaubte Größe */
  --fs-lead: 1.375rem;         /* 22 px */
  --fs-h1: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  --fs-h2: clamp(1.65rem, 1.3rem + 1.4vw, 2.25rem);
  --fs-h3: clamp(1.3rem, 1.15rem + .6vw, 1.55rem);
  --lh: 1.65;

  /* Layout */
  --container: 1200px;
  --container-text: 760px;
  --gap: clamp(1rem, .6rem + 1.5vw, 2rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 2px 6px rgba(9, 62, 69, .07), 0 8px 24px rgba(9, 62, 69, .08);
  --shadow-lg: 0 10px 40px rgba(9, 62, 69, .16);
  --tap: 52px;                 /* Mindesthöhe aller Klickflächen */
  --header-h: 84px;
}

/* Nutzer-Schalter „Schrift größer“ (JS setzt data-fontsize am <html>) */
html[data-fontsize="large"] { font-size: 112.5%; }
html[data-fontsize="xlarge"] { font-size: 125%; }

/* Nutzer-Schalter „Hoher Kontrast“ */
html[data-contrast="high"] {
  --c-bg: #FFFFFF; --c-text: #000; --c-text-muted: #1C2629;
  --c-primary: #003B42; --c-cta: #8F3A00; --c-cta-hover: #6B2B00;
  --c-border: #4A5759;
}

/* ---------- 2. Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: var(--lh);
  color: var(--c-text); background: var(--c-bg); text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.22; color: var(--c-primary-dark); margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-top: 1.6em; }
h3 { font-size: var(--fs-h3); margin-top: 1.4em; }
p, ul, ol, dl, table { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .4em; }
a { color: var(--c-primary); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--c-primary-dark); text-decoration-thickness: .14em; }
strong { font-weight: 700; }
.small { font-size: var(--fs-small); color: var(--c-text-muted); }
mark { background: #FFF1B8; padding: 0 .2em; }

/* Fokus – gut sichtbar, nie entfernen */
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--c-primary-dark); color: #fff; padding: .8rem 1.2rem; border-radius: var(--radius); font-weight: 700; }
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gap), var(--container)); margin-inline: auto; }
.container--text { width: min(100% - 2 * var(--gap), var(--container-text)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--tint { background: var(--c-primary-light); }
.section--white { background: var(--c-surface); }
.section__head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section__head h2 { margin-top: 0; }
.section__head p { font-size: var(--fs-lead); color: var(--c-text-muted); }
.eyebrow { display: inline-block; font-size: var(--fs-small); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-cta-hover); margin-bottom: .6rem; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--tap); padding: .8rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 1.125rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--cta { background: var(--c-cta); color: #fff; box-shadow: 0 4px 14px rgba(196, 82, 10, .3); }
.btn--cta:hover { background: var(--c-cta-hover); color: #fff; }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--c-primary-dark); border-color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary-light); color: var(--c-primary-dark); }
.btn--white { background: #fff; color: var(--c-primary-dark); }
.btn--white:hover { background: var(--c-cta-light); color: var(--c-primary-dark); }
.btn--lg { min-height: 60px; padding: 1rem 2rem; font-size: 1.25rem; }
.btn--block { width: 100%; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- 4. Header ---------- */
.topbar { background: var(--c-primary-dark); color: #fff; font-size: var(--fs-small); }
.topbar .container { display: flex; gap: 1.5rem; justify-content: space-between; align-items: center; min-height: 44px; flex-wrap: wrap; }
.topbar__usp { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar__usp li { margin: 0; display: flex; gap: .4rem; align-items: center; }
.topbar__usp svg { width: 18px; height: 18px; color: var(--c-accent); }
.a11y-tools { display: flex; gap: .4rem; align-items: center; }
.a11y-tools button {
  min-height: 44px; min-width: 48px; padding: 0 .8rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.4);
  background: transparent; color: #fff; font: 700 1rem var(--font-body); cursor: pointer;
}
.a11y-tools button[aria-pressed="true"] { background: #fff; color: var(--c-primary-dark); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--c-border); }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--c-primary-dark); margin-right: auto; }
.logo svg { height: 42px; width: auto; }
.logo__claim { font-size: 1rem; color: var(--c-text-muted); line-height: 1.2; border-left: 1px solid var(--c-border); padding-left: .7rem; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a { display: flex; align-items: center; min-height: var(--tap); padding: 0 .9rem; border-radius: 10px; color: var(--c-text); font-weight: 700; text-decoration: none; font-size: 1.0625rem; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--c-primary-light); color: var(--c-primary-dark); }
.nav-toggle { display: none; min-height: var(--tap); padding: 0 1rem; border-radius: 10px; border: 2px solid var(--c-primary); background: #fff; color: var(--c-primary-dark); font: 700 1.05rem var(--font-body); gap: .5rem; align-items: center; cursor: pointer; }
.header-cta { white-space: nowrap; }

@media (max-width: 1080px) {
  .logo__claim { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-lg); display: none; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 1rem var(--gap) 1.5rem; }
  .main-nav a { font-size: 1.25rem; min-height: 60px; border-bottom: 1px solid var(--c-border); border-radius: 0; }
  .topbar__usp li:nth-child(n+2) { display: none; }
}
@media (max-width: 620px) {
  .header-cta { display: none; }
  .logo svg { height: 36px; }
}

/* ---------- 5. Breadcrumb ---------- */
.breadcrumb { font-size: var(--fs-small); padding-block: 1rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.breadcrumb li { margin: 0; display: flex; gap: .3rem; align-items: center; color: var(--c-text-muted); }
.breadcrumb li + li::before { content: "›"; color: var(--c-border-strong); }
.breadcrumb a { color: var(--c-text-muted); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #fff 0%, var(--c-bg) 55%, var(--c-primary-light) 100%); padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--c-cta); }
.hero__lead { font-size: var(--fs-lead); color: var(--c-text-muted); max-width: 36ch; }
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .6rem; font-weight: 700; }
.checklist svg { width: 26px; height: 26px; flex: none; color: var(--c-success); margin-top: .1em; }
.hero__visual { position: relative; }
.hero__img { border-radius: var(--radius-lg); background: var(--c-primary-mid); aspect-ratio: 4/3.4; box-shadow: var(--shadow-lg); overflow: hidden; }
.hero__badge { position: absolute; left: -1.2rem; bottom: 1.5rem; background: #fff; border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-lg); display: flex; gap: .8rem; align-items: center; max-width: 290px; }
.hero__badge strong { display: block; font-size: 1.6rem; color: var(--c-primary-dark); line-height: 1.1; }
.hero__badge span { font-size: var(--fs-small); color: var(--c-text-muted); line-height: 1.3; }
.hero--sub { background: linear-gradient(180deg, #fff 0%, var(--c-bg) 100%); padding-block: 1rem 3rem; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { order: -1; } .hero__badge { left: 1rem; } .hero__lead { max-width: none; } }

/* Platzhalter für echte Fotos (Entwickler ersetzt durch <img>) */
.img-ph { position: relative; width: 100%; height: 100%; min-height: 200px; display: grid; place-items: center; background: linear-gradient(135deg, var(--c-primary-mid), var(--c-primary-light)); color: var(--c-primary-dark); }
.img-ph__label { position: absolute; left: .8rem; top: .8rem; background: rgba(255,255,255,.9); border-radius: 8px; padding: .25rem .6rem; font-size: .85rem; font-weight: 700; }

/* ---------- 7. Einstiegsfrage (Quiz-Teaser nach Aroundhome-Muster) ---------- */
.quiz-teaser { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); border-top: 6px solid var(--c-cta); }
.quiz-teaser__step { font-size: var(--fs-small); color: var(--c-text-muted); font-weight: 700; margin-bottom: .3rem; }
.quiz-teaser h2, .quiz-teaser .h2 { font-size: var(--fs-h3); margin: 0 0 1.1rem; color: var(--c-primary-dark); font-weight: 700; line-height: 1.25; }
.quiz-teaser__foot { display: flex; gap: .5rem 1.2rem; flex-wrap: wrap; margin-top: 1.1rem; font-size: var(--fs-small); color: var(--c-text-muted); }
.quiz-teaser__foot span { display: inline-flex; align-items: center; gap: .35rem; }
.quiz-teaser__foot svg { width: 18px; height: 18px; color: var(--c-success); }

/* Antwort-Kacheln – gleiche Optik in Teaser, Formularstrecke & Gravity Forms */
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.choice-grid--3 { grid-template-columns: repeat(3, 1fr); }
.choice-grid--1 { grid-template-columns: 1fr; }
@media (max-width: 560px) { .choice-grid, .choice-grid--3 { grid-template-columns: 1fr; } }
.choice {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem;
  min-height: 132px; padding: 1.1rem .9rem; border-radius: var(--radius); border: 2px solid var(--c-border);
  background: #fff; color: var(--c-text); font: 700 1.125rem/1.25 var(--font-body); text-align: center; cursor: pointer; text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s, background .15s;
}
.choice:hover { border-color: var(--c-primary); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--c-text); text-decoration: none; }
.choice svg { width: 56px; height: 56px; color: var(--c-primary); }
.choice small { font-weight: 400; font-size: 1rem; color: var(--c-text-muted); }
.choice--row { flex-direction: row; justify-content: flex-start; min-height: 72px; text-align: left; gap: 1rem; padding: .9rem 1.2rem; }
.choice--row svg { width: 40px; height: 40px; flex: none; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice:has(input:checked), .choice.is-selected { border-color: var(--c-primary); background: var(--c-primary-light); box-shadow: inset 0 0 0 2px var(--c-primary); }
.choice:has(input:checked)::after, .choice.is-selected::after { content: "✓"; position: absolute; top: .5rem; right: .7rem; width: 28px; height: 28px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.choice:has(input:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 3px; }

/* ---------- 8. Trust-Leiste ---------- */
.trustbar { background: #fff; border-block: 1px solid var(--c-border); }
.trustbar ul { list-style: none; margin: 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.trustbar li { margin: 0; display: flex; gap: .8rem; align-items: center; }
.trustbar svg { width: 44px; height: 44px; flex: none; color: var(--c-primary); }
.trustbar strong { display: block; color: var(--c-primary-dark); line-height: 1.2; }
.trustbar span { font-size: var(--fs-small); color: var(--c-text-muted); line-height: 1.3; display: block; }
@media (max-width: 900px) { .trustbar ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trustbar ul { grid-template-columns: 1fr; } }

/* ---------- 9. Karten / Grids ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--c-border); }
.card__media { aspect-ratio: 16/10; background: var(--c-primary-light); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__body h3 { margin: 0; font-size: 1.4rem; }
.card__body p { margin: 0; color: var(--c-text-muted); }
.card__price { font-weight: 700; color: var(--c-primary-dark); margin-top: auto !important; padding-top: .6rem; }
.card__price span { font-weight: 400; color: var(--c-text-muted); font-size: var(--fs-small); }
.card__link { font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; min-height: 44px; }
.card--link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; text-decoration: none; }
.card--link:hover .card__link { text-decoration: underline; }
.tag { display: inline-block; align-self: flex-start; background: var(--c-cta-light); color: #7A3306; font-weight: 700; font-size: 1rem; padding: .2rem .75rem; border-radius: 999px; }

.icon-tile { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 1.3rem; border: 1px solid var(--c-border); }
.icon-tile__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--c-primary-light); display: grid; place-items: center; flex: none; }
.icon-tile__icon svg { width: 32px; height: 32px; color: var(--c-primary); }
.icon-tile h3 { margin: 0 0 .3rem; font-size: 1.25rem; }
.icon-tile p { margin: 0; color: var(--c-text-muted); }

/* Ablauf-Schritte */
.steps-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: s; }
.steps-row li { margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); position: relative; counter-increment: s; }
.steps-row li::before { content: counter(s); width: 52px; height: 52px; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 700; font-size: 1.5rem; display: grid; place-items: center; margin-bottom: 1rem; }
.steps-row h3 { margin: 0 0 .4rem; font-size: 1.3rem; }
.steps-row p { margin: 0; color: var(--c-text-muted); }
@media (max-width: 820px) { .steps-row { grid-template-columns: 1fr; } }

/* Förder-Teaser */
.funding { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.funding__amount { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg); text-align: center; border: 3px solid var(--c-primary); }
.funding__amount strong { display: block; font-size: clamp(2.8rem, 2rem + 3vw, 4.2rem); color: var(--c-primary); line-height: 1; margin: .4rem 0; }
@media (max-width: 820px) { .funding { grid-template-columns: 1fr; } }

/* Testimonial */
.quote { background: #fff; border-radius: var(--radius-lg); padding: 1.6rem; border: 1px solid var(--c-border); margin: 0; }
.quote__stars { color: var(--c-accent); font-size: 1.3rem; letter-spacing: .1em; }
.quote blockquote { margin: .5rem 0 1rem; font-size: 1.15rem; }
.quote figcaption { font-weight: 700; color: var(--c-primary-dark); }
.quote figcaption span { font-weight: 400; color: var(--c-text-muted); display: block; font-size: var(--fs-small); }

/* ---------- 10. CTA-Bausteine ---------- */
.cta-band { background: var(--c-primary-dark); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.8rem, 1rem + 3vw, 3.2rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.06); }
.cta-band h2 { color: #fff; margin: 0 0 .5rem; }
.cta-band p { margin: 0; color: #D7E9EA; font-size: 1.15rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: .8rem; position: relative; z-index: 1; }
.cta-band__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.cta-band__actions .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* CTA im Artikel (nach Abschnitten) */
.cta-inline { margin: 2rem 0; border-radius: var(--radius-lg); background: var(--c-cta-light); border: 2px solid #F3C9A6; padding: 1.4rem 1.6rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; }
.cta-inline__icon { width: 60px; height: 60px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.cta-inline__icon svg { width: 34px; height: 34px; color: var(--c-cta); }
.cta-inline p { margin: 0; }
.cta-inline__title { font-weight: 700; font-size: 1.25rem; color: var(--c-primary-dark); }
@media (max-width: 700px) { .cta-inline { grid-template-columns: 1fr; text-align: left; } .cta-inline__icon { display: none; } }

/* Sticky-CTA mobil (unten) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--c-border); box-shadow: 0 -6px 24px rgba(0,0,0,.08); padding: .7rem var(--gap) calc(.7rem + env(safe-area-inset-bottom)); display: none; gap: .6rem; transform: translateY(110%); transition: transform .25s; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; }
@media (max-width: 900px) { .sticky-cta { display: flex; } body.has-sticky-cta { padding-bottom: 120px; } }

/* ---------- 11. Artikel-Layout mit anheftendem Inhaltsverzeichnis ---------- */
.article-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr) 300px; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; padding-bottom: 4rem; }
.article-layout--2col { grid-template-columns: 290px minmax(0, 1fr); }
.toc { position: sticky; top: calc(var(--header-h) + 1.2rem); max-height: calc(100vh - var(--header-h) - 2.4rem); overflow: auto; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--c-border); padding: 1.3rem 1.1rem 1.1rem; }
.toc__title { font-weight: 700; font-size: 1.15rem; color: var(--c-primary-dark); margin: 0 0 .7rem; padding: 0 .5rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.toc__progress { height: 6px; background: var(--c-primary-light); border-radius: 99px; margin: 0 .5rem .9rem; overflow: hidden; }
.toc__progress span { display: block; height: 100%; width: 0; background: var(--c-cta); border-radius: 99px; transition: width .1s linear; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin: 0; counter-increment: toc; }
.toc a { display: flex; gap: .6rem; padding: .65rem .6rem; min-height: 48px; border-radius: 10px; text-decoration: none; color: var(--c-text); font-size: 1.0625rem; line-height: 1.35; border-left: 4px solid transparent; }
.toc a::before { content: counter(toc) "."; color: var(--c-text-muted); font-weight: 700; min-width: 1.4em; }
.toc a:hover { background: var(--c-primary-light); }
.toc a.is-active { background: var(--c-primary-light); border-left-color: var(--c-primary); font-weight: 700; color: var(--c-primary-dark); }
.toc__cta { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--c-border); }
.toc__toggle { display: none; }

.article { min-width: 0; }
.article > header h1 { margin-bottom: .5rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--c-text-muted); font-size: var(--fs-small); margin-bottom: 1.6rem; align-items: center; }
.article-meta span { display: inline-flex; gap: .4rem; align-items: center; }
.article-meta svg { width: 20px; height: 20px; }
.author-mini { display: flex; gap: .7rem; align-items: center; }
.author-mini__img { width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary-mid); display: grid; place-items: center; font-weight: 700; color: var(--c-primary-dark); }
.article .lead { font-size: var(--fs-lead); line-height: 1.55; }
/* Sprungziel-Abstand kommt allein aus html{scroll-padding-top} */
.article h2 { padding-top: .2em; }
.article img { border-radius: var(--radius); }

.summary-box, .calc-box, .note, .factbox { border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; margin: 1.6rem 0; }
.summary-box { background: var(--c-primary-light); border-left: 6px solid var(--c-primary); }
.summary-box__title, .calc-box__title, .factbox__title { font-weight: 700; font-size: 1.25rem; color: var(--c-primary-dark); margin-bottom: .6rem !important; }
.summary-box ul { margin: 0; }
.summary-box li::marker { color: var(--c-primary); }
.note { background: #FFF6DB; border-left: 6px solid var(--c-accent); }
.note p:last-child { margin: 0; }
.calc-box, .factbox { background: #fff; border: 2px solid var(--c-primary-mid); }
.calc { margin: 0 0 .8rem; }
.calc > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--c-border); }
.calc dt { margin: 0; } .calc dd { margin: 0; font-weight: 700; white-space: nowrap; }
.calc .calc__total { border-bottom: 0; border-top: 2px solid var(--c-primary); margin-top: .3rem; padding-top: .8rem; font-size: 1.2rem; color: var(--c-primary-dark); }
.calc .calc__total dt { font-weight: 700; }

.steps { list-style: none; padding: 0; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: .2rem 0 .9rem 3.6rem; margin: 0; min-height: 3rem; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.2rem; top: 2.7rem; bottom: .2rem; width: 2px; background: var(--c-primary-mid); }

.table-wrap { overflow-x: auto; margin: 1.4rem 0 1.6rem; border-radius: var(--radius); border: 1px solid var(--c-border); background: #fff; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; margin: 0; min-width: 560px; }
.table caption { text-align: left; font-weight: 700; padding: 1rem 1.1rem .4rem; color: var(--c-primary-dark); }
.table th, .table td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.table thead th { background: var(--c-primary); color: #fff; font-weight: 700; }
.table tbody tr:nth-child(even) { background: #F8F5EF; }
.table tbody tr:last-child td { border-bottom: 0; }

/* Rechte Spalte (Artikel) */
.aside-sticky { position: sticky; top: calc(var(--header-h) + 1.2rem); display: flex; flex-direction: column; gap: 1rem; max-height: calc(100vh - var(--header-h) - 2.4rem); overflow: auto; }
.aside-box { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--c-border); padding: 1.4rem; box-shadow: var(--shadow); }
.aside-box--cta { border-top: 6px solid var(--c-cta); }
.aside-box h2, .aside-box .h3 { font-size: 1.3rem; margin: 0 0 .6rem; color: var(--c-primary-dark); font-weight: 700; line-height: 1.25; }
.aside-box p { font-size: 1.0625rem; color: var(--c-text-muted); }
.aside-box .checklist { margin: .8rem 0 1.1rem; }
.aside-box .checklist li { font-size: 1.0625rem; }

@media (max-width: 1240px) {
  .article-layout { grid-template-columns: 270px minmax(0, 1fr); }
  .article-aside { display: none; }
}
@media (max-width: 960px) {
  .article-layout, .article-layout--2col { grid-template-columns: 1fr; }
  /* mobil: Inhaltsverzeichnis als aufklappbare Leiste, die unter dem Header anheftet */
  .toc { position: sticky; top: var(--header-h); z-index: 50; max-height: none; border-radius: 0; margin-inline: calc(-1 * var(--gap)); border-inline: 0; padding: 0; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
  .toc__toggle { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: space-between; gap: .8rem; padding: .5rem var(--gap); background: #fff; border: 0; font: 700 1.0625rem var(--font-body); color: var(--c-primary-dark); cursor: pointer; text-align: left; }
  .toc__toggle-current { font-weight: 400; color: var(--c-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
  .toc__title { display: none; }
  .toc__inner { display: none; padding: 0 var(--gap) 1rem; max-height: 60vh; overflow: auto; }
  .toc.is-open .toc__inner { display: block; }
  .toc__progress { margin: 0; border-radius: 0; height: 4px; }
  .toc__cta { display: none; }
}

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); margin-bottom: .8rem; }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.1rem 3.6rem 1.1rem 1.3rem; font-weight: 700; font-size: 1.15rem; position: relative; min-height: var(--tap); color: var(--c-primary-dark); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--c-primary-light); color: var(--c-primary); display: grid; place-items: center; font-size: 1.5rem; line-height: 1; }
.faq__item[open] summary::after { content: "–"; background: var(--c-primary); color: #fff; }
.faq__answer { padding: 0 1.3rem 1.1rem; }
.faq__answer p:last-child { margin: 0; }

/* Autor-Box */
.author-box { display: grid; grid-template-columns: 88px 1fr; gap: 1.2rem; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--c-border); padding: 1.4rem; margin-top: 2.5rem; }
.author-box__img { width: 88px; height: 88px; border-radius: 50%; background: var(--c-primary-mid); display: grid; place-items: center; font-weight: 700; font-size: 1.6rem; color: var(--c-primary-dark); }
.author-box p { margin: 0 0 .4rem; }

/* Verwandte Artikel */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

/* ---------- 12. Formularstrecke (Funnel) ---------- */
.funnel-page { background: linear-gradient(180deg, var(--c-primary-light) 0, var(--c-bg) 420px); min-height: 100vh; }
.funnel-header { background: #fff; border-bottom: 1px solid var(--c-border); }
.funnel-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.funnel-header__secure { display: flex; gap: .5rem; align-items: center; color: var(--c-text-muted); font-size: var(--fs-small); }
.funnel-header__secure svg { width: 22px; height: 22px; color: var(--c-success); }
.funnel-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; padding-block: 2rem 4rem; align-items: start; }
@media (max-width: 960px) { .funnel-wrap { grid-template-columns: 1fr; } .funnel-aside { order: 2; } }
.funnel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.3rem, .8rem + 2vw, 2.6rem); }
.progress { margin-bottom: 1.6rem; }
.progress__meta { display: flex; justify-content: space-between; font-size: var(--fs-small); font-weight: 700; color: var(--c-text-muted); margin-bottom: .5rem; }
.progress__bar { height: 12px; border-radius: 99px; background: var(--c-primary-light); overflow: hidden; }
.progress__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--c-primary), #13808C); border-radius: 99px; transition: width .35s ease; }
.funnel-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.funnel-step.is-active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.funnel-step legend, .funnel-step .step-title { font-size: var(--fs-h2); font-weight: 700; color: var(--c-primary-dark); line-height: 1.25; margin-bottom: .4rem; padding: 0; }
.step-hint { color: var(--c-text-muted); margin-bottom: 1.4rem; }
.step-motivation { display: flex; gap: .6rem; align-items: center; background: #E8F5EC; color: #145A2A; font-weight: 700; border-radius: var(--radius); padding: .7rem 1rem; margin-bottom: 1.2rem; }
.funnel-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; align-items: center; flex-wrap: wrap; }
.btn-back { background: none; border: 0; color: var(--c-primary); font: 700 1.0625rem var(--font-body); min-height: var(--tap); padding: 0 .4rem; cursor: pointer; display: inline-flex; gap: .4rem; align-items: center; text-decoration: underline; text-underline-offset: .2em; }
.btn-back[hidden] { display: none; }

/* Formularfelder */
.field { margin-bottom: 1.2rem; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: .4rem; }
.field .req { color: var(--c-error); }
.field .help { display: block; font-size: var(--fs-small); color: var(--c-text-muted); margin-top: .3rem; }
.input, .select, .textarea {
  width: 100%; min-height: 58px; padding: .8rem 1rem; border: 2px solid var(--c-border-strong); border-radius: 12px;
  font: 400 1.1875rem var(--font-body); color: var(--c-text); background: #fff;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--c-focus); outline-offset: 1px; border-color: var(--c-focus); }
.input--plz { max-width: 220px; font-size: 1.5rem; letter-spacing: .12em; text-align: center; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }
.field.has-error .input { border-color: var(--c-error); background: #FFF6F5; }
.field__error { display: none; color: var(--c-error); font-weight: 700; font-size: var(--fs-small); margin-top: .35rem; }
.field.has-error .field__error { display: block; }
.consent { display: grid; grid-template-columns: 32px 1fr; gap: .8rem; align-items: start; background: #F8F5EF; border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: .8rem; font-size: 1.0625rem; }
.consent input { width: 28px; height: 28px; margin: .1rem 0 0; accent-color: var(--c-primary); }
.consent.has-error { outline: 2px solid var(--c-error); }
.summary-list { background: var(--c-primary-light); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-size: 1.0625rem; }
.summary-list dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: 0; }
.summary-list dt { color: var(--c-text-muted); } .summary-list dd { margin: 0; font-weight: 700; }

.funnel-aside .aside-box { margin-bottom: 1rem; }
.mini-trust { list-style: none; padding: 0; margin: 0; }
.mini-trust li { display: flex; gap: .7rem; padding: .7rem 0; border-bottom: 1px solid var(--c-border); align-items: flex-start; font-size: 1.0625rem; margin: 0; }
.mini-trust li:last-child { border: 0; }
.mini-trust svg { width: 26px; height: 26px; flex: none; color: var(--c-primary); }

/* Rückruf-Dialog */
.dialog { border: 0; border-radius: var(--radius-lg); padding: 0; width: min(560px, 94vw); box-shadow: var(--shadow-lg); color: var(--c-text); }
.dialog::backdrop { background: rgba(9, 30, 33, .6); }
.dialog__head { display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 1.5rem; background: var(--c-primary-dark); color: #fff; }
.dialog__head h2 { color: #fff; margin: 0; font-size: 1.45rem; }
.dialog__close { background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.dialog__body { padding: 1.5rem; }

/* Danke-Seite */
.thanks { text-align: center; max-width: 720px; margin-inline: auto; }
.thanks__icon { width: 96px; height: 96px; border-radius: 50%; background: #E8F5EC; display: grid; place-items: center; margin: 0 auto 1.2rem; }
.thanks__icon svg { width: 56px; height: 56px; color: var(--c-success); }
.thanks .steps-row { text-align: left; margin-top: 2rem; }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--c-primary-dark); color: #D7E9EA; padding-top: 3.5rem; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-grid h2 { color: #fff; font-size: 1.15rem; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .1rem; }
.footer-grid li a { display: inline-flex; min-height: 48px; align-items: center; }
.footer-grid .logo { color: #fff; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-block: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--fs-small); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }
.footer-bottom a { min-height: 48px; display: inline-flex; align-items: center; }
.footer-bottom button { background: none; border: 0; color: #fff; font: inherit; cursor: pointer; min-height: 44px; padding: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 14. Rechtstexte ---------- */
.legal { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--c-border); padding: clamp(1.4rem, 1rem + 2vw, 3rem); margin-bottom: 4rem; }
.legal h2 { font-size: 1.6rem; }
.legal h3 { font-size: 1.25rem; }
.legal address { font-style: normal; }


/* Icon-Größen (SVGs ohne width/height) */
.card__link svg, .breadcrumb svg, .nav-toggle svg, .article-meta svg, .toc__toggle svg, .btn-back svg, .h3 svg, .step-motivation svg { width: 1.25em; height: 1.25em; flex: none; }
.img-ph svg { width: clamp(64px, 30%, 110px); height: auto; opacity: .75; }
.aside-box .h3 { display: flex; gap: .5rem; align-items: center; }
.article-aside { align-self: stretch; }
.toc__cta a::before { content: none; }
.toc__cta a { color: #fff; border-left: 0; justify-content: center; }
.toc__cta a:hover { background: var(--c-cta-hover); }
.cta-inline { grid-template-columns: auto 1fr; }
.cta-inline > .btn { grid-column: 2; justify-self: start; }
@media (max-width: 700px) { .cta-inline > .btn { grid-column: 1; width: 100%; } }
.funnel-step .step-title:focus, .funnel-step legend:focus { outline: none; }

/* Umbruch langer Wörter/Adressen (wichtig bei A+/A++ auf Mobilgeräten) */
body { overflow-wrap: break-word; }
.article, .legal { hyphens: auto; -webkit-hyphens: auto; }
.legal a, .legal address, .article a { overflow-wrap: anywhere; }
.article-layout > *, .hero__grid > *, .funnel-wrap > * { min-width: 0; }
.author-mini { min-width: 0; }
.step-error { display: none; color: var(--c-error); font-weight: 700; margin: 1rem 0 0; }
.funnel-step.has-error .step-error { display: block; }
.quiz-teaser--inline { margin: 2rem 0; box-shadow: var(--shadow); }

/* ---------- 15. Megamenü (öffnet nur per Klick oder Tastatur, nie per Hover) ---------- */
.nav-top { gap: .35rem; background: none; }
.nav-top::after { content: ""; width: .5em; height: .5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-1px, -2px); }
.nav-top[aria-expanded="true"] { background: var(--c-primary-light); color: var(--c-primary-dark); }
.nav-top[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-2px, -1px); }
.main-nav li.has-mega { position: static; }
.main-nav .mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--c-border); border-bottom: 4px solid var(--c-primary); box-shadow: var(--shadow-lg); max-height: calc(100vh - var(--header-h) - 1rem); overflow: auto; }
.main-nav .mega.is-open { display: block; }
.mega__inner { width: min(100% - 2 * var(--gap), var(--container)); margin-inline: auto; padding-block: 1.6rem 1.8rem; display: grid; grid-template-columns: 270px repeat(3, minmax(0, 1fr)); gap: 1.2rem 2rem; }
.mega__inner--2 { grid-template-columns: 270px repeat(2, minmax(0, 1fr)); }
.mega__intro p { color: var(--c-text-muted); font-size: var(--fs-small); margin-bottom: 1rem; }
.mega__titel { font-weight: 700; font-size: 1.15rem; color: var(--c-primary-dark); line-height: 1.3; margin-bottom: .6rem !important; }
.main-nav .mega ul { display: block; padding: 0; }
.main-nav .mega li { margin: 0; border-bottom: 1px solid var(--c-border); }
.main-nav .mega li:last-child { border-bottom: 0; }
.main-nav .mega a { font-weight: 400; min-height: 48px; padding: .35rem .3rem; border-radius: 6px; line-height: 1.3; border: 0; font-size: 1.0625rem; }
.main-nav .mega .btn { font-weight: 700; color: var(--c-primary-dark); border: 2px solid var(--c-primary); border-radius: 999px; min-height: var(--tap); padding: .6rem 1.1rem; }
@media (max-width: 1080px) {
  .main-nav > ul > li > a { display: flex; justify-content: space-between; }
  .main-nav .mega { position: static; box-shadow: none; border-top: 0; border-bottom: 1px solid var(--c-border); background: #F8F5EF; max-height: none; }
  .mega__inner, .mega__inner--2 { width: 100%; grid-template-columns: 1fr; padding: 1rem; gap: 1.2rem; }
  .main-nav .mega ul { padding: 0; }
  .main-nav .mega a { font-size: 1.125rem; min-height: 52px; }
}

/* ---------- 16. Inhalte aus dem Bestand ---------- */
.inhalt::after { content: ""; display: block; clear: both; }
.inhalt img { height: auto; }
.inhalt p > img:first-child, .bild-rechts img { }
.bild-links { float: left; margin: .3em 1.4rem .8rem 0; max-width: 45%; }
.bild-rechts { float: right; margin: .3em 0 .8rem 1.4rem; max-width: 45%; }
.inhalt h2, .inhalt h3, .hinweis, .cta-inline, .quiz-teaser--inline { clear: both; }
.inhalt table { width: 100%; border-collapse: collapse; background: #fff; display: block; overflow-x: auto; }
.inhalt td, .inhalt th { padding: .7rem .9rem; border: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.hinweis { background: var(--c-primary-light); border-left: 6px solid var(--c-primary); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.8rem 0; overflow: hidden; }
.hinweis h3 { margin-top: 0; }
.hinweis p:last-child { margin-bottom: 0; }
.hinweis .bild-links:empty { display: none; }
.mehr { font-weight: 700; margin: .4em 0 1em; }
.inhalt .kachel { display: inline-block; vertical-align: top; width: calc(33.33% - 1rem); margin: 0 .9rem 1.2rem 0; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: .8rem; }
.inhalt .kachel img { display: block; width: 100%; margin-bottom: .6rem; }
.inhalt .kachel h3 { margin-top: 0; font-size: 1.2rem; }
@media (max-width: 760px) { .inhalt .kachel { width: 100%; margin-right: 0; } .bild-links, .bild-rechts { float: none; max-width: 100%; margin: 0 0 1rem; } }
.article-layout--solo { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 1240px) { .article-layout--solo { grid-template-columns: minmax(0, 1fr); } }
.article-layout--2col { padding-bottom: 4rem; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li { margin: 0; border-bottom: 1px solid var(--c-border); }
.aside-box li:last-child { border: 0; }
.aside-box li a { display: flex; align-items: center; min-height: 48px; font-size: 1.0625rem; line-height: 1.3; padding: .3rem 0; }
.silo-link { margin: 2rem 0; clear: both; }
.sprung { background: var(--c-surface); border-block: 1px solid var(--c-border); }
.sprung .container { display: flex; gap: .6rem; flex-wrap: wrap; padding-block: 1rem; align-items: center; }
.sprung strong { margin-right: .4rem; }
.section__center { text-align: center; margin-top: 2rem; }
.card__media .img-ph { min-height: 0; }
.bestand { max-width: var(--container-text); margin-inline: auto; }
.bestand > :first-child { margin-top: 0; }
.article-meta .author-mini__img { justify-content: center; flex: none; }
.logo img { height: 48px; width: auto; display: block; }
.funnel-header .logo img { height: 44px; }
.footer-grid .logo img { height: 56px; }
@media (max-width: 620px) { .logo img { height: 40px; } }

/* ---------- 17. Bilder und Kacheln aus dem Bestand ---------- */
.card__media { overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__price span { display: block; }
.inhalt img.bild-gross { display: block; width: 100%; height: auto; margin: 1.4rem 0; border-radius: var(--radius); clear: both; }
.inhalt img.bild-klein { float: right; max-width: 42%; height: auto; margin: .4rem 0 1rem 1.6rem; border-radius: var(--radius); }
.inhalt .kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.2rem 0 2rem; clear: both; }
.inhalt .kacheln .kachel { display: flex; flex-direction: column; width: auto; margin: 0; }
.inhalt .kacheln .kachel img { float: none; max-width: none; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 0 0 .7rem; }
.inhalt .kacheln .kachel .mehr { margin-top: auto; padding-top: .5rem; margin-bottom: 0; }
.inhalt .kacheln .kachel .mehr a { display: inline-flex; min-height: 48px; align-items: center; }
.hinweis img.bild-klein { display: none; }
@media (max-width: 640px) {
  .inhalt .kacheln { grid-template-columns: 1fr; }
  .inhalt img.bild-klein { float: none; display: block; max-width: 100%; margin: 1rem 0; }
}
.bild-links img.bild-klein, .bild-rechts img.bild-klein { float: none; display: block; max-width: 100%; margin: 0 0 .6rem; }

/* Footer: Die weiße Linkfarbe darf den weißen Knopf nicht treffen */
.site-footer a.btn--white, .site-footer a.btn--white:hover { color: var(--c-primary-dark); text-decoration: none; }
.site-footer a.btn--white svg { width: 1.2em; height: 1.2em; }
