/* ============================================================
   Portfolio Elisabeth Zuyeva — Seiten-Stile
   Baut auf der Corporate Identity auf (css/EZ_Design_Tokens.css und
   css/EZ_Web_Styles.css werden vorher geladen). Farben, Schriften,
   Abstände und Radien kommen ausschließlich aus den EZ-Tokens.
   Gold ist ein Akzent (Linien, Flächen, große Titel), keine kleine Textfarbe.
   ============================================================ */

/* Schriften Manrope (Überschriften) und Inter (Fließtext) — lokal eingebunden
   (DSGVO-freundlich, variable Schriften, SIL Open Font License) */
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Akzentfarben der Seite. Smart-Archive-Seiten tauschen sie gegen die Produktmarke. */
:root {
    --akzent: var(--ez-gold);                    /* Linien, Punkte, große Titel */
    --akzent-text: var(--ez-navy);               /* kleine Akzenttexte (Gold wäre zu kontrastarm) */
    --akzent-stark: var(--ez-navy);              /* gefüllte Marken mit weißer Schrift */
    --akzent-rand: rgb(168 135 71 / .45);
    --akzent-flaeche: rgb(168 135 71 / .08);
    --kopf-hoehe: 88px;                          /* Höhe der festen Kopfzeile für Anker-Sprünge */
}

@media (min-width: 992px) {
    :root { --kopf-hoehe: 104px; }
}

.smartarchive-seite,
.smartarchive-projekt {
    --akzent: var(--smart-archive-blue);
    --akzent-text: var(--smart-archive-action);
    --akzent-stark: var(--smart-archive-action);
    --akzent-rand: rgb(50 130 246 / .4);
    --akzent-flaeche: rgb(50 130 246 / .07);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--kopf-hoehe);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

/* Bootstrap-Vorgaben an die Marke angleichen */
.ez-ui :is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--font-heading);
    color: inherit;
}

.ez-ui a {
    color: inherit;
}

h1:focus {
    outline: none;
}

.ez-ui ::selection {
    background: var(--smart-archive-soft-blue);
    color: var(--ez-navy);
}

.ez-ui :is(a, button, summary, input, textarea, select, label):focus-visible {
    outline: var(--ez-focus-width) solid var(--ez-focus);
    outline-offset: var(--ez-focus-offset);
    border-radius: 2px;
}

/* Kleine Variante des EZ-Buttons für Kopfzeilen */
.ez-ui .ez-button--klein {
    min-height: 40px;
    padding: .5rem 1rem;
    font-size: var(--ez-text-sm);
}

.ez-ui .ez-button .pfeil-rechts {
    transition: transform var(--ez-transition-duration) var(--ez-transition-easing);
}

.ez-ui .ez-button:hover .pfeil-rechts {
    transform: translateX(3px);
}

/* ---------- Marke (Logo) ---------- */

.marke {
    display: inline-flex;
    flex: 0 0 auto;
    text-decoration: none;
}

.marke img {
    display: block;
    width: clamp(168px, 14vw + 90px, 220px);
    height: auto;
}

/* ---------- Navigation ---------- */

.hauptnav,
.rechts-kopf {
    background: rgb(247 244 238 / .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ez-border-subtle);
}

.rechts-kopf {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navzeile {
    font-size: var(--ez-text-sm);
    font-weight: var(--ez-weight-medium);
}

.navlink {
    position: relative;
    color: var(--ez-text-muted);
    text-decoration: none;
    padding-block: .25rem;
    transition: color var(--ez-transition-duration) var(--ez-transition-easing);
}

.ez-ui .navlink {
    color: var(--ez-text-muted);
}

    .navlink::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -2px;
        height: 2px;
        background: var(--ez-gold);
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform var(--ez-transition-duration) var(--ez-transition-easing);
    }

    .ez-ui .navlink:hover {
        color: var(--ez-navy);
    }

    .navlink:hover::after {
        transform: scaleX(1);
    }

/* Sprachumschalter DE / EN */
.sprachwahl {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: var(--ez-radius-pill);
    background: var(--ez-white);
    font-size: var(--ez-text-xs);
    font-weight: var(--ez-weight-semibold);
    letter-spacing: .05em;
}

    .ez-ui .sprachwahl a {
        display: inline-grid;
        place-items: center;
        min-width: 34px;
        min-height: 28px;
        padding: 0 8px;
        border-radius: var(--ez-radius-pill);
        text-decoration: none;
        color: var(--ez-text-muted);
    }

        .ez-ui .sprachwahl a:hover {
            color: var(--ez-navy);
        }

        .ez-ui .sprachwahl a.aktiv {
            background: var(--ez-navy);
            color: var(--ez-white);
        }

    .sprachwahl .trenner {
        display: none;
    }

/* ---------- Mobiles Menü (Button mit aria-expanded, gesteuert von site.js) ---------- */

.menue-knopf {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: var(--radius-control);
    background: transparent;
    cursor: pointer;
    margin-right: -10px;
    color: var(--ez-navy);
}

    .menue-knopf:hover {
        background: var(--ez-soft-hover);
    }

.menue-balken {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .menue-balken span {
        width: 22px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
    }

.menue-schliessen {
    font-size: 28px;
    line-height: 1;
    display: none;
}

.mobilmenue {
    display: flex;
    border-top: 1px solid var(--ez-border-subtle);
}

    .mobilmenue[hidden] {
        display: none;
    }

/* Zustand „Menü offen“: Balken ausblenden, × einblenden */
.menue-knopf[aria-expanded="true"] .menue-balken {
    display: none;
}

.menue-knopf[aria-expanded="true"] .menue-schliessen {
    display: block;
}

.ez-ui .mobilmenue-link {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: var(--ez-weight-semibold);
    color: var(--ez-navy);
    text-decoration: none;
    padding: 13px 0;
    border-bottom: 1px solid var(--ez-border-subtle);
    display: flex;
    justify-content: space-between;
}

.pfeil {
    color: var(--ez-border-control);
    transition: color var(--ez-transition-duration) var(--ez-transition-easing), transform var(--ez-transition-duration) var(--ez-transition-easing);
}

.mobilmenue-link:hover .pfeil,
.mobilmenue-link:focus .pfeil,
.mobilmenue-link:active .pfeil {
    color: var(--ez-gold);
    transform: translateX(3px);
}

/* ---------- Abschnitte allgemein ---------- */

.abschnitt-rand {
    border-top: 1px solid var(--ez-border-subtle);
}

/* Weiße Fläche zwischen den Ivory-Abschnitten */
.flaeche {
    background: var(--ez-surface);
}

/* Eyebrow mit kurzer Goldlinie */
.abschnitt-label,
.sa-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: var(--ez-text-sm);
    font-weight: var(--ez-weight-semibold);
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--akzent-text);
    margin-bottom: var(--ez-space-4);
}

    .abschnitt-label::before,
    .sa-eyebrow::before {
        content: "";
        flex: 0 0 auto;
        width: 28px;
        height: 2px;
        border-radius: 2px;
        background: var(--akzent);
    }

.abschnitt-titel {
    font-size: var(--ez-heading-2);
    font-weight: var(--ez-weight-semibold);
    line-height: var(--ez-leading-heading);
    letter-spacing: var(--ez-tracking-heading);
    margin: 0 0 var(--ez-space-7);
    max-width: 22ch;
    text-wrap: balance;
}

/* ---------- Hero ---------- */

.hero-bereich {
    position: relative;
    overflow: hidden;
}

    /* Großes, dezentes Markenzeichen im Hintergrund */
    .hero-bereich::before {
        content: "";
        position: absolute;
        z-index: 0;
        right: max(-120px, -8vw);
        top: 50%;
        width: min(560px, 52vw);
        aspect-ratio: 1;
        background: url("assets/marke/ez-zeichen.svg") center / contain no-repeat;
        opacity: .07;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .hero-bereich > * {
        position: relative;
        z-index: 1;
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    border: 1px solid var(--ez-border-subtle);
    background: var(--ez-white);
    color: var(--ez-navy);
    font-size: var(--ez-text-sm);
    font-weight: var(--ez-weight-medium);
    padding: 7px 16px 7px 12px;
    border-radius: var(--ez-radius-pill);
    box-shadow: var(--ez-shadow-card);
}

.hero-badge-punkt {
    width: 8px;
    height: 8px;
    background: var(--ez-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgb(168 135 71 / .18);
}

.hero-titel {
    font-size: clamp(2.375rem, 1.5rem + 3.6vw, 4.5rem);
    line-height: 1.06;
    font-weight: var(--ez-weight-semibold);
    margin: 0;
    letter-spacing: -.03em;
    max-width: 980px;
    text-wrap: balance;
}

/* Gold nur als großer Titeltext (Kontrast 3:1 für große Schrift) */
.hero-titel-gold {
    color: var(--ez-gold);
}

.hero-text {
    font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
    line-height: var(--ez-leading-body);
    color: var(--ez-text-muted);
    margin: 0;
    max-width: 640px;
    text-wrap: pretty;
}

.ez-ui .textlink {
    font-size: var(--ez-text-base);
    font-weight: var(--ez-weight-semibold);
    color: var(--ez-navy);
    text-decoration: underline;
    text-underline-offset: .25em;
    text-decoration-thickness: 1px;
}

    .ez-ui .textlink:hover {
        text-decoration-thickness: 2px;
    }

.statzeile {
    border-top: 1px solid var(--ez-border-subtle);
}

    .statzeile > div {
        position: relative;
    }

.statzahl {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    font-weight: var(--ez-weight-bold);
    letter-spacing: -.02em;
    color: var(--ez-navy);
}

    .statzahl::before {
        content: "";
        display: block;
        width: 24px;
        height: 3px;
        margin-bottom: 12px;
        border-radius: 2px;
        background: var(--ez-gold);
    }

.statlabel {
    font-size: var(--ez-text-sm);
    color: var(--ez-text-muted);
}

/* ---------- Über mich ---------- */

.ueber-foto-rahmen {
    max-height: 560px;
    overflow: hidden;
}

.ueber-foto {
    object-fit: cover;
    object-position: 50% 3%;
    display: block;
    min-height: 320px;
    max-height: 560px;
}

.ueber-lead {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem);
    line-height: 1.4;
    letter-spacing: -.015em;
    margin: 0;
    font-weight: var(--ez-weight-semibold);
    max-width: 640px;
    text-wrap: pretty;
}

.ueber-text {
    font-size: var(--ez-text-base);
    line-height: 1.7;
    color: var(--ez-text-muted);
    margin: 0;
    max-width: 640px;
    text-wrap: pretty;
}

.ueber-meta {
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: var(--ez-radius-pill);
    background: var(--ez-ivory);
    font-size: var(--ez-text-sm);
    font-weight: var(--ez-weight-medium);
    color: var(--ez-navy);
}

/* ---------- Leistungen ---------- */

.leistung-zeile {
    border-top: 1px solid var(--ez-border-subtle);
    transition: background-color var(--ez-transition-duration) var(--ez-transition-easing);
}

    .leistung-zeile:hover {
        background: rgb(255 255 255 / .6);
    }

@media (min-width: 768px) {
    .leistung-zeile { min-height: 104px; }
}

.leistung-nummer-spalte {
    width: 64px;
}

.leistung-nummer {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--akzent-rand);
    border-radius: 50%;
    background: var(--ez-white);
    font-size: var(--ez-text-sm);
    font-weight: var(--ez-weight-semibold);
    color: var(--ez-navy);
    font-variant-numeric: tabular-nums;
}

.leistung-titel {
    font-size: clamp(1.125rem, 1rem + .5vw, 1.4375rem);
    font-weight: var(--ez-weight-semibold);
    letter-spacing: -.015em;
    margin: 0;
}

.leistung-text {
    font-size: var(--ez-text-base);
    line-height: var(--ez-leading-body);
    color: var(--ez-text-muted);
    margin: 0;
    text-wrap: pretty;
}

.leistungen-hinweis {
    font-size: var(--ez-text-base);
    line-height: var(--ez-leading-body);
    color: var(--ez-text-muted);
    max-width: 640px;
    text-wrap: pretty;
    border-top: 1px solid var(--ez-border-subtle);
    padding-top: 24px;
    margin: 0;
}

/* Hervorgehobener Kasten „Preismodell“ (wie .ez-card--accent) */
.preis-kasten {
    border: 1px solid var(--ez-border-subtle);
    border-top: 3px solid var(--ez-gold);
    border-radius: var(--ez-radius-card);
    background: var(--ez-white);
    box-shadow: var(--ez-shadow-card);
}

.preis-titel {
    font-size: var(--ez-heading-3);
    font-weight: var(--ez-weight-semibold);
    margin: 0;
    letter-spacing: var(--ez-tracking-heading);
    color: var(--ez-navy);
    text-wrap: balance;
}

.preis-text {
    font-size: var(--ez-text-base);
    line-height: 1.7;
    color: var(--ez-graphite);
    margin: 0;
    text-wrap: pretty;
}

/* Einleitung unter einem Abschnittstitel (Leistungen) */
.leistungen-intro {
    max-width: 680px;
    margin: calc(var(--ez-space-7) * -1 + var(--ez-space-4)) 0 var(--ez-space-6);
    font-size: var(--ez-text-lg);
    line-height: var(--ez-leading-body);
    color: var(--ez-text-muted);
    text-wrap: pretty;
}

/* ---------- Ablauf ---------- */

.schritt-karte {
    position: relative;
    background: var(--ez-white);
    border: 1px solid var(--ez-border-subtle);
    border-radius: var(--ez-radius-card);
    box-shadow: var(--ez-shadow-card);
    transition: box-shadow var(--ez-transition-duration) var(--ez-transition-easing), transform var(--ez-transition-duration) var(--ez-transition-easing);
}

    .schritt-karte:hover {
        box-shadow: var(--ez-shadow-hover);
        transform: translateY(-2px);
    }

.schritt-nummer {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ez-navy);
    box-shadow: 0 0 0 4px var(--ez-white), 0 0 0 5px var(--akzent-rand);
    color: var(--ez-white);
    display: grid;
    place-items: center;
    font-size: var(--ez-text-base);
    font-weight: var(--ez-weight-semibold);
}

.schritt-titel {
    font-size: 1.125rem;
    font-weight: var(--ez-weight-semibold);
    letter-spacing: -.01em;
    margin: 0;
}

.schritt-text {
    font-size: var(--ez-text-sm);
    line-height: var(--ez-leading-body);
    color: var(--ez-text-muted);
    margin: 0;
}

/* ---------- Projekte ---------- */

/* Kennzeichnung der Erfahrungskarten als frühere Anstellungen */
.projekte-zwischentitel {
    margin: calc(var(--ez-space-7) * -1 + var(--ez-space-4)) 0 var(--ez-space-5);
    font-size: var(--ez-text-lg);
    color: var(--ez-text-muted);
}

.projekt-karte {
    background: var(--ez-white);
    border: 1px solid var(--ez-border-subtle);
    border-top: 3px solid var(--ez-gold);
    border-radius: var(--ez-radius-card);
    box-shadow: var(--ez-shadow-card);
}

.projekt-meta {
    font-size: var(--ez-text-xs);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ez-text-muted);
    font-weight: var(--ez-weight-semibold);
}

.projekt-titel {
    font-size: 1.125rem;
    font-weight: var(--ez-weight-semibold);
    letter-spacing: -.01em;
    margin: 0;
    line-height: 1.35;
}

.projekt-text {
    font-size: var(--ez-text-sm);
    line-height: var(--ez-leading-body);
    color: var(--ez-text-muted);
    margin: 0;
}

/* Smart-Archive-Karte in der Produktmarke (wie .ez-card--product) */
.smartarchive-projekt {
    display: grid;
    grid-template-columns: auto minmax(240px, 1fr) minmax(260px, 320px) auto;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    border: 1px solid var(--ez-border-subtle);
    border-top: 3px solid var(--smart-archive-blue);
    border-radius: var(--ez-radius-card);
    background: linear-gradient(110deg, var(--smart-archive-soft-blue), var(--ez-white) 46%);
    box-shadow: var(--ez-shadow-card);
}

    .smartarchive-projekt .projekt-meta {
        align-self: flex-start;
        padding: .25rem .75rem;
        border-radius: var(--ez-radius-pill);
        background: var(--smart-archive-soft-blue);
        color: var(--ez-navy);
        letter-spacing: .04em;
    }

.smartarchive-projekt-slogan {
    margin: -4px 0 0;
    font-family: var(--font-heading);
    font-weight: var(--ez-weight-semibold);
    color: var(--smart-archive-action);
}

.smartarchive-projekt-plattform {
    font-weight: var(--ez-weight-medium);
    color: var(--ez-navy);
}

.smartarchive-projekt > img {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgb(23 93 203 / .25);
}

.smartarchive-projekt-inhalt {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.smartarchive-projekt-animation {
    width: 100%;
}

.smartarchive-projekt-animation .sa-sortierfilm {
    height: 142px;
}

.smartarchive-projekt-animation .sa-sortier-app {
    left: 44%;
    width: 92px;
    min-height: 58px;
    grid-template-columns: 23px 1fr;
    gap: 5px;
    padding: 8px;
}

.smartarchive-projekt-animation .sa-sortier-app span { font-size: 22px; }
.smartarchive-projekt-animation .sa-sortier-app b { font-size: 10px; }
.smartarchive-projekt-animation .sa-zielordner {
    position: absolute;
    right: 3%;
    z-index: 2;
    width: 29%;
    min-width: 72px;
    padding: 7px 6px 7px 23px;
    border: 1px solid var(--akzent-rand);
    border-radius: 8px;
    background: var(--ez-white);
    color: var(--ez-navy);
    font-size: 8px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgb(15 39 71 / .08);
}
.smartarchive-projekt-animation .sa-zielordner::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    width: 11px;
    height: 8px;
    border-radius: 2px;
    background: var(--ez-gold);
    box-shadow: 3px -4px 0 -1px var(--ez-gold);
}
.smartarchive-projekt-animation .sa-zielordner-eins { top: 17%; }
.smartarchive-projekt-animation .sa-zielordner-zwei { top: 42%; }
.smartarchive-projekt-animation .sa-zielordner-drei { top: 67%; }
.smartarchive-projekt-animation .sa-flugblatt {
    width: 32px;
    height: 42px;
    font-size: 6px;
}
.smartarchive-projekt-animation .sa-flugblatt::before {
    top: 9px;
    left: 6px;
    width: 20px;
    height: 2px;
    box-shadow: 0 6px 0 #c1c8d2, 0 12px 0 #c1c8d2;
}

/* Wirkt wie .ez-button--product */
.ez-ui .smartarchive-projekt-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: .65rem 1.1rem;
    border-radius: var(--radius-control);
    background: var(--smart-archive-action);
    color: var(--ez-white);
    font-size: var(--ez-text-sm);
    font-weight: var(--ez-weight-semibold);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--ez-transition-duration) var(--ez-transition-easing);
}

.smartarchive-projekt-link span {
    transition: transform var(--ez-transition-duration) var(--ez-transition-easing);
}

.ez-ui .smartarchive-projekt-link:hover {
    background: var(--smart-archive-action-hover);
    color: var(--ez-white);
}

.smartarchive-projekt-link:hover span {
    transform: translateX(3px);
}

/* Projektseiten-Button und App-Store-Abzeichen untereinander */
.smartarchive-projekt-aktionen {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

/* Offizielles Apple-Abzeichen: unverändert, nur skaliert (Höhe mind. 40 px) */
.appstore-abzeichen {
    display: inline-flex;
    align-self: center;
    border-radius: 7px;
}

    .appstore-abzeichen img {
        display: block;
        width: auto;
        height: 44px;
    }

@media (max-width: 991.98px) {
    .smartarchive-projekt {
        grid-template-columns: auto 1fr;
        gap: 16px;
    }

    .smartarchive-projekt-animation,
    .smartarchive-projekt-aktionen {
        grid-column: 2;
    }

    .smartarchive-projekt-aktionen {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-self: start;
    }
}

@media (max-width: 575.98px) {
    .ez-ui .smartarchive-projekt-link {
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 419.98px) {
    .smartarchive-projekt {
        grid-template-columns: minmax(0, 1fr);
        padding: 20px;
    }

    .smartarchive-projekt-animation,
    .smartarchive-projekt-aktionen {
        grid-column: 1;
    }

    .smartarchive-projekt-aktionen {
        flex-direction: column;
        align-items: stretch;
        justify-self: stretch;
    }
}

/* Aufklappbarer Technik-Kasten */
.technik-kasten {
    border: 1px solid var(--ez-border-subtle);
    border-radius: var(--ez-radius-card);
    background: var(--ez-white);
    padding: 20px 24px;
}

    .technik-kasten summary {
        font-size: var(--ez-text-base);
        font-weight: var(--ez-weight-semibold);
        cursor: pointer;
        color: var(--ez-navy);
    }

        .technik-kasten summary::marker {
            color: var(--ez-gold);
        }

.technik-liste {
    font-size: var(--ez-text-sm);
    line-height: 1.7;
    color: var(--ez-text-muted);
}

.technik-begriff {
    color: var(--ez-navy);
    font-weight: var(--ez-weight-semibold);
}

/* ---------- Kontakt (Navy-Abschnitt) ---------- */

.kontakt-bereich {
    background: var(--ez-navy);
    color: var(--ez-white);
    --ez-focus: var(--ez-white);
    --ez-text-muted: #D5DCE4;
    position: relative;
    overflow: hidden;
}

    /* Feine Goldlinie als oberer Abschluss */
    .kontakt-bereich::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--ez-gold), transparent 70%);
    }

.kontakt-titel {
    font-size: var(--ez-heading-2);
    line-height: var(--ez-leading-heading);
    font-weight: var(--ez-weight-semibold);
    margin: 0;
    letter-spacing: var(--ez-tracking-heading);
    text-wrap: balance;
}

.kontakt-text {
    font-size: var(--ez-text-lg);
    line-height: var(--ez-leading-body);
    margin: 0;
    color: var(--ez-text-muted);
    max-width: 480px;
    text-wrap: pretty;
}

.kontakt-person {
    display: flex;
    flex-direction: column;
    margin: var(--ez-space-2) 0 0;
    line-height: 1.4;
}

    .kontakt-person strong {
        font-family: var(--font-heading);
        font-size: var(--ez-text-lg);
    }

    .kontakt-person span {
        color: var(--ez-text-muted);
        font-size: var(--ez-text-sm);
    }

.kontakt-daten {
    font-size: var(--ez-text-base);
    font-weight: var(--ez-weight-medium);
}

    .kontakt-daten > div {
        padding-block: 10px;
        border-bottom: 1px solid rgb(255 255 255 / .14);
    }

.kontakt-daten-label {
    font-size: var(--ez-text-xs);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: var(--ez-weight-semibold);
    color: var(--ez-text-muted);
    width: 84px;
    flex: none;
}

.ez-ui .kontakt-daten-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .2em;
    text-decoration-thickness: 1px;
}

    .ez-ui .kontakt-daten-link:hover {
        text-decoration-thickness: 2px;
    }

/* Formularkarte (weiß auf Navy) */
.formular-karte {
    background: var(--ez-white);
    color: var(--ez-navy);
    border-radius: var(--ez-radius-card);
    box-shadow: 0 24px 60px rgb(0 0 0 / .25);
    --ez-focus: var(--ez-navy);
    --ez-text-muted: #5C6673;
}

.formular-label {
    font-size: var(--ez-text-sm);
    font-weight: var(--ez-weight-semibold);
    color: var(--ez-navy);
}

.formular-feld {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: .75rem;
    border: 1px solid var(--ez-border-control);
    border-radius: var(--radius-control);
    font: inherit;
    color: var(--ez-navy);
    background: var(--ez-white);
    transition: border-color var(--ez-transition-duration) var(--ez-transition-easing), box-shadow var(--ez-transition-duration) var(--ez-transition-easing);
}

    .formular-feld::placeholder {
        color: var(--ez-text-muted);
        opacity: 1;
    }

    .formular-feld:hover {
        border-color: var(--ez-navy);
    }

    .ez-ui .formular-feld:focus-visible {
        outline: var(--ez-focus-width) solid var(--ez-navy);
        outline-offset: 1px;
        border-color: var(--ez-navy);
    }

    .formular-feld.invalid,
    .formular-feld[aria-invalid="true"] {
        border-color: var(--ez-error);
        border-width: 2px;
    }

/* Fehlertext direkt unter dem betroffenen Feld */
.formular-feldfehler {
    margin: 0;
    color: var(--ez-error);
    font-size: var(--ez-text-sm);
    font-weight: var(--ez-weight-medium);
}

/* Hinweis auf die Datenschutzerklärung unter dem Senden-Knopf */
.formular-hinweis {
    margin: 0;
    color: var(--ez-text-muted);
    font-size: var(--ez-text-sm);
    line-height: 1.5;
}

    .ez-ui .formular-hinweis a {
        color: var(--ez-navy);
        text-decoration: underline;
        text-underline-offset: .2em;
    }

.ez-ui .formular-senden:disabled {
    cursor: progress;
}

textarea.formular-feld {
    resize: vertical;
    min-height: 9rem;
}

.ez-ui .formular-senden {
    width: 100%;
    min-height: 48px;
}

/* Erfolgs- und Fehlermeldung nach dem Absenden */
.formular-erfolg,
.formular-fehler {
    border-radius: var(--radius-control);
    padding: 12px 14px 12px 16px;
    font-size: var(--ez-text-sm);
    font-weight: var(--ez-weight-medium);
}

.formular-erfolg {
    border: 1px solid rgb(33 97 67 / .35);
    border-left: 4px solid var(--ez-success);
    background: rgb(33 97 67 / .07);
    color: var(--ez-success);
}

.formular-fehler {
    border: 1px solid rgb(165 35 50 / .35);
    border-left: 4px solid var(--ez-error);
    background: rgb(165 35 50 / .06);
    color: var(--ez-error);
}

/* Fußzeile im Kontaktbereich */
.fusszeile {
    border-top: 1px solid rgb(255 255 255 / .16);
    font-size: var(--ez-text-sm);
    color: var(--ez-text-muted);
}

    .ez-ui .fusszeile a {
        color: var(--ez-text-muted);
        text-decoration: none;
    }

        .ez-ui .fusszeile a:hover {
            color: var(--ez-white);
            text-decoration: underline;
            text-underline-offset: .2em;
        }

/* Platz für den schwebenden „Nach oben“-Knopf */
.fusszeile-links {
    padding-right: 76px;
}

/* ---------- „Nach oben“-Knopf ---------- */

.ez-ui .nach-oben {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 100;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--ez-gold);
    background: var(--ez-navy);
    color: var(--ez-white);
    display: none;
    place-items: center;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--ez-shadow-hover);
    text-decoration: none;
    transition: background-color var(--ez-transition-duration) var(--ez-transition-easing);
}

    .ez-ui .nach-oben:hover {
        background: var(--ez-action-hover);
        color: var(--ez-white);
    }

    .nach-oben.sichtbar {
        display: grid;
    }

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */

.rechts-inhalt {
    max-width: 860px;
}

.rechts-titel {
    font-size: var(--ez-heading-1);
    font-weight: var(--ez-weight-semibold);
    line-height: var(--ez-leading-heading);
    margin: 0 0 20px;
    letter-spacing: var(--ez-tracking-heading);
    text-wrap: balance;
}

.rechts-intro {
    font-size: var(--ez-text-lg);
    line-height: 1.7;
    color: var(--ez-text-muted);
    margin: 0 0 48px;
    text-wrap: pretty;
}

/* Zurück-Link oberhalb des Titels (nur kleine Bildschirme) */
.rechts-zurueck {
    display: block;
    width: fit-content;
    font-size: var(--ez-text-sm);
    margin-bottom: 24px;
}

/* Inhaltsblöcke der Rechtsseiten als weiße Karten */
.rechts-inhalt > .d-flex > .d-flex {
    padding: clamp(20px, 3vw, 28px);
    background: var(--ez-white);
    border: 1px solid var(--ez-border-subtle);
    border-radius: var(--ez-radius-card);
}

.rechts-inhalt > .d-flex.gap-5 {
    gap: var(--ez-space-4) !important;
}

.rechts-abschnitt-titel {
    font-size: 1.1875rem;
    font-weight: var(--ez-weight-semibold);
    letter-spacing: -.01em;
    margin: 0;
    color: var(--ez-navy);
}

.rechts-abschnitt-text {
    font-size: var(--ez-text-base);
    line-height: 1.7;
    color: var(--ez-graphite);
    margin: 0;
    text-wrap: pretty;
    white-space: pre-line; /* Zeilenumbrüche aus den Ressourcen-Texten übernehmen */
}

    /* Betonte Variante für Adress- und Kontaktblöcke */
    .rechts-abschnitt-text.hell {
        color: var(--ez-navy);
        font-weight: var(--ez-weight-medium);
    }

    /* Verweise im Fließtext (z. B. auf fremde Datenschutzerklärungen) */
    .ez-ui .rechts-abschnitt-text a {
        color: var(--akzent-text);
        text-decoration: underline;
        text-underline-offset: .2em;
        text-decoration-thickness: 1px;
        overflow-wrap: anywhere; /* lange URLs brechen auf dem Telefon um */
    }

        .ez-ui .rechts-abschnitt-text a:hover {
            text-decoration-thickness: 2px;
        }

.rechts-fusszeile {
    border-top: 1px solid var(--ez-border-subtle);
    font-size: var(--ez-text-sm);
    color: var(--ez-text-muted);
}

    .ez-ui .rechts-fusszeile a {
        color: var(--ez-text-muted);
        text-decoration: none;
    }

        .ez-ui .rechts-fusszeile a:hover {
            color: var(--ez-navy);
            text-decoration: underline;
            text-underline-offset: .2em;
        }

    .rechts-fusszeile .aktuelle-seite {
        color: var(--ez-navy);
        font-weight: var(--ez-weight-semibold);
    }

/* ---------- Smart Archive: Hilfeseiten und Datenschutz ---------- */

.smartarchive-inhalt {
    max-width: 1180px;
}

.smartarchive-marke {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 5px 16px 5px 5px;
    border-radius: var(--ez-radius-pill);
    background: var(--smart-archive-soft-blue);
    color: var(--ez-navy);
    font-size: var(--ez-text-sm);
    font-weight: var(--ez-weight-semibold);
    letter-spacing: .08em;
}

.smartarchive-app-icon {
    display: block;
    border-radius: 9px;
    box-shadow: 0 4px 12px rgb(23 93 203 / .3);
}

.smartarchive-intro {
    max-width: 760px;
}

.smartarchive-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -20px 0 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ez-border-subtle);
}

.ez-ui .smartarchive-navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: var(--ez-radius-pill);
    background: var(--ez-white);
    color: var(--ez-navy);
    font-size: var(--ez-text-sm);
    font-weight: var(--ez-weight-medium);
    text-decoration: none;
    transition: background-color var(--ez-transition-duration) var(--ez-transition-easing), border-color var(--ez-transition-duration) var(--ez-transition-easing);
}

.ez-ui .smartarchive-navigation a:hover {
    border-color: var(--smart-archive-blue);
    background: var(--smart-archive-soft-blue);
}

.ez-ui .smartarchive-navigation a.aktiv {
    border-color: var(--smart-archive-action);
    background: var(--smart-archive-action);
    color: var(--ez-white);
}

/* App-Store-Zugang oben und am Ende der Hilfeseiten */
.sa-appstore {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    padding: 16px 20px;
    border: 1px solid var(--ez-border-subtle);
    border-left: 3px solid var(--smart-archive-blue);
    border-radius: 0 var(--ez-radius-card) var(--ez-radius-card) 0;
    background: var(--ez-white);
}

    .sa-appstore p {
        margin: 0;
        flex: 1 1 260px;
        color: var(--ez-text-muted);
        font-size: var(--ez-text-sm);
    }

    .sa-appstore .appstore-abzeichen {
        align-self: center;
    }

.sa-appstore-oben {
    margin: -24px 0 8px;
}

.sa-appstore-unten {
    margin-top: 56px;
}

.smartarchive-artikel h3 {
    margin: 22px 0 8px;
    color: var(--ez-navy);
    font-size: 1rem;
    font-weight: var(--ez-weight-semibold);
}

.smartarchive-artikel p {
    margin: 0 0 12px;
}

.smartarchive-artikel p:last-child {
    margin-bottom: 0;
}

.smartarchive-abschnitt {
    scroll-margin-top: calc(var(--kopf-hoehe) + 16px);
    padding: clamp(20px, 3vw, 28px);
    background: var(--ez-white);
    border: 1px solid var(--ez-border-subtle);
    border-radius: var(--ez-radius-card);
}

.smartarchive-abschnitt .rechts-abschnitt-titel {
    margin-bottom: 10px;
}

.smartarchive-plattformen {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.smartarchive-plattform {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    column-gap: 14px;
    padding: 20px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: var(--ez-radius-card);
    color: var(--ez-navy);
    text-decoration: none;
    background: var(--ez-white);
}

.smartarchive-iconrahmen {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--akzent-flaeche);
    color: var(--akzent-text);
}

.smartarchive-plattform-icon {
    display: block;
    width: 24px;
    height: 24px;
}

.smartarchive-windows-icon {
    width: 22px;
    height: 22px;
}

.smartarchive-plattform small {
    color: var(--ez-text-muted);
    font-size: var(--ez-text-sm);
}

.smartarchive-plattform:hover {
    border-color: var(--akzent);
    color: var(--ez-navy);
}

.smartarchive-schritt {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    scroll-margin-top: calc(var(--kopf-hoehe) + 16px);
}

.smartarchive-schrittnummer {
    color: var(--akzent-text);
    font-size: var(--ez-text-sm);
    font-weight: var(--ez-weight-bold);
    letter-spacing: .08em;
    padding-top: 6px;
    border-top: 2px solid var(--akzent);
}

.smartarchive-schritt-titel,
.smartarchive-artikel .smartarchive-schritt-titel {
    margin: 0 0 9px;
    font-family: var(--font-heading);
    color: var(--ez-navy);
    font-size: 1.1875rem;
    font-weight: var(--ez-weight-semibold);
}

.smartarchive-hinweis {
    padding: 22px 24px;
    border: 1px solid var(--akzent-rand);
    border-radius: var(--ez-radius-card);
    background: var(--akzent-flaeche);
    color: var(--ez-navy);
}

.smartarchive-hinweis p {
    margin: 8px 0 0;
    color: var(--ez-text-muted);
    font-size: .9375rem;
    line-height: 1.65;
}

.smartarchive-fuss {
    max-width: 1180px;
}

/* ---------- Smart Archive Produktseiten ---------- */

.smartarchive-artikel {
    margin-top: 42px;
}

.sa-hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: clamp(32px, 7vw, 84px);
    min-height: 560px;
    padding: 40px 0 56px;
}

.sa-hero-text h2,
.sa-kapitelkopf h2,
.sa-story h2,
.sa-abschluss h2 {
    margin: 0 0 16px;
    color: var(--ez-navy);
    font-size: var(--ez-heading-2);
    font-weight: var(--ez-weight-semibold);
    line-height: 1.1;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.sa-hero-text p,
.sa-kapitelkopf p,
.sa-story-text > p,
.sa-abschluss p {
    color: var(--ez-text-muted);
    font-size: var(--ez-text-lg);
    line-height: 1.7;
}

.sa-kapitelkopf .sa-eyebrow,
.sa-abschluss .sa-eyebrow {
    justify-content: center;
}

.sa-cta-zeile {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* Buttons im Stil von .ez-button (Produkt) und .ez-button--secondary */
.ez-ui .sa-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .75rem 1.25rem;
    border: 1px solid var(--ez-navy);
    border-radius: var(--radius-control);
    background: var(--ez-white);
    color: var(--ez-navy);
    font-weight: var(--ez-weight-semibold);
    text-decoration: none;
    transition: background-color var(--ez-transition-duration) var(--ez-transition-easing), border-color var(--ez-transition-duration) var(--ez-transition-easing);
}

.ez-ui .sa-cta:hover {
    background: var(--ez-soft-hover);
    color: var(--ez-navy);
}

.ez-ui .sa-cta-haupt {
    border-color: var(--smart-archive-action);
    background: var(--smart-archive-action);
    color: var(--ez-white);
}

.ez-ui .sa-cta-haupt:hover {
    border-color: var(--smart-archive-action-hover);
    background: var(--smart-archive-action-hover);
    color: var(--ez-white);
}

.ez-ui .sa-cta-haupt:active {
    background: var(--smart-archive-action-active);
}

.sa-autopilot {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
    margin: 18px 0 42px;
    padding: clamp(30px, 6vw, 64px);
    border: 1px solid var(--ez-border-subtle);
    border-top: 3px solid var(--smart-archive-blue);
    border-radius: 24px;
    background:
        radial-gradient(circle at 86% 18%, rgb(96 165 250 / .18), transparent 38%),
        var(--ez-white);
    box-shadow: var(--ez-shadow-card);
}

.sa-autopilot h2 {
    margin: 0 0 16px;
    color: var(--ez-navy);
    font-size: var(--ez-heading-2);
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.sa-autopilot p {
    margin: 0;
    color: var(--ez-text-muted);
    font-size: var(--ez-text-lg);
    line-height: 1.7;
}

.sa-autopilot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sa-autopilot-rechts {
    display: grid;
    gap: 18px;
    min-width: 0;
}

/* Animation: Dokumente fliegen in die App und werden einsortiert */
.sa-sortierfilm {
    position: relative;
    isolation: isolate;
    height: 190px;
    overflow: hidden;
    border: 1px solid var(--akzent-rand);
    border-radius: 18px;
    background:
        radial-gradient(circle at 47% 50%, rgb(50 130 246 / .2), transparent 28%),
        linear-gradient(180deg, #F3F7FE, var(--ez-white));
}

.sa-sortierfilm::before,
.sa-sortierfilm::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 20%;
    right: 17%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgb(50 130 246 / .5), transparent);
}

.sa-sortierfilm::before { top: 34%; transform: rotate(-8deg); }
.sa-sortierfilm::after { top: 66%; transform: rotate(8deg); }

.sa-sortier-app {
    position: absolute;
    z-index: 3;
    left: 46%;
    top: 50%;
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    gap: 8px;
    width: 116px;
    min-height: 70px;
    padding: 10px;
    border: 1px solid var(--smart-archive-light-blue);
    border-radius: 17px;
    background: linear-gradient(145deg, var(--smart-archive-blue), var(--smart-archive-action-active) 75%);
    box-shadow: 0 0 0 7px rgb(50 130 246 / .1), 0 12px 30px rgb(15 39 71 / .2);
    color: #fff;
    transform: translate(-50%, -50%);
    animation: sa-app-puls 2s ease-in-out infinite;
}

.sa-sortier-app span { color: #ffd96e; font-size: 28px; line-height: 1; }
.sa-sortier-app b { font-size: 12px; line-height: 1.15; }

.sa-ordnerablage {
    position: absolute;
    right: 2.5%;
    bottom: 13%;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    width: 35%;
    height: 72%;
    padding: 13px 8px 8px;
    border-radius: 15px;
    background: linear-gradient(180deg, rgb(219 234 254 / .2), rgb(219 234 254 / .9));
}

.sa-ordnerablage::after {
    content: "";
    position: absolute;
    right: 2px;
    bottom: 2px;
    left: 2px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgb(168 135 71 / .2), var(--ez-gold), rgb(168 135 71 / .2));
    box-shadow: 0 4px 10px rgb(15 39 71 / .15);
}

.sa-ordner {
    --ordner-dunkel: #916523;
    --ordner-hell: #dfb757;
    --ordner-neigung: 0deg;
    --ordner-versatz: 0px;
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 0;
    max-width: 38px;
    height: 88px;
    border: 1px solid color-mix(in srgb, var(--ordner-hell), white 20%);
    border-radius: 5px 5px 4px 4px;
    background: linear-gradient(100deg, var(--ordner-dunkel), var(--ordner-hell) 28%, var(--ordner-dunkel));
    box-shadow: -3px 8px 12px rgb(15 39 71 / .2), inset 2px 0 rgba(255, 255, 255, .14);
    transform: translateY(var(--ordner-versatz)) rotate(var(--ordner-neigung));
}

.sa-ordner::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -1px;
    width: 63%;
    height: 10px;
    border: inherit;
    border-bottom: 0;
    border-radius: 5px 6px 0 0;
    background: linear-gradient(100deg, var(--ordner-dunkel), var(--ordner-hell));
}

.sa-ordner::after {
    content: "";
    position: absolute;
    inset: 15px -1px -1px;
    border: inherit;
    border-radius: 4px;
    background: linear-gradient(105deg, var(--ordner-hell), var(--ordner-dunkel));
    box-shadow: inset 0 1px rgba(255, 255, 255, .2);
}

.sa-ordner i {
    position: absolute;
    z-index: 2;
    top: 35px;
    left: 20%;
    width: 60%;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .78);
    border-radius: 2px;
    background: rgba(243, 239, 225, .92);
    box-shadow: inset 0 -5px rgba(54, 58, 67, .12), 0 2px 4px rgba(0, 0, 0, .18);
}

.sa-ordner-eins { --ordner-versatz: 4px; --ordner-neigung: -3deg; animation: sa-ordner-aktiv 6s ease-in-out infinite; }
.sa-ordner-zwei { --ordner-dunkel: #315886; --ordner-hell: #6993c2; --ordner-versatz: 0px; --ordner-neigung: -1deg; }
.sa-ordner-drei { --ordner-dunkel: #37694f; --ordner-hell: #72a382; --ordner-versatz: 3px; --ordner-neigung: 1deg; animation: sa-ordner-aktiv 6s -2s ease-in-out infinite; }
.sa-ordner-vier { --ordner-dunkel: #754e69; --ordner-hell: #a47c98; --ordner-versatz: -1px; --ordner-neigung: 2deg; }
.sa-ordner-fuenf { --ordner-dunkel: #9a5938; --ordner-hell: #cb865d; --ordner-versatz: 5px; --ordner-neigung: 4deg; animation: sa-ordner-aktiv 6s -4s ease-in-out infinite; }

.sa-flugblatt {
    position: absolute;
    z-index: 4;
    left: 3%;
    top: var(--start-y);
    display: grid;
    place-items: end center;
    width: 42px;
    height: 54px;
    padding-bottom: 6px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: 4px;
    background: var(--ez-white);
    box-shadow: 0 8px 18px rgb(15 39 71 / .16);
    color: var(--ez-navy);
    font-size: 8px;
    font-weight: 800;
    opacity: 0;
    animation: sa-dokument-sortieren 6s ease-in-out infinite;
}

.sa-flugblatt::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 8px;
    width: 25px;
    height: 3px;
    background: #93a0b5;
    box-shadow: 0 7px 0 #c1c8d2, 0 14px 0 #c1c8d2;
}

.sa-flugblatt-eins { --start-y: 14%; --end-y: 42%; --end-x: 67%; animation-delay: 0s; }
.sa-flugblatt-zwei { --start-y: 38%; --end-y: 40%; --end-x: 77%; animation-delay: -2s; }
.sa-flugblatt-drei { --start-y: 64%; --end-y: 43%; --end-x: 87%; animation-delay: -4s; }

@keyframes sa-dokument-sortieren {
    0% { left: 3%; top: var(--start-y); opacity: 0; transform: rotate(-8deg) scale(.86); }
    8% { opacity: 1; }
    40% { left: 40%; top: 36%; opacity: 1; transform: rotate(5deg) scale(.92); }
    51% { left: 45%; top: 36%; opacity: .15; transform: rotate(0) scale(.55); }
    60% { left: 51%; top: 36%; opacity: 1; transform: rotate(0) scale(.75); }
    92% { left: var(--end-x); top: var(--end-y); opacity: 1; transform: rotate(7deg) scale(.72); }
    100% { left: var(--end-x); top: var(--end-y); opacity: 0; transform: rotate(7deg) scale(.45); }
}

@keyframes sa-ordner-aktiv {
    0%, 70%, 100% {
        filter: brightness(.92);
        transform: translateY(var(--ordner-versatz)) rotate(var(--ordner-neigung));
    }
    84% {
        filter: brightness(1.25);
        transform: translateY(calc(var(--ordner-versatz) - 7px)) rotate(var(--ordner-neigung));
        box-shadow: 0 0 18px color-mix(in srgb, var(--ordner-hell), transparent 45%), -3px 10px 14px rgb(15 39 71 / .25);
    }
}

@keyframes sa-app-puls {
    0%, 100% { box-shadow: 0 0 0 7px rgb(50 130 246 / .1), 0 12px 30px rgb(15 39 71 / .2); }
    50% { box-shadow: 0 0 0 12px rgb(50 130 246 / .16), 0 12px 34px rgb(15 39 71 / .26); }
}

.sa-autopilot-grid article {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: 14px;
    background: var(--ez-white);
}

.sa-autopilot-grid article > span {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--smart-archive-soft-blue);
    color: var(--smart-archive-action);
    font-size: var(--ez-text-sm);
    font-weight: 700;
}

.sa-autopilot-grid strong { color: var(--ez-navy); font-size: 1.0625rem; }
.sa-autopilot-grid small { color: var(--ez-text-muted); font-size: var(--ez-text-sm); }

.sa-hero-bilder {
    position: relative;
    min-height: 500px;
}

    /* Weicher Farbkreis hinter den Geräten */
    .sa-hero-bilder::before {
        content: "";
        position: absolute;
        inset: 6% 4% 4% 10%;
        border-radius: 50%;
        background: radial-gradient(circle, rgb(96 165 250 / .28), transparent 65%);
        filter: blur(10px);
    }

.sa-device {
    position: absolute;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--ez-border-subtle);
    background: var(--ez-white);
    box-shadow: 0 30px 70px rgb(15 39 71 / .2);
}

.sa-device img,
.sa-screenshot img {
    display: block;
    width: 100%;
    height: auto;
}

.sa-device-tablet {
    inset: 36px 0 auto auto;
    width: 88%;
    border-radius: 25px;
}

.sa-device-phone {
    left: 0;
    bottom: 0;
    width: 29%;
    border-radius: 24px;
}

.sa-vorlagen-sprachen {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: clamp(28px, 6vw, 70px);
    align-items: center;
    margin: 48px 0 68px;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid var(--ez-border-subtle);
    border-radius: 24px;
    background: linear-gradient(135deg, var(--smart-archive-soft-blue), var(--ez-white) 60%);
}

.sa-vorlagen-text h2 {
    margin: 0 0 15px;
    color: var(--ez-navy);
    font-size: var(--ez-heading-2);
    line-height: 1.1;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.sa-vorlagen-text p,
.sa-sprachen p {
    margin: 0;
    color: var(--ez-text-muted);
    font-size: .9375rem;
    line-height: 1.65;
}

.sa-sprachen {
    padding: 22px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: 16px;
    background: var(--ez-white);
    box-shadow: var(--ez-shadow-card);
    container-type: inline-size;
}

.sa-sprachen > strong { display: block; margin-bottom: 8px; color: var(--ez-navy); font-size: 1.0625rem; }
.sa-sprachen > small { display: block; margin-top: 14px; color: var(--ez-text-muted); line-height: 1.5; }

.sa-sprachen-liste {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin-top: 15px;
}

.sa-sprachen-liste > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 5px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: var(--ez-radius-pill);
    background: var(--ez-ivory);
    color: var(--ez-navy);
    font-size: 11px;
    font-weight: var(--ez-weight-medium);
    text-align: center;
    white-space: nowrap;
}

/* Spaltenzahl nach Breite der Box, nicht des Bildschirms: Die Box ist auf
   breiten Bildschirmen schmaler als auf Tablets, vier Spalten passen dort nicht */
@container (max-width: 460px) {
    .sa-sprachen-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.sa-flagge {
    display: block;
    flex: 0 0 auto;
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgb(15 39 71 / .1);
}

.sa-kapitelkopf {
    max-width: 780px;
    margin: 36px auto 4px;
    text-align: center;
}

.sa-story {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
    align-items: center;
    gap: clamp(36px, 8vw, 100px);
    padding: 54px 0;
}

.sa-story + .sa-story {
    border-top: 1px solid var(--ez-border-subtle);
}

.sa-story-umgekehrt .sa-story-text { order: 2; }
.sa-story-umgekehrt .sa-screenshot { order: 1; }

.sa-nummer {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--smart-archive-action);
    color: var(--ez-white);
    font-size: var(--ez-text-sm);
    font-weight: 700;
    letter-spacing: .04em;
}

.sa-checkliste {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.sa-checkliste li {
    position: relative;
    padding-left: 32px;
    color: var(--ez-navy);
}

.sa-checkliste li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .1em;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--smart-archive-soft-blue);
    color: var(--smart-archive-action);
    font-size: 12px;
    font-weight: 700;
}

.sa-screenshot {
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid var(--ez-border-subtle);
    border-radius: 24px;
    background: var(--ez-white);
    box-shadow: 0 24px 60px rgb(15 39 71 / .14);
}

.sa-screenshot-phone { max-width: 310px; }
.sa-screenshot-wide { width: 100%; max-width: 860px; }

.sa-screenshot figcaption {
    padding: 12px 16px;
    border-top: 1px solid var(--ez-border-subtle);
    color: var(--ez-text-muted);
    font-size: var(--ez-text-xs);
    line-height: 1.5;
    text-align: center;
}

.sa-datenschutz-kurz,
.sa-guide-note {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 22px;
    padding: 18px 20px;
    border-left: 3px solid var(--akzent);
    border-radius: 0 var(--radius-control) var(--radius-control) 0;
    background: var(--akzent-flaeche);
}

.sa-datenschutz-kurz strong,
.sa-guide-note strong { color: var(--ez-navy); }
.sa-datenschutz-kurz span,
.sa-guide-note span { color: var(--ez-text-muted); font-size: var(--ez-text-sm); line-height: 1.6; }

.sa-local-ai {
    position: relative;
    overflow: hidden;
    padding: clamp(38px, 7vw, 78px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 6%, rgb(96 165 250 / .35), transparent 34%),
        radial-gradient(circle at 8% 90%, rgb(50 130 246 / .25), transparent 36%),
        var(--ez-navy);
    color: var(--ez-white);
    --ez-focus: var(--ez-white);
}

.sa-local-ai::before {
    content: "✦";
    position: absolute;
    top: 26px;
    right: 34px;
    color: var(--smart-archive-light-blue);
    font-size: 34px;
    text-shadow: -24px 19px 0 rgb(168 135 71 / .8);
}

.sa-local-ai .sa-kapitelkopf {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin-top: 0;
}

.sa-local-ai .sa-kapitelkopf h2 { color: var(--ez-white); }
.sa-local-ai .sa-kapitelkopf p { color: #D5DCE4; }
.sa-local-ai .sa-eyebrow { color: var(--smart-archive-soft-blue); }
.sa-local-ai .sa-eyebrow::before { background: var(--ez-gold); }

.sa-local-ai-fakten {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.sa-local-ai-fakten article {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 20px;
    border: 1px solid rgb(255 255 255 / .14);
    border-top: 2px solid var(--smart-archive-light-blue);
    border-radius: 0 0 12px 12px;
    background: rgb(255 255 255 / .06);
}

.sa-local-ai-fakten strong { color: var(--ez-white); font-size: 1.0625rem; }
.sa-local-ai-fakten span { color: #D5DCE4; font-size: var(--ez-text-sm); line-height: 1.55; }

.sa-apple-geraete,
.sa-preise {
    padding: clamp(34px, 6vw, 72px);
    border: 1px solid var(--ez-border-subtle);
    border-radius: 28px;
    background: var(--ez-white);
    box-shadow: var(--ez-shadow-card);
}

.sa-preise {
    background: linear-gradient(160deg, var(--smart-archive-soft-blue), var(--ez-white) 55%);
}

.sa-geraete-grid,
.sa-preis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.sa-geraete-grid article,
.sa-preis-grid article {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: var(--ez-radius-card);
    background: var(--ez-white);
}

.sa-geraete-grid article { background: var(--ez-ivory); }

.sa-preis-grid article {
    border-top: 3px solid var(--smart-archive-light-blue);
    box-shadow: var(--ez-shadow-card);
}

.sa-geraete-grid .smartarchive-plattform-icon { width: 30px; height: 30px; color: var(--smart-archive-action); }
.sa-geraete-grid strong { color: var(--ez-navy); font-size: 1.0625rem; }
.sa-geraete-grid span { color: var(--ez-text-muted); font-size: var(--ez-text-sm); line-height: 1.55; }
.sa-preis-grid h3 { margin: 0; font-size: 1.1875rem; color: var(--ez-navy); }
.sa-preis-grid p { color: var(--ez-text-muted); font-size: var(--ez-text-sm); line-height: 1.6; }
.sa-preis-name { color: var(--smart-archive-action); font-size: var(--ez-text-xs); font-weight: 700; letter-spacing: .1em; }
.sa-preis-grid .sa-preis-business { border-color: var(--smart-archive-blue); border-top-color: var(--smart-archive-action); background: linear-gradient(180deg, var(--smart-archive-soft-blue), var(--ez-white) 70%); }
.sa-preis-badge { align-self: flex-start; padding: 5px 9px; border-radius: var(--ez-radius-pill); background: var(--smart-archive-action); color: var(--ez-white); font-size: 11px; font-weight: 700; letter-spacing: .06em; }

.sa-preis-fuss {
    max-width: 780px;
    margin: 20px auto 0;
    color: var(--ez-text-muted);
    font-size: var(--ez-text-sm);
    text-align: center;
}

.sa-abschluss {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.sa-abschluss .sa-cta {
    margin-top: 12px;
}

.sa-guide-schritte { display: grid; gap: 24px; }
.sa-guide-schritte .smartarchive-schritt { grid-template-columns: 30px 1fr; gap: 12px; }
.smartarchive-artikel .sa-guide-schritte .smartarchive-schritt-titel { font-size: 1rem; }
.sa-guide-schritte .rechts-abschnitt-text { color: var(--ez-text-muted); font-size: var(--ez-text-sm); line-height: 1.6; }

.sa-format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.sa-format-grid article {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: 14px;
    background: var(--ez-white);
}

.sa-format-grid strong { color: var(--ez-navy); }
.sa-format-grid span { color: var(--ez-text-muted); font-size: var(--ez-text-sm); line-height: 1.5; }

.sa-guide-note-wichtig {
    border-left-color: var(--ez-error);
    background: rgb(165 35 50 / .06);
}

.sa-guide-schritte-breit {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 30px;
}

.sa-vergleich-scroll {
    overflow-x: auto;
    margin-top: 28px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: var(--ez-radius-card);
    background: var(--ez-white);
}

.sa-vergleich {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    color: var(--ez-navy);
    font-size: var(--ez-text-sm);
}

.sa-vergleich th,
.sa-vergleich td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--ez-border-subtle);
    text-align: center;
}

.sa-vergleich th:first-child {
    width: 46%;
    text-align: left;
}

.sa-vergleich thead th {
    background: var(--smart-archive-soft-blue);
    color: var(--ez-navy);
    font-size: .9375rem;
}

.sa-vergleich tbody th {
    color: var(--ez-navy);
    font-weight: 500;
}

.sa-vergleich tbody tr:nth-child(even) {
    background: rgb(247 244 238 / .6);
}

.sa-vergleich tbody td {
    color: var(--smart-archive-action);
    font-size: 1.125rem;
    font-weight: 800;
}

.sa-vergleich tbody tr:last-child th,
.sa-vergleich tbody tr:last-child td { border-bottom: 0; }

/* Ausführliche Smart-Archive-Anleitung: Inhaltsverzeichnis als Baum */
.sa-baum {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sa-baum-zwei {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sa-baum-hinweis {
    margin: 0 0 -24px;
    color: var(--ez-text-muted);
}

.sa-baum-spalte {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: 18px;
    background: var(--ez-white);
    box-shadow: var(--ez-shadow-card);
}

.ez-ui .sa-baum a {
    display: flex;
    align-items: baseline;
    gap: 9px;
    color: var(--ez-text-muted);
    font-size: var(--ez-text-sm);
    line-height: 1.45;
    text-decoration: none;
}

.ez-ui .sa-baum a:hover { color: var(--smart-archive-action); text-decoration: underline; text-underline-offset: .2em; }
.sa-baum a > span { flex: 0 0 auto; min-width: 30px; color: var(--smart-archive-action); font-size: 11px; font-weight: 700; letter-spacing: .04em; }

.ez-ui .sa-baum .sa-baum-kapitel {
    align-items: center;
    color: var(--ez-navy);
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
}

.sa-baum .sa-baum-kapitel > span {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--smart-archive-action);
    color: var(--ez-white);
    font-size: 13px;
}

.sa-baum-kapitel-folge {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--ez-border-subtle);
}

.sa-baum ol {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sa-baum ol ol {
    margin: 7px 0 2px 12px;
    padding-left: 12px;
    border-left: 1px solid var(--ez-border-subtle);
}

.ez-ui .sa-baum ol ol a { font-size: var(--ez-text-xs); }

/* Orientierung */
.sa-orientierung .sa-kapitelkopf { margin-top: 0; }

.sa-orientierung-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.sa-orientierung-grid article {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: var(--ez-radius-card);
    background: var(--ez-white);
}

.sa-orientierung-grid p { margin: 0; color: var(--ez-text-muted); font-size: var(--ez-text-sm); line-height: 1.55; }
.ez-ui .sa-orientierung-grid a { margin-top: auto; color: var(--smart-archive-action); font-size: var(--ez-text-sm); font-weight: 600; text-decoration: none; }
.ez-ui .sa-orientierung-grid a:hover { text-decoration: underline; text-underline-offset: .2em; }

/* Nachbildung einer Schaltfläche der App */
.sa-ui {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 10px;
    background: var(--smart-archive-soft-blue);
    color: var(--smart-archive-action);
    font-size: var(--ez-text-sm);
    font-weight: 600;
}

.sa-ui-archiv { background: #DDF0E6; color: var(--ez-success); }
.sa-sprachen-anleitung { margin-top: 26px; }

/* Kapitel und Abschnitte */
.sa-kapitel {
    scroll-margin-top: calc(var(--kopf-hoehe) + 16px);
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid var(--ez-border-subtle);
    border-top: 3px solid var(--smart-archive-blue);
    border-radius: 24px;
    background: var(--ez-white);
    box-shadow: var(--ez-shadow-card);
}

.sa-kapitel-kopf {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(18px, 3vw, 30px);
    align-items: start;
    margin-bottom: 30px;
}

.sa-kapitel-nr {
    display: grid;
    place-items: center;
    width: clamp(54px, 7vw, 76px);
    height: clamp(54px, 7vw, 76px);
    border-radius: 20px;
    background: linear-gradient(145deg, var(--smart-archive-blue), var(--smart-archive-action-active));
    color: var(--ez-white);
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    box-shadow: 0 10px 24px rgb(23 93 203 / .25);
}

.sa-kapitel-kopf h2 {
    margin: 0 0 12px;
    color: var(--ez-navy);
    font-size: var(--ez-heading-2);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.sa-kapitel-kopf p { max-width: 760px; color: var(--ez-text-muted); font-size: var(--ez-text-base); line-height: 1.7; }

.sa-thema,
.sa-unterthema {
    scroll-margin-top: calc(var(--kopf-hoehe) + 16px);
}

.sa-thema {
    margin-top: clamp(40px, 6vw, 64px);
    padding-top: clamp(32px, 5vw, 48px);
    border-top: 1px solid var(--ez-border-subtle);
}

.sa-unterthema {
    margin-top: clamp(34px, 5vw, 52px);
    padding-left: clamp(16px, 3vw, 30px);
    border-left: 2px solid rgb(50 130 246 / .45);
}

.sa-unterthema-tief { border-left-color: rgb(50 130 246 / .22); }

.smartarchive-artikel .sa-thema-titel {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 0 0 20px;
    color: var(--ez-navy);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.smartarchive-artikel h3.sa-thema-titel { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.smartarchive-artikel h4.sa-thema-titel { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5625rem); }
.smartarchive-artikel h5.sa-thema-titel { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); }

.sa-thema-titel > span {
    flex: 0 0 auto;
    padding: 4px 10px;
    border-radius: var(--ez-radius-pill);
    background: var(--smart-archive-soft-blue);
    color: var(--smart-archive-action);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
}

.sa-thema-inhalt {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: start;
    gap: clamp(28px, 5vw, 56px);
}

.sa-thema-inhalt-voll {
    grid-template-columns: minmax(0, 1fr);
    max-width: 860px;
}

.sa-thema-text > p,
.sa-thema-lead { color: var(--ez-graphite); font-size: var(--ez-text-base); line-height: 1.7; }
.sa-thema-lead { max-width: 820px; margin-bottom: 26px; }
.sa-thema-text .sa-guide-schritte { margin: 22px 0; }
.smartarchive-artikel .sa-klein { margin-top: 18px; color: var(--ez-text-muted); font-size: var(--ez-text-sm); line-height: 1.6; }

.sa-thema-bilder {
    position: sticky;
    top: calc(var(--kopf-hoehe) + 16px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    justify-items: center;
    align-items: start;
    gap: 18px;
}

.sa-thema-bilder .sa-screenshot-phone { width: 100%; max-width: 290px; margin: 0; }

.smartarchive-artikel .sa-zwischentitel { margin: 0 0 16px; font-size: 1.1875rem; }
.smartarchive-artikel .sa-zwischentitel-mitte { margin: 44px 0 20px; text-align: center; font-size: 1.5rem; }

/* Begriffsliste: Element links, Erklärung rechts */
.sa-legende {
    display: grid;
    grid-template-columns: minmax(120px, .32fr) minmax(0, 1fr);
    margin: 0;
    border-top: 1px solid var(--ez-border-subtle);
}

.sa-legende dt,
.sa-legende dd {
    margin: 0;
    padding: 13px 0;
    border-bottom: 1px solid var(--ez-border-subtle);
    font-size: var(--ez-text-sm);
    line-height: 1.6;
}

.sa-legende dt { padding-right: 16px; color: var(--ez-navy); font-weight: 600; }
.sa-legende dd { color: var(--ez-text-muted); }

/* Ablauf mehrerer Bildschirme hintereinander */
.sa-ablauf {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 34px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.sa-ablauf li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sa-ablauf li:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 38%;
    right: calc(clamp(16px, 3vw, 34px) / -2);
    transform: translate(50%, -50%);
    color: var(--smart-archive-blue);
    font-size: 26px;
    font-weight: 700;
}

.sa-ablauf .sa-screenshot { width: 100%; max-width: 260px; }

.sa-ablauf li > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 10px;
}

.sa-ablauf li > div > span {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--smart-archive-action);
    color: var(--ez-white);
    font-size: 13px;
    font-weight: 700;
}

.sa-ablauf strong { color: var(--ez-navy); font-size: .9375rem; }
.sa-ablauf small { color: var(--ez-text-muted); font-size: var(--ez-text-sm); line-height: 1.55; }

.sa-hinweis-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    margin-top: 8px;
}

/* Reiter der Detailansicht als Wegweiser */
.sa-reiter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.ez-ui .sa-reiter a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 16px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: 14px;
    background: var(--ez-white);
    text-decoration: none;
    transition: border-color var(--ez-transition-duration) var(--ez-transition-easing), background-color var(--ez-transition-duration) var(--ez-transition-easing);
}

.ez-ui .sa-reiter a:hover { border-color: var(--smart-archive-blue); background: rgb(219 234 254 / .4); }
.sa-reiter strong { color: var(--ez-navy); font-size: .9375rem; }
.sa-reiter span { color: var(--ez-text-muted); font-size: var(--ez-text-sm); line-height: 1.45; }

/* Mehrere Screenshots nebeneinander */
.sa-bildreihe {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 3vw, 30px);
    align-items: start;
    margin-bottom: 28px;
}

.sa-bildreihe .sa-screenshot-phone { width: 100%; max-width: 280px; }
.sa-bildreihe-breit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sa-bildreihe-breit .sa-screenshot-wide { max-width: none; }

.sa-karten-drei {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.sa-karten-drei article {
    padding: 22px;
    border: 1px solid var(--ez-border-subtle);
    border-top: 3px solid var(--smart-archive-light-blue);
    border-radius: var(--ez-radius-card);
    background: var(--ez-white);
}

.sa-karten-nr { color: var(--smart-archive-action); font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700; }
.smartarchive-artikel .sa-karten-drei h5 { margin: 6px 0 10px; color: var(--ez-navy); font-size: 1.0625rem; font-weight: 600; }
.sa-karten-drei p { color: var(--ez-text-muted); font-size: var(--ez-text-sm); line-height: 1.6; }

.sa-chipliste {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.sa-chipliste li {
    padding: 5px 11px;
    border: 1px solid rgb(50 130 246 / .35);
    border-radius: var(--ez-radius-pill);
    background: var(--smart-archive-soft-blue);
    color: var(--ez-navy);
    font-size: var(--ez-text-xs);
    font-weight: var(--ez-weight-medium);
}

.sa-einstellungsliste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 8px;
}

.ez-ui .sa-einstellungsliste a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: 12px;
    background: var(--ez-white);
    color: var(--ez-navy);
    font-size: var(--ez-text-sm);
    text-decoration: none;
}

.ez-ui .sa-einstellungsliste a:hover { border-color: var(--smart-archive-blue); background: rgb(219 234 254 / .4); }
.sa-einstellungsliste span { min-width: 26px; color: var(--smart-archive-action); font-size: 11px; font-weight: 700; }

.sa-archiv-karten,
.sa-vergleich-karten {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.sa-archiv-karten article,
.sa-vergleich-karten article {
    padding: 20px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: var(--ez-radius-card);
    background: var(--ez-ivory);
}

.sa-archiv-karten strong,
.sa-vergleich-karten strong { display: block; margin-bottom: 8px; color: var(--ez-navy); font-size: 1.0625rem; }
.sa-archiv-karten p,
.sa-vergleich-karten p { color: var(--ez-text-muted); font-size: var(--ez-text-sm); line-height: 1.6; }

.sa-archiv-symbol {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    border-radius: 11px;
    background: #DDF0E6;
    color: var(--ez-success);
    font-size: 22px;
}

.sa-archiv-karten article + article .sa-archiv-symbol { background: var(--smart-archive-soft-blue); color: var(--smart-archive-action); }

.sa-datenschutz-punkte {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.sa-datenschutz-punkte article {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 18px;
    border-left: 3px solid var(--ez-success);
    border-radius: 0 var(--radius-control) var(--radius-control) 0;
    background: rgb(33 97 67 / .06);
}

.sa-datenschutz-punkte strong { color: var(--ez-navy); font-size: .9375rem; }
.sa-datenschutz-punkte span { color: var(--ez-text-muted); font-size: var(--ez-text-sm); line-height: 1.55; }

.ez-ui .sa-inline-link { color: var(--smart-archive-action); text-decoration: underline; text-underline-offset: .2em; }
.ez-ui .sa-inline-link:hover { color: var(--smart-archive-action-hover); text-decoration-thickness: 2px; }

.sa-geraete-unterschiede {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sa-geraete-unterschiede article {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    border: 1px solid var(--ez-border-subtle);
    border-radius: var(--ez-radius-card);
    background: var(--ez-ivory);
}

.sa-geraete-unterschiede strong { color: var(--ez-navy); }
.sa-geraete-unterschiede span { color: var(--ez-text-muted); font-size: var(--ez-text-sm); line-height: 1.55; }

@media (max-width: 991.98px) {
    .sa-hero { grid-template-columns: 1fr; min-height: 0; }
    .sa-hero-text { max-width: 720px; }
    .sa-hero-bilder { min-height: 470px; max-width: 760px; width: 100%; margin: 0 auto; }
    .sa-autopilot { grid-template-columns: 1fr; }
    .sa-vorlagen-sprachen { grid-template-columns: 1fr; }
    .sa-story { gap: 40px; }
    .sa-baum { grid-template-columns: 1fr 1fr; }
    .sa-orientierung-grid { grid-template-columns: 1fr 1fr; }
    .sa-thema-inhalt { grid-template-columns: 1fr; }
    .sa-thema-bilder { position: static; }
    .sa-karten-drei,
    .sa-geraete-unterschiede { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .sa-story { grid-template-columns: 1fr; padding: 32px 0; }
    .sa-story-umgekehrt .sa-story-text,
    .sa-story-umgekehrt .sa-screenshot { order: initial; }
    .sa-geraete-grid,
    .sa-preis-grid,
    .sa-local-ai-fakten,
    .sa-guide-schritte-breit,
    .sa-baum,
    .sa-hinweis-grid,
    .sa-archiv-karten,
    .sa-vergleich-karten,
    .sa-bildreihe-breit { grid-template-columns: 1fr; }
    .sa-apple-geraete,
    .sa-preise,
    .sa-local-ai,
    .sa-autopilot,
    .sa-kapitel { padding: 28px 20px; border-radius: 20px; }
    .sa-ablauf { grid-template-columns: 1fr; justify-items: center; }
    .sa-ablauf li { width: 100%; max-width: 320px; }
    .sa-ablauf li:not(:last-child)::after { content: "↓"; position: static; transform: none; align-self: center; }
    .sa-legende { grid-template-columns: 1fr; }
    .sa-legende dt { padding-bottom: 0; border-bottom: 0; }
    .sa-legende dd { padding-top: 4px; }
    .sa-vergleich-scroll { overflow-x: visible; }
    .sa-vergleich {
        min-width: 0;
        table-layout: fixed;
        font-size: 10px;
    }
    .sa-vergleich th,
    .sa-vergleich td {
        padding: 8px 3px;
        overflow-wrap: anywhere;
    }
    .sa-vergleich th:first-child { width: 52%; }
    .sa-vergleich thead th { width: 16%; font-size: 9px; }
    .sa-vergleich tbody th { font-size: 10px; line-height: 1.35; }
    .sa-vergleich tbody td { font-size: 15px; }
}

@media (max-width: 575.98px) {
    .smartarchive-artikel { margin-top: 30px; }
    .sa-hero { padding-top: 12px; }
    .sa-hero-bilder { min-height: 330px; }
    .sa-device-tablet { width: 94%; border-radius: 16px; }
    .sa-device-phone { width: 31%; border-radius: 15px; }
    .sa-screenshot { border-radius: 17px; }
    .sa-autopilot-grid { grid-template-columns: 1fr; }
    .sa-sortierfilm { height: 170px; }
    .sa-sortier-app { left: 44%; width: 100px; }
    .sa-ordnerablage { width: 36%; gap: 2px; padding: 12px 5px 7px; }
    .sa-ordner { height: 76px; }
    .sa-ordner i { top: 30px; height: 15px; }
    .sa-vorlagen-sprachen { padding: 25px 18px; border-radius: 18px; }
    .sa-sprachen { padding: 18px 14px; }
    .sa-orientierung-grid,
    .sa-reiter { grid-template-columns: 1fr; }
    .sa-kapitel-kopf { grid-template-columns: 1fr; gap: 14px; }
    .sa-unterthema { padding-left: 14px; }
    .sa-bildreihe { grid-template-columns: 1fr; justify-items: center; }
    .smartarchive-artikel .sa-thema-titel { flex-wrap: wrap; gap: 8px; }

    .smartarchive-navigation {
        margin-top: -24px;
    }

    .smartarchive-plattformen {
        grid-template-columns: 1fr;
    }

    .smartarchive-schritt {
        grid-template-columns: 36px 1fr;
        gap: 14px;
    }

    .fusszeile-links {
        padding-right: 64px;
    }
}

/* ---------- Admin-Bereich ---------- */

.anmelde-karte {
    width: 100%;
    max-width: 440px;
    border: 1px solid var(--ez-border-subtle);
    border-top: 3px solid var(--ez-gold);
    box-shadow: var(--ez-shadow-hover);
}

    .anmelde-karte .marke img {
        width: 180px;
    }

/* Sortierbare Tabelle (QuickGrid) */
.admin-tabelle {
    overflow-x: auto;
    border: 1px solid var(--ez-border-subtle);
    border-radius: var(--ez-radius-card);
    background: var(--ez-white);
    box-shadow: var(--ez-shadow-card);
}

    .admin-tabelle table {
        width: 100%;
        border-collapse: collapse;
        font-size: var(--ez-text-sm);
        color: var(--ez-navy);
    }

    .admin-tabelle th {
        text-align: left;
        padding: 12px 14px;
        border-bottom: 1px solid var(--ez-border-subtle);
        background: var(--ez-ivory);
        white-space: nowrap;
    }

        /* Sortier-Knöpfe in den Spaltenköpfen */
        .admin-tabelle th button {
            background: none;
            border: 0;
            color: var(--ez-navy);
            font-family: inherit;
            font-size: var(--ez-text-xs);
            font-weight: 700;
            letter-spacing: .06em;
            text-transform: uppercase;
            cursor: pointer;
            padding: 0;
        }

    .admin-tabelle td {
        padding: 12px 14px;
        border-bottom: 1px solid var(--ez-border-subtle);
        vertical-align: top;
    }

    .admin-tabelle tr:last-child td {
        border-bottom: 0;
    }

    .admin-tabelle tbody tr:hover {
        background: rgb(247 244 238 / .6);
    }

.admin-nachricht {
    max-width: 340px;
    white-space: pre-line;
    color: var(--ez-graphite);
}

.ez-ui .admin-mail {
    color: var(--ez-navy);
    text-decoration: underline;
    text-underline-offset: .2em;
    text-decoration-thickness: 1px;
}

    .ez-ui .admin-mail:hover {
        text-decoration-thickness: 2px;
    }

.admin-haken {
    width: 18px;
    height: 18px;
    accent-color: var(--ez-navy);
    cursor: pointer;
}

.admin-notiz {
    min-width: 200px;
    min-height: 0;
    font-size: var(--ez-text-sm);
    padding: 8px 10px;
}

textarea.admin-notiz {
    min-height: 0;
}

.admin-loeschen {
    background: var(--ez-white);
    border: 1px solid var(--ez-error);
    color: var(--ez-error);
    border-radius: var(--radius-control);
    min-height: 36px;
    padding: 6px 14px;
    font-family: inherit;
    font-size: var(--ez-text-sm);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

    .admin-loeschen:hover {
        background: rgb(165 35 50 / .07);
    }

/* ---------- Fehler- und 404-Seite ---------- */

.hinweis-seite .marke img {
    width: 200px;
    margin-bottom: var(--ez-space-5);
}

/* ---------- Textauftritt beim Scrollen ---------- */

@keyframes text-erscheinen {
    0% {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes text-erscheinen-titel {
    0% {
        opacity: 0;
        transform: translate3d(0, 36px, 0);
        clip-path: inset(100% 0 0 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        clip-path: inset(-12% -3% -22% -3%);
    }
}

@keyframes text-erscheinen-akzent {
    0% {
        opacity: 0;
        transform: translate3d(-24px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes text-goldlinie {
    0% { transform: scaleX(0); opacity: 0; }
    35% { opacity: 1; }
    100% { transform: scaleX(1); opacity: .9; }
}

.text-auftritt {
    animation: text-erscheinen 820ms cubic-bezier(.16, 1, .3, 1)
        var(--text-verzoegerung, 0ms) both;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.text-auftritt-titel {
    position: relative;
    isolation: isolate;
    animation-name: text-erscheinen-titel;
    animation-duration: 950ms;
}

.text-auftritt-titel:is(h1, h2)::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: -.22em;
    width: min(72px, 28%);
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--akzent), color-mix(in srgb, var(--akzent), transparent 70%));
    transform: scaleX(0);
    transform-origin: left center;
    animation: text-goldlinie 900ms cubic-bezier(.16, 1, .3, 1)
        calc(var(--text-verzoegerung, 0ms) + 380ms) both;
}

/* Zentrierte Titel bekommen die Linie mittig */
:is(.sa-kapitelkopf, .sa-abschluss, .text-center) > .text-auftritt-titel:is(h1, h2)::after {
    left: 50%;
    translate: -50% 0;
    transform-origin: center;
}

.text-auftritt-akzent {
    animation-name: text-erscheinen-akzent;
    animation-duration: 760ms;
}

/* Links bleiben beim Navigieren mit der Tastatur sofort sichtbar. */
.text-auftritt:focus-within {
    animation: none;
}

@media (max-width: 575.98px) {
    .text-auftritt { animation-duration: 700ms; }
    .text-auftritt-titel { animation-duration: 820ms; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .text-auftritt,
    .text-auftritt-titel::after,
    .sa-flugblatt,
    .sa-ordner,
    .sa-sortier-app { animation: none !important; }
    .sa-flugblatt { opacity: 1; }
    .schritt-karte:hover { transform: none; }
}

@media print {
    .text-auftritt { animation: none; }
    .hauptnav, .rechts-kopf { position: static; backdrop-filter: none; }
    .nach-oben { display: none !important; }
}
