/* Henneberger Designsystem 0.5 (28.09.2026): klassische Berateroptik nach Martins Referenz (Kanzlei-Auftritt mit Serifen-
   Ueberschriften, hellem Steingrau-Hero und freigestelltem Portraet), uebersetzt in unsere Leitplanken: eckig (border-radius 0),
   Tanne als Markenfarbe fuer Ueberschriften, Knoepfe und das Schlussband, keine Schatten, keine Fremddienste. Mint nur noch auf
   dunklem Grund. Spezifikation und Abweichungen: docs/Design-0.5.md (0.4 nach navera: docs/Design-0.4.md).
   Kontraste: Ueberschrift auf Stein 8,6:1, Text gedaempft auf Weiss 7,7:1, Weiss auf Tanne 9,6:1, Mint auf Tanne dunkel 6,6:1. */

:root {
    --hf-ink: #16211d; --hf-ink-2: #4a5651; --hf-head: #173b2d;
    --hf-tanne: #1f4d3a; --hf-tanne-dark: #173b2d; --hf-tanne-deep: #102b21;
    --hf-mint: #52d49e; --hf-mint-dark: #3cc08a;
    --hf-on-dark: #d9e3dd; --hf-line-dark: rgba(255, 255, 255, .18);
    --hf-stone-1: #b7c0bb; --hf-stone-2: #d3d9d5; --hf-stone-3: #e3e7e3;
    --hf-grey: #f4f4f0; --hf-tile: #ecece6; --hf-white: #fff; --hf-line: #dcdcd5; --hf-line-strong: #6b7278;
    --hf-error: #9b2c2c;
    --hf-max: 76rem; --hf-gutter: clamp(1rem, 3.5vw, 2.5rem);
    --hf-space-section: clamp(4.5rem, 3rem + 5vw, 8rem);
    --hf-header-h: 5.25rem;
    --hf-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --hf-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --hf-stone-bg: radial-gradient(58% 72% at 74% 62%, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, var(--hf-stone-1) 0%, var(--hf-stone-2) 34%, var(--hf-stone-3) 100%);
}
@media (min-width: 900px) { :root { --hf-header-h: 6.5rem; } }

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../../sauriatheme/assets/fonts/inter/inter-v20-latin_latin-ext-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../../../sauriatheme/assets/fonts/inter/inter-v20-latin_latin-ext-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../../../sauriatheme/assets/fonts/inter/inter-v20-latin_latin-ext-600.woff2") format("woff2"); }
/* Source Serif 4 (Adobe, SIL OFL 1.1), Variable-Font auf Latin und Gewicht 400 bis 600 reduziert, optische Groesse 8 bis 60 bleibt. */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/source-serif-4-var-latin.woff2") format("woff2"); }

/* ---------- Basis (Resets per :where, damit Komponentenklassen gewinnen) ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
html body.hf-body { margin: 0; font-family: var(--hf-font); font-size: 1rem; line-height: 1.65; letter-spacing: -0.011em; color: var(--hf-ink); background: var(--hf-white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-wrap: anywhere; }
.hf-body *, .hf-body *::before, .hf-body *::after { border-radius: 0 !important; box-shadow: none !important; }
.hf-body :where(h1, h2, h3, h4) { color: inherit; margin: 0; hyphens: manual; text-wrap: balance; }
.hf-body :where(p) { text-wrap: pretty; }
.hf-body :where(a) { color: inherit; text-decoration: none; }
.hf-body :where(img) { max-width: 100%; height: auto; display: block; }
.hf-body :where(ul, ol, dl) { margin: 0; padding: 0; }
.hf-body :where(dd, figure) { margin: 0; }
.hf-body :focus { outline: none; }
.hf-body :focus-visible { outline: 2px solid var(--hf-tanne); outline-offset: 3px; }
.hf-notice :focus-visible, .hf-section--ink :focus-visible, .hf-cta :focus-visible { outline-color: var(--hf-mint); }
.hf-card :focus-visible { outline-color: var(--hf-tanne); }
.hf-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hf-skip { position: absolute; left: 1rem; top: -100px; z-index: 1000; padding: .6rem 1rem; background: var(--hf-ink); color: #fff; font-weight: 600; }
.hf-skip:focus { top: 1rem; outline: 2px solid var(--hf-mint); outline-offset: 2px; }
.hf-tnum { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hf-body *, .hf-body *::before, .hf-body *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Typografie: Serife fuer Ueberschriften (Gewicht 400, optische Groesse automatisch), Inter fuer Text ---------- */
.hf-display, .hf-h1, .hf-h2 { font-family: var(--hf-serif); font-weight: 400; font-optical-sizing: auto; color: var(--hf-head); margin: 0; }
.hf-display { font-size: clamp(2.5rem, 1.45rem + 4vw, 4.75rem); line-height: 1.06; letter-spacing: -0.014em; }
.hf-h1 { font-size: clamp(2.25rem, 1.5rem + 2.8vw, 3.75rem); line-height: 1.08; letter-spacing: -0.012em; }
.hf-h2 { font-size: clamp(2rem, 1.4rem + 2.3vw, 3.25rem); line-height: 1.1; letter-spacing: -0.01em; }
.hf-h3 { font-family: var(--hf-serif); font-size: clamp(1.25rem, 1.15rem + .35vw, 1.5rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.006em; color: var(--hf-head); margin: 0 0 .5rem; }
.hf-lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6; letter-spacing: -0.012em; color: var(--hf-ink-2); margin: 0; hyphens: manual; }
.hf-text { color: var(--hf-ink-2); hyphens: auto; hyphenate-limit-chars: 10 4 4; }
.hf-small { font-size: .875rem; line-height: 1.5; letter-spacing: 0; }
.hf-muted { color: var(--hf-ink-2); }
.hf-kicker { display: inline-flex; align-items: center; gap: .875rem; margin: 0 0 1.5rem; font-size: .75rem; font-weight: 600; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--hf-tanne); }
.hf-kicker::before { content: ""; flex: 0 0 2rem; width: 2rem; height: 1px; background: currentColor; }
.hf-kicker--plain::before { display: none; }
.hf-section--ink .hf-kicker, .hf-cta .hf-kicker { color: var(--hf-on-dark); }
.hf-section--ink .hf-kicker::before, .hf-cta .hf-kicker::before { background: var(--hf-mint); }
.hf-link { color: var(--hf-tanne); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; display: inline-flex; align-items: center; gap: .375rem; }
.hf-link:hover { color: var(--hf-ink); }
.hf-section--ink .hf-link { color: #fff; }
.hf-icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.hf-icon--sm { width: 1em; height: 1em; }

/* ---------- Layout ---------- */
.hf-container { width: min(100% - 2 * var(--hf-gutter), var(--hf-max)); margin-inline: auto; }
.hf-narrow { max-width: 46rem; }
.hf-section { padding-block: var(--hf-space-section); background: var(--hf-white); }
.hf-section--grey { background: var(--hf-grey); }
.hf-section--ink { background: var(--hf-tanne-dark); color: #fff; }
.hf-section--ink .hf-h2 { color: #fff; }
.hf-section--ink .hf-lead, .hf-section--ink .hf-text { color: var(--hf-on-dark); }
.hf-section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.hf-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 44rem; }
.hf-headrow { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.hf-headrow .hf-h2 { max-width: 15em; }
.hf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin: 2.25rem 0 0; }

/* ---------- Buttons: eckig, Tanne mit weisser Schrift (Parent-Regel button:not(...) hat ID-Spezifitaet, deshalb !important) ---------- */
.hf-body .hf-btn { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-height: 3.25rem; padding: .5rem 1.75rem; font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.005em; text-decoration: none; cursor: pointer; border: 1px solid transparent !important; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.hf-body .hf-btn .hf-icon { width: 1rem; height: 1rem; }
@media (prefers-reduced-motion: no-preference) { .hf-body .hf-btn .hf-icon { transition: transform .15s ease; } .hf-body .hf-btn:hover .hf-icon { transform: translateX(.1875rem); } }
.hf-body .hf-btn--primary { background: var(--hf-tanne) !important; color: #fff !important; }
.hf-body .hf-btn--primary:hover, .hf-body .hf-btn--primary:focus-visible { background: var(--hf-tanne-deep) !important; color: #fff !important; }
.hf-body .hf-btn--light { background: #fff !important; color: var(--hf-tanne-dark) !important; }
.hf-body .hf-btn--light:hover { background: var(--hf-grey) !important; }
.hf-body .hf-btn--ghost { background: transparent !important; color: var(--hf-tanne-dark) !important; border-color: var(--hf-tanne) !important; }
.hf-body .hf-btn--ghost:hover { background: rgba(31, 77, 58, .06) !important; }
.hf-body .hf-btn--sm { min-height: 2.75rem; padding-inline: 1.25rem; font-size: .9375rem; }
.hf-body .hf-btn--block { width: 100%; }
/* Auf dunklem Band (CTA der Unterseiten, Kontakt ausserhalb der Karte) kehrt sich der Knopf um. */
.hf-body .hf-cta .hf-btn--primary, .hf-body .hf-section--ink > .hf-container > :not(.hf-card) .hf-btn--primary { background: #fff !important; color: var(--hf-tanne-dark) !important; }
.hf-body .hf-cta .hf-btn--primary:hover, .hf-body .hf-section--ink > .hf-container > :not(.hf-card) .hf-btn--primary:hover { background: var(--hf-grey) !important; }

/* ---------- Hinweisleiste (statisch ueber allem, ueberdeckt nichts) ---------- */
.hf-notice { position: relative; z-index: 60; background: var(--hf-ink); color: #fff; font-size: .8125rem; line-height: 1.45; }
.hf-notice__inner { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-block: .25rem; }
.hf-notice p { margin: 0; }
.hf-notice a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.hf-body .hf-notice .hf-btn--ghost { flex: 0 0 auto; min-height: 2.75rem; padding: .25rem .875rem; font-size: .8125rem; font-weight: 500; color: #fff !important; border-color: rgba(255, 255, 255, .6) !important; }
.hf-body .hf-notice .hf-btn--ghost:hover { background: transparent !important; border-color: #fff !important; }

/* ---------- Kopf: liegt ueber dem Steingrau, Logo freigestellt, Navigation auf allen Breiten im Burger-Menue ---------- */
.hf-header { position: relative; z-index: 50; height: var(--hf-header-h); }
.hf-header__bar { position: relative; height: 100%; }
.hf-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 100%; }
.hf-logo { display: inline-flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; }
.hf-logo picture { display: block; min-width: 0; }
.hf-logo__img { display: block; height: 30px; width: auto; max-width: 100%; }
/* PH-Badge: so hoch wie die Wortmarke, schrumpft nie; Hoehen passen zu den WebP-Fassungen in Henneberger_Layout::logo() */
.hf-logo .hf-logo__marke { display: block; flex: 0 0 auto; width: 30px; height: 30px; }
@media (min-width: 900px) {
    .hf-header .hf-logo { gap: 12px; }
    .hf-header .hf-logo__img { height: 42px; }
    .hf-header .hf-logo__marke { width: 42px; height: 42px; }
}
.hf-logo--footer { gap: 10px; }
.hf-logo--footer .hf-logo__img { height: 36px; }
.hf-logo--footer .hf-logo__marke { width: 36px; height: 36px; }
.hf-header__actions { display: flex; align-items: center; gap: .75rem; flex: 0 0 auto; }
.hf-body .hf-header__tel { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--hf-tanne); color: var(--hf-tanne-dark); font-weight: 500; font-variant-numeric: tabular-nums; }
.hf-header__tel span { display: none; }
.hf-body .hf-header__cta { display: none; }
.hf-body .hf-burger { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; cursor: pointer; background: transparent !important; color: var(--hf-tanne-dark) !important; border: 1px solid var(--hf-tanne) !important; transition: background-color .15s ease, color .15s ease; }
.hf-body .hf-burger:hover { background: rgba(31, 77, 58, .08) !important; }
.hf-body .hf-burger[aria-expanded="true"] { background: var(--hf-tanne) !important; color: #fff !important; }
.hf-burger__icon-close { display: none; }
.hf-burger[aria-expanded="true"] .hf-burger__icon-open { display: none; }
.hf-burger[aria-expanded="true"] .hf-burger__icon-close { display: inline-flex; }
/* Panel direkt unter dem Burger: mobil ueber die Containerbreite, ab 700 px rechtsbuendig und schmal. */
.hf-mobile { position: absolute; left: 0; right: 0; top: calc(50% + 1.375rem + .5rem); background: var(--hf-white); border: 1px solid var(--hf-line); border-top: 3px solid var(--hf-tanne); max-height: calc(100vh - var(--hf-header-h)); overflow: auto; }
.hf-mobile ul { list-style: none; }
.hf-mobile li a, .hf-mobile__tel { display: flex; align-items: center; gap: .6rem; min-height: 3rem; padding: .75rem 1.25rem; border-bottom: 1px solid var(--hf-line); font-weight: 500; color: var(--hf-ink); }
.hf-mobile li a:hover { color: var(--hf-tanne); background: var(--hf-grey); }
.hf-mobile li:last-child a { border-bottom: 0; }
.hf-mobile__tel { color: var(--hf-tanne); font-variant-numeric: tabular-nums; border-top: 1px solid var(--hf-line); border-bottom: 0; }
@media (min-width: 700px) {
    .hf-body .hf-header__cta { display: inline-flex; }
    .hf-mobile { left: auto; width: 20rem; }
}
@media (min-width: 1100px) {
    .hf-header__actions { gap: 1rem; }
    .hf-body .hf-header__tel { border: 0; min-width: 0; padding-inline: .25rem; }
    .hf-header__tel span { display: inline; }
}

/* ---------- Hero: Steingrau mit Lichtfleck, Serifen-Ueberschrift links, freigestelltes Portraet rechts. Mobil steht es auf der
   Unterkante, ab 960 px mittig neben dem Text (Vorgabe Martin 28.09.2026), der gerade Schnitt unten laeuft dann weich aus. ---------- */
.hf-hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--hf-header-h)); padding-top: calc(var(--hf-header-h) + clamp(2.5rem, 1rem + 5vw, 5.5rem)); background: var(--hf-stone-bg); }
.hf-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; }
.hf-hero__text { padding-bottom: clamp(2.5rem, 2rem + 3vw, 6.5rem); }
.hf-hero .hf-kicker { margin-bottom: 1.75rem; }
.hf-hero .hf-display { max-width: 12.5em; }
.hf-hero .hf-lead { max-width: 34rem; margin-top: 1.75rem; color: var(--hf-ink-2); }
.hf-hero .hf-actions { margin-top: 2.5rem; }
.hf-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(22, 33, 29, .16); max-width: 40rem; }
.hf-chips li { display: inline-flex; align-items: center; gap: .5rem; font-size: .9375rem; font-weight: 500; color: var(--hf-ink); }
.hf-chk { display: inline-grid; place-items: center; flex: 0 0 1.125rem; width: 1.125rem; height: 1.125rem; color: var(--hf-tanne); }
.hf-chk .hf-icon { width: 1.125rem; height: 1.125rem; stroke-width: 2.25; }
.hf-hero__figure { position: relative; justify-self: center; width: min(19rem, 78vw); }
.hf-hero__figure img { display: block; width: 100%; height: auto; }
/* Ohne Portraet (Option leer): Text ueber die volle Breite, unten normaler Abstand. */
.hf-hero--ohne-bild .hf-hero__text { padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
@media (min-width: 960px) {
    .hf-hero { padding-bottom: clamp(3.5rem, 2rem + 4vw, 6.5rem); }
    .hf-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2rem, 4vw, 4rem); align-items: center; }
    .hf-hero .hf-hero__text { padding-bottom: 0; }
    .hf-hero__figure { justify-self: end; width: min(100%, 27rem); margin-right: clamp(0rem, 2vw, 2rem); }
    .hf-hero__figure img { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
}

/* ---------- Karte (Formular) ---------- */
.hf-card { background: var(--hf-white); color: var(--hf-ink); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.hf-section:not(.hf-section--ink) .hf-card { border: 1px solid var(--hf-line); }

/* ---------- Formular ---------- */
.hf-form__title { font-family: var(--hf-serif); font-size: 1.5rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.006em; margin: 0 0 .5rem; color: var(--hf-head); }
.hf-form__intro { margin: 0 0 1.25rem; color: var(--hf-ink-2); font-size: .9375rem; }
.hf-form__form { display: grid; gap: 1rem; }
.hf-form__hint { margin: 0; font-size: .8125rem; color: var(--hf-ink-2); letter-spacing: 0; }
.hf-form { container-type: inline-size; }
.hf-form__row { display: grid; gap: 1rem; }
@container (min-width: 24rem) { .hf-form__row { grid-template-columns: 1fr 1fr; } }
.hf-field { display: grid; gap: .375rem; align-content: start; }
.hf-field label { font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--hf-ink); }
.hf-optional { color: var(--hf-ink-2); font-weight: 400; }
.hf-body .hf-field input:not([type="checkbox"]), .hf-body .hf-field select, .hf-body .hf-field textarea { box-sizing: border-box; width: 100%; height: 3rem; margin: 0; padding: 0 .875rem; font: inherit; font-size: 1rem; letter-spacing: -0.011em; color: var(--hf-ink); background: #fff; border: 1px solid var(--hf-line-strong); appearance: none; -webkit-appearance: none; transition: border-color .15s ease; }
.hf-body .hf-field textarea { height: auto; min-height: 7rem; padding-block: .75rem; resize: vertical; }
.hf-body .hf-field select { padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316211d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 1rem; }
.hf-body .hf-field input:not([type="checkbox"]):hover, .hf-body .hf-field select:hover, .hf-body .hf-field textarea:hover { border-color: var(--hf-ink); }
.hf-body .hf-field input:focus-visible, .hf-body .hf-field select:focus-visible, .hf-body .hf-field textarea:focus-visible { border-color: var(--hf-tanne); outline: 2px solid var(--hf-tanne); outline-offset: -1px; }
.hf-body .hf-field [aria-invalid="true"] { border-color: var(--hf-error); }
.hf-field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: .75rem; }
.hf-field--check input { width: 1.25rem; height: 1.25rem; margin: .125rem 0 0; accent-color: var(--hf-tanne); }
.hf-field--check label { font-weight: 400; color: var(--hf-ink-2); font-size: .8125rem; line-height: 1.5; }
.hf-field--check label a { color: var(--hf-tanne); text-decoration: underline; text-underline-offset: .2em; }
.hf-field--check .hf-form__error { grid-column: 1 / -1; }
.hf-form__error { margin: 0; font-size: .875rem; color: var(--hf-error); }
.hf-form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hf-form__actions { display: grid; gap: .625rem; padding-top: .25rem; }
.hf-form__actions .hf-btn { width: 100%; }
.hf-form__note { margin: 0; font-size: .8125rem; color: var(--hf-ink-2); text-align: center; }
.hf-form__status { margin: 0 0 1rem; padding: .875rem 1rem; border: 1px solid var(--hf-tanne); border-left-width: 3px; background: #fff; color: var(--hf-ink); font-weight: 500; }
.hf-form__status--err { border-color: var(--hf-error); color: #7f2323; }
.hf-form__status:focus-visible { outline-offset: 0; }
.hf-field--turnstile { min-height: 65px; }

/* ---------- Bankenband: einreihiges Laufband mit Pause (WCAG 2.2.2), bei reduzierter Bewegung statisch; Kacheln als Haarlinienrahmen ---------- */
.hf-logoband { background: var(--hf-white); padding-block: 1.5rem 1rem; border-bottom: 1px solid var(--hf-line); overflow: hidden; }
.hf-marquee__row { overflow: hidden; }
.hf-marquee__track { list-style: none; display: flex; gap: .75rem; width: max-content; margin: 0; padding: 0; animation: hf-marquee 60s linear infinite; }
.hf-marquee:hover .hf-marquee__track, .hf-marquee:focus-within .hf-marquee__track, .hf-marquee.is-paused .hf-marquee__track { animation-play-state: paused; }
@keyframes hf-marquee { to { transform: translateX(calc(-50% - .375rem)); } }
.hf-marquee__tile { flex: 0 0 auto; display: grid; place-items: center; width: 9.5rem; height: 4rem; padding: .5rem 1rem; background: var(--hf-white); border: 1px solid var(--hf-line); }
.hf-marquee__tile img { max-height: 1.75rem; width: auto; filter: grayscale(1); opacity: .85; }
.hf-logoband__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; margin-top: .75rem; }
.hf-logoband__meta p { margin: 0; }
.hf-body .hf-marquee__toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 .875rem; font: inherit; font-size: .8125rem; font-weight: 500; cursor: pointer; background: transparent !important; color: var(--hf-ink) !important; border: 1px solid var(--hf-line-strong) !important; }
.hf-body .hf-marquee__toggle:hover { border-color: var(--hf-ink) !important; }
.hf-marquee__toggle .hf-icon { width: 1rem; height: 1rem; }
.hf-marquee__play { display: none; }
.hf-marquee__toggle[aria-pressed="true"] .hf-marquee__pause { display: none; }
.hf-marquee__toggle[aria-pressed="true"] .hf-marquee__play { display: inline-flex; }
@media (prefers-reduced-motion: reduce) {
    .hf-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
    .hf-marquee__track [aria-hidden="true"], .hf-marquee__toggle { display: none !important; }
}
.hf-band { background: var(--hf-white); border-bottom: 1px solid var(--hf-line); padding-block: 1.75rem; }
.hf-band__text { margin: 0 auto; max-width: 44rem; text-align: center; font-family: var(--hf-serif); font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); line-height: 1.45; color: var(--hf-ink-2); }

/* ---------- Warum ich: links Text, rechts drei Punkte an einer Haarlinie ---------- */
.hf-split { display: grid; gap: 3rem; }
@media (min-width: 900px) { .hf-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; } }
.hf-split__intro .hf-h2 { max-width: 13em; }
.hf-split__intro .hf-text { margin: 1.75rem 0 0; max-width: 34rem; }
.hf-checks { list-style: none; display: grid; gap: 2.75rem; }
@media (min-width: 900px) { .hf-checks { padding-top: 2.75rem; } }
.hf-checks li { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 1.5rem; }
.hf-checks__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--hf-tanne); color: var(--hf-tanne); background: var(--hf-white); }
.hf-checks__icon .hf-icon { width: 1.25rem; height: 1.25rem; stroke-width: 2; }
.hf-checks li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.375rem - .5px); top: 3.25rem; bottom: -2.25rem; width: 1px; background: var(--hf-line); }
.hf-checks .hf-h3 { margin: .45rem 0 .5rem; }
.hf-checks p { margin: 0; color: var(--hf-ink-2); }

/* ---------- Drei Schritte: Serifen-Ziffern ueber einer Linie in Tanne ---------- */
.hf-steps { list-style: none; display: grid; gap: 3rem; }
@media (min-width: 760px) { .hf-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3.5vw, 3.5rem); } }
.hf-steps li { padding-top: 1.75rem; border-top: 1px solid var(--hf-tanne); }
.hf-steps__num { display: block; margin-bottom: 1.5rem; font-family: var(--hf-serif); font-size: clamp(2.75rem, 2.2rem + 2vw, 4rem); font-weight: 400; line-height: 1; letter-spacing: -0.01em; color: var(--hf-tanne); font-variant-numeric: lining-nums tabular-nums; }
.hf-steps .hf-h3 { margin-bottom: .75rem; }
.hf-steps p { margin: 0; color: var(--hf-ink-2); }

/* ---------- Über uns (29.09.2026, Martin): stehendes Porträt groß links, reicht ab 900 px von der Kicker-Zeile bis zum Knopf
   (Rahmen waechst mit dem Text, hoechstens 2 : 3 wie die Quelle); Werdegang zweispaltig darunter. Mobil Überschrift, Foto, Text.
   Quelle 1200 x 1800, angezeigt hoechstens 510 CSS-px breit. Nur Tokens, damit ein Redesign durchgreift. ---------- */
.hf-about { display: grid; grid-template-areas: "head" "bild" "body"; gap: 2.5rem; }
.hf-about__head { grid-area: head; }
.hf-about__head .hf-h2 { max-width: 13em; }
.hf-about__bild { grid-area: bild; container-type: inline-size; display: flex; flex-direction: column; width: 100%; max-width: 32rem; margin: 0; }
.hf-about__rahmen { position: relative; flex: 1 0 auto; aspect-ratio: 4 / 5; max-height: 150cqw; overflow: hidden; display: grid; place-items: center; background: var(--hf-tile); color: var(--hf-tanne); font-size: 2rem; font-weight: 600; }
.hf-about__rahmen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hf-about__bild figcaption { display: grid; gap: .125rem; padding-top: 1rem; }
.hf-about__name { font-family: var(--hf-serif); font-size: 1.25rem; font-weight: 400; line-height: 1.3; color: var(--hf-head); }
.hf-about__role { font-size: .75rem; font-weight: 600; line-height: 1.9; letter-spacing: .12em; text-transform: uppercase; color: var(--hf-ink-2); }
.hf-about__body { grid-area: body; }
.hf-about__text { max-width: 34rem; }
.hf-about__text p { margin: 0 0 1rem; }
.hf-about__text p:last-child { margin-bottom: 0; }
.hf-about__links { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin: 1.75rem 0 0; }
@media (min-width: 900px) {
    .hf-about { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr; grid-template-areas: "bild head" "bild body"; column-gap: clamp(3rem, 7vw, 7rem); row-gap: 1.75rem; }
    .hf-about__bild { max-width: none; }
}
.hf-about__cv { display: grid; gap: 2.5rem; margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
@media (min-width: 900px) { .hf-about__cv { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 7vw, 7rem); } }
.hf-cv__label { margin: 0 0 .75rem; font-size: .75rem; font-weight: 600; line-height: 1.3; letter-spacing: .07em; text-transform: uppercase; color: var(--hf-ink-2); }
.hf-cv__list { list-style: none; border-top: 1px solid var(--hf-line); }
.hf-cv__list li { display: grid; gap: .25rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--hf-line); }
@media (min-width: 560px) { .hf-cv__list li { grid-template-columns: 8rem minmax(0, 1fr); } }
.hf-cv__zeit { font-size: .875rem; font-weight: 600; line-height: 1.7; color: var(--hf-tanne); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.hf-cv__titel { margin: 0; font-weight: 600; color: var(--hf-ink); }
.hf-cv__ort, .hf-cv__text { margin: .125rem 0 0; font-size: .9375rem; color: var(--hf-ink-2); hyphens: auto; }
.hf-cv__ort { font-weight: 500; }
.hf-cv__zeile { margin: 0; padding-top: 1rem; border-top: 1px solid var(--hf-line); font-size: .9375rem; color: var(--hf-ink-2); }

/* ---------- FAQ: schmal, zentriert, Fragen in Serife, Chevron im Linienquadrat ---------- */
.hf-faq-wrap { max-width: 50rem; margin-inline: auto; }
.hf-faq__sub { margin: 1rem 0 2.5rem; }
.hf-faq__sub a { color: var(--hf-tanne); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.hf-faq { border-top: 1px solid var(--hf-line-strong); }
.hf-faq__item { border-bottom: 1px solid var(--hf-line); }
.hf-faq__q { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.375rem 0; font-family: var(--hf-serif); font-size: clamp(1.125rem, 1.07rem + .25vw, 1.3125rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.004em; color: var(--hf-head); cursor: pointer; list-style: none; }
.hf-faq__q::-webkit-details-marker { display: none; }
.hf-faq__q:hover { color: var(--hf-tanne); }
.hf-faq__icon { display: grid; place-items: center; flex: 0 0 2rem; width: 2rem; height: 2rem; border: 1px solid var(--hf-tanne); color: var(--hf-tanne); }
.hf-faq__icon .hf-icon { width: 1rem; height: 1rem; stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) { .hf-faq__icon .hf-icon { transition: transform .2s ease; } }
.hf-faq__item[open] .hf-faq__icon { background: var(--hf-tanne); color: #fff; }
.hf-faq__item[open] .hf-faq__icon .hf-icon { transform: rotate(180deg); }
.hf-faq__a { padding: 0 3.5rem 1.75rem 0; color: var(--hf-ink-2); hyphens: auto; }
.hf-faq__a p { margin: 0 0 .75rem; }

/* ---------- Kontakt: Tanne-Band mit Formular ---------- */
.hf-kontakt__grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .hf-kontakt__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.hf-kontakt__text .hf-lead { margin-top: 1.5rem; max-width: 32rem; }
.hf-kontakt-dl { margin-top: 2.75rem; border-top: 1px solid var(--hf-line-dark); max-width: 32rem; }
.hf-kontakt-dl > div { display: grid; gap: .25rem; padding: 1rem 0; border-bottom: 1px solid var(--hf-line-dark); }
@media (min-width: 560px) { .hf-kontakt-dl > div { grid-template-columns: 7rem minmax(0, 1fr); gap: 1.5rem; } }
.hf-kontakt-dl dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hf-on-dark); line-height: 1.9; }
.hf-kontakt-dl dd { font-weight: 500; color: #fff; }
.hf-kontakt-dl a:hover { color: var(--hf-mint); text-decoration: underline; }
.hf-kontakt__person { display: grid; grid-template-columns: 6rem minmax(0, 1fr); align-items: center; gap: 1.25rem; margin: 2.5rem 0 0; max-width: 32rem; }
@media (min-width: 560px) { .hf-kontakt__person { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.5rem; } }
.hf-kontakt__foto { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--hf-tile); }
.hf-kontakt__rolle { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hf-on-dark); line-height: 1.9; }
.hf-kontakt__name { display: block; margin-top: .25rem; font-family: var(--hf-serif); font-size: clamp(1.375rem, 1.25rem + .4vw, 1.625rem); font-weight: 400; line-height: 1.2; color: #fff; }
.hf-kontakt__zusatz { display: block; margin-top: .25rem; font-size: .9375rem; line-height: 1.5; color: var(--hf-on-dark); }

/* ---------- Seitenkopf (Unterseiten), Prosa, CTA-Band ---------- */
.hf-pagehead { margin-top: calc(-1 * var(--hf-header-h)); padding: calc(var(--hf-header-h) + clamp(2.5rem, 2rem + 3vw, 5rem)) 0 clamp(2.75rem, 2rem + 2.5vw, 4.25rem); background: var(--hf-stone-bg); }
.hf-pagehead .hf-lead { margin-top: 1.25rem; }
.hf-prose { line-height: 1.7; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
.hf-prose h2 { font-family: var(--hf-serif); font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); font-weight: 400; line-height: 1.2; letter-spacing: -0.008em; color: var(--hf-head); margin: 3rem 0 1rem; }
.hf-prose h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.012em; margin: 2rem 0 .5rem; }
.hf-prose p, .hf-prose ul, .hf-prose ol { margin: 0 0 1rem; }
.hf-prose ul, .hf-prose ol { padding-left: 1.25rem; }
.hf-prose li { margin-bottom: .375rem; }
.hf-prose a { color: var(--hf-tanne); text-decoration: underline; text-underline-offset: .2em; }
.hf-prose .hf-kicker { margin: 3.5rem 0 .75rem; }
.hf-prose .hf-kicker:first-child { margin-top: 0; }
.hf-prose .hf-kicker + h2 { margin-top: 0; }
.hf-note { color: var(--hf-ink-2); font-size: .9375rem; }
.hf-back { margin-top: 2.5rem; }
.hf-cta { background: var(--hf-tanne-dark); color: #fff; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); text-align: center; }
.hf-cta .hf-h2 { color: #fff; }
.hf-cta .hf-lead { color: var(--hf-on-dark); margin: 1rem auto 0; max-width: 36rem; }
.hf-cta__inner { display: grid; justify-items: center; gap: 2rem; }

/* ---------- Footer: Papier, Logo, vier Spalten ---------- */
.hf-footer { background: var(--hf-grey); border-top: 1px solid var(--hf-line); padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 1.5rem; }
.hf-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .hf-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; } }
.hf-footer__claim { margin: 1.5rem 0 1rem; font-family: var(--hf-serif); font-size: 1.125rem; line-height: 1.45; color: var(--hf-head); max-width: 20rem; }
.hf-footer__address { font-style: normal; color: var(--hf-ink-2); line-height: 1.6; }
.hf-footer__title { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hf-ink); margin: 0 0 1rem; }
.hf-footer__col ul { list-style: none; display: grid; gap: .625rem; }
.hf-footer__col a { color: var(--hf-ink-2); display: inline-flex; align-items: center; gap: .3rem; }
.hf-footer__col a:hover { color: var(--hf-tanne); text-decoration: underline; text-underline-offset: .2em; }
.hf-marken { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hf-line); }
.hf-marken ul { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.hf-marke { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .375rem .875rem; background: var(--hf-white); border: 1px solid var(--hf-line); color: var(--hf-ink); font-size: .8125rem; font-weight: 500; }
.hf-marke .hf-icon { color: var(--hf-tanne); }
.hf-marke:hover { border-color: var(--hf-ink); }
.hf-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--hf-line); color: var(--hf-ink-2); font-size: .8125rem; }

/* Parent-Reste, die trotz eigener Templates auftauchen koennen */
.hf-body .skip-link, .hf-body #site-header, .hf-body #site-footer { display: none; }
