/* Basis-Tokens + Reset für die Staatenlos-Affiliate-Homepage (Dark-Green-Shop-Theme). */

:root {
    --bg: #3d5222; /* Rahmen-Hintergrund (dunkles Grün wie Referenz-Shop) */
    --gruen: #52702e; /* Titel-Grün der Kacheln */
    --knopf: #466026; /* CTA-Grün */
    --knopf-dunkel: #35491b;
    --tinte: #141414;
    --grau-text: #6b6f66;
    --grau-flaeche: #eceee7;
    --linie: rgba(20, 20, 20, 0.12);
    --karte-b: 1020px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

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

h1,
h2,
h3 {
    line-height: 1.2;
    margin: 0 0 0.5em;
    color: var(--tinte);
}

p {
    margin: 0 0 1em;
}

/* Durchgestrichener Alt-Preis (rot) neben dem aktuellen Preis */
.preis-alt {
    color: #d32f2f;
    font-weight: 500;
    text-decoration: line-through;
    margin-right: 0.45rem;
}

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

a {
    color: inherit;
}

/* ── Die weiße Karte in der Mitte (wie beim Referenz-Shop) ── */
.karte {
    width: min(var(--karte-b), 100%);
    margin-inline: auto;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.karte > main,
.karte > header,
.karte > section {
    width: 100%;
}

@media (max-width: 1080px) {
    .karte {
        width: 100%;
    }
}

/* ── Footer auf Grün ── */
footer {
    padding: 2.5rem 1.25rem 3rem;
    text-align: center;
    color: #e6ecdc;
}

footer a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    margin: 0 0.75rem;
}

.affiliate-hinweis {
    max-width: 62ch;
    margin: 1.25rem auto 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
}
