/* ============================================================
   CLARIQUE Dental, Stylesheet (Relaunch 002, Oktober 2026)
   Aufbau nach dem E.ON-Muster: volle Farbflächen, Fotos mit
   Verlauf, Kästen mit aufgesetzten Icon-Tags, Bänder im Wechsel.
   Eine Schriftfamilie (DM Sans, lokal), handgezeichnete Icons.
   ============================================================ */

@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('../fonts/dm-sans-latin.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: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/dm-sans-latin-italic.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;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #993434;
  --brand-dark: #7a2929;
  --brand-deep: #6b1d1d;
  --plum: #4f1738;
  --hero: #6d1e28;
  --brand-bg: #fbf3f3;
  --mono-cobalt: #1E3FC9;
  --mono-petrol: #0F6F7A;
  --mono-amber: #E9A23B;
  --mono-charcoal: #1A1A2E;
  --mono-sand: #E8D9C3;
  --ink: #1a1a2e;
  --text: #2b2b33;
  --text-light: #555;
  --text-muted: #6b6b6b;
  --bg: #fff;
  --band: #f7f3ef;
  --border: #e6e1dc;
  --radius: 6px;
  --radius-box: 4px;
  --shadow: 0 2px 12px rgba(30,20,20,0.06);
  --shadow-lg: 0 18px 50px rgba(30,20,20,0.14);
  --transition: 0.25s ease;
  --max-width: 1180px;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; }
.skip-link:focus { top: 12px; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .container { padding: 0 20px; } }

/* --- Typografie --- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { font-size: 1.0625rem; line-height: 1.65; color: var(--text-light); }
strong { color: var(--ink); font-weight: 650; }
.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--text); }
.kicker { display: block; font-size: 0.875rem; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.source { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.55; margin-top: 18px; }
.source a { text-decoration: underline; text-underline-offset: 2px; }
.center { text-align: center; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: var(--radius); font-size: 0.9375rem; font-weight: 600; line-height: 1.4; transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition); white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #f4ecec; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.65); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-icon { width: 18px; height: 18px; transition: transform var(--transition); }
.btn:hover .btn-icon { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9375rem; color: var(--brand); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--transition); }
.link-arrow:hover svg { transform: translateX(3px); }
.on-dark .link-arrow { color: #fff; }

/* --- Navigation --- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #fff; border-bottom: 1px solid transparent; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 16px rgba(30,20,20,0.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-height); max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 12px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-cta { padding: 9px 18px; font-size: 0.85rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; padding: 4px 0; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
@media (max-width: 1040px) { .nav-links { gap: 18px; } .nav-links a { font-size: 0.85rem; } }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0; margin: 0; background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transform: translateX(100%); transition: transform var(--transition); }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.125rem; color: var(--ink); }
  .nav-right .nav-cta { display: none; }
}

/* --- Sprach-Switcher --- */
.lang-switch { position: relative; min-width: 72px; min-height: 36px; }
.lang-switch-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; color: var(--text); transition: background var(--transition); }
.lang-switch-btn:hover { background: var(--band); }
.lang-switch-btn > svg { width: 14px; height: 14px; color: var(--text-muted); transition: transform var(--transition); }
.lang-switch.open .lang-switch-btn > svg { transform: rotate(180deg); }
.lang-flag { width: 20px; height: 14px; border-radius: 2px; overflow: hidden; display: inline-flex; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.lang-flag svg { width: 100%; height: 100%; display: block; }
.lang-switch-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 1001; }
.lang-switch.open .lang-switch-menu { display: block; }
.lang-switch-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; color: var(--text); text-align: left; transition: background var(--transition); }
.lang-switch-menu button:hover { background: var(--band); }
.lang-switch-menu button[aria-current="true"] { background: var(--brand-bg); color: var(--brand); font-weight: 600; }
@media (max-width: 900px) { .lang-switch-menu { right: auto; left: 0; } }

/* --- Bänder und Sektionen --- */
main { display: block; }
section { padding: 88px 0; }
section.band { background: var(--band); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.125rem; }
.section-head.left { margin-left: 0; text-align: left; }
@media (max-width: 768px) { section { padding: 60px 0; } }

/* --- Icons --- */
.hd-icon { width: 44px; height: 44px; color: var(--ink); display: block; flex: 0 0 auto; }
.on-dark .hd-icon { color: #fff; }
/* Icon-Tag: sitzt auf der Kante eines Kastens, ragt nach oben heraus */
.icon-tag { position: absolute; top: -28px; left: 28px; width: 56px; height: 56px; background: #fff; border-radius: var(--radius-box); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(30,20,20,0.12); }
.icon-tag .hd-icon { width: 34px; height: 34px; color: var(--brand); }
.icon-tag.dark { background: var(--brand); }
.icon-tag.dark .hd-icon { color: #fff; }
/* Text-Tag: Beschriftung, die oben rechts aus dem Kasten ragt */
.text-tag { position: absolute; top: -18px; right: 0; background: var(--plum); color: #fff; font-size: 0.9rem; font-weight: 700; padding: 8px 14px; border-radius: var(--radius-box) var(--radius-box) 0 0; }

/* --- Hero (volle Breite, links Farbfläche, rechts Foto) --- */
.hero { padding: var(--nav-height) 0 0; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; }
.hero-color { background: linear-gradient(110deg, var(--plum) 0%, var(--brand-dark) 45%, var(--hero) 100%); color: #fff; display: flex; align-items: center; padding: 72px 56px 110px; position: relative; overflow: hidden; }
.hero-color::before { content: ''; position: absolute; inset: 0; background: url('../img/art/contour-burgundy.webp') right center / cover no-repeat; opacity: 0.35; mix-blend-mode: screen; pointer-events: none; }
.hero-text { position: relative; max-width: 560px; margin-left: auto; width: 100%; padding-right: 16px; }
.hero-text .kicker { color: rgba(255,255,255,0.78); }
.hero-text h1 { color: #fff; margin-bottom: 18px; }
.hero-text .lead { color: rgba(255,255,255,0.9); margin-bottom: 26px; font-size: 1.125rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.hero-photo { position: relative; background: var(--hero); overflow: hidden; }
.hero-photo img, .hero-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero) 0%, rgba(109,30,40,0) 30%); pointer-events: none; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-color { padding: 48px 24px 96px; }
  .hero-text { margin-left: 0; }
  .hero-photo { min-height: 72vw; }
  .hero-photo::after { background: linear-gradient(180deg, var(--hero) 0%, rgba(109,30,40,0) 22%); }
}

/* Faktenbox: weißer Kasten, der in den Hero hineinragt */
.factbox-wrap { margin-top: -72px; position: relative; z-index: 2; }
.factbox { background: #fff; box-shadow: var(--shadow-lg); border-radius: var(--radius-box); padding: 32px 36px 24px; }
.factline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.fact { padding: 6px 24px; border-left: 1px solid var(--border); }
.fact:first-child { border-left: none; padding-left: 0; }
.fact strong { display: block; font-size: 1.75rem; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 4px; color: var(--brand); }
.fact span { font-size: 0.9rem; color: var(--text-light); line-height: 1.4; display: block; }
.factbox .source { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
@media (max-width: 900px) {
  .factbox { padding: 24px 24px 18px; }
  .factline { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .fact:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 520px) { .factline { grid-template-columns: 1fr; } .fact { border-left: none; padding-left: 0; } }

/* --- Ebene 1: vier Farbkästen mit Icon-Tag --- */
.aboxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.abox { position: relative; background: var(--brand); color: #fff; border-radius: var(--radius-box); padding: 52px 26px 26px; display: flex; flex-direction: column; min-height: 100%; }
.abox .tile-label { display: block; font-size: 0.8125rem; font-weight: 600; color: rgba(255,255,255,0.75); margin-bottom: 6px; }
.abox h3 { color: #fff; font-size: 1.35rem; line-height: 1.2; margin-bottom: 12px; }
.abox .tile-lead { color: rgba(255,255,255,0.88); font-size: 0.95rem; margin-bottom: 18px; }
.abox-facts { display: grid; gap: 10px; margin-bottom: 22px; }
.abox-facts li { padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.22); }
.abox-facts strong { display: block; color: #fff; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 2px; }
.abox-facts span { font-size: 0.85rem; color: rgba(255,255,255,0.8); line-height: 1.4; display: block; }
.abox .abox-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 0.95rem; }
.abox .abox-link .hd-icon { width: 20px; height: 20px; color: #fff; }
@media (max-width: 1040px) { .aboxes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .aboxes { grid-template-columns: 1fr; } }

/* Ebene 2: weiße Detailtafeln unter den Kästen */
.panels { margin-top: 28px; background: #fff; border-radius: var(--radius-box); box-shadow: var(--shadow); }
details.more { border-top: 1px solid var(--border); }
details.more:first-child { border-top: none; }
details.more > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 18px 28px; font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary .hd-icon { width: 26px; height: 26px; color: var(--brand); transition: transform var(--transition); }
details.more[open] > summary .hd-icon { transform: rotate(45deg); }
details.more > summary:hover { color: var(--brand); }
details.more > summary .sum-label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--brand); margin-bottom: 2px; }
.more-body { padding: 4px 28px 26px 68px; }
.more-body p { font-size: 0.95rem; margin-bottom: 12px; max-width: 820px; }
.more-body ul, .more-body ol { margin: 0 0 14px 0; display: grid; gap: 8px; max-width: 820px; }
.more-body li { font-size: 0.95rem; color: var(--text-light); line-height: 1.55; padding-left: 18px; position: relative; }
.more-body li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1.5px; background: var(--brand); }
.more-body ol { counter-reset: s; }
.more-body ol li { padding-left: 30px; }
.more-body ol li::before { content: counter(s); counter-increment: s; width: auto; height: auto; background: none; top: 0; font-weight: 700; color: var(--brand); font-size: 0.9rem; }
.more-body table { width: 100%; max-width: 900px; border-collapse: collapse; font-size: 0.9rem; margin: 6px 0 14px; }
.more-body th, .more-body td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.more-body th { font-weight: 600; color: var(--ink); background: var(--band); }
.more-body .source { margin-top: 10px; }
.more-body .deep-link { margin-top: 6px; display: inline-flex; }
@media (max-width: 680px) { .more-body { padding-left: 24px; padding-right: 24px; } details.more > summary { padding: 16px 20px; } }

/* --- Foto-Karten mit eingebrannter Blende (Fotos mit Titel) --- */
.photo-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.photo-cards.three { grid-template-columns: repeat(3, 1fr); }
.photo-card { position: relative; border-radius: var(--radius-box); overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink); color: #fff; display: block; }
.photo-card img, .photo-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-card .pc-top { position: absolute; top: 22px; left: 22px; right: 22px; font-size: 0.8125rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.photo-card .pc-bottom { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.photo-card h3 { color: #fff; font-size: 1.35rem; line-height: 1.15; margin-bottom: 8px; }
.photo-card p { color: rgba(255,255,255,0.88); font-size: 0.9rem; line-height: 1.5; }
.photo-card .pc-link { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: 0.9rem; margin-top: 10px; }
.photo-card .pc-link svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .photo-cards, .photo-cards.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .photo-cards, .photo-cards.three { grid-template-columns: 1fr; } }

/* --- Zweispaltig: Bild und Text --- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.split.reverse > .split-media { order: 2; }
.split h2 { margin-bottom: 16px; }
.split p { margin-bottom: 16px; }
.split .btn { margin-top: 8px; }
.mono { border-radius: var(--radius-box); overflow: hidden; position: relative; background: var(--band); }
.mono img, .mono video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mono.ratio-43 { aspect-ratio: 4 / 3; }
.mono.ratio-11 { aspect-ratio: 1 / 1; }
.mono.ratio-169 { aspect-ratio: 16 / 9; }
.mono video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
.mono video.is-playing, .hero-photo video.is-playing, .photo-card video.is-playing { opacity: 1; }
.hero-photo video, .photo-card video { opacity: 0; transition: opacity 0.5s ease; }
.product-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.product-fact { padding: 18px 0 0; border-top: 2px solid var(--brand); }
.product-fact strong { display: block; font-size: 1.125rem; margin-bottom: 4px; }
.product-fact span { font-size: 0.9rem; color: var(--text-light); line-height: 1.45; display: block; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse > .split-media { order: 0; }
  .product-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .product-facts { grid-template-columns: 1fr; } }

/* --- Kleine Farbkästen (Indikationen) --- */
.mini-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.mini-box { position: relative; background: var(--brand); color: #fff; border-radius: var(--radius-box); padding: 46px 24px 24px; }
.mini-box h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.mini-box p { color: rgba(255,255,255,0.88); font-size: 0.925rem; }
.mini-box.light { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.mini-box.light h3 { color: var(--ink); }
.mini-box.light p { color: var(--text-light); }
@media (max-width: 900px) { .mini-boxes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mini-boxes { grid-template-columns: 1fr; } }

/* --- Verlaufskasten und Infokasten (Paar) --- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gbox { position: relative; border-radius: var(--radius-box); padding: 44px 40px; background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 55%, var(--plum) 100%); color: #fff; display: flex; flex-direction: column; }
.gbox h3, .gbox h2 { color: #fff; margin-bottom: 12px; }
.gbox p { color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.gbox .btn { align-self: flex-start; margin-top: auto; }
.ibox { position: relative; border-radius: var(--radius-box); padding: 44px 40px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.band .ibox { background: #fff; }
.ibox h3 { margin-bottom: 12px; }
.ibox p { margin-bottom: 20px; }
.ibox .link-arrow { margin-top: auto; }
.gbox .text-tag { background: #fff; color: var(--brand); }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } .gbox, .ibox { padding: 36px 26px; } }

/* --- Kennzahlen im Verlaufskasten --- */
.stats-row { display: grid; grid-template-columns: repeat(3, auto); gap: 40px; justify-content: start; margin: 30px 0 8px; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; color: #fff; margin-bottom: 8px; }
.stat span { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.82); max-width: 200px; line-height: 1.4; }
.gbox .source { color: rgba(255,255,255,0.7); }
@media (max-width: 820px) { .stats-row { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 520px) { .stats-row { grid-template-columns: 1fr; } }

/* --- Karten mit Foto oben (Leistungen) --- */
.top-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.top-card { background: #fff; border-radius: var(--radius-box); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; text-align: center; }
.top-card .mono { border-radius: 0; aspect-ratio: 4 / 3; }
.top-card-body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; align-items: center; }
.top-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.top-card p { font-size: 0.95rem; margin-bottom: 18px; }
.top-card .price { font-size: 1.6rem; font-weight: 700; color: var(--brand); letter-spacing: -0.02em; margin-bottom: 2px; }
.top-card .price small { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.top-card .note { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 18px; }
.top-card .btn { margin-top: auto; }
@media (max-width: 900px) { .top-cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* --- Partner-Kästen --- */
.partner-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.partner-box { position: relative; background: #fff; border-radius: var(--radius-box); box-shadow: var(--shadow); padding: 48px 32px 32px; display: flex; flex-direction: column; gap: 12px; }
.partner-box img.partner-logo { height: 40px; width: auto; align-self: flex-start; object-fit: contain; }
.partner-box h3 { font-size: 1.25rem; }
.partner-box p { font-size: 0.95rem; }
.partner-facts { display: grid; gap: 10px; margin-top: 4px; }
.partner-fact { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 0.925rem; color: var(--text-light); }
.partner-fact .hd-icon { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
@media (max-width: 820px) { .partner-split { grid-template-columns: 1fr; } }

/* --- Wissen-Karten --- */
.wissen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.wissen-card { position: relative; display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: var(--radius-box); box-shadow: var(--shadow); padding: 44px 26px 26px; transition: box-shadow var(--transition), transform var(--transition); }
.wissen-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.wissen-card-cat { font-size: 0.8125rem; font-weight: 600; color: var(--brand); display: block; }
.wissen-card h3, .wissen-card h4 { font-size: 1.125rem; line-height: 1.3; }
.wissen-card p { font-size: 0.925rem; flex: 1; }
.wissen-card-meta { font-size: 0.875rem; font-weight: 600; color: var(--brand); }
.wissen-more { text-align: center; margin-top: 36px; }
@media (max-width: 900px) { .wissen-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .wissen-grid { grid-template-columns: 1fr; } }

/* --- FAQ --- */
.faq-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; }
.faq-group h3 { font-size: 1.125rem; margin-bottom: 6px; padding-bottom: 10px; border-bottom: 2px solid var(--brand); }
details.faq { border-bottom: 1px solid var(--border); }
details.faq > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start; padding: 16px 0; font-weight: 600; font-size: 0.975rem; color: var(--ink); line-height: 1.4; }
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary .hd-icon { width: 20px; height: 20px; color: var(--brand); margin-top: 2px; transition: transform var(--transition); }
details.faq[open] > summary .hd-icon { transform: rotate(45deg); }
details.faq > summary:hover { color: var(--brand); }
details.faq .faq-a { padding: 0 0 18px; }
details.faq .faq-a p { font-size: 0.95rem; margin-bottom: 8px; }
@media (max-width: 820px) { .faq-groups { grid-template-columns: 1fr; } }

/* --- Rechner --- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 8px 0 12px; max-width: 980px; }
.calc-in { display: grid; gap: 12px; }
.calc-field label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.calc-field input { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.calc-field input:focus { outline: none; border-color: var(--brand); }
.calc-field small { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; line-height: 1.4; }
.calc-out { background: var(--band); border-radius: var(--radius-box); padding: 20px; align-self: start; }
.calc-out table { width: 100%; border-collapse: collapse; font-size: 0.925rem; }
.calc-out td { padding: 8px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.calc-out td:last-child { text-align: right; font-weight: 600; color: var(--ink); white-space: nowrap; }
.calc-out tr.total td { border-bottom: none; padding-top: 12px; font-size: 1.05rem; }
.calc-out tr.total td:last-child { font-size: 1.25rem; color: var(--brand); }
.calc-note { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; margin-top: 10px; }
@media (max-width: 680px) { .calc { grid-template-columns: 1fr; } }

/* --- CTA --- */
.cta .gbox { padding: 56px 48px; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { max-width: 720px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 820px) { .cta .gbox { padding: 40px 26px; } }

/* --- Footer --- */
.footer { background: var(--band); border-top: 1px solid var(--border); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer-brand img { height: 24px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; max-width: 340px; line-height: 1.6; }
.footer-col h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 14px; }
.footer-col a, .footer-link-btn { display: block; font-size: 0.875rem; color: var(--text-light); padding: 6px 0; text-align: left; transition: color var(--transition); }
.footer-col a:hover, .footer-link-btn:hover { color: var(--brand); }
.footer-legal { font-size: 0.8125rem; color: var(--text-muted); margin-top: 24px; line-height: 1.6; max-width: 900px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; font-size: 0.8125rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 18px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Reveal --- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.js .stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --- Cookie-Hinweis --- */
.cookie-banner { position: fixed; bottom: 20px; left: 20px; max-width: 420px; background: #fff; border-radius: var(--radius-box); box-shadow: var(--shadow-lg); padding: 20px; z-index: 9999; display: none; border: 1px solid var(--border); }
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 0.8125rem; margin-bottom: 12px; }
.cookie-btn { padding: 9px 16px; border-radius: var(--radius); font-size: 0.8125rem; font-weight: 600; }
.cookie-accept { background: var(--brand); color: #fff; }
@media (max-width: 520px) { .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* ============================================================
   LEAD-FUNNEL LIGHTBOX
   ============================================================ */
.lf-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(26,26,46,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity 0.25s ease; }
.lf-overlay.open { display: flex; }
.lf-overlay.visible { opacity: 1; }
.lf-modal { width: 100%; max-width: 640px; max-height: calc(100vh - 48px); background: #fff; border-radius: var(--radius-box); box-shadow: 0 24px 80px rgba(0,0,0,0.25); display: flex; flex-direction: column; overflow: hidden; transform: translateY(16px) scale(0.98); transition: transform 0.25s ease; }
.lf-overlay.visible .lf-modal { transform: none; }
.lf-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px 0; }
.lf-head img { height: 26px; }
.lf-close { width: 36px; height: 36px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); color: var(--text-muted); transition: background var(--transition), color var(--transition); }
.lf-close:hover { background: var(--band); color: var(--text); }
.lf-close svg { width: 20px; height: 20px; }
.lf-progress { height: 3px; background: var(--border); margin: 18px 28px 0; border-radius: 2px; overflow: hidden; }
.lf-progress-bar { height: 100%; width: 0; background: var(--brand); border-radius: 2px; transition: width 0.35s ease; }
.lf-body { padding: 26px 28px 28px; overflow-y: auto; }
.lf-step { display: none; }
.lf-step.active { display: block; animation: lfIn 0.3s ease; }
@keyframes lfIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.lf-step h3 { font-size: 1.375rem; margin-bottom: 6px; }
.lf-step > p { color: var(--text-light); font-size: 0.9375rem; margin-bottom: 22px; }
.lf-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lf-option { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; border: 1.5px solid var(--border); border-radius: var(--radius-box); background: #fff; cursor: pointer; text-align: left; transition: border-color var(--transition), background var(--transition); }
.lf-option:hover { border-color: var(--brand); }
.lf-option.selected { border-color: var(--brand); background: var(--brand-bg); }
.lf-option .hd-icon { width: 34px; height: 34px; color: var(--brand); }
.lf-option strong { font-size: 0.9375rem; }
.lf-option span { font-size: 0.8125rem; color: var(--text-light); line-height: 1.45; }
.lf-options.cols-1 { grid-template-columns: 1fr; }
.lf-options.cols-1 .lf-option { flex-direction: row; align-items: center; }
.lf-field { margin-bottom: 16px; }
.lf-field label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.lf-field input, .lf-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 0.9375rem; color: var(--text); background: #fff; transition: border-color var(--transition); }
.lf-field input:focus, .lf-field textarea:focus { outline: none; border-color: var(--brand); }
.lf-field input.invalid { border-color: #c0392b; }
.lf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-hint { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }
.lf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8125rem; color: var(--text-light); margin: 6px 0 0; }
.lf-consent input { margin-top: 3px; }
.lf-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 28px 26px; }
.lf-back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; color: var(--text-muted); visibility: hidden; }
.lf-back:hover { color: var(--text); }
.lf-back svg { width: 16px; height: 16px; }
.lf-back.show { visibility: visible; }
.lf-error { color: #c0392b; font-size: 0.8125rem; margin-top: 10px; display: none; }
.lf-error.show { display: block; }
.lf-success { text-align: center; padding: 26px 0 12px; }
.lf-success .hd-icon { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--brand); }
.lf-success h3 { margin-bottom: 10px; }
.lf-success p { color: var(--text-light); font-size: 0.9375rem; max-width: 420px; margin: 0 auto; }
@media (max-width: 620px) { .lf-overlay { padding: 0; align-items: stretch; } .lf-modal { max-width: none; max-height: none; height: 100%; border-radius: 0; } .lf-options, .lf-field-row { grid-template-columns: 1fr; } }

/* ============================================================
   UNTERSEITEN: Kopf, Artikel, Wissen-Übersicht, Partnerverzeichnis
   ============================================================ */
.page-hero { padding: calc(var(--nav-height) + 56px) 0 40px; background: var(--band); }
.page-hero .container { max-width: 900px; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 16px; }
.page-hero .lead { max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--border); }
.article-hero { padding: calc(var(--nav-height) + 56px) 0 40px; background: var(--band); }
.article-hero h1 { font-size: clamp(1.75rem, 4vw, 2.625rem); line-height: 1.15; max-width: 820px; margin-bottom: 16px; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.875rem; color: var(--text-muted); margin-top: 16px; }
.article-body { padding: 48px 0 80px; }
.article-prose { max-width: 760px; margin: 0 auto; font-size: 1.0625rem; line-height: 1.72; color: var(--text); }
.article-prose h2 { font-size: 1.625rem; margin: 44px 0 14px; }
.article-prose h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.article-prose p { margin-bottom: 18px; }
.article-prose ul, .article-prose ol { margin: 0 0 18px 22px; list-style: disc; }
.article-prose ol { list-style: decimal; }
.article-prose li { margin-bottom: 8px; }
.article-prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article-prose blockquote { margin: 28px 0; padding: 18px 24px; background: var(--brand-bg); border-radius: var(--radius-box); color: var(--brand-deep); }
.article-prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.925rem; }
.article-prose th, .article-prose td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; vertical-align: top; }
.article-prose th { background: var(--band); font-weight: 600; }
.article-table-wrap { overflow-x: auto; }
.article-keyfacts { margin: 28px 0; padding: 24px 26px; background: var(--band); border-radius: var(--radius-box); }
.article-keyfacts h3 { margin: 0 0 12px; font-size: 1rem; }
.article-keyfacts ul { margin: 0 0 0 20px; }
.article-keyfacts li { font-size: 0.95rem; margin-bottom: 6px; }
.article-source { font-size: 0.8125rem; color: var(--text-muted); margin-top: 34px; line-height: 1.6; }
.article-sources { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--border); }
.article-sources h2 { font-size: 1.125rem; margin: 0 0 10px; }
.article-sources ol { margin-left: 20px; font-size: 0.875rem; color: var(--text-light); }
.article-sources li { margin-bottom: 6px; }
.article-cta { max-width: 760px; margin: 48px auto 0; padding: 32px 36px; background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 55%, var(--plum) 100%); border-radius: var(--radius-box); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.article-cta h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.article-cta p { color: rgba(255,255,255,0.85); font-size: 0.925rem; margin: 0; }
.article-back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; color: var(--brand); margin-bottom: 8px; }
.article-back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.article-hwg { max-width: 760px; margin: 28px auto 0; font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }
.readmore { max-width: 760px; margin: 40px auto 0; }
.readmore h2 { font-size: 1.125rem; margin-bottom: 12px; }
.readmore ul { display: grid; gap: 8px; }
.readmore a { color: var(--brand); font-weight: 600; font-size: 0.95rem; }
.readmore a:hover { text-decoration: underline; }
.section-label { display: inline-block; font-size: 0.8125rem; font-weight: 600; color: var(--brand); margin-bottom: 10px; }

.partner-hero { padding: calc(var(--nav-height) + 56px) 0 40px; text-align: center; background: var(--band); }
.partner-hero h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 14px; }
.partner-hero p { color: var(--text-light); max-width: 640px; margin: 0 auto; }
.partner-list-section { padding: 48px 0 90px; }
.wissen-filter, .partner-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 8px; }
.wissen-filter button, .partner-filter button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius); border: 1.5px solid var(--border); background: #fff; font-size: 0.875rem; font-weight: 600; color: var(--text-light); transition: border-color var(--transition), color var(--transition); }
.wissen-filter button:hover, .partner-filter button:hover { border-color: var(--brand); color: var(--brand); }
.wissen-filter button.active, .partner-filter button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.partner-filter .lang-flag { width: 18px; height: 13px; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-box); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.partner-card-head { display: flex; align-items: center; gap: 10px; }
.partner-card-head .lang-flag { width: 22px; height: 15px; flex: 0 0 auto; }
.partner-card h3 { font-size: 1.0313rem; }
.partner-card-city { font-size: 0.875rem; color: var(--text-light); }
.partner-card-since { font-size: 0.8125rem; color: var(--text-muted); }
.partner-card a { color: var(--brand); font-size: 0.875rem; font-weight: 600; }
.partner-empty { max-width: 560px; margin: 0 auto; text-align: center; padding: 48px 32px; background: var(--band); border-radius: var(--radius-box); }
.partner-empty .hd-icon { width: 54px; height: 54px; margin: 0 auto 18px; color: var(--brand); }
.partner-empty h3 { margin-bottom: 10px; }
.partner-empty p { color: var(--text-light); font-size: 0.9375rem; margin-bottom: 22px; }
@media (max-width: 900px) { .partner-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .partner-grid { grid-template-columns: 1fr; } }

.facts-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 8px 0 20px; }
.facts-table th, .facts-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.facts-table th { font-weight: 600; color: var(--ink); background: var(--band); width: 28%; }
.facts-table td:last-child { color: var(--text-muted); font-size: 0.85rem; white-space: nowrap; }
@media (max-width: 620px) { .facts-table th { width: auto; } .facts-table td:last-child { white-space: normal; } }

/* Nachträge */
.mono.ratio-34 { aspect-ratio: 3 / 4; }
.hero-split { min-height: clamp(560px, 42vw, 880px); }
.ibox .link-arrow { background: none; padding: 0; font-family: inherit; }
.pcard .photo-card { aspect-ratio: 3 / 4; }
.pcard .pc-text { font-size: 0.925rem; margin-top: 14px; color: var(--text-light); }
.photo-card .pc-bottom h3 { margin-bottom: 0; }
.stat strong { white-space: nowrap; font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.stats-row { gap: 32px; }

/* Icon-Zeilen in Fakten und Aufzählungen */
.fact { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.fact .hd-icon { width: 32px; height: 32px; color: var(--brand); margin-top: 2px; }
.abox-facts li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.abox-facts .hd-icon { width: 26px; height: 26px; color: #fff; margin-top: 2px; }
.product-fact { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.product-fact .hd-icon { width: 32px; height: 32px; color: var(--brand); }
.more-body ul li { padding-left: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.more-body ul li::before { display: none; }
.more-body ul li .hd-icon { width: 22px; height: 22px; color: var(--brand); margin-top: 1px; }
.faq-h { display: flex; align-items: center; gap: 10px; }
.faq-h .hd-icon { width: 28px; height: 28px; color: var(--brand); }

/* Rechner nach E.ON-Muster */
.calc-card { background: #fff; border-radius: var(--radius-box); box-shadow: var(--shadow-lg); padding: 36px; }
.calc-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; }
.calc-col .calc-field { margin-bottom: 20px; }
.calc-field label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 0; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; width: fit-content; max-width: 100%; }
.seg button { padding: 11px 18px; font-size: 0.95rem; font-weight: 600; color: var(--ink); background: #fff; border-right: 1.5px solid var(--ink); min-width: 56px; transition: background var(--transition), color var(--transition); }
.seg button:last-child { border-right: none; }
.seg button:hover { background: var(--band); }
.seg button.active { background: var(--brand); color: #fff; }
.calc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.calc-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 14px; }
.input-unit { display: flex; align-items: stretch; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.input-unit:focus-within { border-color: var(--brand); }
.input-unit input { border: none; flex: 1; min-width: 0; padding: 11px 12px; font-size: 1.05rem; font-family: inherit; color: var(--ink); background: transparent; }
.input-unit input:focus { outline: none; }
.input-unit span { display: flex; align-items: center; padding: 0 14px; background: var(--band); color: var(--text-light); font-weight: 600; }
.calc-field input[type="number"]:not(.input-unit input) { width: 100%; padding: 11px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 1.05rem; color: var(--ink); }
.calc-field small { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; line-height: 1.4; }
details.calc-more { margin: 4px 0 22px; }
details.calc-more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--brand); }
details.calc-more > summary::-webkit-details-marker { display: none; }
details.calc-more > summary .hd-icon { width: 20px; height: 20px; color: var(--brand); transition: transform var(--transition); }
details.calc-more[open] > summary .hd-icon { transform: rotate(45deg); }
.calc-btn { margin-top: 4px; }
.calc-results { background: var(--band); border-radius: var(--radius-box); padding: 24px; display: grid; gap: 14px; align-content: start; }
.res { background: #fff; border-radius: var(--radius-box); padding: 16px 18px; box-shadow: var(--shadow); }
.res-l { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text-light); margin-bottom: 6px; }
.res-l .hd-icon { width: 24px; height: 24px; color: var(--brand); }
.res strong { display: block; font-size: 1.75rem; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
.res small { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.res-total { background: var(--brand); color: #fff; }
.res-total .res-l, .res-total small, .res-total strong { color: #fff; }
.res-total .res-l .hd-icon { color: #fff; }
.res-total strong { font-size: 2.1rem; }
.res-total small b { color: #fff; font-weight: 700; }
.calc-results .calc-note { margin-top: 4px; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } .calc-card { padding: 24px 20px; } .calc-row2, .calc-row3 { grid-template-columns: 1fr; } }
@keyframes calcFlash { from { box-shadow: 0 0 0 4px rgba(153,52,52,0.35); } to { box-shadow: 0 0 0 0 rgba(153,52,52,0); } }
.calc-results.flash { animation: calcFlash 0.8s ease; }

/* Hero als eine nahtlose Fläche: Bild rechts verankert, Farbe links läuft weiter */
.hero-stage { position: relative; background: #6d1e28; min-height: clamp(560px, 42vw, 880px); display: flex; align-items: center; overflow: hidden; }
.hero-art { position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: none; object-fit: cover; }
.hero-stage::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #6d1e28 0%, rgba(109,30,40,0.85) 18%, rgba(109,30,40,0) 42%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 72px; padding-bottom: 120px; }
.hero-inner .hero-text { margin-left: 0; max-width: min(600px, 54%); color: #fff; }
@media (max-width: 900px) {
  .hero-stage { display: block; min-height: 0; padding-top: 0; }
  .hero-art { position: relative; width: 100%; height: 78vw; object-fit: cover; object-position: 76% center; display: block; }
  .hero-stage::before { display: none; }
  .hero-inner { padding: 36px 20px 104px; }
  .hero-inner .hero-text { max-width: none; }
}
@media (min-width: 1700px) { .hero-inner .hero-text { max-width: 640px; } }

/* Footer mit Landschaftsgrafik und aufgesetzter weißer Karte */
.footer { position: relative; background: #fff; border-top: none; padding: 56px 0 clamp(200px, 24vw, 460px); overflow: hidden; }
.footer-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; pointer-events: none; }
.footer .container { position: relative; z-index: 1; }
.footer-card { background: #fff; border-radius: var(--radius-box); box-shadow: var(--shadow-lg); padding: 48px 44px 20px; }
.footer-card .footer-grid { border-bottom: 1px solid var(--border); }
@media (max-width: 768px) { .footer { padding: 32px 0 44vw; } .footer-card { padding: 28px 20px 14px; } }

/* Artikel-Layout: linksbündig, Titelfoto, Seitenleiste, Autorenbox, Figuren */
.article-hero { padding: calc(var(--nav-height) + 48px) 0 0; background: var(--band); }
.article-hero .container { max-width: var(--max-width); }
.article-hero h1 { max-width: 900px; }
.article-hero .lead { max-width: 820px; }
.article-hero .article-meta { padding-bottom: 36px; }
.article-cover { position: relative; margin-top: 0; }
.article-cover .container { position: relative; }
.article-cover .mono { aspect-ratio: 21 / 9; margin-bottom: -96px; box-shadow: var(--shadow-lg); }
.article-cover + .article-body { padding-top: 140px; }
.article-cover .mono img { object-position: center 40%; }
.article-body { padding: 56px 0 80px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.article-prose { max-width: 760px; margin: 0; }
.article-prose h2 { scroll-margin-top: 96px; }
.article-aside { position: sticky; top: calc(var(--nav-height) + 24px); display: grid; gap: 20px; }
.aside-box { background: #fff; border-radius: var(--radius-box); box-shadow: var(--shadow); padding: 24px; position: relative; }
.aside-box h3 { font-size: 1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.aside-box h3 .hd-icon { width: 24px; height: 24px; color: var(--brand); }
.aside-box ul { display: grid; gap: 8px; }
.aside-box li { font-size: 0.9rem; color: var(--text-light); line-height: 1.45; display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; }
.aside-box li .hd-icon { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }
.aside-box.toc li { display: block; }
.aside-box.toc a { display: block; padding: 4px 0; color: var(--text-light); border-left: 2px solid var(--border); padding-left: 10px; }
.aside-box.toc a:hover, .aside-box.toc a.active { color: var(--brand); border-left-color: var(--brand); }
.aside-box.cta-box { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 55%, var(--plum) 100%); color: #fff; }
.aside-box.cta-box h3 { color: #fff; }
.aside-box.cta-box p { color: rgba(255,255,255,0.88); font-size: 0.9rem; margin-bottom: 14px; }
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; background: var(--band); border-radius: var(--radius-box); padding: 20px 22px; margin: 36px 0 0; }
.author-box .hd-icon { width: 40px; height: 40px; color: var(--brand); }
.author-box strong { display: block; margin-bottom: 4px; }
.author-box p { font-size: 0.9rem; margin: 0; }
.article-figure { margin: 32px 0; }
.article-figure .mono { aspect-ratio: 16 / 9; }
.article-figure figcaption { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; line-height: 1.5; }
.article-keyfacts ul { margin: 0; list-style: none; display: grid; gap: 8px; }
.article-keyfacts li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.article-keyfacts li .hd-icon { width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }
.article-keyfacts h3 { display: flex; align-items: center; gap: 10px; }
.article-keyfacts h3 .hd-icon { width: 24px; height: 24px; color: var(--brand); }
.readmore { max-width: none; margin: 48px 0 0; }
.readmore .wissen-grid { margin-top: 20px; }
.readmore .wissen-card { padding: 44px 22px 22px; }
.article-sources { max-width: 760px; }
.article-cta { max-width: none; margin: 40px 0 0; }
.article-hwg { max-width: 760px; margin: 24px 0 0; }
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-aside { position: static; }
  .article-cover .mono { margin-bottom: -48px; }
  .article-cover + .article-body { padding-top: 80px; }
}

/* Partner: freie Spalten mit großen Icons statt Kästen */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.partner-col { display: flex; flex-direction: column; gap: 14px; padding: 8px 56px 8px 0; }
.partner-col + .partner-col { border-left: 1px solid var(--border); padding: 8px 0 8px 56px; }
.partner-col .hd-icon.big { width: 104px; height: 104px; color: var(--brand); margin-bottom: 6px; }
.partner-col img.partner-logo { height: 40px; width: auto; align-self: flex-start; object-fit: contain; }
.partner-col h3 { font-size: 1.5rem; }
.partner-col p { font-size: 1rem; }
.partner-col .partner-facts { margin-top: 6px; gap: 12px; }
.partner-col .partner-fact { font-size: 0.95rem; }
.partner-col .partner-fact .hd-icon { width: 26px; height: 26px; }
@media (max-width: 820px) {
  .partners { grid-template-columns: 1fr; gap: 36px; }
  .partner-col, .partner-col + .partner-col { padding: 0; border-left: none; }
}
.seg-wrap button { padding: 11px 14px; font-size: 0.9rem; }
.res-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.res-total strong { font-size: 2.6rem; }
.res-total small { font-size: 0.9rem; margin-top: 8px; }
.calc-results { gap: 12px; }

/* Kennzahlen: feste Spalten und Tabellenziffern, damit der Kasten beim Hochzählen nicht springt */
.stats-row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat strong { font-variant-numeric: tabular-nums; min-width: 6ch; }
.stat span { max-width: none; }
@media (max-width: 820px) { .stats-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stats-row { grid-template-columns: 1fr; } }

/* Antwort-Kästen: eingeklappt mit Ausblendung und Pfeil, auf dem Handy wischbar */
.aboxes { align-items: start; }
.abox.collapsible { max-height: 300px; overflow: hidden; padding-bottom: 64px; transition: max-height 0.45s ease; }
.abox.collapsible::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, rgba(153,52,52,0) 0%, var(--brand) 70%); pointer-events: none; transition: opacity 0.3s ease; }
.abox.collapsible.open { max-height: 1200px; }
.abox.collapsible.open::after { opacity: 0; }
.abox-toggle { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(30,20,20,0.2); z-index: 2; transition: transform 0.3s ease, background var(--transition); }
.abox-toggle svg { width: 20px; height: 20px; transition: transform 0.3s ease; }
.abox-toggle:hover { background: #f4ecec; }
.abox.open .abox-toggle svg { transform: rotate(180deg); }
.abox .abox-link { margin-top: 6px; }
@media (max-width: 1040px) { .abox.collapsible { max-height: 320px; } }
@media (max-width: 900px) {
  .aboxes, .photo-cards, .photo-cards.three, .mini-boxes, .top-cards, .wissen-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 30px 20px 10px; margin: 0 -20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; max-width: none; }
  .aboxes::-webkit-scrollbar, .photo-cards::-webkit-scrollbar, .mini-boxes::-webkit-scrollbar, .top-cards::-webkit-scrollbar, .wissen-grid::-webkit-scrollbar { display: none; }
  .aboxes > *, .photo-cards > *, .mini-boxes > *, .top-cards > *, .wissen-grid > * { flex: 0 0 84%; scroll-snap-align: start; }
  .aboxes { margin-top: 36px; }
  .mini-boxes { margin-top: 24px; }
  .top-cards { margin-left: -20px; margin-right: -20px; }
  .swipe-hint { display: block; text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }
}
@media (min-width: 901px) { .swipe-hint { display: none; } }

/* Ebene-2-Tafeln: zweispaltig mit Icons, Fotos und Grafiken */
.more-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 32px; align-items: start; max-width: none; }
.more-media { display: grid; gap: 14px; }
.more-media .mono { aspect-ratio: 4 / 3; }
.more-media .mono.art img { object-fit: cover; }
.more-media .mini-box { padding-top: 44px; }
.step-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.step-list.one { grid-template-columns: 1fr; }
.step-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.step-item .hd-icon { width: 36px; height: 36px; color: var(--brand); margin-top: 2px; }
.step-item .num { display: block; font-size: 0.75rem; font-weight: 700; color: var(--brand); margin-bottom: 2px; }
.step-item strong { display: block; margin-bottom: 4px; }
.step-item p { font-size: 0.925rem; margin: 0; }
.price-rows { display: grid; }
.price-row { display: grid; grid-template-columns: auto 190px 1fr; gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.925rem; color: var(--text-light); }
.price-row:first-child { padding-top: 0; }
.price-row .hd-icon { width: 30px; height: 30px; color: var(--brand); }
.price-row strong { padding-top: 3px; }
.price-row span { padding-top: 3px; }
@media (max-width: 900px) {
  .more-split { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: auto 1fr; }
  .price-row span { grid-column: 2; }
}

/* Schritt-Pfeile zwischen den Ablauf-Karten */
.pcard { position: relative; }
.steps-flow .step-arrow { position: absolute; right: -26px; top: 36%; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(30,20,20,0.18); display: grid; place-items: center; z-index: 3; }
.steps-flow .step-arrow .hd-icon { width: 26px; height: 26px; color: var(--brand); }
.steps-flow .photo-card { overflow: visible; }
.steps-flow .photo-card img { border-radius: var(--radius-box); }
@media (max-width: 900px) { .steps-flow .step-arrow { right: -30px; top: 40%; } }

/* Mobil: fester CTA am unteren Rand */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -6px 20px rgba(30,20,20,0.12); }
  .sticky-cta .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 1rem; }
  body { padding-bottom: 76px; }
  .cookie-banner { bottom: 88px; }
  body.lf-open .sticky-cta { display: none; }
}

/* Footer: Landschaft vollständig sichtbar, Karte überlappt die weiße Zone oben */
.footer { padding: 56px 0 0; overflow: visible; background: #fff; }
.footer-art { position: static; width: 100%; height: auto; display: block; object-fit: unset; margin-top: clamp(-360px, -17vw, -140px); }
.footer .container { position: relative; z-index: 1; }
@media (max-width: 768px) { .footer { padding: 32px 0 0; } .footer-art { margin-top: -40px; } }

/* Sanfte Landschaften statt beiger Bänder: Grafik läuft oben und unten in Weiß aus */
section.band { background: #fff; }
section.land { background-color: #fff; background-repeat: no-repeat; background-size: 100% auto; background-position: center bottom; }
section.land-wide-a { background-image: url('../img/art/land-wide-a.webp'); }
section.land-wide-b { background-image: url('../img/art/land-wide-b.webp'); }
section.land-left { background-image: url('../img/art/land-left.webp'); }
section.land-right-a { background-image: url('../img/art/land-right-a.webp'); }
section.land-right-b { background-image: url('../img/art/land-right-b.webp'); }
section.land.tall { background-position: center top; }
.page-hero, .article-hero, .partner-hero { background: #fff url('../img/art/land-right-a.webp') center bottom / 100% auto no-repeat; }
@media (max-width: 900px) {
  section.land { background-size: 180% auto; }
  section.land-wide-a { background-image: url('../img/art/land-wide-a-1200.webp'); }
  section.land-wide-b { background-image: url('../img/art/land-wide-b-1200.webp'); }
  section.land-left { background-image: url('../img/art/land-left-1200.webp'); }
  section.land-right-a { background-image: url('../img/art/land-right-a-1200.webp'); }
  section.land-right-b { background-image: url('../img/art/land-right-b-1200.webp'); }
}

/* Antwort-Kästen: Icon-Tag bleibt sichtbar, nur der Inhalt wird eingeklappt */
.abox.collapsible { max-height: none; overflow: visible; padding-bottom: 64px; }
.abox.collapsible::after { display: none; }
.abox-body { display: flex; flex-direction: column; flex: 1; }
.abox.collapsible .abox-body { position: relative; max-height: 190px; overflow: hidden; transition: max-height 0.45s ease; }
.abox.collapsible .abox-body::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(153,52,52,0) 0%, var(--brand) 75%); pointer-events: none; transition: opacity 0.3s ease; }
.abox.collapsible.open .abox-body { max-height: 1200px; }
.abox.collapsible.open .abox-body::after { opacity: 0; }
.abox-body .abox-link { margin-top: 14px; }

/* Weiterlesen: Platz für die aufgesetzten Icon-Tags */
.readmore .wissen-grid { margin-top: 48px; }
.readmore h2 { margin-bottom: 0; }

/* Zahlen in Faktenzeilen nie umbrechen */
.fact strong { white-space: nowrap; font-size: clamp(1.2rem, 1.5vw, 1.75rem); }
.abox-facts strong { white-space: nowrap; font-size: clamp(1.1rem, 1.25vw, 1.35rem); }
@media (max-width: 1100px) { .fact { padding-left: 16px; padding-right: 12px; } .fact .hd-icon { width: 26px; height: 26px; } }
