/* =========================================================================
   GOLDfunk – Gestaltung (Redesign 2026)
   Heller Grund, weiße abgerundete Flächen, schwebender Kopfbereich,
   randlose Seitenköpfe. Markenfarben wie bisher.
   (Hat materialize.css, index.css und customstyle.css abgelöst.)
   ========================================================================= */

:root {
    --gold: #edc153;
    --gold-tint: #fbf1d6;
    --gold-ink: #8a6400;
    --anth: #2b2b2b;
    --ink-2: #55585e;
    --ink-3: #74777d;
    --canvas: #f5f5f5;
    --line: #e6e6e6;
    --orange: #ff7127;
    --orange-tint: #ffeee4;
    --orange-ink: #a33f06;
    /* Orange Störer: helles Orange mit warmer dunkler Schrift (Kontrast Text ≥ 6,6:1, Überschrift ≥ 6,3:1) */
    --stoer-bg: #ffc9a3;
    --stoer-head: #7a2e05;
    --stoer-ink: #6b3410;
    --stoer-btn: #7a2e05;
    --stoer-btn-hover: #5c2304;
    --red: #cd1719;
    --ok: #1e9e5a;
    --r-xl: 28px;
    --r-lg: 20px;
    --r-md: 14px;
    --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 6px 18px rgba(20, 20, 20, .05);
    --shadow-lg: 0 2px 6px rgba(20, 20, 20, .06), 0 24px 48px rgba(20, 20, 20, .12);
    --head: interstate-condensed, "Arial Narrow", sans-serif;
    --body: interstate, "Helvetica Neue", Arial, sans-serif;
    --wrap: 1320px;
    --gutter: 28px;
    --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    --hdr-h: 84px;
}

/* ------------------------------------------------------------------ Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--anth); background: var(--canvas); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--head); font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: .002em; }
p { margin: 0; }
abbr[title] { text-decoration: none; }
:focus-visible { outline: 2px solid var(--anth); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gf-icon { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
.panel { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line); }

/* Bausteine */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; line-height: 1.3; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-tint); flex: 0 0 8px; }
.eyebrow.tc::before { background: var(--orange); box-shadow: 0 0 0 4px var(--orange-tint); }
.u-gold, h1 em, h2 em, .hero-c h1 em { font-style: normal; background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat; background-size: 100% .16em; background-position: 0 92%; padding-bottom: .04em; }

/* Buttons (auch für Links aus Kirbytext mit class: btn) */
.btn, .btn-sec, .btn-flat { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-family: var(--body); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; cursor: pointer; background: var(--gold); color: var(--anth); text-transform: none; letter-spacing: 0; box-shadow: none; transition: background-color .2s, border-color .2s, transform .2s; }
.btn:hover { background: #e6b53d; }
.btn-sec, .btn.btn-line { background: #fff; border-color: #cfcfcf; }
.btn-sec:hover, .btn.btn-line:hover { border-color: var(--anth); background: #fff; }
.btn.btn-ink { background: var(--anth); color: #fff; }
.btn.btn-ink:hover { background: #000; }
.btn.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn .gf-icon { width: 19px; height: 19px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15.5px; text-decoration: none; }
.more::after { content: ">"; font-family: var(--head); font-weight: 800; color: var(--gold); font-size: 20px; line-height: 1; }

/* Fließtext aus den Textfeldern */
.prose { font-size: 17px; line-height: 1.7; color: #3a3a3a; overflow-wrap: break-word; }
.prose > * + * { margin-top: 14px; }
.prose h1 { font-size: 56px; color: var(--anth); }
.prose h2 { font-size: 42px; color: var(--anth); margin-top: 26px; }
.prose h3 { font-size: 27px; color: var(--anth); margin-top: 22px; }
.prose h4, .prose h5, .prose h6 { font-size: 21px; color: var(--anth); margin-top: 18px; }
.prose > :first-child { margin-top: 0; }
.prose h2 + p, .prose h3 + p, .prose h4 + p { margin-top: 10px; }
.prose a:not(.btn):not(.btn-sec):not(.file-link) { color: var(--anth); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 1.3em; }
.prose ul li::before { content: ">"; position: absolute; left: 0; top: -.02em; font-family: var(--head); font-weight: 800; color: var(--gold); }
.prose ol { padding-left: 1.3em; display: grid; gap: 8px; }
.prose ol li::marker { color: var(--gold-ink); font-weight: 700; }
.prose strong { color: var(--anth); }
.prose .btn, .prose .btn-sec { margin: 6px 10px 0 0; }
.prose p:has(> .btn) { margin-top: 22px; }
.prose figure { margin: 0; }
.prose img { border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose blockquote { margin: 0; padding: 16px 22px; border-left: 4px solid var(--gold); background: var(--canvas); border-radius: 0 var(--r-md) var(--r-md) 0; }
/* Dateilinks (z. B. Downloads) */
.prose a.file-link { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; text-decoration: none; font-weight: 700; margin-top: 10px; }
.prose a.file-link::before { content: ""; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: var(--gold-tint) url("../image/default-file.svg") center / 20px no-repeat; }
.prose a.file-link[href$=".pdf"]::before { background-image: url("../image/pdf-file.svg"); }
.prose a.file-link:hover { border-color: var(--anth); }
/* Häkchen-Aufzählungen und -Überschriften (site/plugins/checklist) */
li.check-item { list-style: none; }
.prose ul li.check-item { padding-left: 1.6em; }
.prose ul li.check-item::before, .check-heading::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.05em; height: 1.05em; background-color: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.check-heading { position: relative; padding-left: 1.05em; }
.check-heading::before { width: .78em; height: .78em; top: .12em; }
.tc .prose ul li.check-item::before, .tc .check-heading::before { background-color: var(--orange); }

/* ------------------------------------------------------------ Kopfbereich */
.hdr { position: sticky; top: 14px; z-index: 50; margin-top: 14px; }
.hdr .bar { position: relative; display: flex; align-items: center; gap: 18px; height: 70px; padding: 0 12px 0 24px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); transition: box-shadow .2s; }
.hdr.scrolled .bar { box-shadow: var(--shadow-lg); }
.logo { display: block; flex: 0 0 auto; }
.logo svg { width: 150px; height: auto; display: block; }
.logo .logofill { fill: var(--gold); }
.logo .st1 { fill: #1d1d1b; }
.nav { display: flex; align-items: center; gap: 2px; margin: 0 0 0 10px; padding: 0; list-style: none; font-size: 15px; font-weight: 700; }
.nav > li { position: relative; }
.nav > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 9px 13px; border-radius: 999px; text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.nav > li > a .gf-icon { width: 15px; height: 15px; color: var(--ink-3); transition: transform .2s; }
.nav > li > a:hover, .nav > li.open > a, .nav > li > a.active { background: var(--canvas); color: var(--anth); }
.nav > li.open > a .gf-icon { transform: rotate(180deg); }
.drop { display: none; position: absolute; left: 0; top: calc(100% + 12px); min-width: 300px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav > li.open > .drop, .nav > li:has(:focus-visible) > .drop { display: block; }
.drop.wide { display: none; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 620px; }
.nav > li.open > .drop.wide, .nav > li:has(:focus-visible) > .drop.wide { display: grid; }
.nav > li.closed-by-key > .drop { display: none !important; }
.drop a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--anth); }
.drop a:hover, .drop a.active { background: var(--canvas); }
.drop a .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--orange-tint); display: grid; place-items: center; flex: 0 0 40px; }
.drop a .ic img { width: 24px; height: 24px; }
.drop a small { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; line-height: 1.35; }
.drop .all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; border-radius: 0 0 12px 12px; }
.hdr .right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 700; }
.hdr .tel { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none; }
.hdr .tel .gf-icon { color: var(--gold-ink); width: 18px; height: 18px; }
.icon-btn { display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--canvas); color: var(--anth); place-items: center; cursor: pointer; padding: 0; }
.icon-btn .gf-icon { width: 22px; height: 22px; }

/* Mobiles Menü */
.mnav { display: none; position: fixed; inset: 0; z-index: 60; background: rgba(20, 20, 20, .35); }
.mnav.open { display: block; }
.mnav .sheet { position: absolute; top: 10px; left: 10px; right: 10px; max-height: calc(100vh - 20px); overflow-y: auto; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 14px 16px 22px; }
.mnav .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav > .sheet > ul > li { border-top: 1px solid var(--line); }
.mnav > .sheet > ul > li > a { display: block; padding: 14px 6px; font-family: var(--head); font-weight: 800; font-size: 24px; text-decoration: none; }
.mnav .sub { padding: 0 0 12px 6px; display: grid; gap: 2px; }
.mnav .sub a { display: block; padding: 7px 0; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 15.5px; }
.mnav .actions { display: grid; gap: 10px; margin-top: 14px; }

/* ------------------------------------------------------------ Seitenaufbau */
.page-main { padding-bottom: 8px; }
.blk { margin-top: 20px; }
.blk:first-child { margin-top: 20px; }
.blk.space-small { margin-top: 0; height: 0; }
.blk.space-medium { margin-top: 0; height: 12px; }
.blk.space-big { margin-top: 0; height: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-3); margin: 0; padding: 0; list-style: none; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--anth); }
.crumbs li + li::before { content: ">"; font-family: var(--head); font-weight: 800; color: var(--gold); margin-right: 8px; }
.crumbs [aria-current] { color: var(--anth); font-weight: 700; display: inline-block; max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.crumbs-bar { margin-top: 22px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.sec-head .prose { max-width: 820px; }
.sec-head .prose h2 { font-size: 42px; }

/* Panels der Inhaltsblöcke */
.pnl { padding: 60px 64px; }
.pnl.bg-grey { background: transparent; border-color: transparent; padding: 28px 0; }
.pnl.bg-yellow { background: var(--gold-tint); border-color: transparent; }
.pnl.bg-orange { background: var(--stoer-bg); border-color: transparent; }
.pnl.bg-orange .prose, .pnl.bg-orange .prose strong, .pnl.bg-orange .prose a:not(.btn) { color: var(--stoer-ink); }
.pnl.bg-orange .prose :is(h1, h2, h3, h4, h5, h6) { color: var(--stoer-head); }
.pnl.bg-orange .prose ul li::before { color: var(--stoer-head); }
.pnl.bg-orange .prose .btn, .inbox.orange .prose .btn { background: var(--stoer-btn); color: #fff; }
.pnl.bg-orange .prose .btn:hover, .inbox.orange .prose .btn:hover { background: var(--stoer-btn-hover); }
/* Orange Störer: Überschrift in Größe der Zwischenüberschriften, Text in normaler Fließtextgröße */
.pnl.bg-orange .prose :is(h1, h2) { font-size: 27px; line-height: 1.15; }
.pnl.bg-orange .prose :is(h1, h2) + p { margin-top: 10px; }
.pnl.bg-orange.text-only .prose { max-width: 760px; }
.pnl.bg-orange { padding-top: 48px; padding-bottom: 48px; }
.stoerer-cta { margin-top: 22px; }
.pnl.bg-red { background: var(--red); border-color: transparent; }
.pnl.bg-red .prose, .pnl.bg-red .prose * { color: #fff; }
/* Textausrichtung (Medien-Text). Zentriert/rechtsbündig: Pfeil steht im Text, damit er auch bei
   umbrechenden Aufzählungspunkten direkt vor dem Text bleibt */
.align-center { text-align: center; }
.align-right { text-align: right; }
.align-right.text-only .prose { margin-left: auto; }
:is(.align-center, .align-right) .prose ul li { padding-left: 0; }
:is(.align-center, .align-right) .prose ul li::before { position: static; display: inline-block; margin-right: .45em; }
:is(.align-center, .align-right) .prose ul li.check-item::before { vertical-align: -.15em; }
/* Blocksatz nur für Absätze; Überschriften und Aufzählungen (auch Absätze in Aufzählungen) bleiben linksbündig.
   Silbentrennung gegen große Lücken. Ohne Bild steht die Textspalte horizontal zentriert im Block. */
.align-block .prose p:not(li p) { text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 8 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; }
.align-block .prose :is(ul, ol), .align-block .prose :is(ul, ol) * { text-align: left; }
.align-block.text-only .prose { margin-left: auto; margin-right: auto; }

/* Zusätzliche Leerzeilen im Text: je Leerzeile etwa eine Zeile Abstand (site/plugins/gf-textformat) */
.leerzeile { display: block; height: 1em; }

/* Ausrichtung einzelner Textpassagen (::: zentriert … :::, siehe site/plugins/gf-textformat) –
   überschreibt die Ausrichtung des Blocks nur für diesen Abschnitt */
.prose .ta > * + * { margin-top: 14px; }
.prose .ta > :first-child { margin-top: 0; }
.prose .ta-left, .prose .ta-justify { text-align: left; }
.prose .ta-center { text-align: center; }
.prose .ta-right { text-align: right; }
.prose :is(.ta-center, .ta-right) ul li { padding-left: 0; }
.prose :is(.ta-center, .ta-right) ul li::before { position: static; display: inline-block; margin-right: .45em; }
.prose :is(.ta-center, .ta-right) ul li.check-item::before { vertical-align: -.15em; }
.prose :is(.ta-left, .ta-justify) ul li { padding-left: 1.3em; }
.prose :is(.ta-left, .ta-justify) ul li.check-item { padding-left: 1.6em; }
.prose :is(.ta-left, .ta-justify) ul li::before { position: absolute; display: block; margin-right: 0; }
.prose .ta-justify p:not(li p) { text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 8 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; }
.prose :is(.ta-center, .ta-right) p:not(li p) { -webkit-hyphens: manual; hyphens: manual; }
.prose .ta-center p:not(li p) { text-align: center; }
.prose .ta-right p:not(li p) { text-align: right; }
.prose .ta-left p:not(li p) { text-align: left; }
.prose .ta-center :is(ul, ol), .prose .ta-center :is(ul, ol) * { text-align: center; }
.prose .ta-right :is(ul, ol), .prose .ta-right :is(ul, ol) * { text-align: right; }

/* ------------------------------------------------- Seitenkopf (randlos) */
.bleed { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; margin-top: calc(-1 * var(--hdr-h)); background: #fff; border-bottom: 1px solid var(--line); }
.bleed .copy { padding: 150px 64px 72px var(--edge); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.bleed.media-left .copy { padding: 150px var(--edge) 72px 64px; }
.bleed.media-left .media { order: -1; }
.bleed .crumbs { margin-bottom: 22px; }
.bleed h1 { font-size: 66px; line-height: 1; margin: 20px 0 10px; }
.bleed .sub { font-family: var(--head); font-weight: 400; font-size: 32px; line-height: 1.12; color: var(--ink-2); margin-bottom: 18px; }
.bleed .intro { font-size: 19px; color: var(--ink-2); max-width: 620px; }
.bleed .intro > * + * { margin-top: 12px; }
.bleed .ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.bleed .media { position: relative; background: var(--canvas) center / cover no-repeat; min-height: 100%; overflow: hidden; }
.bleed .media.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .10), transparent 40%); pointer-events: none; }
.bleed.media-left .media.photo::after { background: linear-gradient(270deg, rgba(0, 0, 0, .10), transparent 40%); }
.bleed .media.product { background: linear-gradient(150deg, #ffe3d1 0%, var(--orange-tint) 45%, #fff6f0 100%); display: flex; align-items: center; justify-content: center; padding: 120px 48px 48px; }
.bleed .media.product::before { content: ""; position: absolute; right: 10%; top: 18%; width: 54%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 113, 39, .28), transparent); }
.bleed .media.product img { position: relative; z-index: 1; width: 100%; max-width: 640px; }
.bleed .media .stripe { position: absolute; top: 0; bottom: 0; width: 8px; background: var(--orange); left: 0; }
.bleed:not(.media-left) .media .stripe { left: auto; right: 0; }
.chip { position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: 13.5px; line-height: 1.35; display: flex; gap: 12px; align-items: center; max-width: 300px; }
.chip .ci { width: 38px; height: 38px; border-radius: 11px; background: var(--gold-tint); display: grid; place-items: center; flex: 0 0 38px; color: var(--anth); }
.chip .ci .gf-icon { width: 20px; height: 20px; }
.chip b { display: block; font-size: 14.5px; color: var(--anth); }
.chip span span { color: var(--ink-3); }
.chip.c1 { right: 40px; top: 120px; }
.chip.c2 { left: 40px; bottom: 48px; }
.bleed:not(.media-left) .chip.c2 { left: auto; right: 40px; }
/* Text der Kopfbereiche aus dem Textfeld: # = H1, weitere Überschriften = Unterzeile, Absätze = Einleitung */
.head-text > * + * { margin-top: 14px; }
.head-text :is(h2, h3, h4, h5, h6) { font-family: var(--head); font-weight: 400; font-size: 32px; line-height: 1.12; color: var(--ink-2); }
.head-text p { font-size: 19px; color: var(--ink-2); }
.head-text h1 + :is(h2, h3, h4, h5, h6) { margin-top: 6px; }
.bleed .intro, .phead .intro { margin-top: 16px; }
.bleed .intro.prose, .phead .intro.prose { color: var(--ink-2); line-height: 1.6; }
.bleed .intro.prose ul { gap: 4px; font-size: 17px; }
/* Seitenkopf ohne Bild: hell und zentriert */
.phead { position: relative; margin-top: calc(-1 * var(--hdr-h)); background: #fff; border-bottom: 1px solid var(--line); overflow-x: clip; text-align: center; }
.phead::before { content: ""; position: absolute; left: 50%; top: -260px; width: 1000px; height: 640px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(237, 193, 83, .22), transparent); }
.phead .inner { position: relative; max-width: 980px; margin: 0 auto; padding: 150px var(--gutter) 64px; }
.phead .crumbs { justify-content: center; margin-bottom: 20px; }
.phead h1 { font-size: 66px; margin: 0 0 14px; }
.phead .intro { font-size: 19px; color: var(--ink-2); max-width: 760px; margin: 0 auto; }
.phead .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
/* Startseite: zentrierter Kopf */
.hero-c { position: relative; margin-top: calc(-1 * var(--hdr-h)); background: #fff; border-bottom: 1px solid var(--line); overflow-x: clip; }
.hero-c::before { content: ""; position: absolute; left: 50%; top: -240px; width: 1200px; height: 760px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(237, 193, 83, .24), transparent); }
.hero-c .inner { position: relative; max-width: 1080px; margin: 0 auto; padding: 160px var(--gutter) 0; text-align: center; }
.hero-c h1 { font-size: 74px; line-height: 1; margin: 24px auto; }
.hero-c .head-text p { max-width: 820px; margin-left: auto; margin-right: auto; }
.hero-c .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-c .stage { position: relative; max-width: 1000px; margin: 60px auto 0; padding: 0 var(--gutter); }
.hero-c .stage .screen { background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; padding: 16px 16px 0; box-shadow: 0 -12px 40px rgba(20, 20, 20, .08); overflow: hidden; }
.hero-c .stage .screen img { width: 100%; border-radius: 12px 12px 0 0; }
.hero-c .stage .chip.c1 { left: -40px; right: auto; top: 70px; }
.hero-c .stage .chip.c2 { right: -40px; left: auto; top: 190px; bottom: auto; }
.hero-c.no-stage .inner { padding-bottom: 72px; }

/* ----------------------------------------------------- Medien-Text-Block */
.mt { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.mt.media-left { grid-template-columns: 7fr 5fr; }
.mt.media-left .mt-media { order: -1; }
.mt.media-right { grid-template-columns: 5fr 7fr; }
.mt.media-left.small { grid-template-columns: 4fr 8fr; }
.mt.media-right.small { grid-template-columns: 8fr 4fr; }
.mt.media-down { grid-template-columns: 1fr; gap: 32px; }
.mt-media img, .mt-media video { border-radius: var(--r-lg); width: 100%; }
.mt-media figure { margin: 0; }
.mt-media figcaption { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.mt-head { margin-bottom: 26px; }
.text-only .prose { max-width: 860px; }
.align-center.text-only .prose { margin: 0 auto; }
.embed { position: relative; padding-top: 56.25%; border-radius: var(--r-lg); overflow: hidden; background: var(--canvas); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-note { padding: 18px 20px; background: var(--canvas); border-radius: var(--r-md); font-size: 15px; }
.embed-note p + p { margin-top: 12px; }

/* --------------------------------------------------------- Kachel-Block */
.tiles { display: grid; gap: 20px; }
.tiles.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pnl.bg-white .tiles .tile, .pnl.bg-yellow .tiles .tile { background: var(--canvas); border-color: transparent; }
.tiles .tile .more { margin-top: auto; padding-top: 16px; }
a.tile:hover { border-color: var(--anth); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tile .pic { aspect-ratio: 16 / 10; background: var(--canvas) center / cover no-repeat; }
.tile .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.tile .ic { width: 52px; height: 52px; border-radius: 15px; background: var(--gold-tint); color: var(--anth); display: grid; place-items: center; margin-bottom: 18px; }
.tile .ic .gf-icon { width: 26px; height: 26px; }
.tile .ic img { width: 30px; height: 30px; }
.tile h3 { font-size: 26px; margin-bottom: 8px; color: var(--anth); }
.tile .txt { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.tile .txt > * + * { margin-top: 8px; }
.tile .txt ul, .perk .txt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tile .txt li, .perk .txt li { position: relative; padding-left: 1.1em; }
.tile .txt li::before, .perk .txt li::before { content: ">"; position: absolute; left: 0; font-family: var(--head); font-weight: 800; color: var(--gold); }
.tile h3, .perk h3 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.tile .go { position: absolute; right: 18px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--gold-ink); }
.tile .pic + .body .go { top: auto; }
/* Modulübersicht als Kachelraster */
/* Modul-Übersicht: alle Kacheln gleich groß, oben das Bild, darunter der Text */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
.bento.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bento.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bento .tile { background: #fff; border: 1px solid var(--line); }
.bento .tile .shot { position: relative; flex: 1 0 auto; aspect-ratio: 16 / 9; background: var(--canvas) center / cover no-repeat; }
/* Modul-Icon als Overlay links oben auf dem Bild (wie im Menü) */
.bento .tile .shot .ic { position: absolute; left: 16px; top: 16px; margin: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--orange-tint); box-shadow: 0 2px 8px rgba(20, 20, 20, .18); }
.bento .tile .shot .ic img { width: 28px; height: 28px; }
.bento .tile .body > .ic { background: var(--orange-tint); }
/* Text in natürlicher Höhe, das Bild füllt die restliche Kachelhöhe (gleich große Kacheln ohne Leerraum) */
.bento .tile .body { flex: 0 0 auto; padding: 26px 28px 28px; }
.bento .tile h3 { font-size: 24px; }
.bento.cols-4 .tile h3 { font-size: 21px; }
.bento .tile .more { margin-top: 16px; }
/* Text höchstens 3 Zeilen (Tablet 5), längere Texte enden mit „…“ – ganzer Text auf der Modulseite */
.bento .tile .txt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }

/* Raster mit Icons und Trennlinien (Vorteile, Funktionen) */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; }
.perks.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.perks.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.perk { margin: -1px 0 0 -1px; padding: 30px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; }
a.perk:hover { background: var(--canvas); }
.perk .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--gold-tint); display: grid; place-items: center; margin-bottom: 16px; color: var(--anth); }
.perk .ic .gf-icon { width: 24px; height: 24px; }
.perk .ic img { width: 28px; height: 28px; }
/* Alte Funktions-Icons (512 × 244 px, Motiv klein in der Mitte): Ausschnitt vergrößert */
.perk .ic.legacy, .tile .ic.legacy, .ic.legacy { width: 64px; height: 64px; background: var(--orange-tint) no-repeat 50% 91% / 283% auto; }
.perk h3 { font-size: 25px; margin-bottom: 6px; }
.italic h3 { font-style: italic; }
.perk .txt { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.perk .txt > * + * { margin-top: 8px; }
.perk .more { margin-top: auto; padding-top: 14px; }
.pnl.bg-grey .perks { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line); }

/* ----------------------------------------------------------- Kennzahlen */
.stats { display: grid; gap: 20px; }
.stats.n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats.n-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats.n-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { border-radius: var(--r-xl); padding: 30px; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); }
.stat .more { margin-top: auto; }
.stat.hl { background: var(--gold); border-color: var(--gold); }
.stat .top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.stat .val { font-family: var(--head); font-weight: 800; font-size: 42px; line-height: 1; }
.stat .val small { font-size: 24px; }
.stat .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--canvas); display: grid; place-items: center; flex: 0 0 46px; }
.stat.hl .ic { background: #fff; }
.stat .ic .gf-icon { width: 23px; height: 23px; }
.stat .txt { font-size: 15.5px; color: var(--ink-2); }
.stat.hl .txt { color: var(--anth); }
.stat .txt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }

/* --------------------------------- Ausrichtung der Block-Überschrift (hl-*) */
/* Feld „Ausrichtung der Überschrift“ (fields/gfheadalign.yml) – überschreibt die Grundausrichtung des Blocks */
.hl-left, .hl-left :is(h1, h2, h3, h4, h5, h6, p) { text-align: left; }
.hl-center, .hl-center :is(h1, h2, h3, h4, h5, h6, p) { text-align: center; }
.hl-right, .hl-right :is(h1, h2, h3, h4, h5, h6, p) { text-align: right; }
/* Überschrift mit Link daneben (z. B. „Alle Module im Überblick“): bei mittig/rechts untereinander */
.sec-head.hl-center { flex-direction: column; align-items: center; }
.sec-head.hl-right { flex-direction: column; align-items: flex-end; }
.sec-head.hl-center .prose, .anim-head.hl-center { margin-left: auto; margin-right: auto; }
.sec-head.hl-right .prose, .anim-head.hl-right { margin-left: auto; margin-right: 0; }
.anim-head.hl-left { margin-left: 0; }
.text-only .mt-head.hl-center { margin-left: auto; margin-right: auto; }

/* ------------------------------------------- Animation (HTML im iframe) */
/* Höhe setzt assets/js/gf.js nach der Meldung aus dem Animationsdokument; vorher Platzhalter 16:10 */
.anim-frame { display: block; width: 100%; border: 0; aspect-ratio: 16 / 10; background: transparent; color-scheme: light; }
.anim-frame.sized { aspect-ratio: auto; }
.anim-head { max-width: 820px; margin: 0 auto 10px; text-align: center; }

/* ------------------------------------------------- Menükacheln (Module) */
.modrow { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.mod { display: block; text-align: center; padding: 18px 10px; border: 1px solid var(--line); border-radius: 18px; font-size: 14px; font-weight: 700; line-height: 1.3; background: #fff; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.mod:hover { border-color: var(--anth); }
.mod .ic { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 15px; background: var(--canvas); display: grid; place-items: center; }
.mod .ic img { width: 32px; height: 32px; }
/* Aktuelles Modul in Gold markiert */
.mod.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); background: #fffcf3; }
.mod.active .ic { background: var(--gold-tint); }

/* ------------------------------------------------------------ Akkordeon */
.acc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.acc details { background: var(--canvas); border-radius: var(--r-lg); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-family: var(--head); font-weight: 800; font-size: 23px; line-height: 1.15; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .tg { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: 0 0 38px; transition: transform .2s, background-color .2s; }
.acc summary .tg .gf-icon { width: 20px; height: 20px; }
.acc details[open] summary .tg { transform: rotate(180deg); background: var(--gold); }
.acc .acc-body { padding: 0 24px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.acc .acc-body.with-img { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.acc .acc-body img { border-radius: var(--r-md); }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.faq .q { padding: 26px 28px; border-radius: var(--r-lg); background: var(--canvas); }
.faq .q h3 { font-size: 23px; margin-bottom: 8px; }
.faq .q .prose { font-size: 15.5px; }
.faq .q img { margin-top: 14px; border-radius: var(--r-md); }

/* --------------------------------------------------- Text in 2 Spalten */
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 56px; }
.cols2-head { margin-bottom: 26px; }
.cols2-head h2 { font-size: 42px; }
.cols2 > .prose { padding: 30px 32px; border-radius: var(--r-lg); background: var(--canvas); }
.pnl.bg-grey .cols2 > .prose { background: #fff; border: 1px solid var(--line); }
.pnl.bg-yellow .cols2 > .prose { background: #fff; }
.art-blk .cols2 > .prose { padding: 24px; }

/* --------------------------------------------- Kontakt-Fläche (Startseite) */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.contact .ask { padding: 56px; background: var(--gold-tint); border: 0; }
.contact .ask .eyebrow { background: #fff; }
.contact .ask .prose { font-size: 18px; color: var(--ink-2); margin-top: 16px; }
.contact .ask .prose h1, .contact .ask .prose h2, .contact .ask .prose h3 { font-size: 46px; color: var(--anth); }
.contact .ask .ctas { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.contact .ways { padding: 36px; display: grid; gap: 14px; align-content: center; }
.way { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; }
a.way:hover { border-color: var(--anth); }
.way .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--canvas); display: grid; place-items: center; flex: 0 0 44px; }
.way .ic .gf-icon { width: 21px; height: 21px; }
.way b { display: block; overflow-wrap: anywhere; }
.way span span { font-size: 14px; color: var(--ink-3); }

/* ---------------------------------------------------- Kontaktformular */
.contactform-anchor { display: block; height: 0; }
.cf-form .full { grid-column: 1 / -1; }
.cf { display: grid; grid-template-columns: 1fr 1.25fr; overflow: hidden; }
.cf .left { padding: 56px; background: var(--gold-tint); }
.cf .left h2 { font-size: 46px; margin: 16px 0 0; }
.cf .left .prose { margin-top: 14px; color: var(--ink-2); }
.cf .ways2 { margin-top: 28px; display: grid; gap: 12px; }
.cf .ways2 a { display: flex; gap: 12px; align-items: center; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.cf .ways2 .ic { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: 0 0 40px; }
.cf .ways2 .gf-icon { width: 19px; height: 19px; }
.cf .right { padding: 48px; }
.cf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field.full { grid-column: 1 / -1; }
.cf-field label, .cf-head label { font-size: 14px; font-weight: 700; }
.cf-optional { font-weight: 400; color: var(--ink-3); }
.cf-field input, .cf-field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--anth); background: #fff; border: 1.5px solid #d6d6d6; border-radius: 12px; padding: 12px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.cf-field input[type="file"] { padding: 10px; min-height: 0; background: var(--canvas); }
.cf-field input[readonly] { background: var(--canvas); }
.cf-field textarea { min-height: 190px; line-height: 1.5; resize: vertical; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--anth); box-shadow: 0 0 0 3px var(--gold-tint); }
.cf-field [aria-invalid="true"] { border-color: var(--red); }
.cf-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.contactform-clear { font: inherit; font-size: 13px; font-weight: 700; color: var(--anth); background: var(--canvas); border: 0; border-radius: 8px; padding: 5px 11px; cursor: pointer; }
.contactform-clear:hover { background: var(--gold-tint); }
.cf-privacy { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.cf-privacy input { width: 22px; height: 22px; flex: 0 0 22px; margin: 1px 0 0; accent-color: var(--anth); }
.cf-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cf-actions .btn { min-width: 220px; }
.contactform-required-note { font-size: 13px; color: var(--ink-3); }
.contactform-error { font-size: 13.5px; color: var(--red); font-weight: 700; }
.contactform-alert { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; background: #fdecec; color: #8f1416; font-weight: 700; font-size: 15px; }
.contactform-success { padding: 22px 24px; border-radius: 16px; background: #e8f6ee; color: #11643a; font-size: 17px; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* -------------------------------------------------------------- Blog */
.blog-hero .search { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 560px; height: 58px; border: 1.5px solid #d4d4d4; border-radius: 999px; padding: 0 7px 0 20px; background: #fff; margin-top: 28px; }
.blog-hero .search .gf-icon { width: 21px; height: 21px; }
.blog-hero .search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; background: transparent; }
.blog-hero .search .btn { min-height: 44px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.chips a { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; }
.chips a b { color: var(--ink-3); font-size: 12.5px; }
.chips a:hover { border-color: var(--anth); }
.chips a.active { background: var(--anth); color: #fff; border-color: var(--anth); }
.chips a.active b { color: #cfcfcf; }
.newcard { position: absolute; left: 40px; bottom: 40px; width: 380px; max-width: calc(100% - 80px); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px 20px; z-index: 2; text-decoration: none; }
.newcard h3 { font-size: 23px; line-height: 1.1; margin: 6px 0 8px; }
.meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); }
.cat { font-size: 12.5px; font-weight: 700; color: var(--anth); background: var(--canvas); border-radius: 999px; padding: 3px 10px; text-decoration: none; }
.cat.new { background: var(--gold); }
.featured { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.feat-main { overflow: hidden; display: grid; grid-template-rows: 340px auto; text-decoration: none; }
.feat-main .img, .mini .img, .post .img { background: var(--canvas) center / cover no-repeat; }
.feat-main .body { padding: 30px 34px 34px; }
.feat-main h2 { font-size: 40px; margin: 12px 0 10px; }
.feat-main p { color: var(--ink-2); }
.feat-side { display: grid; gap: 20px; }
.mini { display: grid; grid-template-columns: 150px 1fr; overflow: hidden; text-decoration: none; }
.mini .body { padding: 20px 22px; }
.mini h3 { font-size: 22px; line-height: 1.12; margin-top: 8px; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.post:hover, .mini:hover, .feat-main:hover { border-color: var(--anth); }
.post .img { aspect-ratio: 16 / 9; }
.post .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post h3 { font-size: 25px; margin: 10px 0 8px; }
.post p { font-size: 15px; color: var(--ink-2); flex: 1; }
.post .more { margin-top: 16px; }
.list-head { display: flex; justify-content: space-between; align-items: baseline; margin: 30px 0 16px; }
.list-head h2 { font-size: 34px; }
.topics { padding: 28px; }
.topics h3 { font-size: 26px; margin-bottom: 12px; }
.topics a { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 700; text-decoration: none; }
.topics a span { color: var(--ink-3); font-weight: 400; }
.topics a.active { color: var(--gold-ink); }
.topics a:first-of-type { border-top: 0; }
.helpbox { padding: 28px; background: var(--gold); border: 0; margin-top: 20px; }
.helpbox h3 { font-size: 28px; margin-bottom: 8px; }
.helpbox p { font-size: 15px; margin-bottom: 18px; }
.empty { padding: 40px; text-align: center; color: var(--ink-2); }
.pager { display: flex; gap: 8px; justify-content: center; margin: 26px 0 0; list-style: none; padding: 0; }
.pager a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.pager a.active { background: var(--anth); color: #fff; border-color: var(--anth); }
.phead.blog-hero .search { margin-left: auto; margin-right: auto; }
.phead .chips { justify-content: center; }
.blog-hero .intro { max-width: 560px; }
.mini .img { min-height: 130px; }
.feat-main .meta, .post .meta { min-height: 24px; }
.inbox.grey { background: var(--canvas); }
.ahead .meta { margin-bottom: 14px; }
.bleed.ahead h1, .phead.ahead h1 { font-size: 54px; line-height: 1.02; margin: 0 0 16px; }
.ahead .intro { max-width: 640px; }
/* Artikel */
.author { display: flex; gap: 12px; align-items: center; margin-top: 26px; font-size: 14.5px; font-weight: 700; }
.author .av { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-weight: 800; }
.author span span { display: block; color: var(--ink-3); font-size: 13.5px; font-weight: 400; }
.alayout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.alayout.single { grid-template-columns: minmax(0, 1fr); }
.toc { position: sticky; top: 104px; padding: 24px; }
.toc h2 { font-size: 21px; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.35; text-decoration: none; }
.toc a:hover { background: var(--canvas); }
.toc a.active { background: var(--gold-tint); color: var(--anth); font-weight: 700; }
.article { padding: 56px 64px; }
.article .prose { max-width: 740px; font-size: 17.5px; line-height: 1.78; }
.article .prose h2 { font-size: 38px; margin-top: 40px; scroll-margin-top: 120px; }
.article .prose h3 { font-size: 25px; }
.article .art-blk + .art-blk { margin-top: 18px; }
.article .art-media { margin: 22px 0; max-width: 740px; }
.article .art-media img { border-radius: var(--r-lg); }
.inbox { margin: 32px 0; padding: 30px 32px; border-radius: var(--r-lg); background: var(--canvas); max-width: 740px; }
.inbox .prose > :first-child { margin-top: 0; }
.inbox.orange { background: var(--stoer-bg); }
.inbox.orange .prose, .inbox.orange .prose :is(p, li, strong, em), .inbox.orange .prose a:not(.btn) { color: var(--stoer-ink); }
.inbox.orange .prose :is(h2, h3, h4) { color: var(--stoer-head); }
.inbox.orange .prose ul li::before { color: var(--stoer-head); }
.inbox.yellow { background: var(--gold-tint); }
.art-end { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }

/* ------------------------------------------------------------- Fußbereich */
.foot { margin: 20px auto 20px; padding: 48px 56px 28px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font-size: 20px; margin-bottom: 12px; }
.foot h4 a { text-decoration: none; }
.foot .logo svg { width: 170px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot ul a { color: var(--ink-2); text-decoration: none; }
.foot ul a:hover { color: var(--anth); text-decoration: underline; text-decoration-color: var(--gold); }
.foot .addr { font-size: 15px; color: var(--ink-2); margin-top: 14px; }
.foot .addr p + p { margin-top: 8px; }
.foot .addr a { color: inherit; }
.foot .fund { display: flex; gap: 18px; align-items: center; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.foot .fund img { width: 180px; flex: 0 0 180px; }
.foot .legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.foot .legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot .legal a { color: inherit; text-decoration: none; }
.foot .legal a:hover { color: var(--anth); }
.mbar { display: none; }

/* -------------------------------------------------------------- Cookies */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 70; width: 400px; max-width: calc(100% - 40px); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 20px; font-size: 14.5px; color: var(--ink-2); }
.cookie b { display: block; color: var(--anth); font-size: 16px; margin-bottom: 6px; }
.cookie .row-btn { display: flex; gap: 10px; margin-top: 14px; }
.cookie .row-btn .btn { flex: 1; min-height: 44px; font-size: 15px; }
.cookiesettings-wrapper { max-width: 640px; margin: 0 auto; display: grid; gap: 16px; justify-items: center; }
.cookiesettings-wrapper h2 { font-size: 42px; }

/* ---------------------------------------------- Register (Block featuretabs) */
.featuretabs .ft { display: grid; gap: 8px; }
.featuretabs .ft-tab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; border: 0; border-radius: 16px; background: var(--canvas); color: var(--anth); font: inherit; font-family: var(--head); font-weight: 800; font-size: 21px; text-align: left; cursor: pointer; }
.featuretabs .ft-tab.has-icon { padding: 10px 16px 10px 10px; }
.featuretabs .ft-tab.is-active { background: var(--orange); }
.featuretabs .ft-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.featuretabs .ft-icon img { width: 30px; height: 30px; object-fit: contain; }
.featuretabs .ft-panel { padding: 24px; border-radius: 18px; background: var(--canvas); }
.featuretabs .ft-panel h3 { font-size: 30px; margin-bottom: 10px; }
.featuretabs .ft-media { margin: 0 0 20px; }
.featuretabs .ft-media img { width: 100%; max-height: 440px; object-fit: contain; }
.featuretabs .ft--js .ft-panel { display: none; }
.featuretabs .ft--js .ft-panel.is-active { display: block; }
@media (min-width: 993px) {
    .featuretabs .ft--js { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: repeat(var(--ft-count), auto) 1fr; column-gap: 32px; }
    .featuretabs .ft--js .ft-tab { grid-column: 1; }
    .featuretabs .ft--js .ft-panel, .featuretabs .ft--js .ft-panel.is-active { display: block; grid-column: 2; grid-row: 1 / -1; align-self: start; visibility: hidden; padding: 32px 40px; }
    .featuretabs .ft--js .ft-panel.is-active { visibility: visible; }
}

/* ---------------------------------------------- Galerie (Block carousel) */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.gallery img { scroll-snap-align: start; border-radius: var(--r-lg); width: 100%; height: 280px; object-fit: cover; }

/* ---------------------------------- Kompatibilität für ältere Vorlagen (Bewerbung) */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.row > .col { padding: 0 10px; width: 100%; }
.input-field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.input-field input, .input-field textarea, .input-field select { font: inherit; border: 1.5px solid #d6d6d6; border-radius: 12px; padding: 12px 14px; min-height: 50px; background: #fff; }
.card-panel { padding: 16px 20px; border-radius: 12px; }
.green { background: #e8f6ee; } .red { background: #fdecec; }
@media (min-width: 601px) { .row > .col.m6 { width: 50%; } .row > .col.m4 { width: 33.333%; } .row > .col.m8 { width: 66.666%; } }

/* ================================================================ Tablet */
@media (max-width: 1100px) {
    :root { --hdr-h: 84px; }
    .nav, .hdr .tel { display: none; }
    .icon-btn { display: grid; }
    .bleed, .mt, .mt.media-left, .mt.media-right, .mt.media-left.small, .mt.media-right.small, .contact, .cf, .featured, .blog-layout, .alayout { grid-template-columns: minmax(0, 1fr); }
    .mt.media-left .mt-media { order: 0; }
    .bleed { min-height: 0; }
    .bleed .media { order: -1; min-height: 380px; }
    .bleed .media.product { padding: 110px 40px 32px; }
    .bleed .copy, .bleed.media-left .copy { padding: 44px var(--gutter) 52px; }
    .chip { display: none; }
    .tiles.cols-3, .tiles.cols-4, .perks.cols-3, .perks.cols-4, .bento.cols-3, .bento.cols-4, .stats.n-3, .stats.n-4, .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento .tile .body { padding: 22px; }
    .bento .tile h3, .bento.cols-4 .tile h3 { font-size: 21px; }
    .bento .tile .txt { -webkit-line-clamp: 5; line-clamp: 5; }
    .modrow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .foot .cols { grid-template-columns: 1fr 1fr; }
    .toc { position: static; }
    .blog-aside .topics { display: none; }
    .blog-aside .helpbox { margin-top: 0; }
    .acc .acc-body.with-img { grid-template-columns: minmax(0, 1fr); }
}

/* ================================================================= Handy */
@media (max-width: 760px) {
    /* Blocksatz auf schmalen Handy-Bildschirmen linksbündig (sonst große Wortlücken) */
    .align-block .prose p:not(li p), .prose .ta-justify p:not(li p) { text-align: left; }
    :root { --gutter: 14px; --hdr-h: 70px; }
    body { font-size: 16px; }
    h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 6 6; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 6; }
    .btn, .btn-sec { white-space: normal; text-align: center; padding-top: 10px; padding-bottom: 10px; }
    .acc summary { padding: 16px 18px; font-size: 21px; }
    .acc .acc-body { padding: 0 18px 20px; }
    html { scroll-padding-top: 96px; }
    .hdr { top: 8px; margin-top: 8px; }
    .hdr .bar { height: 62px; padding: 0 8px 0 16px; gap: 8px; }
    .logo svg { width: 124px; }
    .hdr .right .btn { display: none; }
    .prose h1 { font-size: 40px; }
    .prose h2 { font-size: 32px; }
    .prose h3 { font-size: 24px; }
    .sec-head .prose h2, .cols2-head h2, .list-head h2 { font-size: 32px; }
    .pnl { padding: 30px 22px; }
    .pnl.bg-grey { padding: 18px 0; }
    .pnl.bg-orange .prose :is(h1, h2) { font-size: 24px; }
    .pnl.bg-orange { padding-top: 32px; padding-bottom: 32px; }
    .bleed .media { min-height: 300px; }
    .bleed .copy, .bleed.media-left .copy { padding: 30px 22px 40px; }
    .bleed h1, .phead h1, .bleed.ahead h1, .phead.ahead h1 { font-size: 38px; }
    .bleed .sub { font-size: 25px; }
    .bleed .intro, .phead .intro, .head-text p { font-size: 17px; }
    .head-text :is(h2, h3, h4, h5, h6) { font-size: 24px; }
    .bleed .ctas .btn, .phead .ctas .btn, .hero-c .ctas .btn { flex: 1 1 100%; }
    .phead .inner { padding: 112px 20px 44px; }
    .hero-c .inner { padding: 112px 20px 0; }
    .hero-c h1 { font-size: 40px; }
    .hero-c h1 br { display: none; }
    .hero-c .stage { margin-top: 36px; padding: 0 14px; }
    .hero-c .stage .screen { padding: 8px 8px 0; border-radius: 16px 16px 0 0; }
    .tiles.cols-2, .tiles.cols-3, .tiles.cols-4, .perks, .perks.cols-2, .perks.cols-3, .perks.cols-4, .bento, .stats.n-2, .stats.n-3, .stats.n-4, .faq, .cols2, .cards, .cards.three, .foot .cols, .cf-form { grid-template-columns: minmax(0, 1fr); }
    .bento, .bento.cols-3, .bento.cols-4 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
    .bento .tile .body { padding: 22px; }
    .bento .tile .txt { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
    .stat { min-height: 0; }
    .perk { padding: 24px 4px; }
    .pnl.bg-grey .perk { padding: 24px 20px; }
    .stat .val { font-size: 38px; }
    .modrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact .ask, .contact .ways, .cf .left, .cf .right, .article, .topics, .helpbox { padding: 28px 22px; }
    .contact .ask .prose h1, .contact .ask .prose h2, .contact .ask .prose h3, .cf .left h2 { font-size: 36px; }
    .feat-main { grid-template-rows: 220px auto; }
    .feat-main h2 { font-size: 30px; }
    .mini { grid-template-columns: 110px 1fr; }
    .newcard { left: 14px; right: 14px; bottom: 14px; width: auto; max-width: none; }
    .sec-head { display: block; }
    .foot { padding: 30px 22px 110px; }
    .foot .fund { flex-direction: column; align-items: flex-start; }
    .cookie { left: 10px; right: 10px; bottom: 84px; width: auto; max-width: none; }
    .mbar { display: flex; gap: 10px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; padding: 8px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); }
    .mbar .btn { flex: 1; min-height: 50px; }
    .mbar .icon-btn { display: grid; width: 50px; height: 50px; background: var(--anth); color: var(--gold); border-radius: 999px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
