/* =========================================================================
   yoTech24 – Design-System (hell/modern, Marken-Navy + Stahlblau-Akzent)
   Vanilla CSS, keine Frameworks, kein CDN. Deutsche Kommentare.
   Farb-Tokens geteilt mit der Akademie (akademie/static/css/*.css).
   ========================================================================= */

:root {
    /* Basis / Flächen */
    --color-bg:      #ffffff;   /* Basis, ~60% Fläche */
    --color-surface: #f5f7fa;   /* leichte Abschnitts-Trennung */
    --line:          #e5edf2;   /* Rahmen/Trenner (neutral) */

    /* Marke – dunkle Flächen */
    --color-primary:   #102a43; /* Dunkelblau – Hero/Footer/dunkle Sektionen, ~40% */
    --color-primary-2: #1b3a5b; /* helleres Navy – Karten/Abstufung auf Dunkelband */

    /* Text */
    --color-text:         #0f1e2e; /* Fließtext/Überschriften auf hell */
    --color-text-muted:   #475569; /* gedämpft auf hell */
    --color-text-on-dark: #f5f7fa; /* Text auf Dunkelblau */

    /* Akzent (Zweifarb-Verlauf Hellblau -> Dunkelblau) */
    --accent-light:    #38bdf8;  /* Verlauf-Start (hell) */
    --accent-dark:     #1e40af;  /* Verlauf-Ende (dunkel) */
    --accent-gradient: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-dark) 100%);
    --accent:          #2563eb;  /* solider Fallback: Text-Links, Rahmen, Focus-Ringe, Icons, kleine Elemente */
    --accent-hover:    #1d4ed8;
    --color-on-accent: #ffffff;  /* Text/Icons auf Akzent-Flächen */

    /* Form */
    --radius:   14px;
    --radius-lg:22px;
    --shadow:   0 1px 2px rgba(15,30,46,.06), 0 8px 24px rgba(15,30,46,.06);
    --shadow-lg:0 12px 40px rgba(37,99,235,.18);
    --container:1200px;

    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: "Cascadia Code", "Fira Code", "Consolas", monospace;
}

/* ---------- Reset / Basis ------------------------------------------------ */
* {
    box-sizing: border-box; margin: 0; padding: 0;
    /* Verhindert den eckigen Tap-Highlight-Rahmen von Mobil-Browsern beim
       Antippen von Buttons/Links – Fokus-Sichtbarkeit bleibt über
       :focus-visible unten erhalten. */
    -webkit-tap-highlight-color: transparent;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
    /* border-radius bewusst nicht überschrieben – der Outline folgt in modernen
       Browsern automatisch dem tatsächlichen Radius des Elements (Pille, Karte, ...) */
    outline: 2px solid var(--accent); outline-offset: 2px;
}
body {
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }

/* Einfacher Kopierschutz: kein Ziehen/Speichern von Bildern per Drag,
   kein Markieren von Fließtext. Formularfelder bleiben bewusst ausgenommen,
   sonst lässt sich dort nichts eingeben/markieren. Kein Ersatz für echten
   Schutz (Ansicht bleibt über Entwicklertools immer möglich). */
img, svg { -webkit-user-drag: none; user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none; }
body {
    -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}
input, textarea, select, [contenteditable], code, pre {
    -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text;
}
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { color: var(--color-text); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--color-surface); }
.section__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; }
.section__head p { color: var(--color-text-muted); font-size: 1.1rem; }

.eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--color-primary);
    background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.28);
    padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: 1rem; padding: 13px 26px;
    border-radius: 999px; border: none; cursor: pointer;
    background-clip: padding-box;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent-gradient); color: var(--color-on-accent); box-shadow: 0 8px 22px rgba(37,99,235,.32); }
.btn--primary:hover { color: var(--color-on-accent); box-shadow: 0 12px 30px rgba(37,99,235,.42); }
.btn--ghost { background: #fff; color: var(--color-text); border: 1px solid var(--line); box-shadow: var(--shadow); }
.btn--ghost:hover { color: var(--color-primary); border-color: rgba(37,99,235,.35); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn--light:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ---------- Navigation --------------------------------------------------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--color-text); font-size: 1.15rem; }
.nav__logo img { height: 38px; width: auto; }
.nav__logo span b { color: var(--accent); } /* Logo-Schriftzug: WCAG-Ausnahme für Markenlogos */
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links a {
    color: var(--color-text); font-weight: 500; font-size: .92rem; white-space: nowrap;
    padding: 8px 12px; border-radius: 10px;
    transition: background .15s ease, color .15s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--color-text); background: var(--color-surface); }
.nav__links .btn { margin-left: 6px; padding: 9px 16px; font-size: .92rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }

/* Flyout-Menü (z.B. "Akademie" mit Unterpunkten Themen/Leitfaden/KI-News) */
.nav__item--dropdown { position: relative; }
.nav__dropdown {
    display: none; position: absolute; top: 100%; left: 0; margin-top: 4px;
    list-style: none; min-width: 220px; padding: 6px; z-index: 50;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
}
.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown { display: block; }
.nav__dropdown a {
    display: block; padding: 9px 12px; border-radius: 8px;
    color: var(--color-text); font-weight: 500; font-size: .92rem; white-space: nowrap;
}
.nav__dropdown a:hover, .nav__dropdown a.is-active { background: var(--color-surface); }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero --------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; background: var(--color-surface); }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(60% 60% at 85% -10%, rgba(37,99,235,.14), transparent 60%),
        radial-gradient(50% 50% at 10% 10%, rgba(16,42,67,.10), transparent 60%);
    pointer-events: none;
}
.hero__inner { position: relative; max-width: 860px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.hero h1 b { background: var(--accent-gradient); background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.22rem; color: var(--color-text); max-width: 640px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; color: var(--color-text-muted); font-size: .96rem; }
.hero__meta b { color: var(--color-text); }

/* ---------- Karten-Grid -------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 30px; box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,.35); }
.card__icon {
    width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
    background: var(--accent); color: var(--color-on-accent); font-size: 1.5rem; margin-bottom: 18px;
}
.card__media { margin: -30px -30px 20px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16/10; background: var(--color-surface); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--color-text-muted); font-size: 1rem; }
.card ul { list-style: none; margin-top: 14px; }
.card ul li { position: relative; padding-left: 26px; margin-bottom: 9px; color: var(--color-text); }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ---------- Dunkelband (ITMS / Highlight) -------------------------------- */
.band { background: var(--color-primary); color: var(--color-text-on-dark); position: relative; overflow: hidden; }
.band::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(60% 80% at 90% 10%, rgba(37,99,235,.22), transparent 60%);
    pointer-events: none;
}
.band .container { position: relative; }
.band h2, .band h3 { color: var(--color-text-on-dark); }
.band .eyebrow { background: rgba(56,189,248,.15); color: var(--accent-light); border-color: rgba(56,189,248,.3); }
.band__split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.band__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 20px; }
.feat b { color: var(--color-text-on-dark); display: block; margin-bottom: 5px; }
.feat span { font-size: .94rem; color: rgba(245,247,250,.68); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.chip { font-family: var(--mono); font-size: .82rem; color: var(--accent-light); background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.28); padding: 6px 12px; border-radius: 8px; }

/* ---------- Akademie-Teaser -------------------------------------------- */
.promo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.promo__media {
    border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
    box-shadow: var(--shadow-lg); background: var(--accent-gradient); aspect-ratio: 16/10;
    display: grid; place-items: center; color: var(--color-on-accent); text-align: center; padding: 30px;
}
.promo__media .big { font-size: 3.4rem; margin-bottom: 8px; }
.promo ul { list-style: none; margin: 18px 0 26px; }
.promo ul li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.promo ul li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ---------- Blog --------------------------------------------------------- */
.post {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post__body { padding: 22px 26px 26px; }
.post__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post__icon { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; flex-shrink: 0; background: var(--color-surface); }
.post__tag { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-primary); }
.post h3 { font-size: 1.2rem; margin: 8px 0 10px; }
.post p { color: var(--color-text-muted); font-size: .98rem; }

/* Blog-Detailartikel (blog.html) */
.article { max-width: 820px; margin: 0 auto; }
.article + .article { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.article h2 { font-size: 1.7rem; margin-bottom: 16px; }
.article h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.article p { margin-bottom: 14px; }
.article ul { margin: 12px 0 16px 4px; list-style: none; }
.article ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.article ul li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .96rem; }
.article th, .article td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--color-surface); color: var(--color-text); }
.callout { background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.28); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 20px; margin: 18px 0; }
.ki-hinweis { font-size: .85rem; color: var(--color-text-muted); margin: -4px 0 16px; }

/* Kategorie-Filter über der Blog-Übersicht – nutzt dieselben .btn-Varianten
   wie "Aktuelles"/"Kontakt" im Hauptmenü, nur kompakter */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 36px; }
.filter-bar .filter-btn { padding: 9px 20px; font-size: .92rem; }

.suche-input {
    width: 100%; max-width: 420px; margin: 0 0 20px;
    font: inherit; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff; color: var(--color-text);
}
.suche-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.post.is-hidden { display: none; }

/* Audio-Player innerhalb eines Blog-Artikels (KI-News-Beiträge) */
.article .listen {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    background: var(--color-surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 14px 18px; margin: 18px 0;
}
.article .listen__label { font-weight: 700; font-size: .92rem; white-space: nowrap; }
.article .listen audio { flex: 1; min-width: 220px; }

/* ---------- Leistungen (Detailseite) ------------------------------------- */
.service { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.service + .service { margin-top: 22px; }
.service__ico { width: 64px; height: 64px; border-radius: 15px; display: grid; place-items: center; background: var(--accent); color: var(--color-on-accent); font-size: 1.8rem; }
.service h3 { font-size: 1.35rem; margin-bottom: 8px; }
.service .lead { color: var(--color-text); font-weight: 600; margin-bottom: 12px; }
.service ul { list-style: none; margin-top: 12px; }
.service ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.service ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.service ul li b { color: var(--color-text); }

/* ---------- Kontakt-CTA -------------------------------------------------- */
.cta { text-align: center; }
.cta .card { max-width: 720px; margin: 0 auto; padding: 46px 40px; }
.contact-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 24px; color: var(--color-text); }
.contact-info a { font-weight: 600; }

.contact-form { text-align: left; max-width: 520px; margin: 28px auto 0; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: .88rem; font-weight: 600; color: var(--color-text); }
.form-field input, .form-field textarea {
    font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
    background: #fff; color: var(--color-text); resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.form-consent { font-size: .84rem; color: var(--color-text-muted); }
.contact-form .btn { align-self: flex-start; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.form-status { max-width: 520px; margin: 0 auto 20px; padding: 14px 18px; border-radius: 10px; font-size: .95rem; text-align: left; }
.form-status--ok { background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.28); color: var(--color-primary); }
.form-status--error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Partnerlogos -------------------------------------------------- */
.card__logo { display: flex; align-items: center; justify-content: center; height: 80px; margin-bottom: 18px; }
.card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------- Portrait (Über mich) ----------------------------------------- */
.portrait { border-radius: 50%; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); aspect-ratio: 1/1; max-width: 340px; margin: 0 auto; background: var(--color-surface); }
.portrait img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------- Rechtstexte -------------------------------------------------- */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 1.3rem; margin: 28px 0 10px; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 10px 0 14px 20px; }
.legal address { font-style: normal; line-height: 1.9; }

/* ---------- Footer ------------------------------------------------------- */
.footer { background: var(--color-primary); color: rgba(245,247,250,.68); padding: 60px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__logo { display: flex; align-items: center; gap: 10px; color: var(--color-text-on-dark); font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; }
.footer__logo img { height: 34px; filter: brightness(0) invert(1); opacity: .95; }
.footer p { font-size: .95rem; max-width: 340px; }
.footer h4 { color: var(--color-text-on-dark); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; }
.footer a { color: rgba(245,247,250,.68); }
.footer a:hover { color: var(--accent-light); } /* helles Verlauf-Ende: AA-Kontrast auf Dunkelblau */
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: .88rem; text-align: center; }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 900px) {
    .grid--2, .grid--3, .band__split, .promo, .footer__grid { grid-template-columns: 1fr; }
    .band__split, .promo { gap: 34px; }
    .section { padding: 60px 0; }
    .hero { padding: 68px 0 60px; }
}

/* Eigener Breakpoint fürs Nav: 9 Menüpunkte brauchen mehr Raum als 900px hergeben */
@media (max-width: 1199px) {
    .nav__links {
        position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
        background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 4px;
        box-shadow: var(--shadow-lg); display: none;
    }
    .nav__links.is-open { display: flex; }
    .nav__links .btn { margin: 8px 0 0; justify-content: center; }
    .nav__toggle { display: block; }
    .nav__lang { margin: 10px 0 0; align-self: flex-start; }

    /* Im mobilen Menü ist genug Platz – Flyout einfach dauerhaft ausgeklappt */
    .nav__dropdown {
        display: block; position: static; margin-top: 2px; margin-bottom: 4px;
        border: 0; box-shadow: none; padding-left: 12px; background: none;
    }
}
@media (max-width: 560px) {
    .band__feats { grid-template-columns: 1fr; }
    .service { grid-template-columns: 1fr; }
    body { font-size: 16px; }
}

/* ---------- SVG-Icons (ersetzen Emojis) ---------------------------------- */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.card__icon .ico { width: 26px; height: 26px; }
.service__ico .ico { width: 30px; height: 30px; }
.feat__ico { color: var(--accent-light); margin-bottom: 12px; } /* helles Verlauf-Ende: AA-Kontrast auf Dunkelblau */
.feat__ico .ico { width: 26px; height: 26px; }
.promo__media .ico { width: 68px; height: 68px; stroke-width: 1.6; margin: 0 auto 10px; }

/* ---------- Sprachumschalter --------------------------------------------- */
.nav__lang { display: inline-flex; align-items: center; gap: 2px; margin-left: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.nav__lang a { padding: 5px 11px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--color-text-muted); }
.nav__lang a:hover { color: var(--color-text); }
.nav__lang a.is-active { background: rgba(37,99,235,.08); color: var(--color-primary); }

/* ---------- Zielgruppen-Tabs / Audience-Bänder (ITMS) -------------------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience .card { padding: 34px; }
.audience .card h3 { font-size: 1.35rem; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-primary); background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.25); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
@media (max-width: 900px) { .audience { grid-template-columns: 1fr; } }

/* ---------- Selbsteinschätzung IT-Sicherheit ------------------------------ */
.assess-progress { margin-bottom: 22px; }
.assess-progress__label { display: flex; justify-content: space-between; font-size: .85rem; color: var(--color-text-muted); margin-bottom: 8px; }
.assess-progress__track { height: 8px; background: var(--color-surface); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.assess-progress__bar { height: 100%; background: var(--accent-gradient); border-radius: 999px; transition: width .25s ease; }

.assess-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 32px; text-align: left; }
.assess-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.assess-area { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--color-primary); background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.25); padding: 4px 11px; border-radius: 999px; margin-bottom: 14px; }

.assess-options { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.assess-option {
    flex: 1 1 140px; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line);
    background: #fff; color: var(--color-text); font-weight: 700; font-size: 1rem; font-family: inherit;
    cursor: pointer; transition: .15s;
}
.assess-option:hover { border-color: rgba(37,99,235,.3); color: var(--color-primary); background: rgba(37,99,235,.08); }

.assess-back { display: inline-block; margin-top: 18px; font-size: .9rem; color: var(--color-text-muted); cursor: pointer; background: none; border: 0; font-family: inherit; padding: 0; }
.assess-back:hover { color: var(--color-primary); }
@media (max-width: 560px) { .assess-options { flex-direction: column; } }

.assess-result__score { text-align: center; padding: 30px 20px; border-radius: var(--radius-lg); margin-bottom: 26px; border: 1px solid var(--line); }
.assess-result__pct { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; }
.assess-result__label { display: block; margin-top: 8px; font-weight: 700; }

.assess-areas { display: flex; flex-direction: column; gap: 14px; }
.assess-area-row { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-align: left; }
.assess-area-row__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.assess-area-row__head b { color: var(--color-text); }
.assess-badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.assess-reco { margin-top: 10px; font-size: .94rem; color: var(--color-text); }
.assess-reco a { font-weight: 600; }
.assess-restart { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Status-Farben (Ampel) – bewusst unabhängig vom Marken-Akzent, damit
   „gut/warnung/schlecht" nicht mit dem Stahlblau-Akzent verwechselt wird. */
.assess-status--good, .assess-badge--good { color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; }
.assess-status--warn, .assess-badge--warn { color: #b45309; background: #fffbeb; border: 1px solid #fde68a; }
.assess-status--bad, .assess-badge--bad { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }
