/* 121 Studios. Gestaltung: fester Hintergrund, feste Kopfleiste mit Weichzeichner, weißer Kasten läuft mit dem Seitenscroll darunter durch. */

@font-face { font-family: "Barlow"; src: url("../schriften/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../schriften/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../schriften/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../schriften/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Saira"; src: url("../schriften/saira-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Saira"; src: url("../schriften/saira-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Saira"; src: url("../schriften/saira-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }

:root {
    /* Hintergrundfassungen: a blasses Orange, b deutlich grauer. Die Bilder sind nahtlose Kacheln. */
    --hintergrund-a: #EE8C33 image-set(url("../hintergrund/121-hintergrund-a-1920x1080.webp") 1x, url("../hintergrund/121-hintergrund-a-3840x2160.webp") 2x) center top / 1920px 1080px repeat;
    --hintergrund-b: #BE9E80 image-set(url("../hintergrund/121-hintergrund-b-1920x1080.webp") 1x, url("../hintergrund/121-hintergrund-b-3840x2160.webp") 2x) center top / 1920px 1080px repeat;

    /* EINE ZEILE: Zum Wechsel auf die graue Fassung hier a durch b ersetzen. */
    --hintergrund: var(--hintergrund-a);

    --tinte: #0F0F0F;
    --text: #1C1C1C;
    --leise: #595754;
    --linie: #E4E0DA;
    --flaeche: #F6F4F0;
    --papier: #FFFFFF;
    --orange: #EE8C33;
    --orange-hell: #FFF1E3;
    --orange-tief: #9A4B05;
    --radius-gross: 22px;
    --radius: 12px;
    --innen: clamp(20px, 4vw, 48px);
    --schrift: "Barlow", system-ui, "Segoe UI", Arial, sans-serif;
    --titel: "Saira", "Barlow", system-ui, "Segoe UI", Arial, sans-serif;
    --kopf-hoehe: 80px;
    --kasten-rand: clamp(12px, 2vw, 28px);
    /* Helle Glasfläche, passt zu beiden Hintergrundfassungen und hält den Kontrast auch über dunklen Bildern. */
    --kopf-glas: rgba(255, 246, 236, .55);
    --kopf-deckend: rgba(255, 246, 236, .96);
}

*, *::before, *::after { box-sizing: border-box; }




/* Gescrollt wird die Seite selbst: Der Kasten läuft unter der festen Kopfleiste durch, der Hintergrund bleibt stehen. */
html { scroll-padding-top: calc(var(--kopf-hoehe) + 12px); }
body {
    margin: 0;
    font: 400 17px/1.6 var(--schrift);
    color: var(--text);
    background: #EE8C33;
}
/* Der Hintergrund liegt fest im Fenster. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    transform: translateZ(0); /* eigene Ebene: Der Hintergrund wird beim Scrollen nicht neu gezeichnet */
    z-index: -1;
    background: var(--hintergrund);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--orange-tief); text-underline-offset: 2px; }
a:hover { color: var(--tinte); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--tinte); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titel); color: var(--tinte); line-height: 1.15; margin: 0; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.springen {
    position: fixed; left: 12px; top: -80px; z-index: 50;
    padding: 10px 16px; border-radius: 8px;
    background: var(--tinte); color: #fff;
}
.springen:focus { top: 12px; color: #fff; }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Kopfleiste */
.kopf {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 20;
    height: var(--kopf-hoehe);
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Menü mittig, Logo links, Knöpfe rechts */
    align-items: center;
    gap: 16px;
    padding: 0 var(--kasten-rand);
}
/* Ganz oben ist die Leiste durchsichtig. Die Fläche liegt auf einem eigenen Element, das fest weichzeichnet.
   Beim Scrollen wird nur dessen Deckkraft überblendet, --kopf-deck setzt shop.js über die ersten 120 Pixel. */
.kopf::before {
    content: "";
    position: absolute;
    inset: 0; /* endet genau mit der Leiste, klare Kante mit feiner Linie */
    z-index: -1;
    pointer-events: none;
    border-bottom: 1px solid rgba(15, 15, 15, .16);
    opacity: var(--kopf-deck, 0);
    will-change: opacity;
    background: var(--kopf-deckend); /* Rückfall ohne Weichzeichner */
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .kopf::before {
        background: var(--kopf-glas);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }
}
html:not(.js) .kopf::before { opacity: 1; }
.marke { justify-self: start; display: block; border-radius: 8px; }
.marke img { height: 66px; width: auto; }

.hauptmenue ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.hauptmenue a {
    display: block;
    padding: 8px 16px;
    border-radius: 8px;
    font: 700 1.02rem/1.3 var(--titel);
    color: var(--tinte);
    text-decoration: none;
}
.hauptmenue a:hover { background: rgba(15, 15, 15, .12); color: var(--tinte); }
.hauptmenue a[aria-current="page"] { background: var(--tinte); color: #fff; }

.aktionen { justify-self: end; grid-column: 3; display: flex; align-items: center; gap: 8px; }
.sprache { display: flex; border: 2px solid var(--tinte); border-radius: 9px; overflow: hidden; }
.aktion:hover { background: rgba(15, 15, 15, .12); color: var(--tinte); }
.aktion svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.aktion-voll { background: var(--tinte); color: #fff; padding: 0 16px; }
.aktion-voll:hover { background: #2d2d2d; color: #fff; }
.zaehler {
    position: absolute; top: -8px; right: -8px;
    min-width: 22px; height: 22px; padding: 0 5px;
    border-radius: 11px; border: 2px solid var(--orange);
    background: var(--tinte); color: #fff;
    font: 700 .72rem/18px var(--schrift); text-align: center;
}
.zaehler[hidden] { display: none; }
.menue-knopf { display: none; }

/* Der weisse Kasten */
.kasten {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1800px, 94%);
    min-height: calc(100vh - var(--kopf-hoehe) - 28px);
    min-height: calc(100dvh - var(--kopf-hoehe) - 28px);
    margin: calc(var(--kopf-hoehe) + 12px) auto 16px;
    background: var(--papier);
    border-radius: var(--radius-gross);
    overflow: hidden;
    overflow: clip; /* clip lässt die klebenden Leisten im Kasten arbeiten */
    box-shadow: 0 10px 34px rgba(60, 28, 0, .28);
}
.kasten-innen main { flex: 1 0 auto; }
main:focus { outline: none; }

.abschnitt { padding: clamp(32px, 5vw, 60px) var(--innen); }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }
.abschnitt-flaeche { background: var(--flaeche); }
.dach { font: 700 .86rem/1.3 var(--titel); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-tief); margin: 0 0 8px; }
.einleitung { font-size: 1.12rem; max-width: 66ch; }
.seitenkopf { padding: clamp(28px, 4vw, 48px) var(--innen) 0; }
.seitenkopf h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 10px; }
.seitenkopf p { max-width: 66ch; }


/* Platzhalter: klar erkennbar */
.ph {
    display: inline-block;
    padding: 0 7px;
    border: 1.5px dashed var(--orange-tief);
    border-radius: 5px;
    background: var(--orange-hell);
    color: #6B3400;
    font-weight: 600;
    font-size: .94em;
    line-height: 1.55;
}

/* Schrägform aus dem Logo */
.schraeg {
    display: inline-block;
    padding: 2px 12px;
    background: var(--tinte); color: #fff;
    font: 800 .85rem/1.5 var(--titel);
    transform: skewX(-14deg);
    border-radius: 3px;
}
.schraeg > span { display: inline-block; transform: skewX(14deg); }
.schraeg-orange { background: var(--orange); color: var(--tinte); }

/* Startseite: Kopfbereich */
.auftakt { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); }
.auftakt-text { padding: clamp(36px, 6vw, 76px) var(--innen); display: flex; flex-direction: column; justify-content: center; }
.auftakt h1 { font-size: clamp(2.3rem, 4.9vw, 3.9rem); font-style: italic; line-height: 1.04; margin-bottom: 22px; overflow-wrap: anywhere; hyphens: none; }
.leitspruch { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; font-size: 1.14rem; font-weight: 500; }
.eins-zu-eins {
    flex: none;
    display: inline-block;
    padding: 2px 18px;
    background: var(--tinte); color: #fff;
    font: italic 800 2.1rem/1.3 var(--titel);
    transform: skewX(-14deg);
    border-radius: 4px;
}
.eins-zu-eins > span { display: inline-block; transform: skewX(14deg); }
.auftakt-bild { position: relative; min-height: 340px; overflow: hidden; background: var(--flaeche); clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%); }
.auftakt-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 60%; }

/* Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 10px 22px;
    border: 2px solid var(--tinte); border-radius: 10px;
    background: transparent; color: var(--tinte);
    font: 700 1rem/1.2 var(--titel);
    text-align: center; text-decoration: none;
}
.knopf:hover { background: var(--flaeche); color: var(--tinte); }
.knopf-kaufen { background: var(--orange); }
.knopf-kaufen:hover { background: #F7A052; }
.knopf-dunkel { background: var(--tinte); color: #fff; }
.knopf-dunkel:hover { background: #2d2d2d; color: #fff; }
.knopf-breit { width: 100%; }
.knopf[disabled] { opacity: .5; cursor: not-allowed; }

/* Raster */
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
.wir { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.wir img { width: 100%; }
.wir h2 { margin-bottom: 14px; }
.karten-drei { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.karten-drei li { padding: 22px; background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); }
.karten-drei h3 { margin-bottom: 8px; }
.zahlen { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.zahlen li { padding: 14px 16px; border-left: 4px solid var(--orange); background: var(--flaeche); border-radius: 0 8px 8px 0; font-size: .95rem; line-height: 1.3; }
.zahlen strong { display: block; font: 800 1.35rem/1.25 var(--titel); color: var(--tinte); white-space: nowrap; }
.zahlen small { font: 700 .82rem/1 var(--titel); }
.projekt-bild { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bild-unter { font-size: .9rem; color: var(--leise); margin-top: 8px; }
.projekt-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 12px; }

/* Shop: Liste */
.produktliste { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 20px; }
.produkt-karte { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; background: var(--papier); }
.produkt-karte-bild { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--flaeche); }
.produkt-karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.produkt-karte-bild .schraeg { position: absolute; left: 14px; top: 12px; }
.produkt-karte-text { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.produkt-karte h3 a { color: var(--tinte); text-decoration: none; }
.produkt-karte h3 a:hover { text-decoration: underline; }
.produkt-karte .kategorie { font-size: .88rem; color: var(--leise); margin: 0; }
.produkt-karte-fuss { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.preis { font: 800 1.35rem/1.25 var(--titel); color: var(--tinte); margin: 0; }
.produkt-karte-leer { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; min-height: 260px; padding: 22px; border: 2px dashed var(--linie); border-radius: var(--radius); background: var(--flaeche); }
.laden-hinweis { margin-top: 24px; }

/* Shop: Produktseite */
.pfad { padding: 18px var(--innen) 0; font-size: .92rem; color: var(--leise); }
.pfad ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pfad li + li::before { content: "/"; margin-right: 6px; }
.produkt-kopf { padding: 14px var(--innen) 22px; }
.produkt-kopf h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-style: italic; margin-bottom: 6px; }
.produkt-raster { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 36px); padding: 0 var(--innen) 36px; align-items: start; }
.galerie-buehne { border-radius: var(--radius); overflow: hidden; background: var(--flaeche); aspect-ratio: 16 / 9; }
.galerie-buehne img { width: 100%; height: 100%; object-fit: cover; }
.bild-platzhalter { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center; border: 2px dashed #CFC9C0; border-radius: var(--radius); }
.bild-platzhalter strong { font-family: var(--titel); color: var(--tinte); }
.galerie-unter { font-size: .92rem; color: var(--leise); margin: 8px 0 0; min-height: 1.5em; }
.galerie-leiste { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.galerie-leiste button {
    display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden;
    border: 2px solid var(--linie); border-radius: 7px; background: var(--flaeche);
    font-size: .7rem; line-height: 1.15; color: var(--leise);
}
.galerie-leiste button img { width: 100%; height: 100%; object-fit: cover; }
.galerie-leiste button[aria-current="true"] { border-color: var(--tinte); }
.kaufbox { position: sticky; top: calc(var(--kopf-hoehe) + 16px); padding: 22px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--papier); box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }
.kaufbox .preis { font-size: 1.7rem; margin: 12px 0 2px; }
.kaufbox .steuer { font-size: .85rem; color: var(--leise); margin-bottom: 14px; }
.kaufbox .knoepfe { flex-direction: column; }
.daten { margin: 18px 0 0; font-size: .95rem; }
.daten div { display: grid; grid-template-columns: 42% 1fr; gap: 8px; padding: 7px 0; border-top: 1px solid var(--linie); }
.daten dt { color: var(--leise); }
.daten dd { margin: 0; font-weight: 500; }
.kaufbox-hinweis { font-size: .88rem; color: var(--leise); margin: 14px 0 0; }
.meldung { min-height: 1.5em; font-size: .92rem; font-weight: 600; color: #1F6B2B; margin: 10px 0 0; }

.sprungleiste { position: sticky; top: var(--kopf-hoehe); z-index: 5; background: var(--papier); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.sprungleiste ul { list-style: none; margin: 0; padding: 0 var(--innen); display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.sprungleiste a { display: block; padding: 13px 0; white-space: nowrap; font: 700 .96rem/1.3 var(--titel); color: var(--tinte); text-decoration: none; }
.sprungleiste a:hover { color: var(--orange-tief); text-decoration: underline; }
.produkt-teil { padding: clamp(28px, 4vw, 44px) var(--innen); scroll-margin-top: 52px; }
.produkt-teil + .produkt-teil { border-top: 1px solid var(--linie); }
.produkt-teil > h2 { margin-bottom: 16px; }
.fliess h3 { margin: 22px 0 6px; }
.kasten-weich { padding: 20px; background: var(--flaeche); border-radius: var(--radius); }
.kasten-weich h3 { margin-bottom: 10px; }
.punkte { margin: 0; padding-left: 1.2em; }
.punkte li { margin-bottom: 6px; }
.punkte-spalten { columns: 2; column-gap: 36px; }
.punkte-spalten li { break-inside: avoid; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .98rem; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--linie); }
.tabelle thead th { font-family: var(--titel); border-bottom: 2px solid var(--tinte); }
.tabelle tbody th { font-weight: 600; width: 36%; }
.tabelle .gruppe th { width: auto; background: var(--flaeche); font-family: var(--titel); }
.tabelle-rahmen { overflow-x: auto; }
.klein { font-size: .9rem; color: var(--leise); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--linie); border-radius: 10px; background: var(--papier); }
.faq summary { padding: 14px 18px; cursor: pointer; font: 700 1.04rem/1.35 var(--titel); color: var(--tinte); }
.faq details[open] summary { border-bottom: 1px solid var(--linie); }
.faq .antwort { padding: 14px 18px; }
.faq-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 32px; align-items: start; }
.faq-gruppe h2 { font-size: 1.4rem; margin-bottom: 12px; }

/* Warenkorb und Kasse */
.korb { width: 100%; border-collapse: collapse; }
.korb th, .korb td { padding: 14px 10px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: middle; }
.korb thead th { font: 700 .95rem/1.3 var(--titel); border-bottom: 2px solid var(--tinte); }
.korb .zahl { text-align: right; white-space: nowrap; }
.korb-produkt { display: flex; align-items: center; gap: 14px; }
.korb-produkt img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px; flex: none; }
.korb-produkt a { font: 700 1.08rem/1.25 var(--titel); color: var(--tinte); }
.link-knopf { border: 0; background: none; padding: 6px 0; color: var(--orange-tief); text-decoration: underline; }
.link-knopf:hover { color: var(--tinte); }
.summe { margin: 22px 0 0 auto; width: min(420px, 100%); }
.summe-zeile { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; align-items: baseline; }
.summe-zeile-gross { border-top: 2px solid var(--tinte); font: 800 1.2rem/1.3 var(--titel); color: var(--tinte); }
.leer { padding: 28px; text-align: center; background: var(--flaeche); border-radius: var(--radius); }
.leer .knoepfe { justify-content: center; margin-top: 12px; }
.kasse-raster { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.schritte { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font: 700 .9rem/1.3 var(--titel); }
.schritte li { padding: 6px 12px; background: var(--flaeche); border-radius: 7px; }
.schritte li[aria-current] { background: var(--tinte); color: #fff; }
fieldset { margin: 0 0 22px; padding: 20px; border: 1px solid var(--linie); border-radius: var(--radius); }
legend { padding: 0 8px; font: 700 1.08rem/1.3 var(--titel); color: var(--tinte); }
.feld { display: block; margin-bottom: 14px; }
.feld span.bez { display: block; margin-bottom: 4px; font-weight: 600; font-size: .95rem; }
.feld input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #8D8880; border-radius: 8px; background: #fff; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wahl { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.wahl input { margin-top: 6px; }
fieldset[disabled] { background: var(--flaeche); }
fieldset[disabled] input { background: #EFECE7; cursor: not-allowed; }
.anmelden-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

/* Kontakt */
.kontakt-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kontakt-liste > li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; border: 1px solid var(--linie); border-radius: var(--radius); }

/* Rechtsseiten */
.recht { max-width: 760px; }
.recht h2 { font-size: 1.3rem; margin: 26px 0 8px; }

/* Fuß, Teil des Kastens */
.fuss { flex: none; padding: 30px var(--innen); background: var(--tinte); color: #E8E5E0; font-size: .95rem; }
.fuss a { color: #fff; }
.fuss a:hover { color: #FFB877; }
.fuss :focus-visible { outline-color: #fff; }
.fuss-raster { display: flex; flex-wrap: wrap; gap: 20px 44px; justify-content: space-between; align-items: flex-start; }
.fuss-marke { max-width: 400px; }
.fuss-marke strong { display: block; font: italic 800 1.2rem/1.3 var(--titel); color: #fff; margin-bottom: 4px; }
.fuss-1zu1 { color: #FFB877; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.fuss-unten { margin-top: 18px; padding-top: 14px; border-top: 1px solid #3A3A3A; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; color: #C4BFB7; }
.fuss .ph { background: #2A2118; color: #FFCFA3; border-color: #FFB877; }

@media (max-width: 1040px) {
    .karten-drei, .kontakt-liste { grid-template-columns: 1fr; }
    .produkt-raster, .kasse-raster, .zweispaltig { grid-template-columns: 1fr; }
    .kaufbox { position: static; }
    .kasse-zusammenfassung { order: -1; }
}

/* Auf schmalen Fenstern klappt das Menü ein: Logo links, Knöpfe rechts, die Punkte unter dem Menüknopf */
@media (max-width: 960px) {
    .kopf { grid-template-columns: auto 1fr; }
    .aktionen { grid-column: 2; }
    .menue-knopf { display: inline-flex; padding: 0; }
    .aktionen { gap: 6px; }
    .hauptmenue {
        display: none;
        position: absolute; left: 10px; right: 10px; top: calc(100% + 6px);
        padding: 8px;
        background: var(--papier);
        border-radius: var(--radius);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
    }
    .hauptmenue.offen { display: block; }
    .hauptmenue ul { flex-direction: column; }
    .hauptmenue a { padding: 12px 14px; }
    /* Ohne JavaScript lässt sich nichts aufklappen: Das Menü steht dann als eigene Zeile unter dem Kopf. */
    html:not(.js) .hauptmenue { display: block; top: 100%; left: 0; right: 0; border-radius: 0; padding: 4px 8px; background: var(--kopf-deckend); box-shadow: none; }
    html:not(.js) .hauptmenue ul { flex-direction: row; flex-wrap: wrap; }
    html:not(.js) .menue-knopf { display: none; }
    html:not(.js) .kasten { margin-top: calc(var(--kopf-hoehe) + 60px); }
}
@media (max-width: 860px) {
    .auftakt { grid-template-columns: 1fr; }
    .auftakt-bild { order: -1; min-height: 0; aspect-ratio: 16 / 8; clip-path: none; }
    .wir { grid-template-columns: 1fr; }
    .wir img { width: 170px; }
    .punkte-spalten { columns: 1; }
    .anmelden-raster { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    :root { --kopf-hoehe: 64px; }
    body { font-size: 16px; }
    .kopf { padding: 0 10px; gap: 8px; }
    .marke img { height: 52px; }
    .auftakt h1 { font-size: clamp(1.7rem, calc((100vw - 52px) / 8.7), 2.3rem); }
    .kasten { width: calc(100% - 12px); margin-top: calc(var(--kopf-hoehe) + 6px); margin-bottom: 6px; --radius-gross: 16px; }
    .aktion-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .aktion { padding: 0; }
    .aktion-voll { padding: 0; }
    .leitspruch { flex-direction: column; align-items: flex-start; gap: 10px; }
    .feld-paar { grid-template-columns: 1fr; }
    .galerie-leiste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .korb-produkt img { display: none; }
    .korb th, .korb td { padding: 12px 4px; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}

/* Innere Hülle des Kastens: hält Inhalt und Fuß in einer Spalte, der Fuß sitzt unten. */
.kasten-innen { flex: 1 0 auto; display: flex; flex-direction: column; }

/* Sprachwahl sind Links auf die eigene Sprachadresse */
.sprache a {
    display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 10px;
    font: 700 .9rem/1 var(--titel); color: var(--tinte); text-decoration: none;
}
.sprache a:hover { background: rgba(15, 15, 15, .12); color: var(--tinte); }
.sprache a[aria-current] { background: var(--tinte); color: #fff; }
.sprache a:focus-visible { outline-offset: -5px; outline-color: currentColor; }

.galerie-folie { margin: 0; }
.galerie-folie[hidden] { display: none; }

/* Fuß: unser Logo, unten rechts Teil von GU5 */
.fuss-logo { display: inline-block; margin-bottom: 8px; }
.fuss-logo img { height: 92px; width: auto; }
.fuss-unten { align-items: center; }
.teil-von { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font: 700 .95rem/1 var(--titel); }
.teil-von img { height: 54px; width: auto; }
.teil-von:hover { color: #fff; }

@media (min-width: 1200px) { .punkte-spalten { columns: 3; } }
@media (max-width: 960px) { .kasten { width: calc(100% - 2 * var(--kasten-rand)); } }
@media (max-width: 560px) {
    .sprache a { padding: 6px 7px; }
    .kasten { width: calc(100% - 12px); }
}

/* Untermenü: Die Karten stehen direkt unter Shop */
.hat-unter { position: relative; }
.untermenue {
    display: none !important;
    position: absolute; left: 0; top: 100%;
    min-width: 200px; padding: 8px !important;
    flex-direction: column;
    background: var(--papier); border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}
.hat-unter:hover .untermenue, .hat-unter:focus-within .untermenue { display: flex !important; }
.untermenue a { white-space: nowrap; }
@media (max-width: 960px) {
    .untermenue { display: flex !important; position: static; padding: 0 0 0 14px !important; box-shadow: none; background: none; }
    .untermenue a { font-weight: 700; font-size: .95rem; padding: 8px 14px; }
}
.fuss-titel { margin: 0 0 6px; font: 700 .86rem/1.3 var(--titel); letter-spacing: .06em; text-transform: uppercase; color: #FFB877; }
#karten h2 { margin-bottom: 4px; }

/* Knöpfe rechts in der Kopfleiste */
.aktion {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; min-width: 44px; padding: 0 10px;
    border: 2px solid var(--tinte); border-radius: 9px;
    background: transparent;
    color: var(--tinte); text-decoration: none;
    font: 700 .95rem/1 var(--titel);
}
.aktion:hover { background: rgba(15, 15, 15, .12); color: var(--tinte); }
.aktion-voll { background: var(--tinte); color: #fff; padding: 0 16px; }
.aktion-voll:hover { background: #2d2d2d; color: #fff; }
.aktion svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menue-knopf { display: none; }
@media (max-width: 960px) { .menue-knopf { display: inline-flex; padding: 0; } }
@media (max-width: 560px) { .aktion, .aktion-voll { padding: 0; } }

/* Solange es nur eine Karte gibt, nutzt sie auf der Startseite die volle Breite */
@media (min-width: 761px) {
    #karten .produktliste:has(> li:only-child) { grid-template-columns: 1fr; }
    #karten li:only-child .produkt-karte { flex-direction: row; }
    #karten li:only-child .produkt-karte-bild { flex: 0 0 56%; aspect-ratio: auto; min-height: 340px; }
    #karten li:only-child .produkt-karte-text { padding: 26px 30px; }
    #karten li:only-child h3 { font-size: 1.6rem; }
}

/* Fuß schwarz, klar getrennt vom Inhalt. Die Logos bleiben unverändert, ihre weiße Kontur trägt sie auf dem dunklen Grund. */
.fuss { background: #0F0F0F; color: #E8E5E0; border-top: 0; }
.fuss a { color: #FFFFFF; }
.fuss a:hover { color: #FFB877; }
.fuss :focus-visible { outline-color: #FFFFFF; }
.fuss-1zu1, .fuss-titel { color: var(--orange); }
.fuss-unten { border-top-color: #3A3A3A; color: #C4BFB7; }
.teil-von, .teil-von:hover { color: #FFFFFF; }

/* Anmeldeknöpfe nach den Vorgaben der Anbieter. Noch ohne Funktion. */
.anbieter-liste { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.anbieter-steam, .anbieter-google { cursor: not-allowed; }
.anbieter-google {
    display: inline-flex; align-items: center;
    height: 40px; padding: 0 12px;
    background: #FFFFFF; border: 1px solid #747775; border-radius: 4px;
    font: 500 14px/20px "Google Sans", var(--schrift); color: #1F1F1F;
}
.anbieter-google img { margin-right: 10px; }
@font-face { font-family: "Google Sans"; src: url("../schriften/google-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* Flüssiges Scrollen: Wo der Browser es kann, läuft die Kopfleiste ohne Skript direkt am Scrollweg. Sonst setzt shop.js --kopf-deck. */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    @supports (animation-timeline: scroll()) {
        @keyframes kopf-einblenden { from { opacity: 0; } to { opacity: 1; } }
        .kopf::before {
            animation: kopf-einblenden linear both;
            animation-timeline: scroll(root block);
            animation-range: 0 120px;
        }
    }
}
.recht .kasten-weich { margin-bottom: 8px; }
.fuss-unten p { max-width: 900px; }
.preis small { font: 600 .82rem/1 var(--schrift); color: var(--leise); white-space: nowrap; }
.recht { overflow-wrap: anywhere; }
.ph { max-width: 100%; }
@media (max-width: 560px) { .seitenkopf h1 { font-size: min(2rem, 8vw); } }

/* Linienschild in der Originalfarbe, Farben stehen in quellen/produkte.json */
.linien-feld { display: inline-block; min-width: 3.4em; padding: 3px 10px; border-radius: 5px; font: 700 .95rem/1.35 var(--titel); text-align: center; white-space: nowrap; }
.tabelle td { vertical-align: middle; }
/* Hinweisbalken in unserem Orange */
.balken-orange { margin: 0 0 22px; padding: 12px 18px; border-radius: 10px; background: var(--orange); color: var(--tinte); font-weight: 600; }
.balken-orange a, .balken-orange a:hover { color: var(--tinte); }

/* Widerrufsfunktion */
.widerruf-bereich { margin-top: 34px; padding-top: 8px; border-top: 2px solid var(--linie); scroll-margin-top: calc(var(--kopf-hoehe) + 12px); }
.widerruf-form { margin-top: 18px; scroll-margin-top: calc(var(--kopf-hoehe) + 12px); }
.widerruf-form .klein { display: block; margin-top: 4px; }
.fangfeld { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mail-vorschau { margin: 0; padding: 14px; background: var(--flaeche); border-radius: 8px; font: 400 .92rem/1.5 var(--schrift); white-space: pre-wrap; overflow-wrap: anywhere; }
#anforderungen .balken-orange { margin: 0 0 18px; }

/* Discord Knöpfe in der offiziellen Farbe Blurple, weiße Schrift mit 4,6:1 */
.knopf-discord { background: #5865F2; border-color: #5865F2; color: #fff; }
.knopf-discord:hover { background: #4752C4; border-color: #4752C4; color: #fff; }

/* Steam Knopf: nachgebaut, das Symbol stammt aus Valves logo_steam.svg */
.anbieter-liste { align-items: flex-end; }
.anbieter-block { display: flex; flex-direction: column; gap: 5px; max-width: 100%; }
.anbieter-ueber { margin: 0; font-size: .85rem; color: var(--leise); }
.anbieter-steam { display: flex; align-items: stretch; width: 280px; max-width: 100%; height: 48px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #171A21; color: #C7D5E0; }
.anbieter-steam:hover { background: #1F2530; }
.steam-feld { flex: none; display: flex; align-items: center; justify-content: center; width: 54px; background: #2A2F3A; }
.steam-feld img { width: 30px; height: 30px; }
.steam-text { flex: 1; align-self: center; padding: 0 12px; text-align: center; font: 600 1rem/1.2 var(--schrift); white-space: nowrap; }
.anbieter-google { height: 48px; }

/* Zahlen auf grauem Grund bleiben als Felder erkennbar */
.abschnitt-flaeche .zahlen li { background: var(--papier); }

/* FAQ: zwei Spalten, zwei Reihen, Kästen je Reihe gleich hoch */
.faq-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.faq-gruppe { padding: 20px; background: var(--flaeche); border-radius: var(--radius); }
@media (max-width: 860px) {
    .faq-raster { grid-template-columns: minmax(0, 1fr); }
    .faq-gruppe { padding: 14px; }
}

/* Offizielles Discord Symbol vor dem Wort, Seitenverhältnis bleibt */
.discord-symbol { flex: none; height: 1.15em; width: auto; }

/* Textauswahl im Orange des Hintergrunds, Schrift mit 7,7:1 */
::selection { background: #EE8C33; color: #0F0F0F; }
