/* =====================================================================
   Nordgrat AI – Gestaltung der Startseite (de, en, it) und des KI-Checks
   Eine Datei für alle Sprachseiten; Schriften lokal aus /fonts/.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Grundlage: Farben, Schrift, Kopfleiste, Abschnitte, Fußzeile
   --------------------------------------------------------------------- */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url(/fonts/Manrope-latin-ext.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: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url(/fonts/Manrope-latin.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: 'Anta';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url(/fonts/Anta-latin-ext.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: 'Anta';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url(/fonts/Anta-latin.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;
}
:root {
    --bg-color: #1f1c18;
    --text-main: #ffffff;
    --primary-accent: #D97757;
    --cloud-dancer: #F0EEE9;
    --bg-deep: #1a1815;
    --surface: #27231f;
    --surface-2: #2e2924;
    --line: rgba(240, 238, 233, 0.12);
    --line-strong: rgba(240, 238, 233, 0.22);
    --text-body: #e2ddd5;
    --text-muted: #c3bbb0;
    --text-faint: #a39b90;
    --accent-light: #e8916f;
    --accent-soft: rgba(217, 119, 87, 0.12);
    --accent-line: rgba(217, 119, 87, 0.35);
    --on-accent: #1a1815;
    --radius-lg: 28px;
    --radius: 20px;
    --radius-sm: 12px;
    --maxw: 1160px;
    --gutter: clamp(20px, 5vw, 40px);
    --nav-h: 64px;
    --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mark: 'Anta', 'Manrope', sans-serif;
    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-body);
    background: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(217, 119, 87, 0.45); color: #fff; }
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 3000;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--cloud-dancer);
    color: var(--on-accent);
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.site-nav {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: min(100% - 2 * var(--gutter), 1200px);
    height: var(--nav-h);
    padding: 0 10px 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(31, 28, 24, 0.6);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid var(--line);
    border-radius: 999px;
    z-index: 1000;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-nav.is-scrolled { background: rgba(31, 28, 24, 0.9); border-color: var(--line-strong); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }
.nav-logo {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: var(--cloud-dancer);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}
.logo-img { width: 18px; height: 18px; flex-shrink: 0; }
.wordmark { font-family: var(--font-mark); font-size: 1.22rem; line-height: 1; color: var(--cloud-dancer); white-space: nowrap; }
.wm-ai { color: var(--primary-accent); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    color: var(--text-body);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.2s;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--primary-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .mobile-only { display: none; }
.nav-right { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
.nav-cta {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--primary-accent);
    color: var(--on-accent);
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--accent-light); transform: translateY(-1px); }
.lang-dropdown { position: relative; }
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: none;
    cursor: pointer;
    color: var(--text-body);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    transition: color 0.2s, border-color 0.2s;
}
.lang-btn:hover { color: #fff; border-color: var(--line); }
.lang-btn svg { transition: transform 0.3s; }
.lang-dropdown.open .lang-btn svg { transform: rotate(180deg); }
.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    padding: 6px;
    display: grid;
    gap: 2px;
    background: #26221e;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.lang-dropdown.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-option {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.9375rem;
}
.lang-option:hover { background: rgba(240, 238, 233, 0.08); color: #fff; }
.lang-option.active { color: var(--accent-light); background: var(--accent-soft); }
.mobile-menu-btn {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: none;
    border: 1px solid var(--line);
    cursor: pointer;
    color: var(--cloud-dancer);
}
.mobile-menu-btn .icon-close { display: none; }
.mobile-menu-btn.open .icon-menu { display: none; }
.mobile-menu-btn.open .icon-close { display: block; }
@media (max-width: 1120px) {
    .site-nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(31, 28, 24, 0.94); }
    .nav-cta { display: none; }
    .mobile-menu-btn { display: grid; }
    .nav-links {
        position: fixed;
        inset: 10px;
        z-index: 1;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        background: #211e1a;
        border: 1px solid var(--line);
        border-radius: 28px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        transform: translateX(calc(100% + 24px));
        visibility: hidden;
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.45s;
    }
    .nav-links.active { transform: none; visibility: visible; transition-delay: 0s; }
    .nav-links a { font-size: 1.5rem; padding: 8px 0; color: var(--cloud-dancer); }
    .nav-links .mobile-only { display: block; margin-top: 18px; }
    .nav-links .mobile-only a { padding: 14px 34px; }
    .nav-links .mobile-only a::after { display: none; }
}
@media (max-width: 1120px) and (max-height: 540px) {
    .nav-links { justify-content: flex-start; padding: 80px 0 24px; overflow-y: auto; }
    .nav-links a { font-size: 1.1rem; padding: 4px 0; }
}
@media (max-width: 768px) {
    .site-nav { top: 12px; height: 58px; padding: 0 8px 0 18px; }
    .logo-img { width: 16px; height: 16px; }
    .nav-logo { gap: 6px; }
    .wordmark { font-size: 1.05rem; }
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.25s, border-color 0.2s;
}
.btn svg { flex-shrink: 0; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--primary-accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(217, 119, 87, 0.3); }
.btn-ghost { background: rgba(240, 238, 233, 0.06); color: var(--cloud-dancer); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(240, 238, 233, 0.12); border-color: rgba(240, 238, 233, 0.45); }
.icon-tile {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: var(--accent-light);
}
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-body); font-size: 0.9375rem; }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { color: var(--accent-light); flex-shrink: 0; }
.hero { position: relative; isolation: isolate; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-accent);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(217, 119, 87, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(217, 119, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 119, 87, 0); }
}
.sec { position: relative; padding-block: clamp(72px, 9vw, 120px); scroll-margin-top: 84px; }
.sec-line { border-top: 1px solid var(--line); }
.band {
    background: linear-gradient(180deg, rgba(240, 238, 233, 0) 0%, rgba(240, 238, 233, 0.028) 18%, rgba(240, 238, 233, 0.028) 82%, rgba(240, 238, 233, 0) 100%);
}
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-light);
}
.eyebrow::before {
    content: "";
    width: 14px;
    height: 12px;
    flex-shrink: 0;
    border-radius: 2px;
    background: linear-gradient(var(--cloud-dancer) 0 3px, transparent 3px 4.5px, var(--primary-accent) 4.5px 7.5px, transparent 7.5px 9px, var(--cloud-dancer) 9px 12px);
}
h2 {
    font-size: clamp(2rem, 3.6vw, 2.875rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--cloud-dancer);
    text-wrap: balance;
}
h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 750; color: var(--cloud-dancer); }
.lead { margin-top: 16px; max-width: 60ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--text-muted); }
.sec-head.center .lead { margin-inline: auto; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > .sec-head { margin-bottom: 0; }
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split > .sec-head { margin-bottom: 8px; }
}
.sec-trust { padding-block: 40px 52px; }
.trust-title {
    text-align: center;
    margin-bottom: 26px;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.logo-row {
    --logo-scale: 0.78;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px clamp(30px, 4vw, 56px);
}
.logo-row li { display: flex; align-items: center; }
.logo-row img {
    height: calc(var(--h, 40px) * var(--logo-scale));
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.62;
    transition: opacity 0.3s;
}
.logo-row li:hover img { opacity: 0.95; }
@media (max-width: 860px) {
    .logo-row { --logo-scale: 0.64; gap: 20px 22px; }
}
.service-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px clamp(24px, 3vw, 40px); }
.service {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 0 34px;
    border-top: 1px solid var(--line-strong);
}
.service::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--primary-accent);
    transition: width 0.45s var(--ease);
}
.service:hover::before { width: 100%; }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.service-num {
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent-light);
    font-variant-numeric: tabular-nums;
}
.service-icon { color: var(--text-muted); }
.service p { color: var(--text-muted); }
.more-link {
    margin-top: auto;
    padding-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    color: var(--cloud-dancer);
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-line);
}
.more-link:hover { color: var(--accent-light); border-color: var(--accent-light); }
@media (max-width: 960px) {
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .service-grid { grid-template-columns: 1fr; }
    .service { padding-bottom: 26px; }
}
.agent { padding-top: 22px; border-top: 1px solid var(--line); }
.agent p { color: var(--text-muted); }
.proof-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.proof-label::before { content: ""; width: 18px; height: 2px; background: var(--primary-accent); flex-shrink: 0; }
.stat-note sup { color: var(--accent-light); font-size: 0.5em; vertical-align: super; line-height: 0; }
.stat-note sup { font-size: 0.85em; }
.stat-note { margin-top: 12px; font-size: 0.875rem; color: var(--text-faint); }
.stat-note a { color: var(--text-body); text-underline-offset: 3px; text-decoration-color: var(--accent-line); }
.stat-note a:hover { color: var(--accent-light); }
.edu-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: border-color 0.3s, transform 0.3s var(--ease);
}
.edu-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.tag {
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(240, 238, 233, 0.07);
    color: var(--text-body);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.edu-card p { color: var(--text-muted); }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.ticks li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-body); font-size: 0.9375rem; line-height: 1.5; }
.ticks svg { flex-shrink: 0; margin-top: 4px; color: var(--accent-light); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }
.step { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 10px; }
.step-marker { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--cloud-dancer);
    color: var(--on-accent);
    font-weight: 800;
    font-size: 1.0625rem;
}
.step:last-child .step-num { background: var(--primary-accent); }
.step-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--line-strong), rgba(240, 238, 233, 0)); }
.step:last-child .step-line { display: none; }
.step h3 { display: flex; align-items: center; gap: 10px; }
.step h3 svg { color: var(--accent-light); flex-shrink: 0; }
.step > p { color: var(--text-muted); }
@media (max-width: 1080px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; }
    .step { display: flex; flex-direction: column; gap: 10px; }
    .step:nth-child(2) .step-line { display: none; }
}
@media (max-width: 620px) {
    .steps { grid-template-columns: 1fr; gap: 40px; }
    .step-line { display: none; }
}
.chat-ticks { margin-top: 28px; padding-top: 22px; }
.chat-cta { margin-top: 30px; }
.case {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(24px, 3vw, 34px);
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}
.case h3 { font-size: 1.375rem; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.person {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}
.person-photo { width: 148px; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--surface-2); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo img.photo-stefan { transform: translateY(7%) scale(1.28); transform-origin: 50% 38%; }
.person h3 { font-size: 1.375rem; }
.role {
    display: block;
    margin: 6px 0 12px;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-light);
}
.person p { color: var(--text-muted); }
@media (max-width: 960px) {
    .team-grid { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 520px) {
    .person { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
    .person-photo { width: 116px; }
}
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-layout .sec-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq-aside { margin-top: 24px; color: var(--text-muted); }
.faq-aside a { color: var(--cloud-dancer); font-weight: 700; text-decoration-color: var(--accent-line); text-underline-offset: 4px; }
.faq-aside a:hover { color: var(--accent-light); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    font-weight: 700;
    font-size: 1.0625rem;
    line-height: 1.4;
    color: var(--cloud-dancer);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background: linear-gradient(var(--primary-accent), var(--primary-accent)) center / 100% 2px no-repeat, linear-gradient(var(--primary-accent), var(--primary-accent)) center / 2px 100% no-repeat;
    transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: #fff; }
.faq-item p { padding: 0 44px 24px 0; color: var(--text-muted); }
@media (max-width: 900px) {
    .faq-layout { grid-template-columns: 1fr; }
    .faq-layout .sec-head { position: static; }
    .faq-item p { padding-right: 0; }
}
.field {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: #1c1916;
    border: 1px solid var(--line-strong);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.field::placeholder { color: #9a9288; }
.field:focus { outline: none; border-color: var(--primary-accent); box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.25); }
textarea.field { min-height: 140px; resize: vertical; }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; margin-top: clamp(24px, 4vw, 48px); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-inner p { color: var(--text-muted); font-size: 0.9375rem; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9375rem; }
.footer-links a:hover { color: var(--accent-light); }
@media (max-width: 620px) {
    .footer-inner { flex-direction: column; align-items: flex-start; }
}
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .pulse-dot { animation: none; }
    .btn,
    .service::before,
    .edu-card { transition: none; }
}

/* ---------------------------------------------------------------------
   2. KI-Check: Fenster, Fragen, Felder, Übersicht, Erfolgsansicht
   --------------------------------------------------------------------- */
:root {
    --kc-paper: #F0EEE9;
    --kc-card: #faf8f4;
    --kc-ink: #1f1c18;
    --kc-body: #4f483f;
    --kc-muted: #5e564c;
    --kc-line: rgba(31, 28, 24, 0.14);
    --kc-line-strong: rgba(31, 28, 24, 0.28);
    --kc-accent-text: #9a4226;
    --kc-accent-edge: #b0512f;
    --kc-accent-tint: #f6e3da;
    --kc-error: #a3261b;
    --kc-ease: cubic-bezier(.215, .61, .355, 1);
}
html.kc-open,
html.kc-open body { overflow: hidden; }
.kc {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    background: radial-gradient(48% 60% at 10% -10%, rgba(217, 119, 87, 0.22), transparent 70%), var(--bg-deep, #1a1815);
    color: var(--cloud-dancer, #F0EEE9);
    font-family: var(--font, 'Manrope', system-ui, sans-serif);
}
.kc[hidden] { display: none; }
.kc-top { flex: 0 0 auto; padding: 0 clamp(16px, 4vw, 56px); }
.kc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.kc-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.kc-brand svg { flex-shrink: 0; }
.kc-brand span { display: grid; line-height: 1.2; min-width: 0; }
.kc-brand b { font-family: var(--font-mark, 'Anta', sans-serif); font-weight: 400; font-size: 1.125rem; letter-spacing: 0.01em; }
.kc-brand small {
    color: var(--text-muted, #c3bbb0);
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kc-close {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px 0 14px;
    border-radius: 999px;
    border: 0;
    background: var(--kc-paper);
    color: var(--kc-ink);
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.kc-close:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38); }
.kc-close svg { color: var(--kc-accent-text); }
.kc-rail ol {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 920px;
    margin: 0 auto;
}
.kc-rail button {
    width: 100%;
    display: grid;
    gap: 8px;
    padding: 6px 0 2px;
    text-align: left;
    background: none;
    border: 0;
    color: var(--text-muted, #c3bbb0);
    cursor: pointer;
    border-radius: 8px;
}
.kc-rail button:disabled { cursor: default; }
.kc-rail-label { font-size: 0.875rem; font-weight: 700; white-space: nowrap; }
.kc-rail-label b { color: var(--accent-light, #e8916f); font-weight: 800; margin-right: 4px; font-variant-numeric: tabular-nums; }
.kc-rail li.is-active button { color: var(--cloud-dancer, #F0EEE9); }
.kc-rail li.is-done button:not(:disabled):hover { color: #fff; }
.kc-rail li.is-done .kc-rail-label { text-decoration: underline; text-decoration-color: rgba(240, 238, 233, 0.3); text-underline-offset: 4px; }
.kc-bar {
    position: relative;
    display: block;
    height: 8px;
    border-radius: 3px;
    background: rgba(240, 238, 233, 0.16);
    overflow: hidden;
}
.kc-bar i {
    position: absolute;
    inset: 0;
    border-radius: 3px;
    background: var(--cloud-dancer, #F0EEE9);
    transform-origin: left;
    transform: scaleX(var(--fill, 0));
    transition: transform 0.5s var(--kc-ease), background 0.3s;
}
.kc-rail li.is-active .kc-bar i { background: var(--primary-accent, #D97757); }
.kc-rail-mobile { display: none; }
.kc-host,
.kc-line,
.kc-rail-hint,
.kc-rm-b { display: none; }
.kc-sheet {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 18px;
    overflow-y: auto;
    /* Platz für die Bildlaufleiste immer freihalten: sonst springt der Inhalt beim
       Schrittwechsel um die Leistenbreite zur Seite (sichtbare Leisten, z. B. Mac mit Maus). */
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--kc-paper);
    color: var(--kc-body);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.35);
}
.kc-scene {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(32px, 7vh, 80px) clamp(18px, 5vw, 56px) 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.kc :focus-visible { outline: 2px solid var(--kc-ink); outline-offset: 3px; }
.kc-top :focus-visible,
.kc-confirm :focus-visible { outline-color: var(--accent-light, #e8916f); }
.kc-eyebrow {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kc-accent-text);
}
.kc-eyebrow span { color: var(--kc-muted); letter-spacing: 0.06em; font-weight: 700; text-transform: none; }
.kc-eyebrow i { font-style: normal; }
.kc-title {
    margin: 12px 0 10px;
    color: var(--kc-ink);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-size: clamp(1.75rem, 3.6vw, 2.75rem);
    text-wrap: balance;
}
.kc-title:focus { outline: none; }
.kc-lead { max-width: 60ch; margin-bottom: 30px; font-size: 1.0625rem; color: var(--kc-body); }
.kc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kc-tiles[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kc-tiles[data-count="7"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kc-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 128px;
    padding: 18px 18px 16px;
    text-align: left;
    cursor: pointer;
    background: var(--kc-card);
    color: var(--kc-ink);
    border: 1px solid var(--kc-line);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(31, 28, 24, 0.05);
    transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--kc-ease), background 0.2s;
}
.kc-tile:hover { border-color: var(--kc-line-strong); box-shadow: 0 16px 36px rgba(31, 28, 24, 0.1); transform: translateY(-2px); }
.kc-tile-label { font-size: 1.0625rem; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.kc-tile-hint { font-size: 0.9375rem; line-height: 1.4; color: var(--kc-muted); }
.kc-tile-cta {
    margin-top: auto;
    padding-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--kc-muted);
}
.kc-tile-cta i { font-style: normal; transition: transform 0.25s var(--kc-ease); }
.kc-tile:hover .kc-tile-cta i { transform: translateX(3px); }
.kc-tile.is-selected { border: 2px solid var(--kc-accent-edge); padding: 17px 17px 15px; background: var(--kc-accent-tint); }
.kc-tile.is-selected .kc-tile-cta { color: var(--kc-accent-text); }
.kc-tile.is-selected::after {
    content: "";
    position: absolute;
    top: 14px;
    right: 14px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--primary-accent, #D97757) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1815' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.kc-tiles[data-layout="numbers"] .kc-tile-label { font-size: 1.875rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kc-detail,
.kc-field--text { margin-top: 22px; max-width: 640px; }
.kc-detail,
.kc-field,
.kc-pills,
.kc-consent-wrap,
.kc input,
.kc textarea,
.kc-pill { scroll-margin: 24px 0 140px; }
.kc-label { display: block; margin-bottom: 8px; font-size: 0.9375rem; font-weight: 700; color: var(--kc-ink); }
.kc-label small { font-weight: 600; color: var(--kc-muted); font-size: 0.8125rem; }
.kc-req { color: var(--kc-accent-text); }
.kc-input {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    border-radius: 14px;
    background: #fff;
    color: var(--kc-ink);
    border: 1px solid var(--kc-line-strong);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.kc-input::placeholder { color: #7b7368; }
.kc-input:focus { outline: none; border-color: var(--kc-ink); box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.35); }
.kc-textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.kc-textarea--detail { min-height: 104px; }
.kc-field-error,
.kc-error { margin-top: 8px; font-size: 0.9375rem; font-weight: 700; color: var(--kc-error); }
.kc-error { margin-top: 18px; }
.has-error .kc-input { border-color: var(--kc-error); }
.has-error .kc-input:focus { box-shadow: 0 0 0 3px rgba(163, 38, 27, 0.25); }
.kc-form { max-width: 760px; }
.kc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.kc-pills { margin-top: 24px; }
.kc-pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.kc-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--kc-line-strong);
    background: #fff;
    color: var(--kc-ink);
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.kc-pill:hover { border-color: var(--kc-ink); }
.kc-pill.is-selected { background: var(--kc-ink); border-color: var(--kc-ink); color: var(--kc-paper); }
.kc-pill svg { color: #1f8f4e; }
.kc-pill.is-selected svg { color: #6fdc98; }
.kc-pills.kc-choices { margin: 0 0 18px; }
.kc-pill small { font-weight: 600; font-size: 0.8125rem; color: var(--kc-muted); }
.kc-pill.is-selected small { color: inherit; opacity: 0.75; }
.kc-consent-wrap { margin-top: 26px; }
.kc-consent {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--kc-body);
    cursor: pointer;
}
.kc-consent input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--kc-accent-edge); cursor: pointer; }
.kc-consent a { color: var(--kc-accent-text); font-weight: 700; }
.kc-consent-wrap.has-error .kc-consent input { outline: 2px solid var(--kc-error); outline-offset: 2px; }
.kc-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 28px 0 calc(24px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(240, 238, 233, 0), var(--kc-paper) 28%);
}
.kc-back {
    min-height: 48px;
    padding: 0 6px;
    border: 0;
    background: none;
    cursor: pointer;
    color: var(--kc-body);
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 10px;
}
.kc-back:hover { color: var(--kc-ink); text-decoration: underline; text-underline-offset: 4px; }
.kc-next { min-width: 160px; }
.kc-next[hidden] { display: none; }
.kc-btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid var(--kc-line-strong);
    background: #fff;
    color: var(--kc-ink);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s;
}
.kc-btn-light:hover { border-color: var(--kc-ink); }
.kc-wa svg { color: #1f8f4e; }
.kc-send-group { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.kc-summary { max-width: 760px; border-top: 1px solid var(--kc-line); }
.kc-summary > div {
    display: grid;
    grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) auto;
    gap: 6px 16px;
    align-items: baseline;
    padding: 13px 0;
    border-bottom: 1px solid var(--kc-line);
}
.kc-summary dt { font-size: 0.875rem; font-weight: 700; color: var(--kc-muted); }
.kc-summary dd { color: var(--kc-ink); font-weight: 600; overflow-wrap: anywhere; white-space: pre-line; }
.kc-summary button {
    min-height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    color: var(--kc-accent-text);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.kc-summary button:hover { background: var(--kc-accent-tint); }
.kc-done { display: flex; align-items: center; gap: 16px; margin: 4px 0 26px; }
.kc-done img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(31, 28, 24, 0.15);
}
.kc-done p { display: grid; line-height: 1.35; }
.kc-done small { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--kc-muted); }
.kc-done b { color: var(--kc-ink); }
.kc-done-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.kc-btn-wa { background: #25d366; color: #0b3d21; }
.kc-btn-wa:hover { background: #3be07a; transform: translateY(-2px); }
.kc-confirm {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 13, 11, 0.6);
}
.kc-confirm[hidden] { display: none; }
.kc-confirm-card {
    width: min(100%, 440px);
    padding: 28px;
    border-radius: 22px;
    background: #26221e;
    border: 1px solid var(--line-strong, rgba(240, 238, 233, 0.22));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.kc-confirm-card h2 { font-size: 1.375rem; color: var(--cloud-dancer, #F0EEE9); margin-bottom: 8px; }
.kc-confirm-card p { color: var(--text-muted, #c3bbb0); margin-bottom: 22px; }
.kc-confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.kc-confirm .kc-btn-light {
    background: transparent;
    color: var(--cloud-dancer, #F0EEE9);
    border-color: var(--line-strong, rgba(240, 238, 233, 0.22));
}
@media (max-width: 860px) {
    .kc-tiles,
    .kc-tiles[data-count="7"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kc-tiles[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .kc-head { height: 60px; }
    .kc-brand { gap: 10px; }
    .kc-brand b { font-size: 1rem; }
    .kc-brand small { display: none; }
    .kc-close { min-height: 40px; padding: 0 14px 0 12px; font-size: 0.875rem; }
    .kc-rail ol { gap: 6px; }
    .kc-rail button { padding: 2px 0; }
    .kc-rail-label { display: none; }
    .kc-bar { height: 6px; }
    .kc-rail-mobile { display: block; margin-top: 10px; font-size: 0.8125rem; font-weight: 700; color: var(--text-muted, #c3bbb0); }
    .kc-sheet { margin-top: 12px; border-radius: 22px 22px 0 0; }
    .kc-scene { padding-top: 26px; }
    .kc-title { font-size: 1.625rem; margin: 8px 0 8px; }
    .kc-lead { font-size: 1rem; margin-bottom: 20px; }
    .kc-tiles,
    .kc-tiles[data-count="7"] { grid-template-columns: 1fr; gap: 10px; }
    .kc-tile { min-height: 64px; padding: 14px 52px 14px 16px; border-radius: 14px; justify-content: center; }
    .kc-tile.is-selected { padding: 13px 51px 13px 15px; }
    .kc-tile:hover { transform: none; }
    .kc-tile-cta { display: none; }
    .kc-tile::before {
        content: "";
        position: absolute;
        right: 16px;
        top: 50%;
        width: 22px;
        height: 22px;
        margin-top: -11px;
        border-radius: 6px;
        border: 2px solid var(--kc-line-strong);
    }
    .kc-tile.is-selected::before { display: none; }
    .kc-tiles[data-kind="single"] .kc-tile::before { border-radius: 50%; }
    .kc-tiles[data-kind="single"] .kc-tile.is-selected::after { border-radius: 50%; }
    .kc-tile.is-selected::after { top: 50%; right: 15px; margin-top: -11px; }
    .kc-tiles[data-layout="numbers"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kc-tiles[data-layout="numbers"] .kc-tile { min-height: 84px; padding-right: 16px; }
    .kc-tiles[data-layout="numbers"] .kc-tile-label { font-size: 1.5rem; }
    .kc-tiles[data-layout="numbers"] .kc-tile::before { top: 14px; margin-top: 0; right: 12px; }
    .kc-tiles[data-layout="numbers"] .kc-tile.is-selected::after { top: 13px; margin-top: 0; right: 11px; }
    .kc-grid { grid-template-columns: 1fr; gap: 14px; }
    .kc-pill { flex: 1 1 auto; justify-content: center; padding: 0 12px; }
    .kc-actions { padding: 18px 0 calc(16px + env(safe-area-inset-bottom)); }
    .kc-next { min-width: 0; flex: 1 1 auto; max-width: 240px; }
    .kc-actions--send { position: static; flex-direction: column-reverse; align-items: stretch; background: none; }
    .kc-send-group { flex-direction: column-reverse; }
    .kc-send-group > * { width: 100%; }
    .kc-actions--send .kc-next { max-width: none; }
    .kc-summary > div { grid-template-columns: minmax(0, 1fr) auto; }
    .kc-summary dt { grid-column: 1; }
    .kc-summary dd { grid-column: 1; }
    .kc-summary button { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
    .kc-done-actions > * { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .kc-tile,
    .kc-bar i,
    .kc-tile-cta i,
    .kc-close { transition: none; }
    .kc-tile:hover { transform: none; }
}

/* ---------------------------------------------------------------------
   4. Hero „Höhenlinien“
   --------------------------------------------------------------------- */
.hero-h1 {
    /* Hero-Höhe = Mittelwert aus Ausgangshöhe (88 % der Bildschirmhöhe, höchstens 900 px)
       und „Bildschirmhöhe minus Referenzen-Streifen“ (Patrik 23.10.2026: „ein Mittelwert“). */
    min-height: 600px;
    min-height: max(600px, calc((min(88vh, 900px) + 100vh - var(--hero-refs-peek, 190px)) / 2));
    min-height: max(600px, calc((min(88svh, 900px) + 100svh - var(--hero-refs-peek, 190px)) / 2));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px var(--gutter) 110px;
    overflow: hidden;
    background: radial-gradient(120% 90% at 50% 0%, #26211c 0%, var(--bg-color) 60%);
}
.hero-h1 .h1-topo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-h1::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse 50% 44% at 50% 52%, rgba(31, 28, 24, 0.9) 0%, rgba(31, 28, 24, 0.66) 45%, rgba(31, 28, 24, 0) 78%), linear-gradient(180deg, rgba(31, 28, 24, 0) 72%, var(--bg-color) 100%);
}
.h1-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin-bottom: 26px;
    border-radius: 999px;
    background: rgba(31, 28, 24, 0.72);
    border: 1px solid var(--line-strong);
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-light);
}
.h1-badge::before {
    content: "";
    width: 14px;
    height: 12px;
    border-radius: 2px;
    background: linear-gradient(var(--cloud-dancer) 0 3px, transparent 3px 4.5px, var(--primary-accent) 4.5px 7.5px, transparent 7.5px 9px, var(--cloud-dancer) 9px 12px);
}
.h1-title {
    max-width: 30ch;
    font-size: clamp(2.3rem, 4.2vw, 3.6rem);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, var(--cloud-dancer) 0%, #d3c9bd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--cloud-dancer);
    text-wrap: balance;
}
.h1-title em { font-style: normal; -webkit-text-fill-color: var(--accent-light); color: var(--accent-light); }
.h1-sub {
    max-width: 60ch;
    margin: 26px auto 36px;
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-body);
}
.hero-h1 .hero-actions { justify-content: center; }
.hero-h1 .checks { justify-content: center; margin-top: 26px; }
.h1-legend,
.h1-key {
    position: absolute;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-muted);
}
.h1-legend { left: var(--gutter); }
.h1-legend svg { color: var(--primary-accent); flex-shrink: 0; }
.h1-legend b {
    display: block;
    font-family: var(--font);
    font-weight: 700;
    color: var(--text-body);
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
}
.h1-key { right: var(--gutter); bottom: 40px; gap: 10px; }
.h1-key i { display: block; width: 34px; height: 0; border-top: 2px dashed rgba(217, 119, 87, 0.75); }
@media (max-width: 760px) {
    .hero-h1 { padding: 112px var(--gutter) 116px; min-height: 0; }
    .hero-h1::before {
        background: radial-gradient(ellipse 92% 42% at 50% 44%, rgba(31, 28, 24, 0.86) 0%, rgba(31, 28, 24, 0.55) 58%, rgba(31, 28, 24, 0) 92%), linear-gradient(180deg, rgba(31, 28, 24, 0) 78%, var(--bg-color) 100%);
    }
    .h1-badge { font-size: 0.6875rem; letter-spacing: 0.06em; padding: 7px 12px; margin-bottom: 20px; }
    .h1-sub { margin: 20px auto 28px; }
    .h1-key { display: none; }
    .h1-title { font-size: 2.125rem; }
    .h1-legend { left: var(--gutter); bottom: 26px; white-space: nowrap; }
}

/* ---------------------------------------------------------------------
   5. Seitenstil
   --------------------------------------------------------------------- */
main > .sec:not(.hero) { padding-block: clamp(76px, 8vw, 112px); }
#trust { padding-block: 44px 72px; }
#ki-agenten { padding-block: clamp(48px, 5vw, 72px); }
main > .sec:not(.hero) .sec-head { margin-bottom: clamp(40px, 5vw, 60px); }
main > .sec:not(.hero) .split > .sec-head,
#daten-chat .sec-head,
#faq .sec-head { margin-bottom: 0; }
main { counter-reset: s2sec; }
main > .sec:not(.hero):not(.sec-trust) { counter-increment: s2sec; }
main > .sec:not(.hero) .eyebrow { gap: 12px; margin-bottom: 18px; letter-spacing: 0.16em; }
main > .sec:not(.hero) .eyebrow::before {
    content: counter(s2sec, decimal-leading-zero);
    order: -2;
    content: counter(s2sec, decimal-leading-zero) / "";
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--cloud-dancer);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
}
main > .sec:not(.hero) .eyebrow::after { content: ""; order: -1; width: 22px; height: 1px; flex-shrink: 0; background: var(--accent-line); }
main > .sec:not(.hero) .sec-head h2 { font-size: clamp(2.125rem, 4vw, 3.125rem); line-height: 1.06; letter-spacing: -0.028em; }
main > .sec:not(.hero) .sec-head .lead { margin-top: 20px; line-height: 1.6; }
main > .sec:not(.hero) h3 { letter-spacing: -0.005em; }
main > .sec-line { border-top: 0; }
main > .sec-line::before,
.site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -28px;
    height: 56px;
    pointer-events: none;
    background: url(/assets/grafik/hoehenlinie.svg) center top / 1440px 56px repeat-x;
}
.site-footer { position: relative; border-top: 0; padding-top: 52px; }
.trust-title { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 30px; }
.trust-title::before,
.trust-title::after { content: ""; width: 40px; height: 1px; flex-shrink: 0; background: var(--line-strong); }
main > .sec:not(.hero) .icon-tile { background: transparent; border-color: rgba(232, 145, 111, 0.38); color: var(--accent-light); border-radius: 50%; }
main :is(.edu-card, .case, .person) {
    position: relative;
    border-radius: 24px;
    border-color: rgba(240, 238, 233, 0.1);
    background: linear-gradient(180deg, #2a2621 0%, #25211d 100%);
    box-shadow: inset 0 1px 0 rgba(240, 238, 233, 0.05), 0 1px 1px rgba(0, 0, 0, 0.25), 0 28px 56px -32px rgba(0, 0, 0, 0.6);
}
main :is(.edu-card, .case, .person)::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 28px;
    right: 28px;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(240, 238, 233, 0), rgba(240, 238, 233, 0.28) 50%, rgba(240, 238, 233, 0));
}
main .edu-card:hover { border-color: rgba(240, 238, 233, 0.18); }
main .person-photo { border-radius: 18px; }
main .tag { background: transparent; border-color: var(--line-strong); color: var(--text-muted); }
main .stat-note { margin-top: 14px; }
main .step-line { height: 0; background: none; border-top: 2px dashed rgba(217, 119, 87, 0.45); }
main .step-num { box-shadow: 0 0 0 6px rgba(240, 238, 233, 0.06); }
main .step:last-child .step-num { box-shadow: 0 0 0 6px rgba(217, 119, 87, 0.16); }
main .faq-list { counter-reset: s2faq; }
main .faq-item { counter-increment: s2faq; }
main .faq-item summary { justify-content: flex-start; gap: 18px; padding: 24px 0; }
main .faq-item summary::before {
    content: counter(s2faq, decimal-leading-zero);
    flex: 0 0 2rem;
    align-self: flex-start;
    content: counter(s2faq, decimal-leading-zero) / "";
    line-height: calc(1.0625rem * 1.4);
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
    color: var(--accent-light);
}
main .faq-item summary::after { margin-left: auto; }
main .faq-item p { padding-left: calc(2rem + 18px); }
#contact { padding-top: clamp(84px, 9vw, 124px); }
@media (max-width: 480px) {
    .trust-title::before,
    .trust-title::after { display: none; }
}
@media (max-width: 620px) {
    main :is(.edu-card, .case, .person)::before { left: 20px; right: 20px; }
    main .faq-item summary { gap: 14px; }
    main .faq-item summary::before { flex-basis: 1.75rem; }
    main .faq-item p { padding-left: calc(1.75rem + 14px); }
}

/* ---------------------------------------------------------------------
   6. Hero-Text und Abstände
   --------------------------------------------------------------------- */
.hero-r3 { min-height: 600px; min-height: max(600px, calc((min(88vh, 900px) + 100vh - var(--hero-refs-peek, 190px)) / 2)); min-height: max(600px, calc((min(88svh, 900px) + 100svh - var(--hero-refs-peek, 190px)) / 2)); padding: 132px var(--gutter) 116px; }
.hero-r3 .h1-title { max-width: 16ch; font-size: clamp(2.6rem, 5.4vw, 4.75rem); line-height: 1.03; letter-spacing: -0.032em; }
.hero-r3 .h1-sub {
    max-width: 40ch;
    margin: 26px auto 38px;
    font-size: clamp(1.125rem, 1.55vw, 1.3125rem);
    line-height: 1.55;
    text-wrap: balance;
}
.hero-r3 .checks { margin-top: 28px; }
@media (min-width: 761px) and (max-height: 720px) {
    .hero-r3 { min-height: 0; padding-top: 112px; padding-bottom: 96px; }
    .hero-r3 .h1-badge { margin-bottom: 20px; }
    .hero-r3 .h1-title { font-size: clamp(2.6rem, 4.6vw, 4.25rem); }
    .hero-r3 .h1-sub { margin: 20px auto 30px; }
    .hero-r3 .checks { margin-top: 22px; }
    .hero-r3 .h1-legend { bottom: 26px; }
    .hero-r3 .h1-key { bottom: 32px; }
}
@media (max-width: 760px) {
    .hero-r3 { padding: 108px var(--gutter) 112px; min-height: 0; }
    .hero-r3 .h1-title { font-size: clamp(2.0625rem, 9.2vw, 2.75rem); max-width: none; }
    .hero-r3 .h1-sub { margin: 20px auto 30px; font-size: 1.125rem; }
}
.daten-col { min-width: 0; }
@media (max-width: 900px) {
    .daten-col { margin-top: 8px; }
}
.kc-hint {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 28px;
    margin-top: clamp(44px, 5vw, 64px);
    padding: 22px 0 0;
    border-top: 1px dashed rgba(217, 119, 87, 0.42);
}
.kc-hint p { display: flex; align-items: baseline; gap: 14px; color: var(--text-muted); font-size: 1rem; }
.kc-hint p b { color: var(--cloud-dancer); font-weight: 700; }
.kc-hint .kc-hint-step {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-light);
}
.kc-hint a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--cloud-dancer);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-line);
}
.kc-hint a:hover { color: var(--accent-light); border-color: var(--accent-light); }
@media (max-width: 620px) {
    .kc-hint p { flex-direction: column; gap: 4px; }
}
.shy-schmal { display: none; }
@media (max-width: 380px) {
    .shy-schmal { display: inline; }
}

/* ---------------------------------------------------------------------
   7. Hero-Abstand
   --------------------------------------------------------------------- */
.hero-r4 { padding-top: 164px; }
.hero-r4 .h1-badge { margin-bottom: 30px; }
@media (min-width: 761px) and (max-height: 720px) {
    .hero-r4 { padding-top: 140px; padding-bottom: 84px; }
    .hero-r4 .h1-badge { margin-bottom: 22px; }
    .hero-r4 .h1-sub { margin: 18px auto 26px; }
    .hero-r4 .checks { margin-top: 18px; }
}
@media (max-width: 760px) {
    .hero-r4 { padding-top: 132px; }
    .hero-r4 .h1-badge { margin-bottom: 22px; }
}
/* ---------------------------------------------------------------------
   8. Referenzen (Raster mit Linien)
   --------------------------------------------------------------------- */
.logo-row img { max-width: 100%; object-fit: contain; }
.logo-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    max-width: 1100px;
    margin-inline: auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.logo-row li { justify-content: center; min-height: 96px; padding: 20px 14px; }
.logo-row li + li { border-left: 1px solid var(--line); }
#trust .trust-title { margin-bottom: 26px; }
@media (max-width: 860px) {
    .logo-row { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .logo-row li { grid-column: span 2; min-height: 76px; padding: 14px 8px; }
    .logo-row li:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
    .logo-row li:nth-child(5) { grid-column: 2 / span 2; border-left: 0; }
    .logo-row li:nth-child(5) { box-shadow: -1px 0 0 var(--line); }
    .logo-row li:nth-child(7) { box-shadow: 1px 0 0 var(--line); }
}

/* ---------------------------------------------------------------------
   9. Beispiel-Chat „Mit Unternehmensdaten chatten“
   --------------------------------------------------------------------- */
.dc {
    --dc-bg: linear-gradient(180deg, #2a2621 0%, #24201c 100%);
    --dc-edge: rgba(240, 238, 233, 0.11);
    --dc-ink: var(--cloud-dancer);
    --dc-text: var(--text-body);
    --dc-muted: var(--text-muted);
    --dc-line: rgba(240, 238, 233, 0.1);
    --dc-q-bg: rgba(240, 238, 233, 0.09);
    --dc-q-ink: var(--cloud-dancer);
    --dc-src-bg: var(--accent-soft);
    --dc-src-line: var(--accent-line);
    --dc-src-ink: var(--accent-light);
    --dc-tag: var(--accent-light);
    --dc-input-bg: #1c1916;
    --dc-input-line: rgba(240, 238, 233, 0.16);
    --dc-chip-line: rgba(240, 238, 233, 0.2);
    --dc-chip-on-bg: var(--cloud-dancer);
    --dc-chip-on-ink: #1a1815;
    --dc-ava-line: rgba(240, 238, 233, 0.16);
    --dc-shadow: inset 0 1px 0 rgba(240, 238, 233, 0.05), 0 1px 1px rgba(0, 0, 0, 0.25), 0 36px 72px -36px rgba(0, 0, 0, 0.65);
    --dc-w: 480px;
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, var(--dc-w));
    margin: 0 auto;
    border-radius: 26px;
    border: 1px solid var(--dc-edge);
    background: var(--dc-bg);
    box-shadow: var(--dc-shadow);
    color: var(--dc-text);
}
.dc::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 28px;
    right: 28px;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(240, 238, 233, 0), rgba(240, 238, 233, 0.28) 50%, rgba(240, 238, 233, 0));
}
.dc--light {
    --dc-bg: linear-gradient(180deg, #f3f1ec 0%, #ece9e2 100%);
    --dc-edge: rgba(255, 255, 255, 0.55);
    --dc-ink: #1f1c18;
    --dc-text: #36312b;
    --dc-muted: #5e564c;
    --dc-line: rgba(31, 28, 24, 0.12);
    --dc-q-bg: #e1dbd0;
    --dc-q-ink: #1f1c18;
    --dc-src-bg: #f6e3da;
    --dc-src-line: rgba(176, 81, 47, 0.32);
    --dc-src-ink: #9a4226;
    --dc-tag: #9a4226;
    --dc-input-bg: #fbfaf7;
    --dc-input-line: rgba(31, 28, 24, 0.16);
    --dc-chip-line: rgba(31, 28, 24, 0.22);
    --dc-chip-on-bg: #1f1c18;
    --dc-chip-on-ink: #F0EEE9;
    --dc-ava-line: rgba(31, 28, 24, 0.16);
    --dc-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 1px rgba(0, 0, 0, 0.3), 0 44px 88px -40px rgba(0, 0, 0, 0.85);
}
.dc--light::before { display: none; }
.dc--light :focus-visible { outline-color: #1f1c18; }
.dc-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 13px 18px; border-bottom: 1px solid var(--dc-line); }
.dc-logo { display: grid; place-items: center; color: var(--dc-ink); flex-shrink: 0; }
.dc-title { flex: 1; min-width: 0; font-size: 0.875rem; font-weight: 750; color: var(--dc-ink); letter-spacing: -0.005em; }
.dc-tag {
    flex-shrink: 0;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid var(--dc-src-line);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--dc-tag);
}
.dc-thread { display: flex; flex-direction: column; gap: 16px; padding: 22px 20px 10px; }
.dc-q {
    align-self: flex-end;
    max-width: 86%;
    padding: 10px 15px;
    border-radius: 18px 18px 6px 18px;
    background: var(--dc-q-bg);
    color: var(--dc-q-ink);
    font-size: 0.9375rem;
    line-height: 1.5;
    font-weight: 550;
}
.dc-a { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.dc-ava {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin-top: 1px;
    border-radius: 50%;
    border: 1px solid var(--dc-ava-line);
    color: var(--dc-ink);
}
.dc-ava svg { width: 12px; height: 12px; }
.dc-a-body { min-width: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--dc-text); }
.dc-a-body > p + p { margin-top: 10px; }
.dc-src {
    display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    max-width: 100%;
    padding: 5px 11px;
    border-radius: 10px;
    background: var(--dc-src-bg);
    border: 1px solid var(--dc-src-line);
    color: var(--dc-src-ink);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
}
.dc-src svg { flex-shrink: 0; margin-top: 2px; }
.dc-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    margin: 10px 14px 14px;
    padding: 7px 7px 7px 16px;
    border-radius: 16px;
    background: var(--dc-input-bg);
    border: 1px solid var(--dc-input-line);
    color: var(--dc-muted);
    font-size: 0.9375rem;
    cursor: default;
    user-select: none;
}
.dc-input span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-input i {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--primary-accent);
    color: var(--on-accent);
}
@keyframes dcDot {
    0%, 80%, 100% { opacity: 0.25; transform: none; }
    40% { opacity: 1; transform: translateY(-3px); }
}
@keyframes dcIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
@keyframes dcFade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
    .dc { margin-top: 12px; }
}
@media (max-width: 520px) {
    .dc { border-radius: 22px; }
    .dc::before { left: 20px; right: 20px; }
    .dc-head { padding: 12px 14px 11px 16px; }
    .dc-thread { padding: 18px 14px 8px; gap: 14px; }
    .dc-q { max-width: 92%; }
    .dc-a { grid-template-columns: minmax(0, 1fr); }
    .dc-ava { display: none; }
    .dc-input { margin: 8px 10px 10px; min-height: 48px; font-size: 0.875rem; }
}

/* ---------------------------------------------------------------------
   10. Kontakt „Wie möchten Sie starten?“ (zwei Wege)
   --------------------------------------------------------------------- */
#contact .e5-head { margin-bottom: clamp(36px, 4.5vw, 52px); }
#contact .e5-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1080px; margin-inline: auto; }
#contact .e5-card { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.6vw, 44px); border-radius: 28px; }
#contact .e5-kicker { margin-bottom: 14px; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
#contact .e5-card h3 {
    font-size: clamp(1.625rem, 2.5vw, 2.125rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.022em;
    text-wrap: balance;
}
#contact .e5-check {
    background: var(--kc-paper);
    color: var(--kc-body);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 40px 80px -44px rgba(0, 0, 0, 0.85);
}
#contact .e5-check .e5-kicker { color: var(--kc-accent-text); }
#contact .e5-check h3 { max-width: 20ch; color: var(--kc-ink); }
#contact .e5-text { max-width: 40ch; margin-top: 16px; font-size: 1.0625rem; line-height: 1.6; color: var(--kc-body); text-wrap: pretty; }
#contact .e5-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; padding-top: 36px; }
#contact .e5-cta .btn { min-height: 56px; padding-inline: 30px; }
#contact .e5-cta p { font-size: 0.875rem; font-weight: 600; color: var(--kc-muted); }
#contact .e5-check :focus-visible { outline-color: var(--kc-ink); }
#contact .e5-direct {
    border: 1px solid rgba(240, 238, 233, 0.1);
    background: linear-gradient(180deg, #2a2621 0%, #25211d 100%);
    box-shadow: inset 0 1px 0 rgba(240, 238, 233, 0.05), 0 1px 1px rgba(0, 0, 0, 0.25), 0 28px 56px -32px rgba(0, 0, 0, 0.6);
}
#contact .e5-direct::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 28px;
    right: 28px;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(240, 238, 233, 0), rgba(240, 238, 233, 0.28) 50%, rgba(240, 238, 233, 0));
}
#contact .e5-direct .e5-kicker { color: var(--accent-light); }
#contact .e5-direct h3 { color: var(--cloud-dancer); }
#contact .e5-ways { list-style: none; margin-top: 22px; border-top: 1px solid var(--line); }
#contact .e5-ways li { border-bottom: 1px solid var(--line); }
#contact .e5-ways a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    padding: 12px 4px 12px 0;
    color: var(--cloud-dancer);
    text-decoration: none;
    transition: color 0.2s;
}
#contact .e5-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(232, 145, 111, 0.38);
    color: var(--accent-light);
    transition: background 0.2s, border-color 0.2s;
}
#contact .e5-way {
    display: grid;
    gap: 1px;
    min-width: 0;
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    font-weight: 700;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
#contact .e5-way small { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; color: var(--text-muted); }
#contact .e5-arrow { color: var(--text-muted); transition: transform 0.25s var(--ease), color 0.2s; }
#contact .e5-ways a:hover { color: var(--accent-light); }
#contact .e5-ways a:hover .e5-icon { background: var(--accent-soft); border-color: var(--accent-line); }
#contact .e5-ways a:hover .e5-arrow { color: var(--accent-light); transform: translateX(3px); }
#contact .e5-ways a:focus-visible { outline-offset: 2px; border-radius: 12px; }
#contact .e5-place {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
    font-size: 0.9375rem;
    color: var(--text-muted);
}
#contact .e5-place svg { flex-shrink: 0; color: var(--accent-light); }
@media (prefers-reduced-motion: reduce) {
    #contact .e5-arrow { transition: none; }
    #contact .e5-ways a:hover .e5-arrow { transform: none; }
}
@media (max-width: 820px) {
    #contact .e5-grid { grid-template-columns: 1fr; gap: 14px; max-width: 600px; }
}
@media (max-width: 620px) {
    #contact .e5-card { padding: 26px 22px 24px; border-radius: 24px; }
    #contact .e5-direct::before { left: 20px; right: 20px; }
    #contact .e5-cta { padding-top: 28px; }
    #contact .e5-cta .btn { width: 100%; }
    #contact .e5-cta p { width: 100%; text-align: center; }
    #contact .e5-ways a { min-height: 68px; gap: 14px; }
}

/* ---------------------------------------------------------------------
   11. Kontakt-Texte, Kopfleiste, Bausteine der kompakten Seite
   --------------------------------------------------------------------- */
#contact .e5-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
#contact .e5-kicker span { padding: 3px 8px; border-radius: 999px; font-size: 0.6875rem; letter-spacing: 0.08em; }
#contact .e5-check .e5-kicker span { border: 1px solid rgba(154, 66, 38, 0.35); color: var(--kc-ink); }
#contact .e5-direct .e5-kicker span { border: 1px solid var(--accent-line); color: var(--cloud-dancer); }
#contact .e5-direct .e5-text--direct { margin-top: 14px; color: var(--text-muted); max-width: 40ch; }
#contact .e5-direct h3 { max-width: 18ch; text-wrap: balance; }
#contact .e5-head .lead { margin-top: 14px; }
.site-nav { height: 56px; padding: 0 8px 0 20px; }
.site-nav .logo-img { width: 16px; height: 16px; }
.site-nav .nav-logo { gap: 6px; }
.site-nav .wordmark { font-size: 1.08rem; }
.nav-links { gap: 26px; }
.nav-links a { font-size: 0.90625rem; }
.nav-cta {
    gap: 8px;
    height: 36px;
    padding: 0 15px 0 13px;
    background: transparent;
    color: var(--cloud-dancer);
    border: 1px solid var(--accent-line);
    font-size: 0.84375rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.nav-cta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary-accent); flex-shrink: 0; }
.nav-cta:hover { background: var(--accent-soft); border-color: rgba(217, 119, 87, 0.65); color: #fff; transform: none; }
.lang-btn { height: 36px; padding: 0 10px; }
@media (max-width: 768px) {
    .site-nav { height: 52px; padding: 0 6px 0 16px; }
    .site-nav .logo-img { width: 15px; height: 15px; }
    .site-nav .nav-logo { gap: 6px; }
    .site-nav .wordmark { font-size: 0.98rem; }
    .mobile-menu-btn { width: 40px; height: 40px; }
    .lang-btn { height: 40px; }
}
.k-about-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
main > .sec.k-about .sec-head { margin-bottom: 0; }
.k-usp { list-style: none; margin-top: 30px; border-top: 1px solid var(--line); }
.k-usp li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}
.k-usp b { display: block; margin-bottom: 2px; font-size: 1rem; color: var(--cloud-dancer); }
.k-usp-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(232, 145, 111, 0.38);
    color: var(--accent-light);
}
.k-team { grid-template-columns: 1fr; gap: 16px; }
.k-team .person { grid-template-columns: 124px minmax(0, 1fr); gap: 22px; padding: 24px; }
.k-team .person-photo { width: 124px; }
@media (max-width: 900px) {
    .k-about-split { grid-template-columns: 1fr; }
    .k-team { max-width: 640px; }
}
@media (max-width: 520px) {
    .k-team .person { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
    .k-team .person-photo { width: 104px; }
}
@keyframes k-auf {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------
   12. Abschnitt „KI im Einsatz“
   --------------------------------------------------------------------- */
main > .sec.ka .sec-head { margin-bottom: clamp(36px, 4.4vw, 60px); }
.ka #ki-agenten { padding-block: 0; }
.ka-part { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; scroll-margin-top: 96px; }
.ka-agents { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.ka-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-light);
}
.ka-kicker .pulse-dot { flex-shrink: 0; }
.ka-kicker-line { width: 22px; height: 1px; background: var(--accent-light); flex-shrink: 0; }
.ka-text h3 {
    margin-top: 12px;
    font-size: clamp(1.5rem, 2.4vw, 1.875rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.ka-text > p:not(.ka-kicker) { margin-top: 12px; max-width: 54ch; color: var(--text-muted); font-size: 1rem; line-height: 1.65; text-wrap: pretty; }
.ka-text .more-link { margin-top: 24px; }
.ka-tasks {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(20px, 2.6vw, 32px);
    margin-top: 26px;
    border-top: 1px solid var(--line);
}
.ka-tasks li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}
.ka-tasks b { display: block; margin-bottom: 2px; font-size: 1rem; color: var(--cloud-dancer); }
.ka-task-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(232, 145, 111, 0.38);
    color: var(--accent-light);
}
.ka-proof {
    margin: 0;
    padding: clamp(24px, 3vw, 34px);
    border-radius: 24px;
    border: 1px solid rgba(217, 119, 87, 0.3);
    background: radial-gradient(120% 80% at 100% 0%, rgba(217, 119, 87, 0.12), rgba(217, 119, 87, 0) 62%), linear-gradient(180deg, #2a2621 0%, #25211d 100%);
    box-shadow: inset 0 1px 0 rgba(240, 238, 233, 0.05), 0 28px 56px -32px rgba(0, 0, 0, 0.6);
}
.ka-proof .proof-label { margin-bottom: 18px; }
.ka-stats { display: grid; gap: 14px; }
.ka-stats div { display: grid; gap: 3px; padding-top: 14px; border-top: 1px solid var(--line); }
.ka-stats div:first-child { padding-top: 0; border-top: 0; }
.ka-stats dt {
    font-size: clamp(1.625rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--cloud-dancer);
    white-space: nowrap;
}
.ka-stats dt small { font-size: 0.5em; font-weight: 700; letter-spacing: 0; color: var(--text-body); }
.ka-stats dt sup { color: var(--accent-light); font-size: 0.5em; vertical-align: super; line-height: 0; }
.ka-stats dd { font-size: 0.9375rem; line-height: 1.45; color: var(--text-muted); }
.ka-proof .stat-note { font-size: 0.8125rem; }
@media (max-width: 980px) {
    .ka-agents { grid-template-columns: 1fr; }
    .ka-agents { gap: 32px; }
    .ka-proof { max-width: 560px; }
}
@media (max-width: 620px) {
    .ka-tasks { grid-template-columns: 1fr; }
    .ka-proof { padding: 22px 20px; border-radius: 20px; }
}

/* ---------------------------------------------------------------------
   13. KI-Check-Fenster „Geteilt“ (dunkle Leiste links, heller Bogen rechts)
   --------------------------------------------------------------------- */
.kc { background: #1a1815; }
.kc-sheet { background: var(--kc-paper); }
@media (min-width: 861px) {
    .kc { display: grid; grid-template-columns: minmax(300px, 31%) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
    .kc-top {
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow-y: auto;
        padding: 26px clamp(24px, 2.8vw, 44px) 26px;
        background: linear-gradient(180deg, rgba(26, 24, 21, 0) 40%, rgba(26, 24, 21, 0.75) 82%, #1a1815 100%), url("/assets/grafik/ki-check-leiste.svg") center top / cover no-repeat, radial-gradient(90% 50% at 70% 10%, rgba(217, 119, 87, 0.16), rgba(217, 119, 87, 0) 70%), #1a1815;
        border-right: 1px solid rgba(240, 238, 233, 0.08);
    }
    .kc-head { display: contents; }
    .kc-brand { order: 1; align-items: flex-start; }
    .kc-brand small { white-space: normal; margin-top: 2px; }
    .kc-close {
        position: absolute;
        top: 18px;
        right: clamp(16px, 2.4vw, 32px);
        z-index: 4;
        min-height: 40px;
        background: rgba(240, 238, 233, 0.9);
        color: var(--kc-ink);
        border: 1px solid var(--kc-line-strong);
        box-shadow: none;
    }
    .kc-close:hover { background: #fff; border-color: var(--kc-ink); box-shadow: none; transform: none; }
    .kc-close:focus-visible { outline-color: var(--kc-ink); }
    .kc-rail { order: 2; margin-top: clamp(36px, 9vh, 96px); }
    .kc-rail ol { grid-template-columns: 1fr; gap: 0; max-width: none; margin: 0; counter-reset: kcweg; }
    .kc-rail li { position: relative; counter-increment: kcweg; }
    .kc-rail button {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        column-gap: 16px;
        row-gap: 2px;
        align-items: start;
        padding: 0 4px 30px 0;
        color: var(--text-muted);
    }
    .kc-rail li.is-active button { color: var(--text-muted); }
    .kc-rail li:last-child button { padding-bottom: 4px; }
    .kc-rail-label { grid-column: 2; padding-top: 4px; font-size: 0.9375rem; white-space: normal; }
    .kc-rail-label b { display: none; }
    .kc-rail-hint { display: block; grid-column: 2; font-size: 0.8125rem; line-height: 1.4; color: var(--text-faint); }
    .kc-rail li.is-active .kc-rail-hint { color: var(--text-muted); }
    .kc-bar {
        grid-column: 1;
        grid-row: 1 / span 2;
        position: relative;
        z-index: 1;
        display: grid;
        place-items: center;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        overflow: visible;
        background: #1a1815;
        border: 1.5px solid rgba(240, 238, 233, 0.3);
        font-size: 0.6875rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        color: var(--text-muted);
    }
    .kc-bar::before { content: counter(kcweg, decimal-leading-zero); content: counter(kcweg, decimal-leading-zero) / ""; }
    .kc-bar i { display: none; }
    .kc-rail li.is-active .kc-bar {
        background: var(--primary-accent);
        border-color: var(--primary-accent);
        color: var(--on-accent);
        box-shadow: 0 0 0 6px rgba(217, 119, 87, 0.18);
    }
    .kc-rail li.is-done .kc-bar {
        border-color: rgba(217, 119, 87, 0.7);
        color: transparent;
        background: rgba(217, 119, 87, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8916f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
    }
    .kc-rail li.is-done .kc-bar::before { content: ""; }
    .kc-rail li.is-done .kc-rail-label { text-decoration: none; }
    .kc-rail li.is-done button:not(:disabled):hover .kc-rail-label { text-decoration: underline; text-underline-offset: 4px; }
    .kc-rail li:not(:last-child)::before,
    .kc-rail li:not(:last-child)::after { content: ""; position: absolute; left: 14.25px; top: 34px; bottom: 4px; width: 1.5px; pointer-events: none; }
    .kc-rail li:not(:last-child)::before { background: repeating-linear-gradient(180deg, rgba(240, 238, 233, 0.32) 0 5px, transparent 5px 10px); }
    .kc-rail li:not(:last-child)::after {
        background: var(--primary-accent);
        transform-origin: top;
        transform: scaleY(var(--fill, 0));
        transition: transform 0.5s var(--kc-ease);
    }
    .kc-rail li.is-active:not(:last-child)::after { transform: scaleY(calc(var(--fill, 0) * 0.6)); }
    .kc-host {
        order: 3;
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: auto;
        padding-top: 22px;
        border-top: 1px solid rgba(240, 238, 233, 0.1);
    }
    .kc-host img {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid rgba(240, 238, 233, 0.18);
        flex-shrink: 0;
    }
    .kc-host span { display: grid; line-height: 1.3; min-width: 0; }
    .kc-host b { font-size: 0.9375rem; color: var(--cloud-dancer); }
    .kc-host small { font-size: 0.8125rem; color: var(--text-muted); }
    .kc-top::after {
        order: 4;
        margin-top: 14px;
        content: "Meran, Südtirol · 46°40′ N · 11°09′ E";
        content: "Meran, Südtirol · 46°40′ N · 11°09′ E" / "";
        font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
        font-size: 0.75rem;
        color: var(--text-faint);
    }
    .kc-sheet { margin-top: 0; border-radius: 0; box-shadow: none; }
    .kc-scene { max-width: 920px; padding: clamp(64px, 11vh, 112px) clamp(24px, 4.6vw, 72px) 0; }
}
@media (min-width: 861px) and (max-height: 700px) {
    .kc-rail { margin-top: 32px; }
    .kc-rail button { padding-bottom: 20px; }
    .kc-rail-hint { display: none; }
    .kc-rail-label { padding-top: 5px; }
}
.kc-title { letter-spacing: -0.025em; }
.kc-eyebrow { display: flex; align-items: center; gap: 12px; }
.kc-eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--kc-accent-text); flex-shrink: 0; }
@media (min-width: 621px) {
    .kc-tiles { counter-reset: kcopt; }
    .kc-tile {
        counter-increment: kcopt;
        min-height: 132px;
        padding: 46px 18px 18px;
        background: #fbfaf7;
        border: 1px solid var(--kc-line);
        border-radius: 16px;
        box-shadow: 0 1px 0 rgba(31, 28, 24, 0.04), 0 14px 30px -18px rgba(31, 28, 24, 0.18);
    }
    .kc-tile::before {
        content: counter(kcopt, decimal-leading-zero);
        content: counter(kcopt, decimal-leading-zero) / "";
        position: absolute;
        top: 17px;
        left: 18px;
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        color: var(--kc-accent-text);
    }
    .kc-tile:hover {
        border-color: var(--kc-line-strong);
        box-shadow: 0 1px 0 rgba(31, 28, 24, 0.04), 0 20px 38px -18px rgba(31, 28, 24, 0.26);
        transform: translateY(-2px);
    }
    .kc-tile-cta { display: none; }
    .kc-tile.is-selected {
        padding: 45px 17px 17px;
        background: #fff7f3;
        border: 2px solid var(--kc-accent-edge);
        box-shadow: 0 18px 36px -20px rgba(154, 66, 38, 0.35);
    }
    .kc-tile.is-selected::before { top: 16px; left: 17px; }
    .kc-tiles[data-layout="numbers"] .kc-tile { min-height: 120px; }
    .kc-tiles[data-layout="numbers"] .kc-tile::before { content: none; }
    .kc-tiles[data-layout="numbers"] .kc-tile { padding-top: 20px; }
    .kc-tiles[data-layout="numbers"] .kc-tile.is-selected { padding-top: 19px; }
}
@media (max-width: 860px) {
    .kc-top { background: url("/assets/grafik/ki-check-leiste.svg") center 32% / cover no-repeat, #1a1815; padding-bottom: 4px; }
}
@keyframes f3-auswahl {
    0% { transform: scale(0.985); }
    60% { transform: scale(1.012); }
    100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .kc-tile,
    .kc-close,
    .kc-bar i,
    .kc-rail li::after { transition: none; }
    .kc-tile:hover { transform: none; }
}

/* ---------------------------------------------------------------------
   14. Verborgenes bleibt verborgen
   Das Attribut hidden hat immer Vorrang vor Anzeige-Regeln. Behebt: Der
   KI-Check ließ sich im Fenster „Geteilt“ nicht schließen, weil
   .kc { display: grid } stärker war als hidden.
   --------------------------------------------------------------------- */
[hidden] { display: none !important; }

/* ---------------------------------------------------------------------
   15. Weiterbildung und Daten-Chat wie Entwurf K1 (Paket B2)
   Eigene Abschnitte „KI-Weiterbildung“ (drei Karten mit Logos und breite
   Karte „Individuelle Schulung“) und „Mit Ihren Unternehmensdaten chatten“
   (links Text, rechts Beispiel D2; am Handy Text zuerst).
   --------------------------------------------------------------------- */
.edu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.edu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.edu-custom {
    margin-top: 20px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px 28px;
    align-items: center;
    padding: 26px 30px;
    border-radius: 20px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
}
.edu-custom h3 { margin-bottom: 6px; }
.edu-custom p { color: var(--text-body); }
.edu-custom .more-link { margin-top: 12px; }
.edu-custom-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.edu-custom-points li {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--text-body);
    white-space: nowrap;
    background: transparent;
    border: 1px solid var(--line-strong);
}
@media (max-width: 1100px) {
    .edu-custom { grid-template-columns: auto minmax(0, 1fr); }
    .edu-custom-points { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 960px) {
    .edu-grid,
    .edu-custom { max-width: 620px; }
    .edu-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .edu-custom { grid-template-columns: 1fr; padding: 22px; }
    .edu-custom-points li { white-space: normal; }
}
.chat-split { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) {
    .chat-split { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   16. KI-Check: Honigtopf und Fehler beim Senden (mit Ausweg)
   --------------------------------------------------------------------- */
.kc-honey { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.kc-send-error {
    max-width: 760px;
    scroll-margin-bottom: 140px;
    margin: 22px 0 4px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(163, 38, 27, 0.28);
    background: #fff;
}
.kc-send-error .kc-error { margin: 0 0 14px; line-height: 1.5; }
.kc-send-alt { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.kc-send-alt .kc-btn-light { min-height: 44px; padding: 0 16px; font-size: 0.9375rem; }
.kc-send-alt .kc-btn-light svg { color: var(--kc-accent-text); }
.kc-send-alt li:nth-child(2) .kc-btn-light svg { color: #1f8f4e; }
.kc-next[aria-busy="true"] { cursor: progress; opacity: 0.75; }
@media (max-width: 620px) {
    .kc-send-alt { flex-direction: column; }
    .kc-send-alt .kc-btn-light { width: 100%; justify-content: flex-start; }
}

/* Ortsangabe unten in der Leiste des KI-Check-Fensters je Sprache */
@media (min-width: 861px) {
    html[lang="en"] .kc-top::after {
        content: "Merano, South Tyrol · 46°40′ N · 11°09′ E";
        content: "Merano, South Tyrol · 46°40′ N · 11°09′ E" / "";
    }
    html[lang="it"] .kc-top::after {
        content: "Merano, Alto Adige · 46°40′ N · 11°09′ E";
        content: "Merano, Alto Adige · 46°40′ N · 11°09′ E" / "";
    }
}

/* ---------------------------------------------------------------------
   17. Fußzeile: Logo-Symbol kleiner, Wortmarke unverändert (Paket B2).
   Logo-Zeichen überall = 1,35 × Versalhöhe der Wortmarke (wie Vektor-Logo 11/2026).
   --------------------------------------------------------------------- */
.site-footer .logo-img { width: 18px; height: 18px; }
.site-footer .nav-logo { gap: 7px; }
@media (max-width: 768px) {
    .site-footer .logo-img { width: 16px; height: 16px; }
    .site-footer .nav-logo { gap: 6px; }
}

/* ---------------------------------------------------------------------
   18. Unterseiten (Paket C): Impressum, Datenschutz, Blog-Übersicht,
   Artikel, 404. Gleiche Kopf- und Fußleiste wie die Startseite; hier nur
   Seitenkopf, Rechtstexte, Blog-Karten, Lesetext und Fehlerseite.
   --------------------------------------------------------------------- */
.sub-main { position: relative; isolation: isolate; }
.sub-main::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 560px;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(60% 70% at 12% 0%, rgba(217, 119, 87, 0.1), rgba(217, 119, 87, 0) 70%);
}

/* Seitenkopf */
.sub-head { position: relative; padding: 152px 0 clamp(44px, 5vw, 64px); }
.sub-head h1,
.article-head h1,
.sub-404 h1 {
    font-size: clamp(2.375rem, 5vw, 3.75rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--cloud-dancer);
    text-wrap: balance;
}
.sub-head h1 { max-width: 18ch; }
.sub-head h1,
.article-head h1,
.sub-404 h1,
.prose h2,
.legal-sec h2 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.sub-head .lead { margin-top: 18px; }
.sub-head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -28px;
    height: 56px;
    pointer-events: none;
    background: url(/assets/grafik/hoehenlinie.svg) center top / 1440px 56px repeat-x;
}
.crumbs { margin-bottom: 26px; font-size: 0.875rem; color: var(--text-faint); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line-strong); }
.crumbs a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.crumbs a:hover { color: var(--accent-light); }
.crumbs [aria-current] { color: var(--text-faint); }
@media (max-width: 768px) {
    .sub-head { padding-top: 116px; }
}
@media (max-width: 480px) {
    .sub-head h1,
    .sub-404 h1 { font-size: 2.125rem; }
}

/* Rechtstexte */
.legal { padding: clamp(64px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.legal-layout { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 760px); gap: clamp(40px, 7vw, 112px); align-items: start; }
.legal-toc { position: sticky; top: 108px; }
.legal-toc-title {
    margin-bottom: 14px;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.legal-toc ol { list-style: none; border-left: 1px solid var(--line); }
.legal-toc a {
    display: flex;
    gap: 8px;
    margin-left: -1px;
    padding: 8px 0 8px 16px;
    border-left: 2px solid transparent;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.45;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
}
.legal-toc a span { color: var(--accent-light); font-weight: 700; font-variant-numeric: tabular-nums; }
.legal-toc a:hover { color: #fff; border-color: var(--primary-accent); }
.legal-body { max-width: 760px; font-size: 1.0625rem; line-height: 1.75; color: var(--text-body); }
.legal-sec { padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.legal-sec:first-child { padding-top: 0; border-top: 0; }
.legal-sec:last-child { padding-bottom: 0; }
.legal-sec h2 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
    font-size: clamp(1.375rem, 2.2vw, 1.75rem);
    line-height: 1.25;
    letter-spacing: -0.018em;
}
.legal-num { flex-shrink: 0; color: var(--accent-light); font-variant-numeric: tabular-nums; }
.legal-sec h3 { margin: 28px 0 8px; font-size: 1.0625rem; }
.legal-sec h2 + h3 { margin-top: 0; }
.legal-sec p + p { margin-top: 14px; }
.legal-sec ul,
.legal-sec ol { margin-top: 14px; padding-left: 1.3em; }
.legal-sec h3 + ul,
.legal-sec h3 + ol,
.legal-sec h2 + ul,
.legal-sec h2 + ol { margin-top: 0; }
.legal-sec li + li { margin-top: 0.5em; }
.legal-sec li::marker { color: var(--accent-light); }
.legal-sec ul + p,
.legal-sec ol + p { margin-top: 14px; }
.legal-body a,
.legal-fact a { color: var(--cloud-dancer); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body a:hover,
.legal-fact a:hover { color: var(--accent-light); text-decoration-color: var(--accent-light); }
.legal-body strong,
.legal-fact strong { color: var(--cloud-dancer); font-weight: 700; }
.legal-facts { max-width: 980px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(56px, 7vw, 88px); }
.legal-fact {
    position: relative;
    padding: 26px 28px;
    border-radius: 20px;
    border: 1px solid rgba(240, 238, 233, 0.1);
    background: linear-gradient(180deg, #2a2621 0%, #25211d 100%);
    box-shadow: inset 0 1px 0 rgba(240, 238, 233, 0.05);
    line-height: 1.7;
}
.legal-fact h2 {
    margin-bottom: 12px;
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-light);
}
.legal--impressum .legal-body { max-width: 760px; }
@media (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; gap: 36px; }
    .legal-toc { position: static; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
    .legal-toc ol { border-left: 0; }
    .legal-toc a { margin-left: 0; padding: 6px 0; border-left: 0; }
}
@media (max-width: 620px) {
    .legal-facts { grid-template-columns: 1fr; }
    .legal-fact { padding: 22px; }
    .legal-body { font-size: 1rem; }
    .legal-sec { padding: 32px 0; }
}

/* Blog-Karten (Übersicht und „Weiterlesen“) */
.blog-list { padding: clamp(64px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.blog-count { margin-bottom: 22px; font-size: 0.875rem; color: var(--text-faint); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 52px) clamp(24px, 3vw, 36px); }
.post-card { position: relative; display: flex; flex-direction: column; }
.post-img {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface);
}
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.03); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 18px 0 10px; font-size: 0.8125rem; color: var(--text-faint); }
.post-cat,
.article-meta .post-cat { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-light); }
.post-meta .post-cat { flex-basis: 100%; }
.post-title { font-size: 1.25rem; line-height: 1.3; font-weight: 750; letter-spacing: -0.01em; color: var(--cloud-dancer); text-wrap: pretty; }
.post-link { color: inherit; text-decoration: none; transition: color 0.2s; }
.post-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
.post-card:hover .post-link { color: var(--accent-light); }
.post-link:focus-visible { outline: none; }
.post-link:focus-visible::after { outline: 2px solid var(--accent-light); outline-offset: 6px; }
.post-excerpt {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.sub-kc-hint { margin-top: clamp(64px, 7vw, 96px); }
.sub-kc-hint p { display: block; }
@media (max-width: 1000px) {
    .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .post-grid { grid-template-columns: 1fr; }
}

/* Blog-Übersicht als Liste mit kleinen Bildern, nach Jahren (Paket BL, Entwurf O2) */
.sub-blog .sub-head { padding: 128px 0 36px; }
.sub-blog .sub-head h1 { font-size: clamp(2.125rem, 4vw, 3rem); max-width: none; }
.sub-blog .sub-head .crumbs { margin-bottom: 18px; }
.sub-blog .sub-head .lead { margin-top: 12px; }
.sub-blog .blog-list { padding-top: clamp(48px, 5vw, 64px); }
.post-list { max-width: 1000px; }
.post-year {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 4px;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.post-year::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.post-rows + .post-year { margin-top: clamp(40px, 5vw, 56px); }
.post-rows { list-style: none; }
.post-rows > li + li { border-top: 1px solid var(--line); }
.post-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) 216px;
    gap: clamp(20px, 3vw, 40px);
    align-items: center;
    padding: 26px 0;
}
.post-row-date { display: flex; flex-direction: column; gap: 2px; align-self: start; padding-top: 3px; font-size: 0.875rem; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.post-row-date time { color: var(--text-body); font-weight: 700; }
.post-row-text { align-self: start; }
.post-row .post-cat { display: block; margin-bottom: 6px; }
.post-row .post-title { font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); line-height: 1.28; }
.post-row .post-excerpt { margin-top: 8px; -webkit-line-clamp: 2; }
.post-row .post-img { aspect-ratio: 16 / 10; border-radius: 14px; }
.post-row .post-link::after { inset: 8px -12px; border-radius: 16px; }
.post-row:hover .post-img img { transform: scale(1.04); }
@media (max-width: 760px) {
    .sub-blog .sub-head { padding-top: 104px; }
    .post-row { grid-template-columns: minmax(0, 1fr) 96px; gap: 6px 16px; padding: 20px 0; align-items: start; }
    .post-row-date { grid-column: 1 / -1; flex-direction: row; gap: 10px; padding: 0; font-size: 0.8125rem; }
    .post-row-date span::before { content: "·"; margin-right: 10px; }
    .post-row-text { grid-column: 1; grid-row: 2; }
    .post-row .post-img { grid-column: 2; grid-row: 2; aspect-ratio: 1; border-radius: 12px; margin-top: 4px; }
    .post-row .post-title { font-size: 1.0625rem; }
    .post-row .post-excerpt { font-size: 0.875rem; }
    .post-row .post-cat { font-size: 0.6875rem; }
    .post-row .post-link::after { inset: 4px -8px; }
}

/* Artikel */
.article-head,
.prose { width: min(100% - 2 * var(--gutter), 720px); margin-inline: auto; }
.article-head { padding: 148px 0 clamp(32px, 4vw, 44px); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 18px; font-size: 0.875rem; color: var(--text-faint); }
.article-head { width: min(100% - 2 * var(--gutter), 780px); }
.article-head h1 { font-size: clamp(2rem, 3.8vw, 2.875rem); line-height: 1.1; letter-spacing: -0.026em; }
.translation-note { margin-top: 16px; font-size: 0.875rem; font-style: italic; color: var(--text-faint); }
.prose { font-size: 1.125rem; line-height: 1.78; color: var(--text-body); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
    margin-top: 2.1em;
    font-size: clamp(1.5rem, 2.4vw, 1.875rem);
    line-height: 1.22;
    letter-spacing: -0.018em;
    text-wrap: balance;
    scroll-margin-top: 96px;
}
.prose h2 + * { margin-top: 0.7em; }
.prose h3 { margin-top: 1.8em; font-size: 1.25rem; }
.prose strong { color: var(--cloud-dancer); font-weight: 700; }
.prose a:not(.btn) { color: var(--cloud-dancer); text-decoration: underline; text-decoration-color: var(--accent-line); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s; }
.prose a:not(.btn):hover { color: var(--accent-light); text-decoration-color: var(--accent-light); }
.prose ul,
.prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--accent-light); }
.prose ol > li::marker { font-weight: 700; }
.prose blockquote { padding: 4px 0 4px 22px; border-left: 2px solid var(--primary-accent); color: var(--cloud-dancer); font-size: 1.1875rem; }
.prose figure img { border-radius: 18px; }
.prose figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--text-faint); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.prose th,
.prose td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { color: var(--cloud-dancer); font-weight: 700; border-bottom-color: var(--line-strong); }
.takeaway,
.praxis-box {
    position: relative;
    padding: 24px 28px 24px 32px;
    border-radius: 20px;
    border: 1px solid rgba(240, 238, 233, 0.1);
    background: linear-gradient(180deg, #2a2621 0%, #25211d 100%);
    font-size: 1.0625rem;
    line-height: 1.65;
}
.takeaway::before,
.praxis-box::before { content: ""; position: absolute; left: -1px; top: 24px; bottom: 24px; width: 3px; border-radius: 0 3px 3px 0; background: var(--primary-accent); }
.praxis-box { background: var(--accent-soft); border-color: var(--accent-line); }
.prose .takeaway,
.prose .praxis-box { margin-block: 1.8em; }
.prose .takeaway:first-child { margin-top: 0; }
.box-label {
    margin-bottom: 12px;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-light);
}
.sub-cta {
    margin-top: 2.6em;
    padding: clamp(24px, 3vw, 32px);
    border-radius: 24px;
    border: 1px dashed rgba(217, 119, 87, 0.42);
    background: rgba(217, 119, 87, 0.04);
}
.sub-cta-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-light);
}
.sub-cta-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary-accent); flex-shrink: 0; }
.sub-cta-title { color: var(--cloud-dancer); font-weight: 700; font-size: 1.1875rem; line-height: 1.4; }
.sub-cta-text { margin-top: 8px; color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
.sub-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.sub-cta-actions .btn { min-height: 46px; padding: 11px 22px; font-size: 0.9375rem; }
.sub-cta-actions span { font-size: 0.875rem; color: var(--text-faint); }
.author-box { display: flex; align-items: center; gap: 16px; margin-top: 2.4em; padding-top: 28px; border-top: 1px solid var(--line); }
.author-box img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box p { display: flex; flex-direction: column; line-height: 1.45; }
.author-box strong { font-size: 1rem; }
.author-box span { font-size: 0.875rem; color: var(--text-muted); }
.related { position: relative; margin-top: clamp(72px, 8vw, 112px); padding: clamp(64px, 7vw, 96px) 0 clamp(72px, 8vw, 104px); }
.related::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -28px;
    height: 56px;
    pointer-events: none;
    background: url(/assets/grafik/hoehenlinie.svg) center top / 1440px 56px repeat-x;
}
.related-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.related-head h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.read-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    height: 2px;
    width: 100%;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: var(--primary-accent);
    pointer-events: none;
}
@media (max-width: 768px) {
    .article-head { padding-top: 112px; }
}
@media (max-width: 620px) {
    .prose { font-size: 1.0625rem; line-height: 1.72; }
    .takeaway,
    .praxis-box { padding: 20px 20px 20px 24px; font-size: 1rem; }
    .sub-cta-actions .btn { width: 100%; }
}

/* Artikel mit Lesespalte, Inhaltsverzeichnis und Bild in der Spalte (Paket BL, Entwurf A4) */
.article-meta { margin-bottom: 14px; }
.article-meta .post-cat::after { content: "·"; margin-left: 12px; color: var(--text-faint); font-weight: 400; }
.article-head .crumbs { margin-bottom: 18px; }
.article-dek { margin-top: 18px; max-width: 60ch; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }
.article-byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 0.875rem; line-height: 1.4; }
.article-byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.article-byline > span { display: flex; flex-direction: column; }
.article-byline strong { color: var(--cloud-dancer); font-weight: 700; font-size: 0.9375rem; }
.article-byline > span > span { color: var(--text-muted); }
/* LinkedIn-Symbol bei Patrik (Autorenzeile, Team-Abschnitt): 20px Symbol, 40px Tippfläche */
.byline-li,
.person-li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    color: var(--text-muted);
    transition: color 0.2s;
}
.byline-li { margin: -10px 0 -10px -6px; }
.person-li { margin: -10px -10px -10px -4px; vertical-align: middle; }
.byline-li:hover, .byline-li:focus-visible,
.person-li:hover, .person-li:focus-visible { color: var(--accent-light); }
.article-fig {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface);
}
.article-fig img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.prose .article-fig { margin-block: 1.8em; }
.article-side,
.article-toc-m { display: none; }
@media (min-width: 1101px) {
    .article-head,
    .article-body {
        display: grid;
        grid-template-columns: 216px minmax(0, 720px);
        column-gap: 72px;
        width: min(100% - 2 * var(--gutter), 1008px);
        margin-inline: auto;
    }
    .article-head { padding: 124px 0 40px; }
    .article-head > * { grid-column: 2; }
    .article-head h1 { font-size: clamp(2.125rem, 3.2vw, 2.75rem); }
    .article-body .prose { width: auto; margin: 0; }
    .article-side {
        display: flex;
        flex-direction: column;
        gap: 22px;
        position: sticky;
        top: 104px;
        align-self: start;
        padding-top: 4px;
        font-size: 0.9375rem;
    }
}
.article-side-title { margin-bottom: 10px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.article-toc ol { list-style: none; border-left: 1px solid var(--line); }
.article-toc a {
    display: block;
    margin-left: -1px;
    padding: 6px 0 6px 14px;
    border-left: 2px solid transparent;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
}
.article-toc a:hover { color: #fff; }
.article-toc a[aria-current="true"] { color: var(--cloud-dancer); border-left-color: var(--primary-accent); }
.article-side-meta { padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.8125rem; line-height: 1.6; color: var(--text-faint); }
.article-side-kc { display: inline-flex; align-items: center; gap: 8px; color: var(--cloud-dancer); font-weight: 700; font-size: 0.875rem; text-decoration: none; }
.article-side-kc:hover { color: var(--accent-light); }
.article-side-back { color: var(--text-muted); font-size: 0.875rem; text-decoration: none; }
.article-side-back:hover { color: var(--accent-light); }
.article-side-back::before { content: "← "; }
.article-toc-m { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); font-size: 0.9375rem; }
.article-toc-m summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 18px; cursor: pointer; list-style: none; font-weight: 700; color: var(--cloud-dancer); }
.article-toc-m summary::-webkit-details-marker { display: none; }
.article-toc-m summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--accent-light); border-bottom: 2px solid var(--accent-light); transform: rotate(45deg) translateY(-2px); transition: transform 0.2s; }
.article-toc-m[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.article-toc-m ol { margin: 0; padding: 0 18px 14px 36px; }
.article-toc-m li + li { margin-top: 0.35em; }
.prose .article-toc-m a { color: var(--text-body); text-decoration: none; }
.prose .article-toc-m + * { margin-top: 1.4em; }
/* KI-Check am Artikelende dezent: Linie statt gestricheltem Kasten */
.article-cta { padding: 28px 0 0; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; background: none; }
.article-cta .btn-primary { background: transparent; color: var(--cloud-dancer); border: 1px solid var(--accent-line); box-shadow: none; }
.article-cta .btn-primary:hover { background: var(--accent-soft); border-color: var(--accent-light); transform: none; }
.article .author-box { margin-top: 2em; }
/* „Weiterlesen“ als ruhige Liste mit kleinen Bildern */
.related .post-grid { gap: 0 clamp(24px, 3vw, 36px); }
.related .post-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; }
.related .post-img { aspect-ratio: 1; border-radius: 14px; }
.related .post-meta { margin: 0 0 6px; }
.related .post-title { font-size: 1.0625rem; }
.related .post-excerpt { display: none; }
@media (max-width: 1100px) {
    .article-head { padding-top: 116px; }
    .article-toc-m { display: block; }
}
@media (max-width: 1000px) {
    .related .post-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 768px) {
    .article-head { padding-top: 100px; }
}
@media (max-width: 620px) {
    .article-meta .post-cat { flex-basis: 100%; }
    .article-meta .post-cat::after { content: none; }
    .article-head h1 { font-size: 1.75rem; }
    .article-dek { font-size: 1rem; margin-top: 14px; }
    .article-byline { margin-top: 16px; }
}

/* Fehlerseite 404 */
.sub-404 { display: grid; align-items: center; min-height: min(86svh, 820px); padding: 152px 0 clamp(72px, 9vw, 120px); }
.sub-404 .lead { margin-top: 20px; }
.sub-404-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.sub-404-label { margin-top: 44px; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.sub-404-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.sub-404-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.sub-404-links a:hover { color: #fff; border-color: var(--accent-line); }
@media (max-width: 768px) {
    .sub-404 { padding-top: 116px; min-height: 0; }
}
@media (max-width: 480px) {
    .sub-404-actions { flex-direction: column; }
    .sub-404-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .post-img img { transition: none; }
    .post-card:hover .post-img img { transform: none; }
    .read-progress { display: none; }
}
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------------------------------------------------------------------
   19. Fußzeile: LinkedIn-, Instagram- und Facebook-Symbol neben den Rechtstexten (Paket S, BL2, FB)
   --------------------------------------------------------------------- */
.footer-end { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: -10px -10px -10px 0;
    border-radius: 50%;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-social:hover,
.footer-social:focus-visible { color: var(--accent-light); }
/* Social-Symbole als Gruppe (LinkedIn, Instagram, Facebook): bleiben beim Umbruch zusammen */
.footer-socials { display: inline-flex; align-items: center; margin: -10px -10px -10px 0; }
.footer-socials .footer-social { margin: 0; }

/* ---------------------------------------------------------------------
   20. Leistungsseiten (Paket SEO1): xx/ki-beratung usw. Seitenkopf wie die
   Unterseiten, Lesetext (.prose), Ablauf und FAQ wie die Startseite.
   Dazu die Leistungs-Links in der Fußzeile aller Seiten.
   --------------------------------------------------------------------- */
.svc-head h1 { max-width: 24ch; font-size: clamp(2.25rem, 4.4vw, 3.375rem); }
/* Abschnittsnummern (01, 02 …) gehören zur Startseite, hier nur Linie + Bezeichnung */
.sub-service main > .sec .eyebrow::before { display: none; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.svc { padding: clamp(56px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); }
.prose .svc-cases { list-style: none; padding: 0; display: grid; gap: 12px; margin-block: 1.4em 0.4em; }
.prose .svc-cases li + li { margin-top: 0; }
.svc-cases li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px 28px;
    padding: 20px 24px;
    border-radius: 18px;
    border: 1px solid rgba(240, 238, 233, 0.1);
    background: linear-gradient(180deg, #2a2621 0%, #25211d 100%);
    font-size: 1rem;
    line-height: 1.6;
}
.svc-cases p { margin: 0; }
.svc-cases span {
    display: block;
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
}
.svc-case-from { color: var(--text-muted); }
.svc-case-to { color: var(--cloud-dancer); }
.svc-case-to span { color: var(--accent-light); }
.svc-cta-wrap .svc-cta { max-width: 860px; margin: clamp(24px, 4vw, 48px) auto 0; }
.svc-more { margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.svc-more-title {
    margin-bottom: 14px;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.svc-more-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-more-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.svc-more-links a:hover { color: #fff; border-color: var(--accent-line); }
@media (max-width: 620px) {
    .svc-cases li { grid-template-columns: 1fr; padding: 18px 20px; }
    .svc-actions .btn { width: 100%; }
}

/* Leistungen in der Fußzeile (eigene Zeile über Marke und Rechtstexten) */
.footer-services {
    flex: 0 0 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.footer-services a { color: var(--text-muted); text-decoration: none; font-size: 0.9375rem; transition: color 0.2s; }
.footer-services a:hover,
.footer-services a[aria-current="page"] { color: var(--accent-light); }
@media (max-width: 620px) {
    .footer-services { flex-basis: auto; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; }
    .footer-services a { display: inline-flex; align-items: center; min-height: 36px; }
}

/* ---------------------------------------------------------------------
   21. Einwilligung (Paket TR1): Banner „Cookies und Werbemessung“ aus
   /assets/consent.js und Footer-Link „Cookie-Einstellungen“.
   Fest unten (kein Layout-Sprung, keine Cookie-Wall: die Seite bleibt
   bedienbar), über dem KI-Check-Fenster (.kc, z-index 20000).
   „Alle akzeptieren“ und „Nur notwendige“ sehen bewusst gleich aus (Garante).
   --------------------------------------------------------------------- */
.cc {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 20010;
    width: calc(100% - 24px);
    max-width: 1200px;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    margin-inline: auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: var(--radius);
    border: 1px solid var(--line-strong);
    background: #2a2621;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    color: var(--text-body);
    font-family: var(--font);
}
.cc-box { position: relative; padding: 14px 14px 8px; }
.cc-x {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(240, 238, 233, 0.08);
    color: var(--cloud-dancer);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.cc-x:hover { background: rgba(240, 238, 233, 0.16); border-color: rgba(240, 238, 233, 0.45); }
.cc-title {
    padding-right: 44px;
    margin-bottom: 2px;
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0;
    color: var(--cloud-dancer);
}
.cc-title:focus { outline: none; }
.cc-title:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }
.cc-text { font-size: 0.8125rem; line-height: 1.45; }
@media (min-width: 900px) { .cc-title { font-size: 1.0625rem; } .cc-text { font-size: 0.9375rem; line-height: 1.55; } }
.cc-text a { color: var(--accent-light); text-underline-offset: 3px; }
.cc-text a:hover { color: var(--cloud-dancer); }
.cc-prefs { display: grid; gap: 10px; margin-top: 14px; }
.cc-cat { padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(240, 238, 233, 0.03); }
.cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
label.cc-cat-head { cursor: pointer; }
.cc-cat-name { font-size: 0.9375rem; font-weight: 700; line-height: 1.35; color: var(--cloud-dancer); }
.cc-always { font-size: 0.8125rem; color: var(--text-faint); white-space: nowrap; }
.cc-cat-desc { margin-top: 4px; font-size: 0.875rem; line-height: 1.5; color: var(--text-muted); }
.cc-switch {
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    position: relative;
    width: 46px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(240, 238, 233, 0.16);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.cc-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cloud-dancer);
    transition: transform 0.2s var(--ease);
}
.cc-switch:checked { background: var(--primary-accent); border-color: var(--primary-accent); }
.cc-switch:checked::after { transform: translateX(18px); background: #fff; }
.cc-switch:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.cc-btn {
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(217, 119, 87, 0.65); /* oranger Rahmen wie die KI-Check-Pille im Header; alle Knöpfe gleich (Garante) */
    background: rgba(240, 238, 233, 0.08);
    color: var(--cloud-dancer);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cc-btn:hover { background: var(--accent-soft); border-color: var(--primary-accent); color: #fff; }
.cc-btn:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-color: var(--primary-accent); }
.cc-btn[data-cc="save"] { grid-column: 1 / -1; }
.cc-more {
    grid-column: 1 / -1;
    justify-self: center;
    min-height: 34px;
    padding: 4px 12px;
    border: 0;
    background: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.cc-more:hover { color: var(--accent-light); }
/* Fußzeile: dritter Rechtslink „Cookie-Einstellungen“ darf umbrechen */
.footer-links { flex-wrap: wrap; row-gap: 8px; }
/* ab 900 px: flache Leiste unten wie die Kopfleiste (Text links, Knöpfe rechts), deckt den Hero nicht ab */
@media (min-width: 900px) {
    .cc { bottom: 16px; width: calc(100% - 2 * var(--gutter)); }
    .cc-more { min-height: 40px; padding: 6px 12px; font-size: 0.9375rem; }
    .cc-box {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "title actions" "text actions" "prefs prefs";
        column-gap: 32px;
        align-items: center;
        padding: 18px 68px 18px 26px;
    }
    .cc-title { grid-area: title; padding-right: 0; align-self: end; }
    .cc-text { grid-area: text; align-self: start; }
    .cc-prefs { grid-area: prefs; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
    .cc-actions { grid-area: actions; display: flex; align-items: center; gap: 10px; margin-top: 0; }
    .cc-btn { min-width: 168px; padding: 10px 22px; font-size: 0.9375rem; min-height: 46px; }
    .cc-more { order: 3; }
    .cc-x { top: 50%; right: 14px; margin-top: -20px; }
    /* Einstellungen offen: alles untereinander, Knöpfe unten rechts */
    .cc--prefs .cc-box { grid-template-areas: "title title" "text text" "prefs prefs" "actions actions"; }
    .cc--prefs .cc-title { padding-right: 44px; }
    .cc--prefs .cc-x { top: 14px; margin-top: 0; }
    .cc--prefs .cc-actions { justify-content: flex-end; margin-top: 14px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
    .cc-btn { min-width: 0; padding: 10px 18px; }
}
@media print {
    .cc { display: none; }
}

/* ---------------------------------------------------------------------
   22. Landingpage „Kostenloser Security-Report“ (Paket SEC3): /de/security-report
   Zuerst fürs Handy: Überschrift, dann gleich das Formular (helle Karte
   wie der KI-Check), dann „Was im Report steht“. Ab 960 px zwei Spalten,
   Karte rechts. Skript: assets/security-report.js.
   --------------------------------------------------------------------- */
.sr-hero { padding: 132px 0 clamp(56px, 7vw, 96px); }
.sr-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "card" "inside";
    gap: 32px;
    align-items: start;
}
.sr-intro { grid-area: intro; }
.sr-card { grid-area: card; }
.sr-inside { grid-area: inside; }
.sr-intro h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--cloud-dancer);
    text-wrap: balance;
}
.sr-intro .lead { margin-top: 18px; }

/* Karte mit Formular (hell, wie das KI-Check-Fenster) */
.sr-card {
    --sr-ink: #1f1c18;
    --sr-muted: #5e564c;
    --sr-line: rgba(31, 28, 24, 0.14);
    --sr-line-strong: rgba(31, 28, 24, 0.28);
    --sr-accent-text: #9a4226;
    --sr-error: #a3261b;
    padding: clamp(20px, 4vw, 32px);
    border-radius: var(--radius-lg);
    background: var(--cloud-dancer);
    color: var(--sr-ink);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    scroll-margin-top: 96px;
}
.sr-card-head { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--sr-line); }
.sr-cover {
    flex: 0 0 auto;
    width: 92px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(31, 28, 24, 0.28);
    transform: rotate(-3deg);
}
.sr-kicker {
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sr-accent-text);
}
.sr-form-title { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; color: var(--sr-ink); }
.sr-field + .sr-field { margin-top: 16px; }
.sr-label { display: block; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 700; color: var(--sr-ink); }
.sr-req { color: var(--sr-accent-text); }
.sr-input {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    border-radius: 14px;
    background: #fff;
    color: var(--sr-ink);
    border: 1px solid var(--sr-line-strong);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.sr-input:focus { outline: none; border-color: var(--sr-ink); box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.35); }
.sr-field.has-error .sr-input { border-color: var(--sr-error); }
.sr-hint { margin-top: 6px; font-size: 0.875rem; color: var(--sr-muted); }
.sr-field-error,
.sr-error { margin-top: 6px; font-size: 0.9375rem; font-weight: 700; color: var(--sr-error); }
.sr-error { margin-top: 14px; }
.sr-error a,
.sr-notice a,
.sr-privacy a,
.sr-done a { color: var(--sr-accent-text); text-decoration: underline; text-underline-offset: 2px; }
.sr-honey { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sr-check {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--sr-line);
    background: rgba(255, 255, 255, 0.55);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.45;
    cursor: pointer;
}
.sr-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--primary-accent); cursor: pointer; }
.sr-check input:focus-visible { outline: 2px solid var(--sr-accent-text); outline-offset: 3px; }
.sr-check small { display: block; margin-top: 3px; font-size: 0.8125rem; font-weight: 600; color: var(--sr-muted); }
.sr-submit { width: 100%; margin-top: 20px; min-height: 56px; }
.sr-submit[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.sr-submit[aria-busy="true"] svg { display: none; }
.sr-privacy { margin-top: 14px; font-size: 0.8125rem; line-height: 1.55; color: var(--sr-muted); }
.sr-notice {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-accent);
    background: #f6e3da;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
}
.sr-done p { margin-top: 12px; font-size: 1rem; line-height: 1.6; color: #3d372f; }
.sr-done-title { font-size: clamp(1.375rem, 2.6vw, 1.75rem); line-height: 1.2; font-weight: 800; color: var(--sr-ink); }
.sr-done-title:focus { outline: none; }
.sr-done-title::before {
    content: "";
    display: block;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--primary-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1815' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.sr-done .sr-download-wrap { margin-top: 20px; }
.sr-done a.sr-download { width: 100%; min-height: 56px; color: var(--on-accent); text-decoration: none; }
.sr-done a.sr-download:hover svg { transform: translateY(2px); }
.sr-done .sr-done-small { margin-top: 12px; font-size: 0.875rem; color: var(--sr-muted); }
/* Nur Vorschau/lokal: Trockenlauf-Hinweis */
.sr-dry {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px dashed var(--sr-line-strong);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--sr-muted);
    overflow-wrap: anywhere;
}
.sr-dry a { color: var(--sr-accent-text); }

/* Was im Report steht */
.sr-inside-title {
    margin-bottom: 14px;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.sr-points { list-style: none; display: grid; gap: 12px; }
.sr-points li {
    position: relative;
    padding: 16px 18px 16px 48px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #2a2621 0%, #25211d 100%);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text-muted);
}
.sr-points li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 21px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: var(--primary-accent);
}
.sr-points strong { display: block; color: var(--cloud-dancer); }

/* Warum jetzt / Wer den Report schreibt */
.sr-more { padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 9vw, 112px); border-top: 1px solid var(--line); }
.sr-more-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.sr-more h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.25; font-weight: 800; color: var(--cloud-dancer); }
.sr-facts { list-style: none; margin-top: 18px; display: grid; gap: 14px; }
.sr-facts li { padding-left: 18px; border-left: 2px solid var(--accent-line); font-size: 1rem; line-height: 1.6; color: var(--text-body); }
.sr-facts a { display: inline-block; margin-top: 2px; font-size: 0.875rem; color: var(--text-faint); }
.sr-facts a:hover { color: var(--accent-light); }
.sr-about p { margin-top: 16px; font-size: 1.0625rem; line-height: 1.65; color: var(--text-body); }
.sr-about-cta { margin-top: 24px; }

@media (min-width: 960px) {
    .sr-hero { padding-top: 152px; }
    .sr-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        grid-template-areas: "intro card" "inside card";
        column-gap: clamp(40px, 6vw, 88px);
        row-gap: 40px;
    }
    .sr-cover { width: 112px; }
    .sr-more-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(40px, 6vw, 88px); }
}
@media (max-width: 480px) {
    .sr-hero { padding-top: 104px; }
    .sr-intro h1 { font-size: 2.125rem; }
    .sr-intro .lead { margin-top: 14px; font-size: 1.0625rem; }
    .sr-grid { gap: 24px; }
    .sr-card { margin-inline: -6px; }
    .sr-cover { width: 76px; }
}
@media (prefers-reduced-motion: reduce) {
    .sr-cover { transform: none; }
}
/* Sprungziele innerhalb der Rechtstexte (z. B. #security-report) nicht unter der Kopfleiste */
.legal-sec h3[id] { scroll-margin-top: 96px; }
