/* Vertriebswebseite — Farbwerte ausschließlich aus docs/branding.md.
   Kein JavaScript, eine CSS-Datei: die Seite bleibt schnell (SEO). */
:root {
    --stempla-violett: #7616E1;
    --stempla-violett-dunkel: #5E00A6;
    --stempla-purpur: #A501A7;
    --stempla-magenta: #C3008E;
    --stempla-rot: #FF503A;
    --stempla-orange: #FFA84C;

    --stempla-tinte: #2B1042;
    --stempla-flaeche: #FAF8FD;

    --stempla-verlauf: linear-gradient(90deg,
        var(--stempla-violett) 0%,
        var(--stempla-magenta) 45%,
        var(--stempla-rot) 75%,
        var(--stempla-orange) 100%);

    --stempla-linie: #E5DCF2;
    --stempla-flaeche-hell: #FFFFFF;
    --stempla-flaeche-aktiv: #F1E8FC;
    --stempla-text-gedimmt: #6C5A85;

    --breite: 68rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--stempla-tinte);
    background: var(--stempla-flaeche);
    line-height: 1.6;
}

a { color: var(--stempla-violett); }

h1, h2, h3 { line-height: 1.25; }

/* --- Kopf ------------------------------------------------------------------ */

.kopf {
    background: var(--stempla-flaeche-hell);
    position: sticky;
    top: 0;
    z-index: 10;
}

.kopf-innen {
    max-width: var(--breite);
    margin: 0 auto;
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.wortmarke {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--stempla-tinte);
}

.kopf nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: var(--stempla-tinte);
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    font-weight: 500;
}

.nav-link:hover { background: var(--stempla-flaeche-aktiv); }

.nav-link.aktiv { color: var(--stempla-violett); background: var(--stempla-flaeche-aktiv); }

.nav-login {
    border: 1px solid var(--stempla-violett);
    color: var(--stempla-violett);
}

.nav-login:hover { background: var(--stempla-flaeche-aktiv); }

.nav-cta {
    background: var(--stempla-violett);
    color: #fff;
}

.nav-cta:hover { background: var(--stempla-violett-dunkel); }

.akzentlinie { height: 3px; background: var(--stempla-verlauf); }

/* --- Inhaltsraster --------------------------------------------------------- */

.abschnitt {
    max-width: var(--breite);
    margin: 0 auto;
    padding: 3rem 1.25rem;
}

.abschnitt-hell { background: var(--stempla-flaeche-hell); }

.abschnitt-hell-aussen { background: var(--stempla-flaeche-hell); }

.untertitel {
    color: var(--stempla-text-gedimmt);
    font-size: 1.15rem;
    max-width: 44rem;
}

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

.hero {
    text-align: center;
    padding: 4.5rem 1.25rem 3.5rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.1rem);
    margin: 0 auto 1rem;
    max-width: 50rem;
}

.hero .untertitel { margin: 0 auto 2rem; }

.hero-verlauf {
    background: var(--stempla-verlauf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.knopfleiste {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.knopf {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
}

.knopf-primaer { background: var(--stempla-violett); color: #fff; }

.knopf-primaer:hover { background: var(--stempla-violett-dunkel); }

.knopf-sekundaer {
    border: 1px solid var(--stempla-linie);
    color: var(--stempla-violett);
    background: var(--stempla-flaeche-hell);
}

.knopf-sekundaer:hover { background: var(--stempla-flaeche-aktiv); }

.hero-hinweis {
    margin-top: 1rem;
    color: var(--stempla-text-gedimmt);
    font-size: 0.95rem;
}

/* --- Karten ---------------------------------------------------------------- */

.kartenraster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.karte {
    background: var(--stempla-flaeche-hell);
    border: 1px solid var(--stempla-linie);
    border-radius: 12px;
    padding: 1.4rem;
}

.karte h3 { margin-top: 0; }

.karte p { color: var(--stempla-text-gedimmt); margin-bottom: 0; }

a.karte {
    display: block;
    text-decoration: none;
    color: var(--stempla-tinte);
}

a.karte:hover { border-color: var(--stempla-violett); }

a.karte .karten-mehr { color: var(--stempla-violett); font-weight: 600; }

/* --- Listen & Preise ------------------------------------------------------- */

.punkteliste {
    padding-left: 0;
    list-style: none;
    max-width: 44rem;
}

.punkteliste li {
    padding: 0.4rem 0 0.4rem 1.75rem;
    position: relative;
}

.punkteliste li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: var(--stempla-verlauf);
}

.preistabelle { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }

.preistabelle th, .preistabelle td {
    text-align: left;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--stempla-linie);
}

.preistabelle th { border-bottom: 2px solid var(--stempla-tinte); }

.preis { font-weight: 700; white-space: nowrap; }

.hinweis-klein { color: var(--stempla-text-gedimmt); font-size: 0.9rem; }

/* --- FAQ ------------------------------------------------------------------- */

.faq { max-width: 48rem; }

.faq h3 { margin-bottom: 0.35rem; }

.faq p { color: var(--stempla-text-gedimmt); margin-top: 0; }

/* --- Markdown-Inhalte (Recht + Anleitung) ---------------------------------- */

.prosa { max-width: 48rem; }

.prosa h1 { font-size: 2rem; }

.prosa h2 { margin-top: 2.25rem; }

.prosa img { max-width: 100%; }

.prosa table { border-collapse: collapse; width: 100%; }

.prosa th, .prosa td {
    border: 1px solid var(--stempla-linie);
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.prosa code {
    background: var(--stempla-flaeche-aktiv);
    border-radius: 4px;
    padding: 0.1em 0.35em;
    font-size: 0.9em;
}

.prosa blockquote {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    border-left: 4px solid var(--stempla-violett);
    background: var(--stempla-flaeche-hell);
}

/* --- Anleitung: Inhaltsverzeichnis ----------------------------------------- */

.anleitung-raster {
    display: grid;
    grid-template-columns: 16rem 1fr;
    gap: 2.5rem;
    align-items: start;
}

.anleitung-nav {
    position: sticky;
    top: 4.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.anleitung-nav a {
    text-decoration: none;
    color: var(--stempla-tinte);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
}

.anleitung-nav a:hover { background: var(--stempla-flaeche-aktiv); }

.anleitung-nav a.aktiv { color: var(--stempla-violett); background: var(--stempla-flaeche-aktiv); font-weight: 600; }

@media (max-width: 48rem) {
    .anleitung-raster { grid-template-columns: 1fr; }
    .anleitung-nav { position: static; }
}

/* --- Fuß ------------------------------------------------------------------- */

.fuss {
    margin-top: 3rem;
    background: var(--stempla-flaeche-hell);
    border-top: 1px solid var(--stempla-linie);
}

.fuss-innen {
    max-width: var(--breite);
    margin: 0 auto;
    padding: 2.5rem 1.25rem 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    gap: 2rem;
}

.fuss-spalte { display: flex; flex-direction: column; gap: 0.4rem; }

.fuss-titel {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--stempla-text-gedimmt);
    margin-bottom: 0.35rem;
}

.fuss a { text-decoration: none; color: var(--stempla-tinte); }

.fuss a:hover { color: var(--stempla-violett); }

.fuss-zeile {
    max-width: var(--breite);
    margin: 0 auto;
    padding: 1rem 1.25rem 2rem;
    color: var(--stempla-text-gedimmt);
    font-size: 0.9rem;
}

/* --- Cookie-Banner --------------------------------------------------------- */

.cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1000;
    background: var(--stempla-flaeche-hell);
    border-top: 3px solid transparent;
    border-image: var(--stempla-verlauf) 1;
    box-shadow: 0 -8px 24px rgba(43, 16, 66, 0.12);
}

.cookie-banner[hidden] { display: none; }

.cookie-inhalt {
    max-width: var(--breite);
    margin: 0 auto;
    padding: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

.cookie-titel {
    width: 100%;
    margin: 0;
    font-size: 1.05rem;
    color: var(--stempla-tinte);
}

.cookie-text {
    flex: 1 1 22rem;
    margin: 0;
    color: var(--stempla-text-gedimmt);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-knopfleiste {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-knopfleiste .knopf {
    border: none;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.cookie-knopfleiste .knopf-sekundaer { border: 1px solid var(--stempla-linie); }

@media (max-width: 40rem) {
    .cookie-knopfleiste { width: 100%; }
    .cookie-knopfleiste .knopf { flex: 1 1 auto; text-align: center; }
}
