/*
 * Carbonvalid – Komponenten v2 (WordPress)
 * Quelle: Website-Skizze 04-website (Startseite v15 · Leistungen v9 · Team v12 · Publikationen v7 ·
 * Kontakt v5 · Bestätigung v5 · Impressum v4 · Datenschutz v4), konsolidiert.
 * Feste Entscheidungen: Farbwelt E · Schilf, Header B1 über Foto, Module mit Akzent, Team Layout B,
 * BU-Kopf Roboto Serif 400, Listenzeichen Quadrat 6 × 6.
 *
 * Alle Selektoren tragen das Präfix .cv (Body-Klasse), damit sie Elementors Kit-Stile
 * (.elementor-kit-N h2 usw.) sicher schlagen. Farben nur über Tokens.
 */

/* ---------- Grundlagen ---------- */
.cv h1, .cv h2, .cv h3, .cv h4, .cv p, .cv ul, .cv ol, .cv figure, .cv dl, .cv address { margin: 0; }
.cv img { max-width: 100%; height: auto; }
.cv p, .cv h1, .cv h2, .cv h3, .cv h4, .cv li { overflow-wrap: anywhere; }
.cv :focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

.cv .cv-wrap { padding-inline: var(--page-margin); }
.cv .cv-head { font-family: var(--font-heading); font-weight: 500; color: var(--ink); text-wrap: balance; }
.cv .cv-h2 { font-size: 45px; line-height: 52px; letter-spacing: -0.6px; }
.cv .cv-h3 { font-size: 34px; line-height: 40px; letter-spacing: -0.3px; }
.cv .cv-h4 { font-size: 25px; line-height: 32px; letter-spacing: 0; }
.cv .cv-label { font-family: var(--font-caption); font-size: 12px; line-height: 16px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-muted); }
.cv .cv-small { font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.cv .cv-measure { max-width: var(--layout-measure); }
.cv .cv-icon { width: 24px; height: 24px; flex: none; fill: currentColor; }
.cv .cv-icon--sm { width: 20px; height: 20px; }

/* Entwurfs-Hinweis (nur sichtbar, solange „Entwurfshinweise anzeigen“ aktiv ist) */
.cv .tag { justify-self: start; align-self: start; display: inline-block; width: fit-content; margin-top: 8px; font-family: var(--font-heading); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-muted); border: 1px dashed var(--border-control); padding: 3px 7px; }

/* ---------- Buttons und Links ---------- */
.cv .cv-btn, .cv a.cv-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 19px; line-height: 24px; font-weight: 400; padding: 16px 26px; border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent); text-decoration: none; border-radius: 0; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.cv .cv-btn:hover, .cv a.cv-btn:hover, .cv a.cv-btn:focus-visible { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.cv .cv-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.cv .cv-link:hover { color: var(--accent-hover); }

/* Dunkle Flächen: Button hell, Fokus hell */
.cv .is-dark a.cv-btn { background: var(--accent-on-band); border-color: var(--accent-on-band); color: var(--band); }
.cv .is-dark a.cv-btn:hover, .cv .is-dark a.cv-btn:focus-visible { background: var(--on-band); border-color: var(--on-band); color: var(--band); }
.cv .is-dark :focus-visible { outline-color: var(--accent-on-band); }
.cv .is-dark .tag { color: var(--on-band-muted); border-color: var(--on-band-muted); }

/* ---------- Fotos und Bildunterschriften ---------- */
.cv .cv-photo { position: relative; overflow: hidden; background: var(--surface-subtle); }
.cv .cv-photo img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; }
.cv .cv-photo--3x2 { aspect-ratio: 3 / 2; }
.cv .cv-photo--4x5 { aspect-ratio: 4 / 5; }

.cv .cv-caption { display: grid; gap: 4px; max-width: var(--layout-measure); }
.cv .cv-caption__head { font-family: var(--font-caption); font-size: 12px; line-height: 18px; font-weight: 400; letter-spacing: 0.96px; text-transform: uppercase; color: var(--konter); }
.cv .cv-caption__text { font-family: var(--font-body); font-size: 16px; line-height: 24px; font-weight: 400; color: var(--ink-muted); }
.cv .is-dark .cv-caption__head { color: var(--konter-on-band); }
.cv .is-dark .cv-caption__text { color: var(--on-band-muted); }

/* ---------- Header (Theme) ---------- */
.cv .cv-hdr { position: relative; z-index: 5; }
.cv .site-hdr { display: flex; align-items: center; gap: 64px; padding-block: 28px; background: var(--band); color: var(--on-band); }
body.cv-hdr-ueber .site-hdr { position: absolute; top: 0; left: 0; right: 0; background: transparent; }

/* Sticky Header (Jörg 11.11.2026). Nur mit JS (ohne JS bleibt der Header oben im Fluss).
   .cv-hdr reserviert die volle Höhe (Logo-Höhe = Breite × 1,356 + Innenabstand), damit beim
   Verkleinern nichts springt; der leere Rest ist durchsichtig und klickdurchlässig.
   site.js setzt .is-stuck nach dem ersten Scrollen: Leiste kompakt, immer dunkel (auch über dem Hero-Foto). */
.js .cv .cv-hdr { position: sticky; top: 0; z-index: 50; height: calc(96px * 1.356 + 56px); pointer-events: none; }
html.js body.cv-hdr-ueber .cv-hdr { height: 0; }
html.js body.admin-bar .cv-hdr { top: 32px; }
.js .cv .cv-hdr .site-hdr { pointer-events: auto; transition: padding .35s cubic-bezier(.2, .7, .2, 1), background-color .35s ease; }
.js .cv .cv-hdr .cv-header__logo { transition: width .35s cubic-bezier(.2, .7, .2, 1); }
.cv .cv-hdr.is-stuck .site-hdr { padding-block: 14px; background: var(--band); }
.cv .cv-hdr.is-stuck .cv-header__logo { width: 52px; }
html.js { scroll-padding-top: 112px; }
@media (max-width: 1023px) { .js .cv .cv-hdr { height: calc(72px * 1.356 + 56px); } }
@media (max-width: 782px) { html.js body.admin-bar .cv-hdr { top: 46px; } }
@media (max-width: 639px) {
  .js .cv .cv-hdr { height: calc(56px * 1.356 + 40px); }
  .cv .cv-hdr.is-stuck .site-hdr { padding-block: 10px; }
  .cv .cv-hdr.is-stuck .cv-header__logo { width: 40px; }
  html.js { scroll-padding-top: 80px; }
}
/* WordPress-Werkzeugleiste scrollt unter 600 px mit */
@media (max-width: 600px) { html.js body.admin-bar .cv-hdr { top: 0; } }
@media (prefers-reduced-motion: reduce) { .js .cv .cv-hdr .site-hdr, .js .cv .cv-hdr .cv-header__logo { transition: none; } }
.cv .cv-header__logo { display: block; flex: none; width: 96px; }
.cv .cv-header__logo svg, .cv .cv-header__logo img { display: block; width: 100%; height: auto; }
.cv .cv-header__nav { display: flex; flex-wrap: wrap; gap: 8px 40px; font-family: var(--font-heading); font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; }
.cv .cv-header__nav a { color: inherit; text-decoration: none; padding-bottom: 6px; border-bottom: 2px solid transparent; }
.cv .cv-header__nav a[aria-current="page"], .cv .cv-header__nav a:hover, .cv .cv-header__nav a:focus-visible { color: inherit; border-bottom-color: currentColor; }
.cv .cv-header__lang { margin-left: auto; white-space: nowrap; font-family: var(--font-heading); font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: 1.2px; color: var(--on-band-muted); }
.cv .cv-header__lang a { color: inherit; text-decoration: none; }
.cv .cv-header__lang a:hover { color: var(--on-band); }
.cv .cv-header__lang .lang-on { color: var(--on-band); }
.cv .site-hdr :focus-visible { outline-color: var(--accent-on-band); }

.cv .mnav-btn, .cv .mnav { display: none; }

@media (max-width: 1023px) { .cv .cv-header__logo { width: 72px; } }
@media (max-width: 899px) {
  .cv .site-hdr { flex-wrap: wrap; gap: 20px 32px; }
  .cv .cv-header__nav { order: 3; width: 100%; gap: 8px 24px; }
}
@media (max-width: 639px) {
  .cv .cv-header__logo { width: 56px; }
  .cv .site-hdr { padding-block: 20px; }
}

/* Mobil-Menü: nur mit JS (Klasse .js am <html>), sonst bleibt die umbrechende Navigation */
@media (max-width: 899px) {
  .js .cv .site-hdr { flex-wrap: nowrap; }
  .js .cv .site-hdr .cv-header__nav, .js .cv .site-hdr .cv-header__lang { display: none; }
  .js .cv .mnav-btn { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; padding: 10px 0; background: none; border: 0; border-radius: 0; color: inherit; cursor: pointer; font: 500 15px/20px var(--font-heading); letter-spacing: 1.2px; text-transform: uppercase; }
  .cv .mnav-btn__i { position: relative; width: 24px; height: 14px; border-block: 2px solid currentColor; }
  .cv .mnav-btn__i::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid currentColor; }
  .js .cv .mnav:not([hidden]) { display: flex; }
  .cv .mnav { position: fixed; inset: 0; z-index: 100000; flex-direction: column; background: var(--band); color: var(--on-band); overflow-y: auto; overscroll-behavior: contain; }
  .cv .mnav__top { display: flex; align-items: center; padding-block: 28px; }
  .cv .mnav__logo { width: 72px; display: block; }
  .cv .mnav__logo svg { width: 100%; height: auto; display: block; }
  .cv .mnav__close { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; padding: 10px 0; background: none; border: 0; border-radius: 0; color: inherit; cursor: pointer; font: 500 15px/20px var(--font-heading); letter-spacing: 1.2px; text-transform: uppercase; }
  .cv .mnav__close-i { position: relative; width: 20px; height: 20px; }
  .cv .mnav__close-i::before, .cv .mnav__close-i::after { content: ""; position: absolute; left: -2px; right: -2px; top: 9px; border-top: 2px solid currentColor; transform: rotate(45deg); }
  .cv .mnav__close-i::after { transform: rotate(-45deg); }
  .cv .mnav__nav { display: grid; padding-block: 24px 48px; }
  .cv .mnav__nav a { display: block; padding-block: 14px; border-top: 1px solid rgba(255, 255, 255, .16); color: var(--on-band); text-decoration: none; font: 500 34px/40px var(--font-heading); letter-spacing: -0.3px; }
  .cv .mnav__nav a:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .cv .mnav__nav a[aria-current="page"], .cv .mnav__nav a:hover { color: var(--accent-on-band); }
  .cv .mnav__lang { margin-top: auto; padding-block: 0 40px; font: 500 15px/20px var(--font-heading); letter-spacing: 1.2px; color: var(--on-band-muted); }
  .cv .mnav__lang a { color: inherit; text-decoration: none; }
  .cv .mnav__lang .lang-on { color: var(--on-band); }
  .cv .mnav:focus { outline: none; }
  .cv .mnav :focus-visible { outline: 2px solid var(--accent-on-band); outline-offset: 3px; }
}
@media (max-width: 639px) {
  .cv .mnav__top { padding-block: 20px; }
  .cv .mnav__logo { width: 56px; }
  .cv .mnav__nav a { font-size: 30px; line-height: 36px; }
}

/* ---------- Footer (Theme) ---------- */
.cv .cv-footer { background: var(--band); color: var(--on-band-muted); display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: center; padding-block: 48px; font-family: var(--font-heading); font-size: 16px; line-height: 24px; }
.cv .cv-footer__logo { width: 64px; display: block; }
.cv .cv-footer__logo svg { display: block; width: 100%; height: auto; }
.cv .cv-footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.cv .cv-footer a { color: var(--on-band-muted); text-decoration: none; }
.cv .cv-footer a:hover { color: var(--on-band); text-decoration: underline; }
.cv .cv-footer__credit { margin-left: auto; }
.cv .cv-footer :focus-visible { outline-color: var(--accent-on-band); }
@media (max-width: 639px) {
  .cv .cv-footer { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cv .cv-footer__credit { margin-left: 0; }
}

/* ---------- Abschnitte: Abstände ---------- */
.cv .sec { padding-block: 128px; }
.cv .sec__head { display: grid; gap: 16px; justify-items: start; margin-bottom: 56px; max-width: var(--layout-main); }
.cv .sec__head .cv-measure { margin-top: 12px; }
@media (max-width: 1023px) { .cv .sec { padding-block: 88px; } }
@media (max-width: 639px) { .cv .sec { padding-block: 64px; } }
/* Abstand oben „kein“ (Widget-Einstellung) */
.cv .is-flush-top { padding-top: 0 !important; }

/* ---------- Foto-Hero (Startseite, B1) ---------- */
.cv .hero-f { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: min(100vh, 1080px); background: var(--band); color: var(--on-band); }
.cv .hero-f__bg { position: absolute; inset: 0; }
.cv .hero-f__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cv .hero-f__bg img, .cv .hero-f .cv-hero__bu { display: none; }
/* Zufallsfoto: data-cv-hero am <html> (Inline-Skript im Baustein); ohne JS Foto 1 */
html:not([data-cv-hero]) .hero-f [data-i="0"] { display: block; }
html[data-cv-hero="0"] .hero-f [data-i="0"] { display: block; }
html[data-cv-hero="1"] .hero-f [data-i="1"] { display: block; }
html[data-cv-hero="2"] .hero-f [data-i="2"] { display: block; }
html[data-cv-hero="3"] .hero-f [data-i="3"] { display: block; }
html[data-cv-hero="4"] .hero-f [data-i="4"] { display: block; }
html[data-cv-hero="5"] .hero-f [data-i="5"] { display: block; }
.cv .hero-f__shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--band) 0%, var(--band) 14%, transparent 60%); opacity: .9; }
.cv .hero-f__shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--band) 0%, transparent 28%); opacity: .75; }
.cv .hero-f__shade::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--band) 0%, transparent 22%); opacity: .55; }
/* Logo-Schutz oben links */
.cv .hero-f__logo { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 48% 42% at 0% 0%, var(--band) 0%, var(--band) 30%, transparent 100%); opacity: .9; }
.cv .hero-f__copy { position: relative; flex: 1; display: grid; gap: 28px; align-content: center; padding-block: 48px 160px; max-width: calc(1120px + var(--page-gutter)); }
body.cv-hdr-ueber .hero-f__copy { padding-top: 241px; }
.cv .hero-f h1 { font-family: var(--font-heading); font-weight: 500; font-size: 80px; line-height: 84px; letter-spacing: -1.5px; color: var(--on-band); text-wrap: balance; }
.cv .hero-f__lead { max-width: 620px; font-size: 19px; line-height: 30px; color: var(--on-band-muted); }
.cv .hero-f__cta { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 8px; }
.cv .hero-f .cv-hero__bu { position: absolute; right: var(--page-margin); bottom: 28px; max-width: 360px; }
.cv .hero-f .cv-hero__bu .cv-caption__text { color: var(--on-band); }
@media (max-width: 1279px) { .cv .hero-f h1 { font-size: 64px; line-height: 68px; } }
/* BU unter 1024 px aus: rutscht sonst unter den Button und verliert den Bezug zum Foto (David 13.11.) */
@media (max-width: 1023px) { body.cv-hdr-ueber .hero-f__copy { padding-top: 200px; } html .hero-f .cv-hero__bu[data-i] { display: none; } }
@media (max-width: 899px) {
  .cv .hero-f { min-height: min(100svh, 900px); }
  .cv .hero-f__copy, body.cv-hdr-ueber .hero-f__copy { padding-top: 160px; padding-bottom: 40px; align-content: end; }
}
@media (max-width: 639px) {
  .cv .hero-f__copy, body.cv-hdr-ueber .hero-f__copy { padding-top: 136px; padding-bottom: 32px; }
  .cv .hero-f h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.6px; }
  .cv .hero-f__lead { color: var(--on-band); font-size: 17px; line-height: 26px; }
  .cv .hero-f__shade { background: linear-gradient(0deg, var(--band) 0%, var(--band) 30%, transparent 85%); opacity: .9; }
  .cv .hero-f__shade::after { display: none; }
  .cv .hero-f__logo { background: linear-gradient(180deg, var(--band) 0%, transparent 140px); opacity: .7; }
  .cv .hero-f a.cv-btn { width: 100%; justify-content: center; text-align: center; }
  .cv .hero-f__bg img { object-position: var(--pos-m, 50% 50%); }
}

/* ---------- Seitenkopf dunkel (Unterseiten) ---------- */
.cv .hero-c { display: grid; gap: 32px; justify-items: start; padding-block: 96px 144px; background: var(--band); color: var(--on-band); }
.cv .hero-c h1 { font-family: var(--font-heading); font-weight: 500; font-size: 80px; line-height: 84px; letter-spacing: -1.5px; max-width: 1240px; color: var(--on-band); text-wrap: balance; }
.cv .hero-c__lead { font-size: 25px; line-height: 36px; max-width: 760px; color: var(--on-band-muted); }
.cv .hero-c__copy { max-width: 760px; color: var(--on-band); }
@media (max-width: 1279px) { .cv .hero-c h1 { font-size: 64px; line-height: 68px; } }
@media (max-width: 639px) {
  .cv .hero-c { padding-block: 40px 64px; gap: 24px; }
  .cv .hero-c h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.6px; }
  .cv .hero-c__lead { font-size: 19px; line-height: 30px; }
}

/* ---------- Zwei Textblöcke + Foto ---------- */
.cv .duo-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40%); column-gap: 96px; padding-block: 128px 176px; align-items: stretch; }
.cv .duo-sec__text { display: grid; gap: 80px; align-content: start; padding-left: var(--page-margin); }
.cv .duo-sec__block { display: grid; gap: 16px; justify-items: start; }
.cv .duo-sec__block > p:not(.cv-label) { max-width: var(--layout-measure); margin-top: 12px; }
.cv .duo-sec__fig { position: relative; margin: 0; min-height: 100%; }
.cv .duo-sec__fig .cv-photo { position: absolute; inset: 0; }
.cv .duo-sec__fig .cv-photo img { object-position: 60% 50%; }
.cv .duo-sec__fig figcaption { position: absolute; top: calc(100% + 14px); left: 0; right: var(--page-margin); }
@media (max-width: 1023px) {
  .cv .duo-sec { grid-template-columns: minmax(0, 1fr); row-gap: 48px; padding-block: 88px; }
  .cv .duo-sec__text { padding-right: var(--page-margin); gap: 64px; }
  .cv .duo-sec__fig { min-height: 0; display: grid; gap: 14px; }
  .cv .duo-sec__fig .cv-photo { position: relative; aspect-ratio: 3 / 2; }
  .cv .duo-sec__fig figcaption { position: static; padding-inline: var(--page-margin); }
}
@media (max-width: 639px) { .cv .duo-sec { padding-block: 64px; } }

/* ---------- Kernaussage ---------- */
.cv .statement { padding-block: 128px 0; }
.cv .statement__txt { font-family: var(--font-heading); font-weight: 500; font-size: 80px; line-height: 88px; letter-spacing: -1.5px; color: var(--ink); max-width: 1400px; text-wrap: balance; }
@media (max-width: 1279px) { .cv .statement__txt { font-size: 64px; line-height: 70px; } }
@media (max-width: 1023px) { .cv .statement { padding-block: 88px 0; } }
@media (max-width: 639px) { .cv .statement { padding-block: 64px 0; } .cv .statement__txt { font-size: 30px; line-height: 36px; letter-spacing: -0.3px; } }

/* ---------- Messablauf ---------- */
.cv .steps { list-style: none; padding: 0; margin: 0; }
.cv .steps li { display: grid; grid-template-columns: 96px 220px minmax(0, 1fr); column-gap: 32px; align-items: center; padding-block: 6px; border-top: 1px solid var(--line); }
.cv .steps li:first-child { border-top: 2px solid var(--ink); }
.cv .steps li:last-child { border-bottom: 1px solid var(--line); }
.cv .steps__num { font-family: var(--font-heading); font-weight: 700; font-size: 80px; line-height: 80px; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; transition: color .15s ease; }
.cv .steps h3 { padding-left: 32px; }
.cv .cv-illu { display: block; width: 220px; max-width: 100%; height: auto; color: var(--ink); --cv-illu-2: var(--motif); transition: color .15s ease; }
.cv .cv-illu .i, .cv .cv-illu .g { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cv .cv-illu .i { stroke: currentColor; stroke-width: 2.5; }
.cv .cv-illu .g { stroke: var(--cv-illu-2); stroke-width: 2; }
.cv .steps li:hover .steps__num, .cv .steps li:hover .cv-illu { color: var(--accent); }
.cv .norms { display: grid; gap: 4px; margin-top: 20px; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
@media (max-width: 899px) {
  .cv .steps li { grid-template-columns: 64px minmax(0, 1fr); row-gap: 12px; padding-block: 14px; }
  .cv .steps__num { font-size: 45px; line-height: 52px; }
  .cv .steps .cv-illu, .cv .steps h3 { grid-column: 2; }
  .cv .steps .cv-illu { width: 180px; }
  .cv .steps h3 { padding-left: 0; }
}
@media (max-width: 639px) {
  .cv .steps li { grid-template-columns: 56px minmax(0, 1fr); }
  .cv .steps h3 { grid-column: 1 / -1; }
  .cv .steps .cv-illu { width: 200px; }
}

/* ---------- Module (Boxen) ---------- */
.cv .mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: var(--layout-container); }
.cv .mod { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 40px 36px 36px; color: var(--on-band); }
.cv .mod .cv-head { color: var(--on-band); }
.cv .mod .cv-label, .cv .mod > p { color: var(--on-band-muted); }
.cv .mod > p { margin: 0; }
.cv .mod-pict { width: 56px; height: 56px; display: block; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.cv .mod-pict .g { stroke: var(--motif); }
.cv .mod .mod-pict { stroke: var(--on-band); }
.cv .mod .mod-pict .g { stroke: var(--on-band-muted); }
.cv .mod--band { background: var(--band); }
.cv .mod--akzent { background: var(--accent); }
.cv .mod--akzent .cv-label, .cv .mod--akzent > p { color: var(--on-band); }
.cv .mod--akzent .mod-pict .g { stroke: var(--on-band); opacity: .6; }
.cv .mod--hell { background: var(--accent-on-band); color: var(--band); }
.cv .mod--hell .cv-head, .cv .mod--hell .cv-label, .cv .mod--hell > p { color: var(--band); }
.cv .mod--hell .mod-pict { stroke: var(--band); }
.cv .mod--hell .mod-pict .g { stroke: var(--band); opacity: .45; }
/* Moleküle Modul 04–06 (Vorlage David 10.11.): Atome gefüllt (N blau, O rot, C grün, H grau), Umriss in Linienfarbe; Keil = Bindung nach vorn */
.cv .mod-pict .at { stroke: none; }
.cv .mod-pict .at-n { fill: var(--atom-n); }
.cv .mod-pict .at-o { fill: var(--atom-o); }
.cv .mod-pict .at-c { fill: var(--atom-c); }
.cv .mod-pict .at-h { fill: var(--atom-h); }
.cv .mod-pict .at-hinten { opacity: .7; }
.cv .mod-pict .w { stroke: none; fill: var(--ink); }
.cv .mod .mod-pict .w { fill: var(--on-band); }
.cv .mod--hell .mod-pict .w { fill: var(--band); }
.cv .mod :focus-visible { outline-color: currentColor; }
/* Teaser: Sammelschiene zum Button */
.cv .mods--teaser .mod::after { content: ""; position: absolute; left: 50%; top: 100%; height: 40px; border-left: 2px solid var(--ink); transform: translateX(-1px); }
.cv .mods__bus { position: relative; margin-top: 40px; height: 56px; max-width: var(--layout-container); }
.cv .mods__bus::before { content: ""; position: absolute; top: 0; left: calc((100% - 64px) / 6); right: calc((100% - 64px) / 6); border-top: 2px solid var(--ink); transform: translateY(-1px); }
.cv .mods__bus::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px solid var(--ink); transform: translateX(-1px); }
.cv .mods__cta { display: flex; justify-content: center; max-width: var(--layout-container); }
/* Raster (Leistungen): ohne Schiene, Text klein */
.cv .mods--grid > .mod > p { font-size: 16px; line-height: 24px; }
.cv .mods-note { margin-top: 32px; }
@media (max-width: 899px) {
  .cv .mods { grid-template-columns: minmax(0, 1fr); }
  .cv .mods--teaser .mod::after { height: 32px; }
  .cv .mods__bus { margin-top: 32px; height: 48px; }
  .cv .mods__bus::before { display: none; }
}

/* ---------- Banner (Foto randlos) ---------- */
.cv .banner { margin: 0 0 128px; display: grid; gap: 14px; }
.cv .banner__img { aspect-ratio: 2400 / 900; }
@media (max-width: 1023px) { .cv .banner { margin-bottom: 88px; } .cv .banner__img { aspect-ratio: 16 / 9; } }

/* ---------- Text + Bild (Bild randlos am Seitenrand) ---------- */
.cv .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 50%); column-gap: 96px; align-items: center; padding-block: 128px; }
.cv .split--left { grid-template-columns: minmax(0, 50%) minmax(0, 1fr); }
.cv .split--left.split--eddy { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
.cv .split--right.split--eddy { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); }
.cv .split--left .split__fig { order: -1; }
.cv .split__text { display: grid; gap: 16px; justify-items: start; align-content: center; min-width: 0; }
.cv .split--right .split__text { padding-left: var(--page-margin); }
.cv .split--left .split__text { padding-right: var(--page-margin); }
.cv .split__body { display: grid; gap: 16px; margin-top: 12px; max-width: var(--layout-measure); }
.cv .split__cta { margin-top: 28px; }
.cv .split__fig { margin: 0; display: grid; gap: 14px; min-width: 0; }
.cv .split--right .split__fig figcaption { padding-right: var(--page-margin); }
.cv .split--left .split__fig figcaption { padding-left: var(--page-margin); }
.cv .split--eddy .cv-photo { aspect-ratio: 896 / 786; }
/* Diagramm: anders als Fotos nicht randlos */
.cv .split__fig--chart { padding-right: var(--page-margin); }
.cv .split--left .split__fig--chart { padding-right: 0; padding-left: var(--page-margin); }
.cv .split__fig--chart figcaption { padding: 0 !important; }
.cv .cv-chart { aspect-ratio: 3 / 2; background: var(--surface); border-top: 2px solid var(--ink); padding-top: 8px; }
.cv .cv-chart__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cv .cv-chart .ch-grid { stroke: var(--line); stroke-width: 1; fill: none; }
.cv .cv-chart .ch-zero { stroke: var(--ink-muted); stroke-width: 1.25; fill: none; }
.cv .cv-chart .ch-axis { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.cv .cv-chart .ch-band { fill: var(--motif); opacity: .45; stroke: none; }
.cv .cv-chart .ch-line { stroke: var(--ink); stroke-width: 2.5; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.cv .cv-chart .ch-pt { stroke: var(--ink-muted); stroke-width: 5.5; stroke-linecap: round; fill: none; }
.cv .cv-chart .ch-t { font-family: var(--font-heading); font-size: 17px; fill: var(--ink-muted); }
.cv .cv-chart .ch-lab { fill: var(--ink); font-weight: 500; }
/* Diagramm Lichtkurve: ergänzt die bestehenden .cv-chart-Regeln */
.cv .cv-chart .ch-err { stroke: var(--motif); fill: none; }
.cv .cv-chart .ch-pt--form { fill: var(--surface); stroke: var(--ink-muted); stroke-linejoin: miter; }
.cv .cv-chart .ch-halo { paint-order: stroke; stroke: var(--surface); stroke-width: 6px; stroke-linejoin: round; }
.cv .cv-chart__svg--mobil { display: none; }
.cv .cv-chart--mobil { aspect-ratio: 960 / 668; } /* Lichtkurve: Legende zweizeilig (Runde 3) */
@media (max-width: 639px) {
  .cv .cv-chart--mobil { aspect-ratio: 560 / 738; }
  .cv .cv-chart--mobil .cv-chart__svg { display: none; }
  .cv .cv-chart--mobil .cv-chart__svg--mobil { display: block; }
}
/* Liste im Fließtext: Kompetenzliste, Listenzeichen Quadrat 6 × 6 */
.cv .split__body ul, .cv .cv-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.cv .split__body ul li, .cv .cv-list li { border-top: 1px solid var(--line); padding-block: 12px; display: flex; gap: 14px; align-items: baseline; }
.cv .split__body ul li::before, .cv .cv-list li::before { content: ""; width: 6px; height: 6px; background: var(--ink); flex: none; transform: translateY(-3px); }
@media (max-width: 1023px) {
  .cv .split, .cv .split--left, .cv .split--left.split--eddy, .cv .split--right.split--eddy { grid-template-columns: minmax(0, 1fr); row-gap: 40px; padding-block: 88px; }
  .cv .split--left .split__fig { order: 2; }
  .cv .split__text { padding-inline: var(--page-margin) !important; }
  .cv .split__fig figcaption { padding-inline: var(--page-margin) !important; }
  .cv .split__fig--chart { padding-inline: var(--page-margin); }
}
@media (max-width: 639px) { .cv .split { padding-block: 64px; } }

/* ---------- Vorteile (ohne Zählung, David 13.11.: gleichberechtigte Punkte) ---------- */
.cv .benefits { list-style: none; padding: 0; margin: 0; }
.cv .benefits li { display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 64px; align-items: center; padding-block: 22px; border-top: 1px solid var(--line); }
.cv .benefits li:first-child { border-top: 2px solid var(--ink); }
.cv .benefits li:last-child { border-bottom: 1px solid var(--line); }
.cv .benefits .cv-illu { width: 240px; }
.cv .benefits__txt { display: grid; gap: 6px; min-width: 0; }
.cv .benefits__txt p { color: var(--ink-muted); }
@media (max-width: 899px) {
  .cv .benefits li { grid-template-columns: 200px minmax(0, 1fr); column-gap: 32px; }
  .cv .benefits .cv-illu { width: 200px; }
}
@media (max-width: 639px) {
  .cv .benefits li { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
}

/* ---------- Methoden ---------- */
.cv .cv-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: var(--layout-container); }
.cv .cv-method { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 14px; align-content: start; }
.cv .cv-method .mod-pict { width: 48px; height: 48px; }
.cv .cv-method p { color: var(--ink-muted); }
.cv .cv-method:hover .mod-pict { stroke: var(--accent); }
@media (max-width: 899px) { .cv .cv-methods { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Dunkles Band mit Text ---------- */
.cv .cv-band { background: var(--band); color: var(--on-band); padding-block: 128px; }
.cv .cv-band__inner { display: grid; gap: 20px; justify-items: start; max-width: var(--layout-container); }
.cv .cv-band .cv-head { color: var(--on-band); }
.cv .cv-band .cv-label { color: var(--on-band-muted); }
.cv .cv-band p:not(.cv-label) { color: var(--on-band); }
.cv .cv-band__cta { margin-top: 8px; }
@media (max-width: 1023px) { .cv .cv-band { padding-block: 88px; } }
@media (max-width: 639px) { .cv .cv-band { padding-block: 72px; } }

/* ---------- Kontakt ---------- */
.cv .contact { background: var(--surface-subtle); }
.cv .contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 680px); column-gap: 96px; max-width: var(--layout-container); }
.cv .contact__intro { display: grid; gap: 16px; justify-items: start; align-content: start; }
.cv .contact__intro > p:not(.cv-label) { max-width: 520px; margin-top: 12px; }
.cv .contact--page .contact__intro > p:not(.cv-label) { font-size: 25px; line-height: 36px; margin-top: 0; }
.cv .contact__form { min-width: 0; }
@media (max-width: 1023px) { .cv .contact__grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; } }

/* ---------- Team (Layout B: Zeilen, Text neben dem Foto, abwechselnd) ---------- */
.cv .tm-intro .sec__head { max-width: var(--layout-container); grid-template-columns: 360px minmax(0, 720px); column-gap: 64px; }
.cv .tm-intro .sec__head > .cv-label, .cv .tm-intro .sec__head > .cv-h2 { grid-column: 1 / -1; }
.cv .tm-intro .sec__head > .cv-h2 { max-width: var(--layout-main); }
.cv .tm-intro .sec__head > .tm-intro__copy { grid-column: 2; margin-top: 16px; }
.cv .tm { list-style: none; padding: 0; margin: 0; display: grid; max-width: var(--layout-container); border-bottom: 1px solid var(--line); }
.cv .tm__p { display: grid; grid-template-columns: 360px minmax(0, 720px); column-gap: 64px; align-items: start; padding-block: 48px; border-top: 1px solid var(--line); min-width: 0; }
.cv .tm__p:first-child { border-top: 2px solid var(--ink); }
.cv .tm__p:nth-child(even) { grid-template-columns: minmax(0, 720px) 360px; }
.cv .tm__p:nth-child(even) .tm__ph { order: 2; }
.cv .tm__ph { display: block; }
.cv .tm__body { display: grid; gap: 8px; justify-items: start; align-content: start; min-width: 0; padding-top: 8px; }
.cv .tm__name { font-size: 25px; line-height: 32px; }
.cv .tm__role { font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.cv .tm__txt { margin-top: 8px; max-width: var(--layout-measure); }
@media (max-width: 1023px) {
  .cv .tm-intro .sec__head { grid-template-columns: 240px minmax(0, 1fr); column-gap: 32px; }
  .cv .tm__p, .cv .tm__p:nth-child(even) { grid-template-columns: 240px minmax(0, 1fr); column-gap: 32px; }
  .cv .tm__p:nth-child(even) .tm__ph { order: 0; }
}
@media (max-width: 639px) {
  .cv .tm-intro .sec__head { grid-template-columns: minmax(0, 1fr); }
  .cv .tm-intro .sec__head > * { grid-column: 1 !important; }
  .cv .tm__p, .cv .tm__p:nth-child(even) { grid-template-columns: minmax(0, 1fr); row-gap: 20px; padding-block: 32px; }
  .cv .tm__ph { max-width: 320px; }
}

/* ---------- Aufklapp-Gruppen (Publikationen) ---------- */
.cv .cv-modules { display: grid; border-bottom: 1px solid var(--line); max-width: var(--layout-main); }
.cv .cv-module { border-top: 1px solid var(--line); }
.cv .cv-module:first-child { border-top: 2px solid var(--ink); }
.cv .cv-module summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 112px 1fr 24px; align-items: center; gap: 16px; padding-block: 22px; }
.cv .cv-module summary::-webkit-details-marker { display: none; }
.cv .cv-module summary .cv-label { white-space: nowrap; }
.cv .cv-module__title { font-family: var(--font-heading); font-size: 25px; line-height: 32px; font-weight: 500; color: var(--ink); }
.cv .cv-module .cv-icon--minus { display: none; }
.cv .cv-module[open] .cv-icon--minus { display: block; }
.cv .cv-module[open] .cv-icon--plus { display: none; }
.cv .cv-module[open] summary .cv-module__title { color: var(--accent); }
.cv .cv-module__body { padding: 0 40px 32px 128px; display: grid; gap: 16px; }
@media (max-width: 639px) {
  .cv .cv-module summary { grid-template-columns: 1fr 24px; }
  .cv .cv-module summary .cv-label { grid-column: 1 / -1; }
  .cv .cv-module__body { padding: 0 0 24px; }
}
.cv .pub-list { list-style: none; margin: 0; padding: 0; display: grid; }
.cv .pub { display: grid; gap: 6px; padding-block: 20px; border-top: 1px solid var(--line); max-width: var(--layout-measure); }
.cv .pub:first-child { border-top: 0; padding-top: 4px; }
.cv .pub__title { font-family: var(--font-heading); font-size: 19px; line-height: 26px; font-weight: 500; color: var(--ink); }
.cv .pub__meta { font-size: 16px; line-height: 24px; color: var(--ink-muted); }
/* Team-Mitglieder in Autorenlisten (Jörg 11.11.): Medium statt Bold – 700 ist nur als Ziffern-Subset geladen */
.cv .pub__meta .pub__team { font-weight: 500; color: var(--ink); }
.cv .pub__link { justify-self: start; font-size: 16px; line-height: 24px; overflow-wrap: anywhere; gap: 6px; }
.cv .pub .tag { margin-top: 2px; }

/* ---------- Pflanzen-Abschluss ---------- */
.cv .closing { padding-block: 128px; --pw: clamp(180px, 16vw, 320px); }
.cv .closing--torfmoos { --pw: clamp(240px, 22vw, 420px); }
.cv .one { position: relative; display: grid; grid-template-columns: minmax(0, 560px) auto; column-gap: 96px; align-items: end; justify-content: start; max-width: var(--layout-main); }
.cv .one::after { content: ""; position: absolute; left: 0; right: calc(-1 * var(--page-margin)); bottom: calc(var(--pw) * 40 / 420); border-top: 1px solid var(--motif); }
.cv .one__text { display: grid; gap: 12px; justify-items: start; padding-bottom: calc(var(--pw) * 40 / 420 + 40px); }
.cv .plant { display: block; width: var(--pw); height: auto; overflow: visible; }
.cv .plant .p1 { stroke: var(--ink-muted); }
.cv .plant .p2 { stroke: var(--motif); }
.cv .plant .leaf { fill: var(--surface); }
.cv .plant .sw { transform-box: view-box; animation: cv-sway var(--d) ease-in-out var(--dl) infinite alternate; animation-play-state: paused; will-change: transform; }
.cv .is-live .plant .sw { animation-play-state: running; }
.cv .closing--wollgras .plant .sw { animation-name: cv-wind; animation-duration: calc(var(--d) * .6); animation-direction: normal; }
@keyframes cv-sway { from { transform: rotate(calc(var(--a) * -1)); } to { transform: rotate(var(--a)); } }
@keyframes cv-wind { 0% { transform: rotate(calc(var(--a) * -2)); } 28% { transform: rotate(calc(var(--a) * 1.6)); } 42% { transform: rotate(calc(var(--a) * 3.4)); } 52% { transform: rotate(calc(var(--a) * 1.2)); } 62% { transform: rotate(calc(var(--a) * 2.2)); } 82% { transform: rotate(calc(var(--a) * -1.2)); } 100% { transform: rotate(calc(var(--a) * -2)); } }
@media (max-width: 1023px) { .cv .closing { padding-block: 88px; } }
@media (max-width: 639px) {
  .cv .closing { padding-block: 64px; }
  .cv .one { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .cv .one__text { padding-bottom: 0; }
  .cv .one::after { left: calc(-1 * var(--page-margin)); }
}

/* ---------- Rechtstexte ---------- */
.cv .legal { padding-block: 112px 144px; }
.cv .legal__body { max-width: var(--layout-measure); }
.cv .legal__body h2 { font-family: var(--font-heading); font-weight: 500; font-size: 34px; line-height: 42px; letter-spacing: 0; margin: 64px 0 16px; color: var(--ink); }
.cv .legal__body > h2:first-child { margin-top: 0; }
.cv .legal__body h3 { font-family: var(--font-heading); font-weight: 500; font-size: 25px; line-height: 32px; letter-spacing: 0; margin: 40px 0 12px; color: var(--ink); }
.cv .legal__body p, .cv .legal__body ul, .cv .legal__body address { margin: 0 0 16px; }
.cv .legal__body address { font-style: normal; }
.cv .legal__body ul { padding-left: 22px; }
.cv .legal__body li + li { margin-top: 6px; }
.cv .legal__meta { font-size: 16px; line-height: 24px; color: var(--ink-muted); margin-top: 48px !important; }
.cv .ph { background: var(--surface-subtle); outline: 1px dashed var(--border-control); outline-offset: 1px; padding: 0 4px; color: var(--ink-muted); }
@media (max-width: 1023px) { .cv .legal { padding-block: 88px; } }
@media (max-width: 639px) { .cv .legal { padding-block: 64px; } .cv .legal__body h2 { font-size: 25px; line-height: 32px; } .cv .legal__body h3 { font-size: 21px; line-height: 28px; } }

/* ---------- Mobil: Überschriften ----------
   11.11.2026 (Jörg: auf dem iPhone oft dreizeilig): kleinere Stufen, Seitenrand 24 px (tokens.css).
   Gemessen bei 393 px auf allen Seiten: keine vierzeiligen Überschriften mehr; dreizeilig bleiben nur lange Sätze. */
@media (max-width: 639px) {
  .cv .hero-f h1, .cv .hero-c h1 { font-size: 34px; line-height: 38px; letter-spacing: -0.4px; }
  .cv .cv-h2 { font-size: 28px; line-height: 34px; letter-spacing: -0.3px; }
  .cv .cv-h3 { font-size: 24px; line-height: 30px; }
  .cv .cv-h4, .cv .cv-module__title { font-size: 22px; line-height: 28px; }
  .cv .statement__txt { font-size: 26px; line-height: 32px; }
  .cv .legal__body h2 { font-size: 22px; line-height: 28px; }
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  .cv * { transition: none !important; }
  .cv .plant .sw { animation: none !important; }
}
