/*
 * Soulliminals — Design-Basis (MS-BS-09 TC-BS-09-02)
 * Branding exakt nach BRANDING_SOULLIMINALS.md: 6 Hex-Farben,
 * Cormorant Garamond Light (Display) + Inter (Body), lokal self-hosted
 * (KEIN Google-Fonts-CDN — DSGVO). Mobile-first.
 */

/* ---------- Fonts (lokal, WOFF2 aus Business-Suite-Bestand) ---------- */
@font-face {
    font-family: "Cormorant Garamond";
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: url("/static/fonts/CormorantGaramond-Light.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("/static/fonts/Inter-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("/static/fonts/Inter-Bold.woff2") format("woff2");
}

/* ---------- Branding-Farbpalette (exakt, keine eigenen Farben) ---------- */
:root {
    /* Festes helles Design: verhindert browserseitiges Auto-Darkening
       (Mobil-Dunkelmodus invertierte die Creme-Flaechen, Indigo-Logo
       wurde unsichtbar — Direktor-Befund Live-Abnahme 2026-06-07) */
    color-scheme: only light;
    --color-indigo: #2E1F47;   /* Nachtindigo — Headlines, Wortmarke, primaer */
    --color-sand: #E8D9C0;     /* Wuestensand — Flaechen, Karten, Trenner */
    --color-champagne: #C9B68C; /* Champagner — Akzent-Linien, Highlights */
    --color-silver: #BFC3CE;   /* Mond-Silber — Sekundaer-Linien, Subtext */
    --color-ink: #0A0A0A;      /* Tinte — Body-Text */
    --color-cream: #F8F5EE;    /* Creme — Hintergrund (kein reines Weiss) */

    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- Basis ---------- */
* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--color-cream);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    /* Lange Woerter (z. B. Komposita im Hinweis-Block) duerfen umbrechen —
       verhindert horizontales Scrollen auf schmalen Geraeten (AK3) */
    overflow-wrap: break-word;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 300;
    color: var(--color-indigo);
    line-height: 1.2;
    margin: 0 0 0.75rem;
}

h2 {
    font-size: 1.75rem;
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--color-indigo);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 70rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-sand);
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    /* Logo Breit (Symbol + Wortmarke, 800x120, transparent) —
       Branding-Durchgang Direktor + Manager 2026-06-07 */
    display: block;
    height: 2rem;
    width: auto;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.site-nav a {
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.25rem 0;
}

.site-nav a:hover {
    color: var(--color-champagne);
}

.lang-switch {
    color: var(--color-ink);
    border: 1px solid var(--color-silver);
    border-radius: 999px;
    padding: 0.2rem 0.8rem !important;
}

/* ---------- Hero ---------- */
.hero {
    text-align: center;
    padding: 3.5rem 0 3rem;
}

.hero-logo {
    /* Gestapeltes Logo (Symbol ueber Wortmarke, 1100x600, transparent) als
       H1-Bild — Breite via min(): nie breiter als der Viewport (AK3) */
    margin: 0 0 0.75rem;
}

.hero-logo img {
    display: block;
    width: min(78vw, 20rem);
    height: auto;
    margin: 0 auto;
}

.hero-subtitle {
    color: var(--color-ink);
    font-size: 1.1rem;
    margin: 0 auto;
    max-width: 36rem;
}

.hero-rule {
    width: 4rem;
    height: 2px;
    background: var(--color-champagne);
    border: 0;
    margin: 1.5rem auto 0;
}

/* ---------- Sections ---------- */
.section {
    padding: 2.5rem 0;
}

.section-alt {
    background: var(--color-sand);
}

/* ---------- Schritte (Wie es laeuft) ---------- */
.steps {
    list-style: none;
    counter-reset: step;
    margin: 1.5rem 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.steps li {
    counter-increment: step;
    background: var(--color-cream);
    border: 1px solid var(--color-sand);
    border-radius: 0.5rem;
    padding: 1.25rem 1.25rem 1.25rem 3.25rem;
    position: relative;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 1rem;
    top: 1.1rem;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--color-indigo);
    color: var(--color-cream);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soon {
    margin-top: 1.25rem;
}

.soon-badge {
    display: inline-block;
    background: var(--color-indigo);
    color: var(--color-cream);
    border-radius: 999px;
    font-size: 0.85rem;
    padding: 0.2rem 0.9rem;
    margin-right: 0.5rem;
}

/* ---------- Hinweis-Block (HWG-Disclaimer) ---------- */
.notice {
    border: 1px solid var(--color-champagne);
    border-radius: 0.5rem;
    background: var(--color-cream);
    padding: 1.5rem;
    font-size: 0.95rem;
}

.notice h2 {
    font-size: 1.4rem;
}

/* ---------- Blog (TC-BS-09-04) ---------- */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin: 0 0 1.5rem;
}

.blog-categories a {
    text-decoration: none;
    font-size: 0.95rem;
    border: 1px solid var(--color-silver);
    border-radius: 999px;
    padding: 0.2rem 0.8rem;
}

.blog-categories a.active {
    border-color: var(--color-champagne);
    background: var(--color-sand);
}

.article-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.article-list li {
    background: var(--color-cream);
    border: 1px solid var(--color-sand);
    border-radius: 0.5rem;
    padding: 1.25rem;
}

.article-list h2 {
    font-size: 1.4rem;
}

.read-more {
    font-size: 0.95rem;
}

.article-meta {
    color: var(--color-silver);
    font-size: 0.9rem;
}

.product-hint {
    border: 1px solid var(--color-champagne);
    border-radius: 0.5rem;
    background: var(--color-sand);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}

.product-hint-label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.article-disclaimer {
    margin: 1.5rem 0;
}

.author-box {
    border-top: 1px solid var(--color-sand);
    padding-top: 1rem;
    margin: 1.5rem 0 0;
    font-size: 0.95rem;
}

.article-sources {
    font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--color-indigo);
    color: var(--color-cream);
    padding: 2rem 0;
    margin-top: 2.5rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1rem;
}

.footer-nav a {
    color: var(--color-cream);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: var(--color-champagne);
}

.footer-disclaimer {
    color: var(--color-silver);
    font-size: 0.85rem;
    margin: 0 0 0.75rem;
}

.footer-brand {
    color: var(--color-silver);
    font-size: 0.85rem;
    margin: 0;
}

/* ---------- Desktop (>= 768 px) ---------- */
@media (min-width: 768px) {
    h2 {
        font-size: 2.1rem;
    }

    .hero {
        padding: 5rem 0 4rem;
    }

    .hero-logo img {
        width: min(50vw, 26rem);
    }

    .section {
        padding: 3.5rem 0;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .brand-logo {
        height: 2.5rem;
    }
}
