/* BKI Deutschland - component styles (dark-first). Design tokens live in theme.json. */

:root {
  --bki-card: #17294a;        /* card surface, lighter than page base */
  --bki-input: #0d2036;       /* form fields */
  --bki-result: #0c2338;      /* rechner result panel */
  --hair: rgba(255, 255, 255, 0.09);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { color: var(--wp--preset--color--text); background: var(--wp--preset--color--base); }

/* ---- Section rhythm ---- */
.bki-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.bki-section--tight { padding-block: clamp(1.75rem, 3vw, 2.5rem); }
.bki-surface { background: var(--wp--preset--color--surface); }
.bki-surface-2 { background: var(--wp--preset--color--surface-2); }
.bki-navy { background:
  radial-gradient(900px 420px at 50% -10%, rgba(45,212,191,0.10), transparent 60%),
  linear-gradient(160deg, #0a1626 0%, #0d1f38 100%); color: #fff; }
.bki-navy :is(h1,h2,h3) { color: #fff; }

/* ---- Light section variant (for variation on a dark site) ---- */
.bki-light { background: #dfe5ee; color: #1f2733; }
.bki-light :is(h1,h2,h3) { color: #14213d; }
.bki-light .bki-lead, .bki-light .bki-note, .bki-light .bki-module p,
.bki-light .bki-stat span, .bki-light .bki-field__hint, .bki-light .bki-steps span,
.bki-light .bki-zielgruppe li { color: #5b6472; }
.bki-light .bki-eyebrow { color: #0d9488; }
.bki-light .bki-card { background: #fff; border-color: #e4eaf2;
  box-shadow: 0 2px 4px rgba(20,33,61,.04), 0 18px 40px -18px rgba(20,33,61,.16); }
.bki-light .bki-module__num { color: #0d9488; }
.bki-light .bki-module strong, .bki-light .bki-trust__item strong,
.bki-light .bki-steps strong, .bki-light .bki-zielgruppe h3,
.bki-light .bki-modblock { color: #14213d; }
.bki-light .bki-highlight { background: #eafaf7; color: #1f2733; }
.bki-light .bki-highlight strong { color: #0b7d72; }

/* ---- Shared helpers ---- */
.bki-wrap { max-width: 1120px; margin-inline: auto; }
.bki-wrap > h2, .bki-rechner h2, .bki-hero h1 { margin-top: 0.3rem; }
.bki-lead { color: var(--wp--preset--color--text-muted); font-size: 1.1rem; max-width: 65ch; margin-bottom: 2rem; }
.bki-note { color: var(--wp--preset--color--text-muted); font-size: 0.82rem; margin-top: 1rem; }
.bki-eyebrow { font-family: var(--wp--preset--font-family--manrope); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; color: var(--wp--preset--color--brand-light); }
.bki-eyebrow--light { color: var(--wp--preset--color--brand-light); }
.bki-hl { color: var(--wp--preset--color--brand-light); }

/* Cards. */
.bki-card { background: var(--bki-card); border: 1px solid var(--hair); border-radius: 16px; padding: 1.85rem; box-shadow: 0 20px 44px -20px rgba(0,0,0,0.5); }
.bki-stat, .bki-module { position: relative; overflow: hidden; }
.bki-stat::before, .bki-module::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--wp--preset--color--brand), var(--wp--preset--color--brand-light)); }
.bki-module--ki::before { background: linear-gradient(90deg, var(--wp--preset--color--brand-light), #5eead4); }

/* Highlight callout. */
.bki-highlight { background: rgba(45,212,191,0.08); border-left: 4px solid var(--wp--preset--color--brand); border-radius: 10px; padding: 1.25rem 1.5rem; }
.bki-highlight--lohn strong { color: var(--wp--preset--color--brand-light); }

/* Buttons. */
.bki-btn { display: inline-block; font-family: var(--wp--preset--font-family--manrope); font-weight: 700; text-decoration: none; padding: 0.95rem 1.6rem; border-radius: 10px; transition: transform 0.15s, background 0.15s; }
.bki-btn:hover { transform: translateY(-1px); }
.bki-btn--brand { background: var(--wp--preset--color--brand); color: #fff; }
.bki-btn--brand:hover { background: var(--wp--preset--color--brand-light); color: #04231f; }
.bki-btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.35); }
.bki-btn--ghost:hover { border-color: #fff; }
.wp-block-button__link { transition: background-color 0.15s ease, transform 0.15s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--text); border: 2px solid var(--wp--preset--color--border); }

/* ---- Header ---- */
.bki-header { padding-block: 1rem; border-bottom: 1px solid var(--hair); position: sticky; top: 0; z-index: 50; background: rgba(11,26,46,0.82); backdrop-filter: saturate(160%) blur(10px); }
.bki-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.bki-logo__mark { flex: none; }
.bki-logo__wm { display: flex; flex-direction: column; line-height: 1; }
.bki-logo__n { font-family: var(--wp--preset--font-family--manrope); font-weight: 800; font-size: 1.18rem; color: #fff; letter-spacing: -0.01em; }
.bki-logo__t { font-family: var(--wp--preset--font-family--manrope); font-weight: 600; font-size: 0.56rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--wp--preset--color--brand-light); margin-top: 4px; }
.bki-logo--footer { margin-bottom: 0.9rem; }
@media (max-width: 420px) { .bki-logo__t { display: none; } }
.bki-nav { display: flex; align-items: center; gap: 1.75rem; }
.bki-nav a { font-family: var(--wp--preset--font-family--manrope); font-weight: 600; color: #dce6f2; text-decoration: none; font-size: 0.98rem; }
.bki-nav a:hover { color: var(--wp--preset--color--brand-light); }
.bki-nav__cta { background: var(--wp--preset--color--brand); color: #fff !important; padding: 0.6rem 1.15rem; border-radius: 8px; }
.bki-nav__cta:hover { background: var(--wp--preset--color--brand-light); color: #04231f !important; }
@media (max-width: 640px) {
  .bki-nav { gap: 0.9rem; flex-wrap: wrap; justify-content: flex-end; }
  .bki-nav a:not(.bki-nav__cta) { font-size: 0.9rem; }
}

/* ---- Footer ---- */
.bki-footer { padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50); background: #08111f !important; border-top: 1px solid var(--hair); }
.bki-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
.bki-footer__wordmark { font-family: var(--wp--preset--font-family--manrope); font-weight: 800; font-size: 1.2rem; margin: 0 0 0.5rem; color: #fff; }
.bki-footer__tag { color: #9fb0cc; font-size: 0.95rem; max-width: 34ch; }
.bki-footer__col h4 { font-family: var(--wp--preset--font-family--manrope); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #7f92b0; margin: 0 0 0.9rem; }
.bki-footer__col a { display: block; color: #c4d0e2; text-decoration: none; margin-bottom: 0.55rem; font-size: 0.95rem; }
.bki-footer__col a:hover { color: var(--wp--preset--color--brand-light); }
.bki-footer__traeger { color: #8b9dba; font-size: 0.85rem; margin-top: 0.9rem; }
.bki-footer__legal { color: #6f819e; font-size: 0.85rem; margin-top: 2.5rem; border-top: 1px solid var(--hair); padding-top: 1.25rem; }
@media (max-width: 782px) { .bki-footer__grid { grid-template-columns: 1fr 1fr; } .bki-footer__brand { grid-column: 1 / -1; } }

/* ---- Hero ---- */
.bki-hero { padding-block: 6rem 5.5rem; background:
  radial-gradient(1100px 500px at 50% -8%, rgba(45,212,191,0.20), transparent 60%),
  radial-gradient(700px 400px at 85% 110%, rgba(13,148,136,0.14), transparent 55%),
  linear-gradient(160deg, #0a1626 0%, #0e2340 100%); }
.bki-hero__inner { max-width: 1000px; margin-inline: auto; text-align: center; }
.bki-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); color: #fff; margin: 0.6rem 0 1.2rem; }
.bki-hero__h1 span { display: block; }
/* Keep the teal middle line on a single line on desktop (true 3-line hero). */
@media (min-width: 760px) { .bki-hero__h1 .bki-hl { white-space: nowrap; } }
.bki-hero__sub { max-width: 60ch; }
.bki-hero__h1 .bki-hl { color: var(--wp--preset--color--brand-light); }
.bki-hero__sub { color: #c7d0e0; font-size: 1.2rem; max-width: 62ch; margin: 0 auto 1.8rem; }
.bki-hero__pots { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.bki-hero__pot { background: rgba(45,212,191,0.14); border: 1px solid rgba(45,212,191,0.4); color: #d7f7f1; border-radius: 999px; padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.bki-hero__pot strong { color: var(--wp--preset--color--brand-light); }
.bki-hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.bki-hero__trust { color: #8fa0bd; font-size: 0.9rem; margin-top: 2rem; }

/* ---- Trust bar ---- */
.bki-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1120px; margin-inline: auto; text-align: center; }
.bki-trust__item strong { display: block; font-family: var(--wp--preset--font-family--manrope); color: var(--wp--preset--color--text); }
.bki-trust__item span { font-size: 0.85rem; color: var(--wp--preset--color--text-muted); }
@media (max-width: 720px) { .bki-trust { grid-template-columns: 1fr 1fr; gap: 1rem; } }

/* ---- Stat cards ---- */
.bki-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1rem; }
.bki-stat strong { display: block; font-family: var(--wp--preset--font-family--manrope); font-size: 1.9rem; color: var(--wp--preset--color--brand-light); margin-bottom: 0.4rem; }
.bki-stat span { color: var(--wp--preset--color--text-muted); font-size: 0.95rem; }
@media (max-width: 780px) { .bki-stats { grid-template-columns: 1fr; } }

/* ---- Module grid ---- */
.bki-modblock { display: flex; align-items: baseline; gap: 0.6rem; margin: 2.5rem 0 1.1rem; color: var(--wp--preset--color--text); }
.bki-modblock__ue { font-size: 0.8rem; font-weight: 700; background: var(--wp--preset--color--brand); color: #fff; padding: 0.15rem 0.6rem; border-radius: 999px; }
.bki-modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.bki-module__num { font-family: var(--wp--preset--font-family--manrope); font-weight: 800; font-size: 0.8rem; color: var(--wp--preset--color--brand-light); }
.bki-module strong { display: block; font-family: var(--wp--preset--font-family--manrope); color: var(--wp--preset--color--text); margin: 0.3rem 0 0.4rem; }
.bki-module p { color: var(--wp--preset--color--text-muted); font-size: 0.95rem; margin: 0; }
.bki-module ul { margin: 0.3rem 0 0; padding-left: 1.1rem; color: var(--wp--preset--color--text-muted); font-size: 0.93rem; }
.bki-module li { margin-bottom: 0.3rem; }
.bki-module--ki { border-color: rgba(45,212,191,0.4); }
.bki-kitag { font-style: normal; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; background: var(--wp--preset--color--brand); color: #fff; padding: 0.1rem 0.45rem; border-radius: 999px; margin-left: 0.3rem; }
@media (max-width: 720px) { .bki-modules { grid-template-columns: 1fr; } }

/* ---- Format (on navy) ---- */
.bki-navy .bki-lead { color: #c7d0e0; }
.bki-format { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1rem; }
.bki-format__item { background: rgba(255,255,255,0.04); border: 1px solid var(--hair); border-left: 3px solid var(--wp--preset--color--brand); border-radius: 12px; padding: 1.1rem 1.25rem; }
.bki-format__item strong { display: block; font-family: var(--wp--preset--font-family--manrope); color: #fff; margin-bottom: 0.3rem; }
.bki-format__item span { color: #c7d0e0; font-size: 0.95rem; }
@media (max-width: 780px) { .bki-format { grid-template-columns: 1fr; } }

/* ---- Foerder table (always on a light backdrop for readability) ---- */
.bki-table { border: 1px solid #e4eaf2; border-radius: 14px; overflow: hidden; background: #fff; margin: 1.5rem 0; color: #1f2733; }
.bki-table__head, .bki-table__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1rem; padding: 1rem 1.25rem; align-items: center; }
.bki-table__head { background: #14213d; color: #fff; font-family: var(--wp--preset--font-family--manrope); font-weight: 700; font-size: 0.9rem; }
.bki-table__row { border-top: 1px solid #e4eaf2; }
.bki-table__row:first-of-type { background: #ecfbf8; }
.bki-table__row small { display: block; color: #5b6472; font-size: 0.78rem; }
.bki-table__row strong { color: #0b7d72; }
@media (max-width: 620px) { .bki-table__head { display: none; } .bki-table__row { grid-template-columns: 1fr; gap: 0.2rem; } }

/* ---- Steps ---- */
.bki-steps { list-style: none; counter-reset: step; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.75rem; max-width: 780px; }
.bki-steps li { counter-increment: step; position: relative; padding-left: 3.4rem; padding-block: 0.6rem; }
.bki-steps li::before { content: counter(step); position: absolute; left: 0; top: 0.4rem; width: 2.4rem; height: 2.4rem; background: var(--wp--preset--color--brand); color: #fff; border-radius: 50%; display: grid; place-items: center; font-family: var(--wp--preset--font-family--manrope); font-weight: 800; }
.bki-steps strong { display: block; color: var(--wp--preset--color--text); font-family: var(--wp--preset--font-family--manrope); }
.bki-steps span { color: var(--wp--preset--color--text-muted); font-size: 0.95rem; }

/* ---- Zielgruppe ---- */
.bki-zielgruppe { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.bki-zielgruppe .bki-card { border-color: rgba(45,212,191,0.22); }
.bki-zielgruppe h3 { margin-top: 0; color: var(--wp--preset--color--text); }
.bki-zielgruppe ul { margin: 0; padding-left: 1.1rem; color: var(--wp--preset--color--text); }
.bki-zielgruppe li { margin-bottom: 0.5rem; }
@media (max-width: 720px) { .bki-zielgruppe { grid-template-columns: 1fr; } }

/* ---- Final CTA ---- */
.bki-cta__inner { text-align: center; max-width: 780px; margin-inline: auto; border: 1px solid rgba(45,212,191,0.32); border-radius: 20px; padding: 2.75rem 2rem; background: radial-gradient(600px 220px at 50% 0%, rgba(45,212,191,0.10), transparent 65%), rgba(255,255,255,0.02); }
.bki-cta__inner h2 { color: #fff; }
.bki-cta__inner p { color: #c7d0e0; margin-bottom: 1.6rem; }
.bki-cta__inner .bki-btn--brand { box-shadow: 0 8px 26px -8px rgba(45,212,191,0.5); }

/* ---- FAQ accordion ---- */
.bki-faq details { border-bottom: 1px solid var(--hair); padding: 1rem 0; }
.bki-faq summary { cursor: pointer; font-family: var(--wp--preset--font-family--manrope); font-weight: 700; color: var(--wp--preset--color--text); list-style: none; }
.bki-faq summary::-webkit-details-marker { display: none; }
.bki-faq summary::after { content: "+"; float: right; color: var(--wp--preset--color--brand-light); }
.bki-faq details[open] summary::after { content: "\2013"; }
.bki-faq p { color: var(--wp--preset--color--text-muted); margin-top: 0.6rem; }
.bki-light .bki-faq details { border-color: #e4eaf2; }
.bki-light .bki-faq summary { color: #14213d; }
.bki-light .bki-faq p { color: #5b6472; }

/* ---- Page header band (subpages) ---- */
.bki-pagehead { padding-block: 4.5rem 3.5rem; background:
  radial-gradient(900px 400px at 50% -20%, rgba(45,212,191,0.18), transparent 60%),
  linear-gradient(160deg, #0a1626 0%, #0e2340 100%); text-align: center; }
.bki-pagehead h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0.4rem auto 0.8rem; max-width: 22ch; }
.bki-pagehead p { color: #c7d0e0; max-width: 60ch; margin: 0 auto; font-size: 1.1rem; }

/* ---- Prose (legal/long-form) ---- */
.bki-prose { max-width: 760px; margin-inline: auto; color: var(--wp--preset--color--text); }
.bki-prose h2 { font-size: var(--wp--preset--font-size--xl); margin: 2rem 0 0.6rem; }
.bki-prose h3 { font-size: var(--wp--preset--font-size--lg); margin: 1.4rem 0 0.4rem; }
.bki-prose p, .bki-prose li { color: var(--wp--preset--color--text-muted); }
.bki-prose a { color: var(--wp--preset--color--brand-light); }
.bki-prose address { font-style: normal; line-height: 1.7; color: var(--wp--preset--color--text); }

/* ---- GHL form slot ---- */
.bki-formslot { max-width: 760px; margin: 0 auto; }
.bki-formslot iframe { width: 100%; border: 0; }
.bki-formslot__placeholder { border: 2px dashed var(--wp--preset--color--border); border-radius: 16px; padding: 3rem 2rem; text-align: center; color: var(--wp--preset--color--text-muted); background: var(--bki-card); }

/* ---- Consent banner (CMP) ---- */
.bki-cmp { position: fixed; z-index: 200; left: 16px; bottom: 16px; max-width: 420px; display: none; }
.bki-cmp.is-open { display: block; }
.bki-cmp__card { background: #10233b; border: 1px solid rgba(45,212,191,0.28); border-radius: 16px; box-shadow: 0 24px 60px -18px rgba(0,0,0,0.7); padding: 1.35rem 1.4rem 1.2rem; }
.bki-cmp__lead { color: #c7d0e0; font-size: 0.92rem; margin: 0; }
.bki-cmp__details { margin-top: 1rem; display: grid; gap: 0.7rem; }
.bki-cmp__details[hidden] { display: none; }
.bki-cmp__cat { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; border: 1px solid var(--hair); border-radius: 10px; padding: 0.7rem 0.85rem; }
.bki-cmp__cat strong { display: block; font-family: var(--wp--preset--font-family--manrope); font-size: 0.9rem; color: #fff; }
.bki-cmp__cat small { color: #98acc6; font-size: 0.78rem; }
.bki-cmp__cat input { flex: none; margin-top: 0.2rem; accent-color: var(--wp--preset--color--brand-light); width: 18px; height: 18px; }
.bki-cmp__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.bki-cmp__btn { font-family: var(--wp--preset--font-family--manrope); font-weight: 700; font-size: 0.88rem; border: 0; border-radius: 9px; padding: 0.6rem 1rem; cursor: pointer; }
.bki-cmp__btn--brand { background: var(--wp--preset--color--brand); color: #fff; margin-left: auto; }
.bki-cmp__btn--brand:hover { background: var(--wp--preset--color--brand-light); color: #04231f; }
.bki-cmp__btn--ghost { background: transparent; color: #c7d0e0; border: 1px solid var(--wp--preset--color--border); }
.bki-cmp__btn--ghost:hover { border-color: var(--wp--preset--color--brand-light); color: #fff; }
@media (max-width: 520px) { .bki-cmp { left: 10px; right: 10px; bottom: 10px; max-width: none; } }

/* ---- Foerder-Rechner ---- */
.bki-rechner { max-width: 1180px; margin-inline: auto; }
.bki-rechner h2 { margin: 0.3rem 0 0.5rem; }
.bki-rechner__intro { color: var(--wp--preset--color--text-muted); max-width: 60ch; margin-bottom: 2rem; }
.bki-rechner__scope { font-size: 0.9rem; color: var(--wp--preset--color--text-muted); margin: 0 0 1.5rem; padding: 0.7rem 1rem; background: rgba(255,255,255,0.05); border: 1px solid var(--hair); border-radius: 10px; }
.bki-rechner__scope strong { color: var(--wp--preset--color--text); }
.bki-rechner__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem; align-items: start; }
@media (max-width: 860px) { .bki-rechner__grid { grid-template-columns: 1fr; } }

.bki-field { border: 0; padding: 0; margin: 0 0 1.5rem; }
.bki-field legend { font-family: var(--wp--preset--font-family--manrope); font-weight: 700; color: var(--wp--preset--color--text); margin-bottom: 0.7rem; padding: 0; }
.bki-field__hint { font-size: 0.82rem; color: var(--wp--preset--color--text-muted); margin-top: 0.6rem; }

.bki-choice { display: grid; gap: 0.6rem; }
.bki-choice--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .bki-choice--3 { grid-template-columns: 1fr; } }
.bki-choice__opt { position: relative; display: flex; align-items: flex-start; gap: 0.6rem; border: 1.5px solid var(--wp--preset--color--border); border-radius: 12px; padding: 0.85rem 1rem; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.bki-choice__opt:hover { border-color: var(--wp--preset--color--brand-light); }
.bki-choice__opt input { margin-top: 0.2rem; accent-color: var(--wp--preset--color--brand-light); }
.bki-choice__opt span { display: flex; flex-direction: column; line-height: 1.3; color: var(--wp--preset--color--text); }
.bki-choice__opt small { color: var(--wp--preset--color--text-muted); font-size: 0.8rem; margin-top: 0.15rem; }
.bki-choice__opt em { font-style: normal; font-weight: 700; color: var(--wp--preset--color--brand-light); font-size: 0.85rem; margin-top: 0.35rem; }
.bki-choice__opt:has(input:checked) { border-color: var(--wp--preset--color--brand-light); background: rgba(45,212,191,0.10); }

.bki-field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .bki-field--row { grid-template-columns: 1fr; } }
.bki-field__col { display: flex; flex-direction: column; gap: 0.35rem; }
.bki-field__col span { font-family: var(--wp--preset--font-family--manrope); font-weight: 600; font-size: 0.9rem; color: var(--wp--preset--color--text); }
.bki-field__col input { background: var(--bki-input); border: 1.5px solid var(--wp--preset--color--border); border-radius: 10px; padding: 0.7rem 0.9rem; font: inherit; color: var(--wp--preset--color--text); }
.bki-field__col input:focus { outline: 2px solid var(--wp--preset--color--brand-light); border-color: var(--wp--preset--color--brand-light); }

.bki-rechner__result { background: var(--bki-result); border: 1px solid rgba(45,212,191,0.28); border-radius: 16px; padding: 1.85rem; position: sticky; top: 90px; }
.bki-rechner__result .bki-result__label { color: #c7d0e0; font-family: var(--wp--preset--font-family--manrope); font-weight: 600; }
.bki-result__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--hair); }
.bki-result__row small { display: block; color: #8fa0bd; font-size: 0.78rem; }
.bki-result__val { text-align: right; white-space: nowrap; color: #fff; }
.bki-result__val strong { font-family: var(--wp--preset--font-family--manrope); font-size: 1.2rem; }
.bki-pill { display: inline-block; background: rgba(45,212,191,0.2); color: var(--wp--preset--color--brand-light); font-weight: 700; font-size: 0.78rem; padding: 0.1rem 0.5rem; border-radius: 999px; margin-left: 0.4rem; }
.bki-result__total { display: flex; flex-direction: column; gap: 0.2rem; padding: 1.2rem 0 0.4rem; }
.bki-result__total .bki-result__label { color: #c7d0e0; }
.bki-result__total strong { font-family: var(--wp--preset--font-family--manrope); font-size: 2.4rem; color: var(--wp--preset--color--brand-light); line-height: 1.1; }
.bki-result__means { color: #c7d0e0; font-size: 0.9rem; margin: 0.6rem 0 1.2rem; }
.bki-result__cta { display: block; text-align: center; background: var(--wp--preset--color--brand) !important; color: #fff !important; padding: 0.95rem 1.2rem; border-radius: 10px; font-family: var(--wp--preset--font-family--manrope); font-weight: 700; text-decoration: none; }
.bki-result__cta:hover { background: var(--wp--preset--color--brand-light) !important; color: #04231f !important; }
.bki-result__note { color: #8fa0bd; font-size: 0.78rem; margin-top: 0.8rem; text-align: center; }

/* =====================================================================
   Design pass v0.3.0 (2026-11-03)
   ===================================================================== */

/* -- Full-bleed sections: post content was capped at contentSize (1140px),
      so every alignfull band rendered as an inset box. -- */
main.wp-block-group { padding-inline: 0 !important; }
main > .wp-block-post-content { max-width: none !important; padding-inline: 0 !important; }
.wp-block-post-content > .alignfull { max-width: none !important; width: 100%; margin-inline: 0 !important; }
.wp-block-post-content > * + * { margin-block-start: 0; }
.wp-block-post-content > .alignfull { padding-inline: 1.25rem; }

/* Footer stays at the bottom on short pages (e.g. /kontakt). */
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.wp-site-blocks > main { flex: 1 0 auto; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* -- Typography hierarchy -- */
strong, b { font-weight: 700; }
.bki-section h2, .bki-rechner h2 { font-size: clamp(1.65rem, 1.1rem + 1.7vw, 2.4rem); line-height: 1.14; letter-spacing: -0.02em; max-width: 28ch; margin: 0.45rem 0 0.9rem; text-wrap: balance; }
.bki-cta__inner h2 { max-width: none; margin-inline: auto; }
.bki-hero h1, .bki-pagehead h1 { letter-spacing: -0.025em; text-wrap: balance; }
.bki-lead { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.15rem); line-height: 1.65; }
.bki-eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.76rem; letter-spacing: 0.12em; }
.bki-eyebrow::before { content: ""; width: 1.4rem; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.8; }
.bki-hero .bki-eyebrow::before, .bki-pagehead .bki-eyebrow::before, .bki-cta .bki-eyebrow::before { display: none; }

/* Card / item titles: Manrope bold (strong rendered at 400 before). */
.bki-trust__item strong, .bki-format__item strong, .bki-module strong, .bki-steps strong,
.bki-choice__opt span { font-weight: 700; }
.bki-trust__item strong { font-size: 1.02rem; margin-bottom: 0.15rem; }
.bki-stat strong { font-weight: 800; font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); letter-spacing: -0.02em; }
.bki-format__item strong { font-size: 1.05rem; }

/* -- Cards: consistent radius, gentle hover lift on dark surfaces -- */
.bki-card, .bki-format__item { transition: transform 0.18s ease, border-color 0.18s ease; }
.bki-format__item:hover, .bki-module:hover { transform: translateY(-2px); }
.bki-format__item { padding: 1.3rem 1.4rem; border-radius: 14px; }

/* -- Trust bar: dividers instead of floating text -- */
.bki-trust__item { padding: 0.35rem 0.5rem; }
@media (min-width: 721px) { .bki-trust__item + .bki-trust__item { border-left: 1px solid var(--hair); } }

/* -- Steps: two columns of small cards on wide screens -- */
@media (min-width: 900px) {
  .bki-steps { grid-template-columns: repeat(2, 1fr); max-width: none; gap: 1rem 1.25rem; }
}
.bki-steps li { background: rgba(255,255,255,0.03); border: 1px solid var(--hair); border-radius: 14px; padding: 1rem 1.1rem 1rem 4.1rem; }
.bki-steps li::before { left: 1rem; top: 1rem; }
.bki-light .bki-steps li { background: #fff; border-color: #e4eaf2; }

/* -- Foerder table on mobile: label each stacked value -- */
@media (max-width: 620px) {
  .bki-table__row > span:first-child { font-family: var(--wp--preset--font-family--manrope); font-weight: 700; color: #14213d; }
  .bki-table__row > span:nth-child(2)::before { content: "Lehrgangskosten: "; color: #5b6472; font-weight: 400; }
  .bki-table__row > span:nth-child(3)::before { content: "Zuschuss Lohnkosten: "; color: #5b6472; font-weight: 400; }
}

/* -- Header on mobile: logo row + compact nav row -- */
.bki-logo__n { white-space: nowrap; }
@media (max-width: 640px) {
  .bki-header { padding-block: 0.7rem 0.6rem; }
  .bki-header > .wp-block-group { flex-wrap: wrap !important; row-gap: 0.6rem; }
  .bki-nav { flex-basis: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 0.5rem; }
  .bki-nav a:not(.bki-nav__cta) { font-size: 0.88rem; }
  .bki-nav__cta { padding: 0.5rem 0.85rem; font-size: 0.88rem !important; }
}

/* -- Hero: a touch more presence -- */
.bki-hero { padding-block: clamp(4.5rem, 9vw, 7.5rem) clamp(4rem, 8vw, 6.5rem); }
.bki-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); line-height: 1.08; }
.bki-hero__cta .bki-btn--brand { box-shadow: 0 10px 30px -10px rgba(45,212,191,0.55); }
.bki-pagehead { padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem); }

/* -- Form slot placeholder: finished card instead of dashed box -- */
.bki-formslot__placeholder { border: 1px solid rgba(45,212,191,0.3); background:
  radial-gradient(500px 180px at 50% 0%, rgba(45,212,191,0.10), transparent 70%), var(--bki-card);
  box-shadow: 0 20px 44px -20px rgba(0,0,0,0.5); padding: 3rem 2rem; }
.bki-formslot__placeholder p:first-child strong { font-family: var(--wp--preset--font-family--manrope); font-size: 1.25rem; color: #fff; }

/* -- Legal prose: comfortable reading -- */
.bki-prose { line-height: 1.75; }
.bki-prose h2 { padding-top: 1.2rem; border-top: 1px solid var(--hair); }
.bki-prose h2:first-child { border-top: 0; padding-top: 0; }

/* -- Focus visibility (a11y) -- */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--wp--preset--color--brand-light); outline-offset: 3px; border-radius: 6px; }

/* -- Long German compounds (e.g. Qualifizierungschancengesetz) on narrow screens -- */
h1, h2, h3, .bki-eyebrow { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 520px) {
  .bki-pagehead .bki-eyebrow, .bki-hero .bki-eyebrow { letter-spacing: 0.06em; font-size: 0.7rem; }
  .bki-section h2, .bki-rechner h2 { font-size: clamp(1.45rem, 1rem + 2.6vw, 1.8rem); }
}

/* Booking embed (two-click) */
.bki-booking { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: 14px; padding: 2rem; text-align: center; }
.bki-booking__note { font-size: .85rem; color: var(--wp--preset--color--text-muted); max-width: 46rem; margin: 1rem auto 0; }
.bki-booking[data-loaded] { padding: 0; background: #fff; overflow: hidden; }
.bki-or { text-align: center; color: var(--wp--preset--color--text-muted); margin: 2.5rem 0 1rem; font-weight: 600; }

/* Leadmagnet page: text + form side by side */
.bki-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.bki-list { list-style: none; padding: 0; margin: 1.25rem 0; }
.bki-list li { position: relative; padding-left: 1.75rem; margin: .7rem 0; }
.bki-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--wp--preset--color--brand); }
@media (max-width: 860px) { .bki-split { grid-template-columns: 1fr; gap: 2rem; } }
