/* Unterseiten – gleiche Gestaltung wie die Startseite (DM Sans, Ink/Slate, Akzent-Verlauf).
   Schrift lokal, keine externen Requests. */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url('/assets/dm-sans.woff2') format('woff2-variations'), url('/assets/dm-sans.woff2') format('woff2');
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg: #ffffff;
    --bg-soft: #f7f8fb;
    --bg-dark: #06080f;
    --ink: #0a0d1a;
    --slate-700: #2e3346;
    --slate-600: #475063;
    --slate-500: #646d82;
    --slate-400: #9099ad;
    --slate-300: #c4cad8;
    --slate-200: #e1e4ed;
    --slate-100: #eef0f5;
    --accent: #4f7cff;
    --accent-ink: #2f5be0;
    --accent-2: #8b5cf6;
    --accent-3: #38bdf8;
    --ok: #15803d;
    --line-light: rgba(255, 255, 255, 0.10);
    --shadow-card: 0 1px 2px rgba(10, 13, 26, 0.04), 0 8px 24px rgba(10, 13, 26, 0.05);
    --shadow-lift: 0 1px 2px rgba(10, 13, 26, 0.04), 0 24px 60px -8px rgba(10, 13, 26, 0.18);
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --container: 1200px;
    --radius: 18px;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--slate-700);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "ss01", "cv01";
    overflow-x: hidden;
}
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -0.022em; line-height: 1.15; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.article, .card, .answer { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
::selection { background: var(--accent); color: #fff; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ─── Header ─── */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); border-bottom: 1px solid rgba(10, 13, 26, 0.08); }
.nav { max-width: var(--container); margin: 0 auto; padding: 0 32px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.brand .name { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.brand .role { font-size: 11.5px; color: var(--slate-500); letter-spacing: 0.02em; white-space: nowrap; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--slate-600); text-decoration: none; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-tel { font-weight: 600 !important; color: var(--ink) !important; white-space: nowrap; }
.nav-cta { background: var(--ink); color: #fff !important; padding: 10px 20px; border-radius: 100px; white-space: nowrap; }
.nav-cta:hover { box-shadow: 0 10px 24px rgba(10, 13, 26, 0.18); }
.burger { display: none; padding: 8px; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; flex-direction: column; padding: 8px 32px 24px; border-top: 1px solid var(--slate-100); background: #fff; }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 13px 0; font-size: 16px; font-weight: 500; color: var(--slate-700); text-decoration: none; border-bottom: 1px solid var(--slate-100); }
.nav-mobile a.nav-cta-m { margin-top: 14px; border: none; background: var(--ink); color: #fff; text-align: center; border-radius: 100px; }

/* ─── Hero ─── */
.hero { position: relative; background: var(--bg-dark); color: #fff; padding: 56px 0 64px; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: -30%; z-index: -1;
    background: radial-gradient(at 18% 30%, rgba(79, 124, 255, 0.30) 0%, transparent 42%), radial-gradient(at 82% 20%, rgba(139, 92, 246, 0.22) 0%, transparent 38%), radial-gradient(at 70% 90%, rgba(56, 189, 248, 0.14) 0%, transparent 45%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); }
.crumbs { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); margin-bottom: 28px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: rgba(255, 255, 255, 0.35); }
.crumbs a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-bottom: 18px; }
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px rgba(79, 124, 255, 0.8); }
.hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); font-weight: 600; max-width: 900px; letter-spacing: -0.03em; line-height: 1.08; }
.hero .lead { margin-top: 20px; font-size: clamp(17px, 1.6vw, 19.5px); color: rgba(255, 255, 255, 0.78); max-width: 760px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 100px; font-weight: 600; font-size: 15.5px; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: #fff; box-shadow: 0 14px 34px -10px rgba(79, 124, 255, 0.7); }
.btn-primary:hover { color: #fff; box-shadow: 0 18px 40px -10px rgba(79, 124, 255, 0.85); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; box-shadow: 0 12px 26px rgba(10, 13, 26, 0.22); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 14px; color: rgba(255, 255, 255, 0.72); list-style: none; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: '✓'; color: var(--accent-3); font-weight: 700; }

/* ─── Layout Artikel ─── */
.page { padding: 56px 0 24px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.article { max-width: 760px; }
.answer { background: var(--bg-soft); border: 1px solid var(--slate-200); border-left: 4px solid var(--accent); border-radius: 14px; padding: 22px 26px; margin-bottom: 36px; }
.answer .label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 6px; }
.answer p { color: var(--ink); font-size: 17.5px; }
.toc { border: 1px solid var(--slate-200); border-radius: 14px; padding: 20px 24px; margin-bottom: 40px; }
.toc .label { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.toc ol { padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: var(--slate-600); text-decoration: none; }
.toc a:hover { color: var(--accent-ink); text-decoration: underline; }
.article section { margin-bottom: 40px; }
.article h2 { font-size: clamp(24px, 2.6vw, 31px); margin-bottom: 16px; }
.article h3 { font-size: 20px; margin: 26px 0 10px; }
.article p { margin-bottom: 14px; }
.article ul, .article ol { margin: 0 0 16px 22px; }
.article li { margin: 6px 0; }
.article strong { color: var(--ink); font-weight: 600; }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15.5px; display: block; overflow-x: auto; }
.article th, .article td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--slate-200); }
.article th { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.checklist { background: #0b1022; color: rgba(255, 255, 255, 0.85); border-radius: var(--radius); padding: 30px 32px; margin: 8px 0 44px; }
.checklist h2 { color: #fff; font-size: 24px; margin-bottom: 16px; }
.checklist ul { list-style: none; margin: 0; }
.checklist li { position: relative; padding-left: 34px; margin: 11px 0; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, 0.4); }
.checklist li::after { content: ''; position: absolute; left: 7px; top: 8px; width: 6px; height: 10px; border: solid var(--accent-3); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mid-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(135deg, rgba(79, 124, 255, 0.08), rgba(139, 92, 246, 0.08)); border: 1px solid rgba(79, 124, 255, 0.22); border-radius: var(--radius); padding: 24px 28px; margin: 4px 0 44px; }
.mid-cta p { margin: 0; color: var(--ink); font-weight: 500; max-width: 460px; }
.faq h2 { margin-bottom: 16px; }
.faq details { border-bottom: 1px solid var(--slate-200); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 600; color: var(--ink); font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font-size: 24px; font-weight: 400; color: var(--slate-500); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; margin: 0; }
.meta-box { margin: 36px 0 8px; padding: 18px 22px; border-radius: 14px; background: var(--bg-soft); font-size: 14.5px; color: var(--slate-600); }
.meta-box .laws { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; list-style: none; }
.meta-box .laws li { background: #fff; border: 1px solid var(--slate-200); border-radius: 100px; padding: 3px 12px; font-size: 13px; color: var(--slate-700); }
.meta-box p { margin: 0; }

/* ─── Seitenleiste ─── */
.aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.card-contact { border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-card); background: #fff; }
.card-contact .who { font-weight: 600; color: var(--ink); font-size: 17px; }
.card-contact .role { font-size: 13.5px; color: var(--slate-500); margin-bottom: 16px; }
.card-contact p { font-size: 15px; margin-bottom: 16px; }
.card-contact .btn { width: 100%; margin-bottom: 10px; }
.card-contact .tel { display: block; text-align: center; font-weight: 600; color: var(--ink); text-decoration: none; font-size: 16px; padding: 8px 0 2px; }
.card-contact small { display: block; text-align: center; color: var(--slate-500); font-size: 13px; }
.card-quals { border-radius: var(--radius); padding: 22px 24px; background: var(--bg-soft); font-size: 14px; }
.card-quals .label { font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: 14.5px; }
.card-quals ul { list-style: none; }
.card-quals li { padding: 6px 0; border-bottom: 1px solid var(--slate-200); }
.card-quals li:last-child { border: none; }
.card-quals span { display: block; color: var(--slate-500); font-size: 12.5px; }

/* ─── Karten (Hubs, Verwandtes) ─── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 8px 0 44px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1px solid var(--slate-200); border-radius: 16px; background: #fff; text-decoration: none; color: var(--slate-600); transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: rgba(79, 124, 255, 0.45); box-shadow: var(--shadow-lift); transform: translateY(-2px); color: var(--slate-600); }
.card strong { color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.3; }
.card span { font-size: 14.5px; line-height: 1.5; }
.card em { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--accent-ink); margin-top: auto; }
.related { padding: 8px 0 56px; }
.related h2 { font-size: 26px; margin-bottom: 18px; }
.hub-section { padding: 8px 0 24px; }
.hub-section h2 { font-size: clamp(24px, 2.6vw, 31px); margin-bottom: 18px; }

/* ─── Anfrage ─── */
.anfrage { background: var(--bg-dark); color: rgba(255, 255, 255, 0.82); padding: 72px 0; position: relative; overflow: hidden; isolation: isolate; }
.anfrage::before { content: ''; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(at 80% 20%, rgba(79, 124, 255, 0.25) 0%, transparent 40%), radial-gradient(at 10% 90%, rgba(139, 92, 246, 0.18) 0%, transparent 40%); }
.anfrage-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.anfrage h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.anfrage .intro p { margin-bottom: 14px; }
.anfrage .points { list-style: none; margin: 22px 0 26px; }
.anfrage .points li { padding: 8px 0 8px 30px; position: relative; }
.anfrage .points li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-3); font-weight: 700; }
.anfrage .direct a { color: #fff; font-weight: 600; text-decoration: none; }
.anfrage .direct div { margin: 6px 0; }
.form-card { background: #fff; color: var(--slate-700); border-radius: 22px; padding: 32px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5); }
.form-card h3 { font-size: 21px; margin-bottom: 4px; }
.form-card .sub { font-size: 14.5px; color: var(--slate-500); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select { font: inherit; font-size: 15.5px; padding: 12px 14px; border: 1px solid var(--slate-300); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.18); }
.field [aria-invalid="true"] { border-color: #dc2626; }
.field-error { color: #b91c1c; font-size: 13px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--slate-600); margin: 4px 0 6px; }
.consent input { margin-top: 4px; width: 17px; height: 17px; flex: none; }
.btn-submit { width: 100%; margin-top: 12px; background: var(--ink); color: #fff; border-radius: 100px; padding: 15px 22px; font-weight: 600; font-size: 15.5px; transition: background .2s, transform .2s; }
.btn-submit:hover { transform: translateY(-1px); }
.btn-submit:disabled { opacity: .7; cursor: default; }
.form-status { font-size: 14.5px; color: var(--ink); font-weight: 500; }
.form-status:empty { display: none; }
.form-status { margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12.5px; color: var(--slate-500); margin-top: 12px; }

/* ─── Footer ─── */
footer.site { background: #02030a; color: rgba(255, 255, 255, 0.6); font-size: 14.5px; padding: 56px 0 28px; }
.ft-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.ft-brand .name { color: #fff; font-weight: 600; font-size: 17px; }
.ft-brand .role { font-size: 12.5px; margin-bottom: 12px; }
footer.site h3 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; letter-spacing: 0; }
footer.site ul { list-style: none; }
footer.site li { margin: 7px 0; }
footer.site a { color: rgba(255, 255, 255, 0.68); text-decoration: none; }
footer.site a:hover { color: #fff; }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; }
.ft-bottom .links { display: flex; gap: 20px; }

/* ─── Mobile-Leiste ─── */
.mobile-bar { display: none; }

@media (max-width: 1320px) {
    .nav-links .hide-md { display: none; }
}
@media (max-width: 980px) {
    .nav-links { gap: 16px; }
    .page-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .aside { position: static; display: none; }
    .anfrage-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .ft-grid { grid-template-columns: 1fr 1fr; }
    .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .nav-links { display: none; }
    .burger { display: flex; }
    .toc ol { columns: 1; }
}
@media (max-width: 640px) {
    body { font-size: 16.5px; padding-bottom: 68px; }
    .container, .nav { padding: 0 20px; }
    .nav-mobile { padding: 8px 20px 20px; }
    .hero { padding: 36px 0 44px; }
    .crumbs { margin-bottom: 20px; }
    .hero-actions .btn { width: 100%; }
    .trust { gap: 8px 18px; font-size: 13.5px; }
    .page { padding-top: 36px; }
    .answer { padding: 18px 20px; }
    .checklist { padding: 24px 22px; }
    .form-card { padding: 24px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .mid-cta { padding: 20px; }
    .mid-cta .btn { width: 100%; }
    .ft-grid { grid-template-columns: 1fr; }
    .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--slate-200); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; padding: 12px; border-radius: 100px; font-weight: 600; font-size: 15px; text-decoration: none; }
    .mobile-bar .mb-tel { border: 1px solid var(--slate-300); color: var(--ink); }
    .mobile-bar .mb-form { background: var(--ink); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
@media print {
    header.site, .aside, .anfrage, .mobile-bar, .mid-cta, footer.site { display: none !important; }
    .hero { background: none; color: #000; padding: 0; }
    .hero h1, .hero .lead { color: #000; }
}
