/* rsc24 – Design-System (Stand Oktober 2026)
   Schriften: Jost (Überschriften, geometrisch wie das Logo) + DM Sans (Fließtext), beide SIL OFL, lokal eingebunden.
   Farben: Logo-Blau, dunkles Navy für Bänder und Footer, Orange als Akzent nur für primäre Aktionen.
   Dark Mode: folgt dem System, manuell umschaltbar (data-theme auf <html>, gesetzt von theme.js). */

@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/jost-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
    src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
    src: url("../fonts/dm-sans-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 100 1000; font-display: swap;
    src: url("../fonts/dm-sans-latin-wght-italic.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
    /* Markenfarben (themenunabhängig) */
    --navy: #0a1f4f;
    --brand: #013085;
    --orange: #f39200;          /* Buttons, Text darauf navy (6,8:1) */
    --orange-hover: #ffa21f;

    /* Themenabhängig: hell */
    --bg: #ffffff;
    --fg: #13213f;
    --heading: #013085;
    --link: #013085;
    --muted: #425a85;
    --accent-ink: #b55d00;      /* Orange als Schrift auf hellem Grund (4,6:1) */
    --surface: #ffffff;
    --paper: #f5f7fb;
    --line: #dee4ef;
    --decor: #dee4ef;           /* Bogen-Motiv, große Ziffern */
    --input-bg: #ffffff;
    --input-border: #9fb0cf;
    --btn-bg: #013085;
    --btn-fg: #ffffff;
    --btn-hover: #0a3fa3;
    --band: #0a1f4f;
    --band-fg: #e9eef8;
    --band-muted: #aebbd6;
    --header-bg: rgba(255, 255, 255, .92);
    --shadow: 0 1px 2px rgba(10, 31, 79, .06), 0 8px 24px rgba(10, 31, 79, .08);
    --crit: #b3261e; --crit-bg: #fbe9e7;
    --warn: #8a5a00; --warn-bg: #fff4d6;
    --ok: #1e7a3c;   --ok-bg: #e3f4e8;
    --ph-bg: #eef2f8; --ph-stripe: #e2e8f2;

    /* Kompatibilität mit älteren Templates/Tools */
    --base: var(--bg);
    --primary: var(--heading);
    --contrast: var(--muted);
    --secondary: var(--line);

    /* Typografie */
    --font-display: "Jost", "Century Gothic", "Futura", system-ui, sans-serif;
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --step--1: .875rem;
    --step-0: clamp(1rem, .97rem + .15vw, 1.0625rem);
    --step-1: 1.25rem;
    --step-2: clamp(1.35rem, 1.2rem + .6vw, 1.6rem);
    --step-3: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
    --step-4: clamp(2.2rem, 1.6rem + 2.8vw, 3.5rem);

    /* Raster */
    --wide: 72rem;
    --wide-inner: calc(var(--wide) - 40px); /* Inhaltsbreite innerhalb von .wrap (abzgl. Seitenrand) */
    --content: 46rem;
    --radius: 14px;
    --gutter-l: max(20px, env(safe-area-inset-left, 0px));
    --gutter-r: max(20px, env(safe-area-inset-right, 0px));
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0b1430; --fg: #dfe6f3; --heading: #d2ddf7; --link: #9db8ff; --muted: #9fb0d2; --accent-ink: #f5a23a;
        --surface: #111d40; --paper: #0e1938; --line: #22305a; --decor: #1b2a55;
        --input-bg: #0e1938; --input-border: #3a4c7e;
        --btn-bg: #c9d7f5; --btn-fg: #0a1f4f; --btn-hover: #e1e9fb;
        --band: #071029; --band-fg: #e9eef8; --band-muted: #9fb0d2;
        --header-bg: rgba(11, 20, 48, .92);
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
        --crit: #ffb4ab; --crit-bg: #3d1513; --warn: #ffd27a; --warn-bg: #3a2c05; --ok: #93dcae; --ok-bg: #0f2e1c;
        --ph-bg: #12204a; --ph-stripe: #172757;
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --bg: #0b1430; --fg: #dfe6f3; --heading: #d2ddf7; --link: #9db8ff; --muted: #9fb0d2; --accent-ink: #f5a23a;
    --surface: #111d40; --paper: #0e1938; --line: #22305a; --decor: #1b2a55;
    --input-bg: #0e1938; --input-border: #3a4c7e;
    --btn-bg: #c9d7f5; --btn-fg: #0a1f4f; --btn-hover: #e1e9fb;
    --band: #071029; --band-fg: #e9eef8; --band-muted: #9fb0d2;
    --header-bg: rgba(11, 20, 48, .92);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
    --crit: #ffb4ab; --crit-bg: #3d1513; --warn: #ffd27a; --warn-bg: #3a2c05; --ok: #93dcae; --ok-bg: #0f2e1c;
    --ph-bg: #12204a; --ph-stripe: #172757;
    color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(6rem + env(safe-area-inset-top, 0px)); }
body {
    margin: 0; background: var(--bg); color: var(--fg);
    font-family: var(--font-body); font-size: var(--step-0); line-height: 1.65;
    hyphens: auto; overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); line-height: 1.18; text-wrap: balance; hyphens: manual; }
h1 { font-size: var(--step-4); font-weight: 500; letter-spacing: -.01em; }
h2 { font-size: var(--step-3); font-weight: 500; }
h3 { font-size: var(--step-1); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 700; }
small { font-size: .85em; }
.center { text-align: center; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .6em 1em; z-index: 100; }
.skip-link:focus { left: 0; }
.wrap { max-width: var(--wide); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* ---------- Buttons ---------- */
.button, .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.3; letter-spacing: .01em;
    padding: .8em 1.45em; border-radius: 999px; border: 2px solid transparent;
    background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; text-align: center; cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.button:hover, .btn:hover { background: var(--btn-hover); transform: translateY(-1px); text-decoration: none; }
.button.primary, .btn-primary { background: var(--orange); color: #0a1f4f; }
.button.primary:hover, .btn-primary:hover { background: var(--orange-hover); }
.button.ghost, .btn-ghost { background: transparent; color: var(--link); border-color: currentColor; }
.button.ghost:hover, .btn-ghost:hover { background: color-mix(in srgb, var(--link) 8%, transparent); }
.band .btn-ghost, .cta-band .btn-ghost { color: var(--band-fg); }
button.button { font-family: var(--font-display); }
.buttons, .btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: center; }
.buttons.start, .btn-row { justify-content: flex-start; }
.buttons.column { flex-direction: column; align-items: center; }
.textlink { font-family: var(--font-display); font-weight: 600; text-decoration: none; color: var(--link); display: inline-flex; gap: .4em; align-items: center; }
.textlink::after { content: "→"; transition: transform .15s; }
.textlink:hover::after { transform: translateX(3px); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; }

/* ---------- Topline + Header ---------- */
.topline { background: var(--navy); color: #c9d4ea; font-size: var(--step--1); }
.topline .wrap { display: flex; justify-content: space-between; align-items: center; gap: .4rem 1.25rem; flex-wrap: wrap; padding-block: .35rem; }
.topline a { color: #fff; text-decoration: none; }
.topline a:hover { text-decoration: underline; }
.topline-contact { display: flex; gap: .4rem 1.25rem; flex-wrap: wrap; align-items: center; }
.topline .lang-switch a { border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 0 .55em; font-weight: 600; }
.theme-toggle { background: none; border: 1px solid rgba(255, 255, 255, .35); color: #fff; border-radius: 999px; width: 1.9rem; height: 1.6rem; display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.theme-toggle svg { width: 14px; height: 14px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }

.site-header {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
    background: var(--header-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; padding-block: .65rem; }
.logo { display: block; line-height: 0; flex: none; border-radius: 50%; }
.logo img { width: 56px; height: 56px; display: block; }

.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem 1.4rem; font-family: var(--font-display); font-weight: 500; }
.main-nav a { color: var(--fg); text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--link); }
.main-nav > ul > li > a[aria-current="page"], .main-nav > ul > li.is-active > a { box-shadow: inset 0 -2px 0 var(--orange); }
.main-nav li { position: relative; }
.has-sub { display: flex; align-items: center; gap: .1rem; }
.sub-toggle { background: none; border: 0; padding: .3rem; color: var(--muted); cursor: pointer; line-height: 0; border-radius: 6px; }
.sub-toggle svg { transition: transform .15s; }
.has-sub.open > .sub-toggle svg { transform: rotate(180deg); }
.sub {
    display: none; position: absolute; top: calc(100% + .5rem); left: -1rem; z-index: 20;
    list-style: none; margin: 0; padding: .6rem; min-width: 14rem;
    background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: 12px;
    font-weight: 400;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; }
.sub li a { display: block; padding: .45rem .7rem; border-radius: 8px; white-space: nowrap; }
.sub li a:hover, .sub li a[aria-current="page"] { background: var(--paper); }
.has-sub.open > .sub { display: block; }
@media (hover: hover) and (min-width: 1081px) {
    .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
}
.main-nav .account-link a { color: var(--muted); }
.main-nav .nav-cta .btn { padding: .6em 1.2em; color: #0a1f4f; }
.main-nav .nav-cta .btn:hover { color: #0a1f4f; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: .55rem .65rem; cursor: pointer; color: var(--fg); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .header-inner { flex-wrap: wrap; }
    .main-nav { display: none; flex-basis: 100%; margin: 0; padding: .5rem 0 1rem; max-height: calc(100vh - 8rem); overflow-y: auto; }
    .main-nav.open { display: block; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; font-size: 1.1rem; }
    .main-nav > ul > li { border-bottom: 1px solid var(--line); }
    .main-nav > ul > li > a { display: block; padding: .7rem 0; }
    .main-nav > ul > li > a[aria-current="page"] { box-shadow: none; }
    .has-sub { flex-wrap: wrap; justify-content: space-between; }
    .has-sub > a { flex: 1; }
    .sub { position: static; box-shadow: none; border: 0; padding: 0 0 .6rem .75rem; min-width: 0; background: none; }
    .sub::before { display: none; }
    .has-sub > .sub { flex-basis: 100%; }
    .main-nav .nav-cta { border-bottom: 0; padding-top: 1rem; }
    .topline-claim { display: none; }
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .wrap { padding-block: clamp(1.75rem, 1rem + 3vw, 3.25rem); display: grid; gap: .75rem; position: relative; z-index: 1; }
.page-head h1 { margin: 0; max-width: 46rem; }
.page-head .lead { margin: 0; }
.page-head .arc { width: 26rem; right: -8rem; top: -9rem; left: auto; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: var(--step--1); color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--decor); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--link); text-decoration: underline; }
.lead { font-size: var(--step-1); line-height: 1.55; max-width: 40rem; }
.eyebrow { margin: 0; font-family: var(--font-display); font-size: var(--step--1); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }

/* ---------- Inhaltsbereich (Unterseiten) ---------- */
.content-main { display: block; }
.entry { padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.5rem) 1rem; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.entry > * { max-width: var(--content); margin-left: auto; margin-right: auto; }
.entry > .section, .entry > .cta-section, .entry > .band, .entry > .wide { max-width: none; }
.entry h2 { margin: 2.2em auto .5em; }
.entry h3 { margin: 1.8em auto .4em; }
.entry > h2:first-child, .entry > h3:first-child { margin-top: 0; }
.entry p { margin-top: 0; margin-bottom: 1em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin-bottom: .35em; }
.entry h2 a, .entry h3 a { text-decoration: none; }
.entry h2 a:hover, .entry h3 a:hover { text-decoration: underline; }
.entry h2 small { font-family: var(--font-body); font-size: .5em; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.entry > p:first-child { font-size: var(--step-1); line-height: 1.55; }
.landing { display: block; }

/* Karten (allgemein) */
.card { display: flex; flex-direction: column; gap: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { margin: 0; }
.card p { margin: 0; }
.card .buttons { margin-top: auto; padding-top: .75rem; justify-content: flex-start; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; padding-bottom: 2rem; }

/* CTA-Box (alt) */
.cta-section { margin-block: 2rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--paper); border-radius: var(--radius); }
.cta-block { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; max-width: var(--content); margin: 0 auto; }
.cta-box h2 { margin-top: 0; }
.cta-image img { border-radius: var(--radius); display: block; max-width: 160px; }
@media (max-width: 600px) { .cta-block { grid-template-columns: 1fr; } }

/* Abschluss-Box auf Unterseiten */
.cta-row { margin: 2.5rem auto 1rem; }
.cta-row .buttons { justify-content: flex-start; }
.cta-card { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: center; background: var(--navy); color: var(--band-fg); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); position: relative; overflow: hidden; }
.cta-card p { margin: 0; }
.cta-card .cta-title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; color: #fff; line-height: 1.25; }
.cta-card .cta-text { color: var(--band-muted); margin-top: .35rem; }
.cta-card > :not(.arc) { position: relative; z-index: 1; }
.cta-card .arc { color: rgba(243, 146, 0, .16); width: 16rem; right: -6rem; top: -6rem; left: auto; }
@media (max-width: 640px) { .cta-card { grid-template-columns: 1fr; } }

/* Spezialgebiete (alt: link_grid) */
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; padding-bottom: 2rem; }
.link-grid-item { padding: 1.25rem; background: var(--paper); border-radius: var(--radius); }
.link-grid-item h3 { margin-top: 0; }

/* Referenz-Logos */
.logos { list-style: none; margin: 1.5rem auto 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 1rem; }
.entry > .logos { max-width: var(--wide-inner); }
.logos li { display: grid; place-items: center; padding: 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-height: 6rem; }
.logos img { display: block; max-height: 56px; width: auto; object-fit: contain; }

/* Kontakt */
.contact-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; padding-bottom: 2rem; }
.contact-box { display: flex; flex-direction: column; gap: .75rem; background: var(--paper); border-radius: var(--radius); padding: 1.5rem; }
.contact-box h2 { margin: 0; font-size: var(--step-2); text-align: left; }
.contact-box p { text-align: left; margin: 0; }
.contact-box .buttons { align-items: flex-start; }

/* Formulare */
.contact-form-section { padding-bottom: 2rem; }
.contact-form { display: grid; gap: 1.25rem; }
.field label:not(.checkbox) { display: block; font-weight: 600; margin-bottom: .3rem; }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="url"], .field input[type="number"], .field select, .field textarea,
.entry input[type="text"], .entry input[type="email"], .entry input[type="password"], .entry input[type="url"], .entry select, .entry textarea {
    width: 100%; font: inherit; color: var(--fg); background: var(--input-bg);
    border: 1px solid var(--input-border); border-radius: 10px; padding: .65em .9em;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .entry input:focus, .entry select:focus, .entry textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--crit); }
.field-error { color: var(--crit); margin: .3rem 0 0; font-size: .9em; }
.checkbox { display: flex; gap: .6em; align-items: flex-start; }
.checkbox input { margin-top: .4em; flex: none; accent-color: var(--brand); width: 1.1em; height: 1.1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 12px; padding: .85em 1.2em; margin: 1em 0; border-left: 4px solid currentColor; }
.notice.success { background: var(--ok-bg); color: var(--ok); }
.notice.error { background: var(--crit-bg); color: var(--crit); }
.hint { font-size: .875em; color: var(--muted); }
.hint.center { text-align: center; }

/* Person (Über uns) */
.person { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 2rem; align-items: start; margin: 2.5rem auto; }
.person-image img { display: block; border-radius: var(--radius); }
.person-text h2 { margin-top: 0; }
.person-text .role { margin-top: -.4em; color: var(--muted); }
@media (max-width: 600px) { .person { grid-template-columns: 1fr; } .person-image img { max-width: 200px; } }

/* Artikel */
.teaser { margin: 0 auto 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.teaser h2 { margin: 0 0 .25em; font-size: var(--step-2); }
.article-meta { margin: 0 0 1em; font-size: var(--step--1); color: var(--muted); }
.article h2 { font-size: var(--step-2); }
.article pre { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); padding: 1em; border-radius: 12px; hyphens: none; font-size: .9em; }
.article code { font-size: .92em; }
.article blockquote { margin: 1.5em 0; padding: .2em 1.2em; border-left: 4px solid var(--orange); color: var(--muted); }
.article-hero { max-width: var(--content); margin: 0 auto 2rem; }
.article-hero { margin-top: 0; }
.article-hero img, .article-hero .ph { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-hero img { display: block; }
.article-source { font-size: var(--step--1); color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }

/* Konto, Preise */
.entry.account > * { max-width: 32rem; }
.entry.account-pricing > *, .entry.account-members > * { max-width: var(--wide-inner); }
.entry.account-pricing > p, .entry.account-members > p { max-width: var(--content); }
.acc-data { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.5rem; margin: 1.5rem 0; }
.acc-data dt { font-weight: 600; }
.acc-data dd { margin: 0; }
.logout-form { margin-top: 2rem; text-align: center; }
.plan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.plan-card { padding-top: 1.75rem; }
.plan-card h3, .plan-card p { text-align: left; }
.plan-price { font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--heading); margin: 0; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: .45em; font-family: var(--font-body); color: var(--muted); }
.plan-year { margin-top: 0; font-size: .9em; color: var(--muted); }
.plan-card ul { padding-left: 1.2em; flex: 1; }
.terms-check { font-size: .875em; margin: 0 0 1em; text-align: left; }

/* ---------- Bildplatzhalter ---------- */
.ph {
    border-radius: var(--radius); border: 1.5px dashed var(--muted);
    background: repeating-linear-gradient(135deg, var(--ph-bg) 0 14px, var(--ph-stripe) 14px 28px);
    display: grid; align-content: center; gap: .45rem; padding: 1.25rem 1.4rem; color: var(--fg); font-size: .9rem; line-height: 1.5; max-width: 100%;
}
.ph-tag { justify-self: start; overflow-wrap: anywhere; max-width: 100%; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--orange); color: #0a1f4f; padding: .15rem .55rem; border-radius: 999px; }
.ph-title { font-family: var(--font-display); color: var(--heading); font-weight: 600; }
.ph-meta { color: var(--muted); font-size: .8rem; }
.ph.ph-quiet { border: 0; background: linear-gradient(135deg, var(--paper), var(--line)); }

/* ---------- Bogen-Motiv (aus dem Logo) ---------- */
.arc { position: absolute; pointer-events: none; color: var(--decor); z-index: 0; max-width: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c5de; font-size: .95rem; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; padding-block: 3.5rem 2.5rem; }
.site-footer h2 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; font-weight: 600; margin: 0 0 .9rem; }
.site-footer h2 a { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: #c9d4ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: grid; gap: .9rem; align-content: start; }
.footer-brand p { margin: 0; }
.footer-brand img { width: 72px; height: 72px; }
.footer-brand .claim { color: #e9eef8; max-width: 22rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; padding-block: 1.25rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: .5rem 1.25rem; flex-wrap: wrap; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-top { grid-template-columns: 1fr; } }

/* =====================================================================
   Landing-Blöcke (Startseite und Übersichtsseiten)
   ===================================================================== */
.section { padding-block: clamp(3.25rem, 2rem + 4.5vw, 5.75rem); position: relative; }
.section.tight-top { padding-top: 0; }
.section.paper { background: var(--paper); }
.section-head { display: grid; gap: .75rem; max-width: 44rem; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-block: clamp(2.75rem, 1.5rem + 4vw, 5.25rem); }
.hero-copy { display: grid; gap: 1.35rem; min-width: 0; }
.hero-copy h1 { margin: 0; }
.hero-copy .lead { margin: 0; }
.hero-visual { position: relative; min-width: 0; }
.hero-visual .arc { width: 130%; left: -12%; top: -14%; }
.hero-visual img, .hero-visual .ph { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hero-visual img { display: block; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: .25rem 0 0; font-size: var(--step--1); color: var(--muted); }
.facts li { display: flex; align-items: center; gap: .45rem; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-visual .arc { width: 110%; left: -5%; } }

/* Logo-Leiste */
.logo-strip { border-block: 1px solid var(--line); background: var(--paper); }
.logo-strip .wrap { padding-block: 1.75rem; display: grid; gap: 1.1rem; }
.logo-strip h2 { margin: 0; font-size: var(--step--1); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.logo-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; }
.logo-row li { line-height: 0; }
.logo-row img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; }
.logo-row img:hover { filter: none; opacity: 1; }
.logo-strip .textlink { font-size: var(--step--1); }
:root[data-theme="dark"] .logo-row li { background: #e9eef8; border-radius: 8px; padding: .35rem .6rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-row li { background: #e9eef8; border-radius: 8px; padding: .35rem .6rem; } }

/* Zwei Wege */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.path { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; grid-template-rows: auto 1fr; overflow: hidden; min-width: 0; }
.path-media img, .path-media .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.path-media img { display: block; }
.path-media .ph { border-width: 0 0 1.5px 0; }
.path-body { padding: 1.75rem; display: grid; gap: 1rem; align-content: start; }
.path-body h3, .path-body p { margin: 0; }
.kicker { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--accent-ink); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.checks li { padding-left: 1.6rem; position: relative; margin: 0; }
.checks li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .75rem; height: .42rem; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg); }
.path .btn-row { margin-top: .25rem; }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service { padding: 2rem 1.75rem 2rem 0; display: grid; gap: .85rem; align-content: start; min-width: 0; }
.service + .service { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.service h3, .service p { margin: 0; }
.service .fit { font-size: var(--step--1); color: var(--muted); border-left: 3px solid var(--orange); padding-left: .75rem; }
@media (max-width: 860px) {
    .services { grid-template-columns: 1fr; }
    .service, .service + .service { padding: 1.75rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Tools-Band */
.band { background: var(--band); color: var(--band-fg); overflow: hidden; }
.band h2, .band h3 { color: #fff; }
.band .muted, .band .section-head p { color: var(--band-muted); }
.band .eyebrow { color: var(--orange); }
.band .arc { color: rgba(255, 255, 255, .05); width: 44rem; right: -14rem; top: -16rem; left: auto; }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); position: relative; z-index: 1; align-items: start; }
.tools-grid > * { min-width: 0; }
.tool-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.tool-item { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding: 1.1rem 1.25rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .04); text-decoration: none; color: inherit; transition: background-color .15s, border-color .15s; }
.tool-item:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
.tool-item h3 { margin: 0; font-size: 1.1rem; }
.tool-item p { grid-column: 1 / -1; margin: 0; color: var(--band-muted); font-size: .95rem; }
.badge { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; align-self: start; white-space: nowrap; font-family: var(--font-body); }
.badge-free { background: var(--orange); color: #0a1f4f; }
.badge-members, .badge-soon { border: 1px solid currentColor; }
.band .badge-members, .band .badge-soon { color: var(--band-fg); }
.price-note { margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; color: var(--band-muted); font-size: .95rem; }
.price-note a { color: #fff; }
.demo { background: #fff; color: #202124; border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); display: grid; gap: 1rem; min-width: 0; }
.demo-label { margin: 0; font-family: var(--font-display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #5f6b85; font-weight: 600; }
.serp { border: 1px solid #e3e6ec; border-radius: 10px; padding: 1rem; display: grid; gap: .2rem; font-family: Arial, Helvetica, sans-serif; hyphens: manual; }
.serp-top { font-size: .8rem; color: #202124; }
.serp-title { color: #1a0dab; font-size: 1.15rem; line-height: 1.3; }
.serp-desc { font-size: .88rem; color: #4d5156; line-height: 1.5; }
.demo-fields { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .82rem; font-family: Arial, Helvetica, sans-serif; }
.demo-fields li { display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: center; border: 1px solid #e3e6ec; border-radius: 8px; padding: .45rem .7rem; min-width: 0; }
.demo-fields .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #202124; hyphens: manual; }
.demo-fields .cnt { font-variant-numeric: tabular-nums; font-weight: 700; color: #1e7f43; }
.demo-fields .over .cnt { color: #c5221f; }
.demo .btn { justify-self: start; }
@media (max-width: 860px) { .tools-grid { grid-template-columns: 1fr; } }

/* Spezialgebiete */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.area { display: grid; gap: .7rem; align-content: start; padding: 1.5rem; border-radius: var(--radius); background: var(--paper); text-decoration: none; color: inherit; border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.area:hover { border-color: var(--line); transform: translateY(-2px); }
.area svg { width: 40px; height: 40px; color: var(--accent-ink); }
.area h3, .area p { margin: 0; }
.area p { font-size: .95rem; color: var(--muted); }
.section.paper .area { background: var(--surface); }
@media (max-width: 960px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .areas { grid-template-columns: 1fr; } }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: .6rem; align-content: start; padding-top: 1.25rem; border-top: 2px solid var(--heading); position: relative; margin: 0; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 600; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--orange); color: #0a1f4f; display: grid; place-items: center; position: absolute; top: -1.15rem; left: 0; }
.steps h3 { margin: .75rem 0 0; }
.steps p { margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Ansprechpartner */
.feature-person { display: grid; grid-template-columns: 280px 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.portrait { position: relative; max-width: 280px; }
.portrait img, .portrait .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius); }
.portrait img { display: block; }
.portrait::after { content: ""; position: absolute; inset: -12px -12px auto auto; width: 70px; height: 70px; border-radius: 50%; border: 10px solid var(--orange); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(10deg); }
.person-copy { display: grid; gap: 1.1rem; max-width: 40rem; min-width: 0; }
.person-copy h2, .person-copy p { margin: 0; }
.person-copy blockquote { margin: 0; font-family: var(--font-display); font-size: var(--step-2); font-weight: 400; color: var(--heading); line-height: 1.3; }
@media (max-width: 720px) { .feature-person { grid-template-columns: 1fr; } .portrait { max-width: 220px; } }

/* Artikel-Teaser */
.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.articles + .more-link { margin: 2rem 0 0; }
.article-card { display: grid; gap: .6rem; align-content: start; min-width: 0; }
.article-card img, .article-card .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.article-card img { display: block; }
.article-card .ph { font-size: .8rem; padding: 1rem; }
.article-card h3, .article-card p { margin: 0; }
.article-card h3 a { text-decoration: none; }
.article-card h3 a:hover { text-decoration: underline; }
.article-card .meta { font-size: var(--step--1); color: var(--muted); }
.articles.count-1 { grid-template-columns: minmax(0, 24rem); }
.articles.count-2 { grid-template-columns: repeat(2, minmax(0, 24rem)); }
@media (max-width: 860px) { .articles, .articles.count-2 { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--heading); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--accent-ink); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list .answer { padding-bottom: 1.25rem; max-width: 40rem; }
.faq-list .answer p { margin: 0 0 .75em; }
.entry .faq { grid-template-columns: 1fr; gap: 1rem; margin-top: 3rem; }
.entry .faq .section-head { margin-bottom: 0; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* Abschluss-CTA */
.cta-band { background: var(--paper); }
.cta-box-big { background: var(--navy); color: var(--band-fg); border-radius: 22px; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-box-big h2 { color: #fff; margin: 0; }
.cta-box-big p { margin: 0; }
.cta-box-big .arc { color: rgba(243, 146, 0, .18); width: 30rem; right: -12rem; top: -12rem; left: auto; }
.cta-box-big > :not(.arc) { position: relative; z-index: 1; }
.cta-copy { display: grid; gap: 1rem; }
.cta-contact { display: grid; gap: .35rem; font-size: .95rem; color: var(--band-muted); }
.cta-contact a { color: #fff; text-decoration: none; }
.cta-contact a:hover { text-decoration: underline; }
.cta-contact .phone { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
@media (max-width: 760px) { .cta-box-big { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print { .topline, .site-header, .site-footer, .cta-band, .theme-toggle { display: none !important; } body { background: #fff; color: #000; } }
.theme-toggle.system-dark .sun { display: none; }
.theme-toggle.system-dark .moon { display: block; }

/* Karten-Raster auf Unterseiten etwas breiter als der Fließtext */
.entry > .cards, .entry > .tool-cards { max-width: var(--wide-inner); }
.tool-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; padding-bottom: 2rem; }
.tool-card .badge { align-self: flex-start; }
.badge-members, .badge-soon { color: var(--muted); }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card .card-link { margin-top: auto; padding-top: .5rem; }
.tool-badge { display: inline-block; align-self: flex-start; margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; background: var(--line); color: var(--heading); }
.tool-badge-free { background: var(--orange); color: #0a1f4f; }
.tool-badge-soon, .tool-badge-members { background: transparent; color: var(--muted); border: 1px solid currentColor; }
.card .card-title, .entry .card .card-title { font-size: var(--step-1); font-weight: 600; margin: 0; }

/* Safari: Grid-Spuren und Platzhalter dürfen nicht über ihre Spalte hinauswachsen.
   Platzhalter nutzen min-height statt aspect-ratio (sonst überträgt Safari die Höhe auf die Breite). */
.article-card, .path, .path-body, .hero-copy, .person-copy, .area, .service, .ph { grid-template-columns: minmax(0, 1fr); }
.ph { min-width: 0; }
.hero-visual .ph, .path-media .ph, .article-card .ph, .article-hero .ph, .portrait .ph { aspect-ratio: auto; }
.hero-visual .ph { min-height: 22rem; }
.path-media .ph, .article-hero .ph { min-height: 14rem; }
.article-card .ph { min-height: 11rem; }
.portrait .ph { min-height: 20rem; }

/* =====================================================================
   Leistungsseiten: dunkler Seitenkopf, Bedarfs-Kästen, Detailtext
   ===================================================================== */
.page-hero { background: var(--navy); color: var(--band-fg); position: relative; overflow: hidden; }
.page-hero .arc { color: rgba(255, 255, 255, .06); width: 40rem; right: -10rem; top: -12rem; left: auto; }
.page-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: center; padding-block: clamp(2.25rem, 1.5rem + 3.5vw, 4.5rem); }
.page-hero-copy { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); max-width: 44rem; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero .lead { margin: 0; color: var(--band-fg); }
.page-hero .eyebrow { color: var(--orange); }
.page-hero .breadcrumbs ol, .page-hero .breadcrumbs a { color: var(--band-muted); }
.page-hero .breadcrumbs a:hover { color: #fff; }
.page-hero .breadcrumbs li + li::before { color: rgba(255, 255, 255, .3); }
.page-hero .btn-ghost { color: #fff; }
.page-hero .facts { color: var(--band-muted); }
.page-hero-icon { width: clamp(8rem, 6rem + 6vw, 12rem); aspect-ratio: 1; border-radius: 28px; background: var(--orange); color: #0a1f4f; display: grid; place-items: center; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); transform: rotate(-4deg); }
.page-hero-icon svg { width: 55%; height: 55%; stroke-width: 1.8; }
@media (max-width: 760px) {
    .page-hero-inner { grid-template-columns: 1fr; }
    .page-hero-icon { display: none; }
}

.needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.need { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: start; padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.need::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--orange); }
.need-b::before { background: var(--heading); }
.need:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.need-icon { width: 4.25rem; height: 4.25rem; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--orange) 16%, transparent); color: var(--accent-ink); }
.need-b .need-icon { background: color-mix(in srgb, var(--heading) 12%, transparent); color: var(--heading); }
.need-icon svg { width: 2.5rem; height: 2.5rem; }
.need-body { display: grid; gap: .5rem; }
.need-body h3, .need-body p { margin: 0; }
.section.paper .need { background: var(--surface); }
@media (max-width: 760px) { .needs { grid-template-columns: 1fr; } .need { grid-template-columns: 1fr; } }

.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.detail-text { max-width: 42rem; }
.detail-text h2 { margin: 0 0 1rem; }
.detail-text .eyebrow { margin-bottom: .75rem; }
.detail-text h3 { margin: 2rem 0 .5rem; }
.detail-text p { margin: 0 0 1em; }
.glance { position: sticky; top: calc(6rem + env(safe-area-inset-top, 0px)); background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--orange); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: 1rem; }
.glance-title { margin: 0; font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--heading); }
.glance .btn-row { margin-top: .25rem; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } .glance { position: static; } }

/* Alle direkten Kinder des Inhaltsbereichs zentrieren, auch wenn eine Komponente eigene Außenabstände setzt
   (z. B. .notice, .acc-data, .plan-cards, .al-section). */
.content-main .entry > * { margin-left: auto; margin-right: auto; }
