/* World-Cleanup-Shop — Shop-Styles
   Farben stehen ausschließlich in wcd-tokens.css; hier nur var(--…). Der Test
   tests/wcd_assets_test.php schlägt an, sobald in dieser Datei ein Farbwert steht.
   Keine externen Ressourcen (Fonts/CDN) — der Shop lädt nur aus eigenem Haus.
   Klassennamen folgen dtf/assets/dtf.css, damit die Seiten gleich gebaut werden. */
@import url("wcd-tokens.css?v=3");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--wcd-schrift);
  background: var(--wcd-seite);
  color: var(--wcd-text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
/* Links schwarz und unterstrichen: Blau trägt als Textfarbe auf Weiß nicht
   (3,4:1). Magenta beim Überfahren reicht knapp (4,6:1). */
a { color: var(--wcd-text); }
a:hover { color: var(--wcd-magenta); }
:focus-visible { outline: 3px solid var(--wcd-fokus); outline-offset: 2px; }

/* ---------- Bänder über dem Kopf ---------- */
/* Testmodus: Wer mit Vorschau-Cookie im Shop ist, soll es auf jeder Seite sehen. */
.testband {
  background: var(--wcd-schwarz); color: var(--wcd-gelb);
  padding: 6px 20px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .4px;
}
/* Rechtstexte sind Entwürfe — das Band darf man nicht übersehen. */
.entwurf-band {
  background: var(--wcd-hinweis-flaeche); color: var(--wcd-text);
  border: 2px dashed var(--wcd-fehler); border-radius: var(--wcd-radius-klein);
  padding: 12px 14px; margin-bottom: 16px; font-weight: 600;
}
/* Hinweisleiste der Startseite (Text kommt aus der Einstellung, kein festes Datum). */
.hinweisleiste {
  background: var(--wcd-gelb); color: var(--wcd-schwarz);
  padding: 8px 20px; text-align: center; font-size: 14.5px; font-weight: 600;
}
.hinweisleiste a { color: var(--wcd-schwarz); }

/* ---------- Kopf ---------- */
/* Im Kopf steht allein das Logo des Trägers — keine zweite Marke daneben.
   Breit: Logo · Menü · Konto und Warenkorb in EINER Zeile, nichts bricht um.
   Schmal (unter 1040px passt das Menü nicht mehr in die Zeile): Logo · Konto, Warenkorb, Menü-Knopf;
   das Menü klappt darunter auf — ohne Skript, über das Häkchen #menue-auf. */
.kopf { background: var(--wcd-flaeche); border-bottom: 1px solid var(--wcd-linie); position: sticky; top: 0; z-index: 20; }
.kopf-inner {
  max-width: var(--wcd-breite); margin: 0 auto; padding: 0 20px; min-height: 84px;
  display: flex; align-items: center; gap: 28px;
}
.marke { display: flex; align-items: center; flex: none; color: var(--wcd-text); }
/* Feste Logohöhe in CSS — NICHT nur über das height-Attribut im <img>:
   die Regel `img { height: auto }` weiter oben schlägt das Attribut. */
.marke img { display: block; height: 60px; width: auto; max-width: 220px; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.nav a {
  color: var(--wcd-text); text-decoration: none; font-weight: 600; white-space: nowrap;
  padding: 8px 12px; border-radius: var(--wcd-radius-klein);
}
.nav a:hover { background: var(--wcd-seite); color: var(--wcd-text); }
.nav a.ist-aktiv { color: var(--wcd-text); box-shadow: inset 0 -3px 0 var(--wcd-blau); border-radius: 0; }
.kopf-rechts { display: flex; align-items: center; gap: 4px; flex: none; margin-left: auto; }
.kopf-rechts a {
  text-decoration: none; font-weight: 600; color: var(--wcd-text); white-space: nowrap;
  padding: 8px 12px; border-radius: var(--wcd-radius-klein);
}
.kopf-rechts a:hover { background: var(--wcd-seite); color: var(--wcd-text); }
.kopf-rechts a.ist-aktiv { box-shadow: inset 0 -3px 0 var(--wcd-blau); border-radius: 0; }
.korb { position: relative; }
.korb-zahl {
  display: inline-block; min-width: 21px; margin-left: 6px; padding: 1px 6px;
  background: var(--wcd-zaehler); color: var(--wcd-auf-zaehler);
  border-radius: 11px; font-size: 13px; font-weight: 600; text-align: center;
}
/* Häkchen und Knopf des Menüs: nur auf schmalen Bildschirmen sichtbar. */
.menue-schalter { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.menue-knopf { display: none; }
@media (max-width: 1040px) {
  .kopf-inner { flex-wrap: wrap; gap: 0 12px; padding: 0 16px; min-height: 64px; }
  /* Die erste Zeile behält ihre Höhe, auch wenn das Menü darunter aufgeklappt ist. */
  .marke, .kopf-rechts { min-height: 64px; }
  .marke img { height: 46px; }
  .kopf-rechts a { padding: 8px; }
  .menue-knopf {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 0 4px; padding: 8px 12px; cursor: pointer;
    font-size: 16px; font-weight: 600; color: var(--wcd-text);
    border: 1px solid var(--wcd-linie-stark); border-radius: var(--wcd-radius-klein); user-select: none;
  }
  .menue-striche { position: relative; display: block; width: 18px; height: 14px; }
  .menue-striche::before, .menue-striche::after, .menue-striche span {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 1px; background: var(--wcd-text);
    transition: transform .18s ease, opacity .18s ease;
  }
  .menue-striche::before { top: 0; }
  .menue-striche span { top: 6px; }
  .menue-striche::after { top: 12px; }
  .menue-schalter:checked ~ .kopf-rechts .menue-striche::before { transform: translateY(6px) rotate(45deg); }
  .menue-schalter:checked ~ .kopf-rechts .menue-striche span { opacity: 0; }
  .menue-schalter:checked ~ .kopf-rechts .menue-striche::after { transform: translateY(-6px) rotate(-45deg); }
  .menue-schalter:focus-visible ~ .kopf-rechts .menue-knopf { outline: 3px solid var(--wcd-fokus); outline-offset: 2px; }
  .nav {
    display: none; order: 3; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px 0 12px; border-top: 1px solid var(--wcd-linie);
  }
  .menue-schalter:checked ~ .nav { display: flex; }
  .nav a { padding: 13px 8px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--wcd-linie); white-space: normal; }
  .nav a:last-child { border-bottom: 0; }
  .nav a.ist-aktiv { box-shadow: inset 4px 0 0 var(--wcd-blau); padding-left: 14px; }
}
@media (max-width: 420px) {
  .kopf-inner { gap: 0 6px; padding: 0 12px; }
  .marke img { height: 42px; }
  .kopf-rechts a { padding: 8px 6px; font-size: 15px; }
  .menue-knopf { padding: 8px 10px; }
  .menue-wort { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .menue-striche::before, .menue-striche::after, .menue-striche span { transition: none; }
}

/* ---------- Grundraster ---------- */
.inhalt { max-width: var(--wcd-breite); margin: 0 auto; padding: 24px 20px 56px; }
.karte {
  background: var(--wcd-flaeche); border: 1px solid var(--wcd-linie);
  border-radius: var(--wcd-radius); padding: 22px; margin-bottom: 20px;
}
h1 { font-size: 30px; line-height: 1.2; font-weight: 600; margin: 0 0 10px; }
h2 { font-size: 21px; font-weight: 600; margin: 0 0 10px; }
h3 { font-size: 17px; font-weight: 600; margin: 18px 0 6px; }
p  { margin: 0 0 12px; }
strong, b { font-weight: 600; }
.lead  { font-size: 19px; line-height: 1.5; font-weight: 300; }
.leise { color: var(--wcd-text-leise); }
.klein { font-size: 14px; }
.mini  { font-size: 13px; color: var(--wcd-text-leise); }
.rechts { text-align: right; }
.spalten { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .spalten { grid-template-columns: 1fr; } }
/* Breite Tabellen scrollen in ihrem eigenen Rahmen, statt die Seite querzuschieben. */
.tabelle-scroll { overflow-x: auto; }

/* ---------- Hero ---------- */
/* Gelb ist die Bühne der Startseite, darauf das schwarze Logo des Trägers; Schrift schwarz. */
.hero {
  background: var(--wcd-buehne-start); color: var(--wcd-auf-buehne-start);
  border-radius: var(--wcd-radius-gross) var(--wcd-radius-gross) 0 0; padding: 52px 48px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; overflow: hidden;
}
.hero-zeile { font-size: 14px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 10px; }
.hero h1 { font-size: 52px; line-height: 1.05; letter-spacing: -.5px; margin-bottom: 16px; }
/* Überschrift und Logo des Trägers in EINER Zeile: Text links, Logo gerade rechts daneben.
   Brand Essentials des Vereins (Rado, 22.10.2026): das Logo wird genau so verwendet, wie es
   geliefert ist — NICHT drehen, neigen, verzerren, kein Schatten oder anderer Effekt. */
.hero-titel { display: flex; align-items: center; gap: 24px; margin-bottom: 16px; }
.hero-titel h1 { margin-bottom: 0; flex: 1 1 auto; }
.hero-logo { flex: 0 0 auto; width: 150px; height: auto; }
.hero p { max-width: 560px; font-size: 18.5px; }
.hero-knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 0; }
.hero-bild { position: relative; align-self: stretch; min-height: 300px; margin: -52px -48px -52px 0; }
.hero-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero a:not(.knopf) { color: var(--wcd-auf-buehne-start); }
/* Vier Aktionsfarben als Band unter der Bühne. */
.farbband { display: grid; grid-template-columns: repeat(4, 1fr); height: 10px; margin-bottom: 28px;
            border-radius: 0 0 var(--wcd-radius-gross) var(--wcd-radius-gross); overflow: hidden; }
.farbband span:nth-child(1) { background: var(--wcd-schwarz); }
.farbband span:nth-child(2) { background: var(--wcd-magenta); }
.farbband span:nth-child(3) { background: var(--wcd-blau); }
.farbband span:nth-child(4) { background: var(--wcd-gr-xs); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 32px 24px; }
  .hero h1 { font-size: 36px; }
  .hero-bild { order: -1; margin: -32px -24px 0; min-height: 0; aspect-ratio: 16 / 10; }
  /* Schmal reicht die Breite nicht für Überschrift UND Logo nebeneinander — dann bleibt das Logo weg
     (so mit Rado abgestimmt, 22.10.2026); das Foto trägt das Logo auf den Westen ohnehin. */
  .hero-logo { display: none; }
  .hero-text { padding-top: 22px; }
}
/* Vorteile unter der Bühne. */
.vorteile { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.vorteile li { background: var(--wcd-flaeche); border: 1px solid var(--wcd-linie); border-radius: var(--wcd-radius); padding: 16px 18px; }
.vorteile strong { display: block; font-size: 16.5px; margin-bottom: 2px; }
.vorteile span { font-size: 14px; color: var(--wcd-text-leise); }
/* Überschrift eines Abschnitts der Startseite. */
.abschnitt-kopf { margin: 8px 0 16px; }
.abschnitt-kopf h2 { font-size: 30px; line-height: 1.15; margin-bottom: 4px; }
.abschnitt-kopf p { margin: 0; }
/* Ablauf der Bestellung in drei Schritten. */
.ablauf { margin: 12px 0 28px; }
.ablauf h2 { font-size: 30px; margin-bottom: 16px; }
.ablauf ol { list-style: none; padding: 0; margin: 0; counter-reset: ablauf; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ablauf li { counter-increment: ablauf; background: var(--wcd-flaeche); border: 1px solid var(--wcd-linie); border-radius: var(--wcd-radius); padding: 20px 20px 20px 72px; position: relative; }
.ablauf li::before {
  content: counter(ablauf); position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--wcd-gelb); color: var(--wcd-schwarz); font-weight: 600; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
}
.ablauf strong { display: block; margin-bottom: 2px; }
.ablauf span { font-size: 14.5px; color: var(--wcd-text-leise); }
.ablauf > .leise { margin: -8px 0 18px; }
.ablauf-wege { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.ablauf-weg h3 { font-size: 20px; margin: 0 0 12px; }
.ablauf-weg ol { grid-template-columns: 1fr; counter-reset: ablauf; }
.ablauf-knopf { margin: 14px 0 0; }
/* Packfilm: eigene Animation (assets/medien/karton.mp4), läuft stumm in der Seite. Weiße Fläche wie der Film. */
.packfilm { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; background: var(--wcd-flaeche);
            border: 1px solid var(--wcd-linie); border-radius: var(--wcd-radius-gross); overflow: hidden; margin: 0 0 36px;
            box-shadow: var(--wcd-schatten-karte); }
.packfilm-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--wcd-flaeche); }
.packfilm-text { padding: 28px 36px 28px 12px; }
.packfilm-zeile { font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--wcd-magenta); margin: 0 0 8px; }
.packfilm h2 { font-size: 30px; line-height: 1.15; margin-bottom: 12px; }
.versandfilm { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--wcd-flaeche);
               border: 1px solid var(--wcd-linie); border-radius: var(--wcd-radius); margin: 4px 0 6px; }
@media (max-width: 860px) { .packfilm { grid-template-columns: 1fr; } .packfilm-text { padding: 6px 22px 24px; } .packfilm h2 { font-size: 24px; } }

/* Eingebundene Videos: eigenes Vorschaubild, Player erst nach Klick (assets/medien.js). */
.medien { margin: 12px 0 32px; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.video { margin: 0; background: var(--wcd-flaeche); border: 1px solid var(--wcd-linie); border-radius: var(--wcd-radius-gross);
         overflow: hidden; box-shadow: var(--wcd-schatten-karte); }
.video-rahmen { position: relative; aspect-ratio: 16 / 9; background: var(--wcd-dunkel); }
.video-rahmen img, .video-rahmen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-start { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; background: var(--wcd-schleier);
               display: flex; align-items: center; justify-content: center; transition: background .2s; }
.video-start:hover, .video-start:focus-visible { background: var(--wcd-schleier-stark); }
.video-dreieck { width: 78px; height: 78px; border-radius: 50%; background: var(--wcd-gelb); position: relative;
                 box-shadow: var(--wcd-schatten-hoch); transition: transform .2s; }
.video-start:hover .video-dreieck { transform: scale(1.08); }
.video-dreieck::after { content: ""; position: absolute; left: 31px; top: 23px; border-style: solid;
                        border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--wcd-schwarz); }
.video figcaption { padding: 14px 18px 16px; }
.video figcaption strong { display: block; font-size: 17px; }
.video figcaption span { font-size: 13px; color: var(--wcd-text-leise); }

/* Links, die den Shop verlassen (immer zu worldcleanupday.de, includes/wcd_traeger.php). */
.extern-pfeil { display: inline-block; margin-left: 3px; font-size: .9em; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.link-reihe { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; }

/* Partnerleiste über dem Kopf: wer verkauft, wo die Aktion erklärt wird. */
.partnerleiste { background: var(--wcd-dunkel); color: var(--wcd-auf-dunkel); font-size: 13px; }
.partnerleiste-inner { max-width: var(--wcd-breite); margin: 0 auto; padding: 7px 20px; display: flex;
                       justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; }
.partnerleiste strong { color: var(--wcd-gelb); font-weight: 600; }
.partnerleiste a { color: var(--wcd-auf-dunkel); font-weight: 600; }
.partnerleiste a:hover { color: var(--wcd-gelb); }
/* Schmal: eine ruhige, mittige Zeile — der Weg zur Aktion steht dann im Fuß. */
@media (max-width: 860px) {
  .partnerleiste-inner { padding: 6px 16px; font-size: 12px; justify-content: center; text-align: center; }
  .partnerleiste-rechts { display: none; }
}

/* „Zwei Adressen, eine Aktion": links der Shop (Petrol), rechts die Aktion (Gelb), dazwischen das Band. */
.adressen { margin: 12px 0 32px; }
.adressen-paar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; }
.adresse-karte { background: var(--wcd-flaeche); border: 1px solid var(--wcd-linie); padding: 28px 30px;
                 box-shadow: var(--wcd-schatten-karte); display: flex; flex-direction: column; }
.adresse-karte.ist-shop { border-radius: var(--wcd-radius-gross) 0 0 var(--wcd-radius-gross); border-top: 8px solid var(--ss-petrol); }
.adresse-karte.ist-aktion { border-radius: 0 var(--wcd-radius-gross) var(--wcd-radius-gross) 0; border-top: 8px solid var(--wcd-gelb); }
.adresse-karte img { height: 56px; width: auto; align-self: flex-start; margin-bottom: 14px; }
.adresse-karte.ist-shop img { height: 26px; margin: 15px 0 29px; }
.adresse-rolle { font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--wcd-text-leise); margin: 0 0 2px; }
.adresse-karte h3 { font-size: 24px; line-height: 1.2; margin: 0 0 12px; }
.adresse-karte ul { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.adresse-karte li { padding: 7px 0; border-bottom: 1px solid var(--wcd-linie); }
.adresse-karte li:last-child { border-bottom: 0; }
.adresse-karte li a { font-weight: 600; color: var(--wcd-text); text-decoration: none; display: flex; justify-content: space-between; gap: 10px; }
.adresse-karte li a:hover { color: var(--wcd-magenta); }
.adresse-wege { margin: 0; }
.adresse-wege .knopf { padding: 10px 18px; font-size: 15px; }
.adressen-band { width: 46px; display: flex; align-items: center; justify-content: center;
                 background: linear-gradient(to right, var(--ss-petrol) 0 50%, var(--wcd-gelb) 50% 100%); }
.adressen-band span { background: var(--wcd-dunkel); color: var(--wcd-auf-dunkel); font-size: 12px; font-weight: 600; letter-spacing: 1.6px;
                      text-transform: uppercase; padding: 14px 7px; border-radius: 99px; writing-mode: vertical-rl; }
@media (max-width: 820px) {
  .adressen-paar { grid-template-columns: 1fr; }
  .adresse-karte.ist-shop { border-radius: var(--wcd-radius-gross) var(--wcd-radius-gross) 0 0; }
  .adresse-karte.ist-aktion { border-radius: 0 0 var(--wcd-radius-gross) var(--wcd-radius-gross); border-top: 0; border-bottom: 8px solid var(--wcd-gelb); }
  .adressen-band { width: auto; height: 40px; background: linear-gradient(to bottom, var(--ss-petrol) 0 50%, var(--wcd-gelb) 50% 100%); }
  .adressen-band span { writing-mode: horizontal-tb; padding: 6px 16px; }
}

/* Unterstützungshinweis: Weiß auf Schwarz, Magenta als Kante — darunter die echten Seiten des Trägers. */
.wirkung {
  background: var(--wcd-dunkel); color: var(--wcd-auf-dunkel); border-radius: var(--wcd-radius-gross);
  padding: 40px 40px 34px; margin-bottom: 24px; border-left: 10px solid var(--wcd-magenta);
}
.wirkung-zeile { font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--wcd-gelb); margin: 0 0 10px; }
.wirkung h2 { font-size: 32px; line-height: 1.2; max-width: 860px; margin-bottom: 12px; }
.wirkung-text p:last-child { font-size: 17.5px; line-height: 1.5; max-width: 780px; margin: 0; font-weight: 300; color: var(--wcd-auf-dunkel-leise); }
.wirkung-wege { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 26px; }
.wirkung-weg { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 18px; border-radius: var(--wcd-radius);
               background: var(--wcd-dunkel-flaeche); border: 1px solid var(--wcd-dunkel-linie); color: var(--wcd-auf-dunkel);
               text-decoration: none; transition: transform .2s, border-color .2s; }
.wirkung-weg:hover { transform: translateY(-3px); border-color: var(--wcd-gelb); color: var(--wcd-auf-dunkel); }
.wirkung-marke { width: 38px; height: 6px; border-radius: 3px; margin-bottom: 6px; }
.wirkung-marke.ist-magenta { background: var(--wcd-magenta); }
.wirkung-marke.ist-gelb { background: var(--wcd-gelb); }
.wirkung-marke.ist-blau { background: var(--wcd-blau); }
.wirkung-weg strong { font-size: 19px; }
.wirkung-weg > span:not(.wirkung-marke) { font-size: 14.5px; font-weight: 300; color: var(--wcd-auf-dunkel-leise); flex: 1; }
.wirkung-weg em { font-style: normal; font-weight: 600; color: var(--wcd-gelb); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 700px) { .wirkung { padding: 26px 22px; } .wirkung h2 { font-size: 24px; } .abschnitt-kopf h2, .ablauf h2 { font-size: 24px; } }
/* Derselbe Hinweis schmal auf der Produktseite. */
.wirkung-streifen { display: flex; gap: 16px; align-items: center; background: var(--wcd-flaeche); border: 1px solid var(--wcd-linie);
                    border-left: 8px solid var(--wcd-magenta); border-radius: var(--wcd-radius); padding: 14px 18px; margin-bottom: 18px; }
.wirkung-streifen img { width: 74px; height: auto; flex: none; }
.wirkung-streifen p { margin: 0; font-size: 15px; }
/* Kontaktseite: Fragen zur Aktion gehen an den Träger. */
.aktion-fragen { margin-top: 18px; border-top: 8px solid var(--wcd-gelb); }
/* Kennzahlen der Aktion (Teilnehmende, Kommunen, Cleanups). */
.zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-bottom: 24px; }
.zahlen div { background: var(--wcd-flaeche); border: 1px solid var(--wcd-linie); border-radius: var(--wcd-radius); padding: 18px 20px; }
.zahlen b { display: block; font-size: 30px; line-height: 1.15; }
.zahlen span { color: var(--wcd-text-leise); font-size: 14px; }

/* ---------- Produktkacheln ---------- */
/* auto-fill: eine einzelne Kachel bleibt so breit wie die anderen und zieht sich nicht über die Zeile. */
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; margin-bottom: 36px; }
.kachel {
  background: var(--wcd-flaeche); border: 1px solid var(--wcd-linie); border-radius: var(--wcd-radius-gross);
  display: flex; flex-direction: column; color: var(--wcd-text); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.kachel:hover { transform: translateY(-3px); box-shadow: var(--wcd-schatten-hoch); }
/* Quadratisches Bild bündig am oberen Rand — auch der Platzhalter füllt das Feld. */
.kachel .bild { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--wcd-seite); }
.kachel .bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.kachel .bild img[src$=".svg"] { object-fit: contain; padding: 18%; }
.kachel:hover .bild img { transform: scale(1.04); }
.kachel-text { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.kachel-text > p:last-child { margin-bottom: 0; }
.kachel h2 { font-size: 20px; margin-bottom: 4px; }
.kachel h2 a { text-decoration: none; }
.kachel .fuellen { flex: 1; min-height: 8px; }
.preis { font-size: 26px; font-weight: 600; color: var(--wcd-text); }
.preis small { font-size: 14px; font-weight: 400; color: var(--wcd-text-leise); }
/* Preis je Person an den Kit-Karten. */
.je-person { font-size: 14px; color: var(--wcd-text-leise); }

/* ---------- Produktseite ---------- */
.produkt { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .produkt { grid-template-columns: 1fr; } }
.produktbild { margin: 0 0 14px; }
.produktbild img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  border-radius: var(--wcd-radius-gross); background: var(--wcd-flaeche); border: 1px solid var(--wcd-linie);
}
.produktbild img[src$=".svg"] { object-fit: contain; padding: 18%; }
/* Vorschaubilder der Varianten unter dem Produktbild. */
.galerie { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; }
.galerie button {
  width: 92px; padding: 0; border: 2px solid var(--wcd-linie); border-radius: var(--wcd-radius);
  background: var(--wcd-flaeche); cursor: pointer; overflow: hidden; font: inherit; color: var(--wcd-text);
}
.galerie button img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.galerie button span { display: block; font-size: 11.5px; line-height: 1.25; padding: 4px 4px 5px; font-weight: 600; }
.galerie button:hover, .galerie button.ist-aktiv { border-color: var(--wcd-schwarz); }
/* Produkttext: Listen mit Luft, erster Absatz als Einstieg. */
.produkttext > p:first-child { font-size: 18px; line-height: 1.5; }
.produkttext ul { padding-left: 20px; margin: 0 0 14px; }
.produkttext li { margin-bottom: 5px; }
.produkttext > :last-child { margin-bottom: 0; }
/* Kaufbox bleibt beim Lesen im Blick. */
.kaufbox { border-radius: var(--wcd-radius-gross); padding: 26px; }
@media (min-width: 861px) { .kaufbox { position: sticky; top: 104px; } }
.produktbild figcaption { margin-top: 8px; font-size: 13px; color: var(--wcd-text-leise); font-weight: 600; }
.checkliste { padding-left: 20px; margin: 0 0 12px; }
.checkliste li { margin-bottom: 4px; }
/* „Das ist drin": Stückliste eines Kits, Menge vorn. */
.drin { list-style: none; padding: 0; margin: 0 0 12px; }
.drin li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--wcd-linie); }
.drin li:last-child { border-bottom: 0; }
.drin .anzahl { flex: none; min-width: 44px; font-weight: 600; }

/* „Das ist drin" als Bild: Kacheln mit Piktogramm und Stückzahl, gruppiert (wcd_packbild_html). */
.packkarte h2 { margin-bottom: 4px; }
.pack > .pack-reihe:first-child { margin-top: 12px; }
.pack + .mini { margin: 12px 0 0; }
.pack-kopf { display: flex; align-items: baseline; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 1.4px;
             text-transform: uppercase; color: var(--wcd-text-leise); margin: 18px 0 8px; }
.pack-summe { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--wcd-auf-zaehler); background: var(--wcd-zaehler);
              border-radius: 999px; padding: 2px 10px; }
.pack-reihe { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.pack-kachel { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 8px 10px;
               border: 1px solid var(--wcd-linie); border-radius: var(--wcd-radius); background: var(--wcd-seite); color: var(--wcd-text-leise); }
.pack-kachel.gr-xs { color: var(--wcd-gr-xs); }
.pack-kachel.gr-s  { color: var(--wcd-gr-s); }
.pack-kachel.gr-l  { color: var(--wcd-gr-l); }
.pack-kachel.gr-xl { color: var(--wcd-gr-xl); }
.pack-zeichen { width: 58px; height: 58px; }
.pack-hell   { fill: var(--wcd-flaeche); opacity: .85; }
.pack-dunkel { fill: var(--wcd-text); }
.pack-strich { fill: none; stroke: var(--wcd-text); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pack-holz   { fill: none; stroke: var(--wcd-hinweis); stroke-width: 4.5; stroke-linecap: round; }
.pack-kachel .anzahl { font-size: 24px; line-height: 1.15; font-weight: 600; color: var(--wcd-text); margin-top: 6px; }
.pack-name   { font-size: 14px; line-height: 1.25; color: var(--wcd-text); }
.pack-zusatz { font-size: 12px; color: var(--wcd-text-leise); }
/* Recycling-Angabe eines Bestandteils und das Zeichen dazu. */
.recycling-zeichen { width: 14px; height: 14px; flex: none; vertical-align: -2px; margin-right: 4px; }
.pack-recycling { display: block; margin-top: 5px; font-size: 11.5px; line-height: 1.25; font-weight: 600; color: var(--wcd-ok); }
.recycling-hinweis { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; padding: 10px 14px;
  background: var(--wcd-ok-flaeche); color: var(--wcd-ok); border-radius: var(--wcd-radius); font-weight: 600; }
.recycling-hinweis .recycling-zeichen { width: 20px; height: 20px; margin: 2px 0 0; }
.aufklapp .pack-kopf:first-child { margin-top: 10px; }
/* Wer verkauft, steht an Produkt, Kasse und Bestätigung. */
.verkaeufer { font-size: 13.5px; color: var(--wcd-text-leise); margin: 12px 0 0; }

/* Bestandsampel: g = sofort lieferbar, y = geringer Bestand, r = derzeit nicht vorrätig. */
.ampel { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.ampel.g { background: var(--wcd-ampel-g); }
.ampel.y { background: var(--wcd-ampel-y); }
.ampel.r { background: var(--wcd-ampel-r); }
.ampel-zeile { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; }

/* Größenfarbe: Die Farbe folgt der Größe und wird angezeigt, nicht gewählt.
   Innenkante, damit Gelb auf Weiß nicht verschwindet. */
.gr-punkt {
  display: inline-block; width: 16px; height: 16px; border-radius: 50%; flex: none;
  vertical-align: -2px; background: var(--wcd-linie);
  box-shadow: inset 0 0 0 1px var(--wcd-innenkante);
}
.gr-punkt.gr-xs { background: var(--wcd-gr-xs); }
.gr-punkt.gr-s  { background: var(--wcd-gr-s); }
.gr-punkt.gr-l  { background: var(--wcd-gr-l); }
.gr-punkt.gr-xl { background: var(--wcd-gr-xl); }

/* Mengenfeld je Variante (Westen, Handschuhe: je Größe; Flagge: je Farbe;
   Schul-Kit: je Stufe). Eine Zeile je Variante statt enger Kästchen — das Label
   kann lang sein („11. Klasse bis Erwachsene"). */
.mengen { margin: 18px 0 8px; scroll-margin-top: 90px; }
.mengen-kopf { font-size: 13px; color: var(--wcd-text-leise); margin-bottom: 10px; }
.mengen-raster { display: grid; gap: 8px; }
.mengen-zeile {
  display: grid; grid-template-columns: 1fr auto 84px; gap: 12px; align-items: center;
  border: 1px solid var(--wcd-linie); border-radius: var(--wcd-radius-klein); padding: 10px 12px;
}
.mengen-zeile label { margin: 0; display: flex; align-items: center; gap: 9px; font-weight: 600; }
.mengen-zeile .einzel { font-size: 14px; white-space: nowrap; }
.mengen-zeile input[type=number] { text-align: center; padding: 8px 6px; }
.mengen-zeile.aus { opacity: .55; }
@media (max-width: 520px) {
  .mengen-zeile { grid-template-columns: 1fr 76px; }
  .mengen-zeile .einzel { grid-column: 1; grid-row: 2; }
  .mengen-zeile input[type=number] { grid-row: 1 / span 2; grid-column: 2; }
}

/* Mitlaufende Kaufleiste: sobald die Mengen-Box aus dem Bild ist, bleibt der Weg
   zum Kauf sichtbar (Vorbild katalog/artikel.php). Die Klasse `an` setzt das Skript. */
.mitlauf {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--wcd-flaeche); border-top: 1px solid var(--wcd-linie); box-shadow: var(--wcd-schatten);
  transform: translateY(110%); transition: transform .3s ease;
}
.mitlauf.an { transform: none; }
.mitlauf-innen { max-width: var(--wcd-breite); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; }
.mitlauf img { width: 44px; height: 56px; object-fit: contain; background: var(--wcd-flaeche); border: 1px solid var(--wcd-linie); }
.mitlauf-text { min-width: 0; flex: 1; }
.mitlauf-text strong { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mitlauf-text span { font-size: 13px; color: var(--wcd-text-leise); }
.mitlauf-preis { font-size: 18px; font-weight: 600; white-space: nowrap; }
@media (max-width: 700px) {
  .mitlauf-innen { padding: 8px 12px; gap: 10px; }
  .mitlauf img { display: none; }
  .mitlauf-preis { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .mitlauf, .kachel, .kachel .bild img { transition: none; }
}

/* ---------- Formulare ---------- */
label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 4px; }
input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=number], select, textarea {
  width: 100%; border: 1px solid var(--wcd-linie-stark); border-radius: var(--wcd-radius-klein);
  padding: 10px 12px; font-size: 16px; font-family: inherit; background: var(--wcd-flaeche); color: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--wcd-fokus); outline-offset: 1px; }
textarea { min-height: 90px; resize: vertical; }
.feldpaar { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
.feldpaar-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .feldpaar, .feldpaar-2 { grid-template-columns: 1fr; } }
.feld-fehler { color: var(--wcd-fehler); font-size: 13.5px; margin: 4px 0 0; }
.fehlerton { color: var(--wcd-fehler); }

/* Kaufknopf: gelb mit schwarzer Schrift — nie Weiß auf Blau oder Gelb. */
.knopf {
  display: inline-block; border: 2px solid var(--wcd-kauf); border-radius: var(--wcd-radius-klein); cursor: pointer;
  background: var(--wcd-kauf); color: var(--wcd-auf-kauf); font: inherit; font-weight: 600;
  padding: 12px 22px; text-decoration: none; text-align: center;
}
.knopf:hover { border-color: var(--wcd-schwarz); color: var(--wcd-auf-kauf); }
.knopf[disabled] { opacity: .5; cursor: not-allowed; }
.knopf.voll { width: 100%; }
.knopf.klein { padding: 5px 12px; font-size: 13px; }
.knopf.dunkel { background: var(--wcd-dunkel); color: var(--wcd-auf-dunkel); border-color: var(--wcd-dunkel); }
.knopf.dunkel:hover { color: var(--wcd-gelb); border-color: var(--wcd-dunkel); }
.knopf.zweit { background: var(--wcd-flaeche); color: var(--wcd-text); border: 2px solid var(--wcd-linie-stark); }
.knopf.zweit:hover { border-color: var(--wcd-schwarz); background: var(--wcd-flaeche); }

.wahl { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 15px; font-weight: 400; }
.wahl input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.wahl label { margin: 0; font-weight: 400; }
.wahlkarte {
  border: 1px solid var(--wcd-linie); border-radius: var(--wcd-radius-klein); padding: 12px 14px; margin-bottom: 10px;
}
.wahlkarte.gewaehlt { border-color: var(--wcd-schwarz); box-shadow: 0 0 0 1px var(--wcd-schwarz) inset; }
.wahlkarte.gesperrt { opacity: .55; }
.wahlkarte.gesperrt .wahl, .wahlkarte.gesperrt label { cursor: not-allowed; }

/* Symbol-Knopf in Listen (z. B. Position im Warenkorb entfernen) */
.symbol-knopf {
  background: none; border: 1px solid transparent; border-radius: var(--wcd-radius-klein);
  color: var(--wcd-text-leise); cursor: pointer; padding: 6px; line-height: 0;
}
.symbol-knopf:hover { color: var(--wcd-fehler); border-color: var(--wcd-linie); background: var(--wcd-flaeche); }
.symbol-knopf svg { display: block; width: 18px; height: 18px; }

/* Gutscheincode: Feld und Knopf in einer Zeile. */
.gutschein { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.gutschein > div { flex: 1; min-width: 180px; }
.gutschein input { text-transform: uppercase; letter-spacing: .5px; }
.gutschein-zeile { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 6px 0; font-size: 14.5px; }

/* ---------- Kasse ---------- */
/* Vier Schritte: Kundenart, Adressen, Zahlart, Prüfen. */
.schritte { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; counter-reset: schritt; flex-wrap: wrap; }
.schritte li {
  counter-increment: schritt; flex: 1; min-width: 130px;
  padding: 9px 12px; border-radius: var(--wcd-radius-klein);
  background: var(--wcd-flaeche); border: 1px solid var(--wcd-linie);
  font-size: 14px; font-weight: 600; color: var(--wcd-text-leise);
}
.schritte li::before { content: counter(schritt) ". "; }
.schritte li.ist-aktiv { border-color: var(--wcd-schwarz); box-shadow: inset 0 -3px 0 var(--wcd-blau); color: var(--wcd-text); }
.schritte li.ist-fertig { color: var(--wcd-text); }
.schritte li a { text-decoration: none; }
/* Adressblock auf der Prüfseite und der Dankeseite. */
.adresse { font-style: normal; line-height: 1.5; }
/* Überweisungsdaten samt GiroCode bei Vorkasse. */
.bankdaten { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start; }
.bankdaten dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
.bankdaten dt { color: var(--wcd-text-leise); }
.bankdaten dd { margin: 0; font-weight: 600; word-break: break-word; }
.bankdaten img { width: 150px; height: 150px; display: block; background: var(--wcd-weiss); }
@media (max-width: 620px) { .bankdaten { grid-template-columns: 1fr; } }

/* ---------- Meldungen ---------- */
.meldung {
  border-radius: var(--wcd-radius-klein); padding: 12px 14px; margin-bottom: 16px; font-size: 15px;
  background: var(--wcd-flaeche); border: 1px solid var(--wcd-linie); border-left-width: 5px; color: var(--wcd-text);
}
.meldung.fehler  { border-color: var(--wcd-fehler); }
.meldung.hinweis { border-color: var(--wcd-hinweis); background: var(--wcd-hinweis-flaeche); }
.meldung.ok      { border-color: var(--wcd-ok); background: var(--wcd-ok-flaeche); }
.meldung ul { margin: 0; padding-left: 20px; }
/* Wartehinweis (Kundenkonto: Daten aus dem bisherigen Shop sind unterwegs): Ring dreht, Balken läuft. */
.meldung.wartet { position: relative; display: flex; align-items: center; gap: 12px; padding-bottom: 16px; overflow: hidden; font-weight: 600; }
.warte-ring {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid var(--wcd-linie); border-top-color: var(--wcd-hinweis);
  animation: warte-dreh 0.9s linear infinite;
}
.warte-balken { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--wcd-linie); }
.warte-balken::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 35%;
  background: var(--wcd-hinweis); animation: warte-lauf 1.6s ease-in-out infinite;
}
@keyframes warte-dreh { to { transform: rotate(360deg); } }
@keyframes warte-lauf { 0% { transform: translateX(-100%); } 100% { transform: translateX(290%); } }
@media (prefers-reduced-motion: reduce) {
  .warte-ring { animation-duration: 4s; }
  .warte-balken::after { animation: none; width: 100%; }
}

/* ---------- Tabellen / Warenkorb ---------- */
.zeilen { width: 100%; border-collapse: collapse; }
.zeilen th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .4px;
             color: var(--wcd-text-leise); border-bottom: 1px solid var(--wcd-linie); padding: 0 10px 8px 0; }
.zeilen td { border-bottom: 1px solid var(--wcd-linie); padding: 14px 10px 14px 0; vertical-align: top; }
.zeilen td.rechts, .zeilen th.rechts { text-align: right; padding-right: 0; }
.zeilen .menge { width: 84px; }
/* Kleine Vorschau neben dem Artikelnamen. */
.korbzeile { display: flex; gap: 10px; align-items: flex-start; text-align: left; }
.korbbild { flex: none; width: 52px; height: 52px; border-radius: 4px; display: block; background: var(--wcd-seite); }
.korbbild > img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 4px; }
.summe { margin-left: auto; max-width: 380px; }
.summe div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.summe .minderung { color: var(--wcd-ok); }
.summe .gesamt { border-top: 1px solid var(--wcd-linie); margin-top: 8px; padding-top: 12px;
                 font-size: 20px; font-weight: 600; }
@media (max-width: 720px) {
  .zeilen .menge { width: 68px; }
  .korbbild { width: 42px; height: 42px; }
}

/* ---------- Statusfarben ---------- */
.pill { display: inline-block; padding: 2px 10px; border-radius: 11px; font-size: 13px; font-weight: 600; }
.pill.offen   { background: var(--wcd-hinweis-flaeche); color: var(--wcd-text); }
.pill.bezahlt { background: var(--wcd-ok-flaeche); color: var(--wcd-ok); }
.pill.grau    { background: var(--wcd-seite); color: var(--wcd-text-leise); }
.pill.test    { background: var(--wcd-schwarz); color: var(--wcd-gelb); }

/* ---------- Aufklappbereich (details/summary) ---------- */
.aufklapp { border-top: 1px solid var(--wcd-linie); margin-top: 18px; padding-top: 14px; }
.aufklapp > summary {
  cursor: pointer; list-style: none; font-size: 17px; font-weight: 600;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.aufklapp > summary::-webkit-details-marker { display: none; }
.aufklapp > summary::before {
  content: "›"; display: inline-block; color: var(--wcd-magenta); font-size: 20px; line-height: 1;
  transform: rotate(0deg); transition: transform .15s ease;
}
.aufklapp[open] > summary::before { transform: rotate(90deg); }
.aufklapp > summary .mini { font-weight: 400; }
.aufklapp > *:not(summary) { margin-top: 12px; }
/* Kit im Warenkorb: der Name klappt die Stückliste auf. */
.aufklapp.korb-inhalt { border-top: 0; margin-top: 0; padding-top: 0; }
.aufklapp.korb-inhalt > summary { font-size: inherit; }
.aufklapp.korb-inhalt > summary .korb-zeig { color: var(--wcd-magenta); text-decoration: underline; }
.aufklapp.korb-inhalt[open] > summary .korb-zeig { display: none; }
.aufklapp.korb-inhalt .drin { margin-bottom: 8px; max-width: 420px; }

/* ---------- Fuß ---------- */
/* Shirtschleuder ist der Verkäufer: Petrol-Fläche, weiße Schrift (10,1:1).
   Kein Orange als Textfarbe — Weiß auf Orange ist in der Shirtschleuder-CI nicht zulässig. */
.fuss { background: var(--wcd-fuss); color: var(--wcd-auf-fuss); margin-top: 48px; }
/* Oben im Fuß: Shop und Aktion nebeneinander, mit den Wegen zur Aktion. */
.fuss-partner { max-width: var(--wcd-breite); margin: 0 auto; padding: 34px 20px 8px; display: grid;
                grid-template-columns: 1fr 1fr; gap: 28px 48px; border-bottom: 1px solid var(--wcd-fuss-linie); }
.fuss-wcd { display: block; font-size: 21px; font-weight: 600; letter-spacing: .4px; line-height: 25px; margin-bottom: 12px; color: var(--wcd-gelb); }
.fuss-wcd.ist-shop { color: var(--wcd-auf-fuss); }
.fuss-partner p { font-size: 14.5px; max-width: 480px; }
.fuss .fuss-partner a { margin-left: 0; text-decoration: underline; }
.fuss .fuss-wege a { display: inline-block; margin-right: 16px; }
/* Zugang des Vereins zum Patenkonto: als Knopf, damit er im Fuß auffällt. */
.fuss .fuss-partner a.fuss-admin {
  display: inline-block; margin-top: 6px; padding: 9px 16px; border: 2px solid var(--wcd-gelb); border-radius: var(--wcd-radius-klein);
  color: var(--wcd-gelb); font-size: 15px; font-weight: 600; text-decoration: none;
}
.fuss .fuss-partner a.fuss-admin:hover { background: var(--wcd-gelb); color: var(--wcd-fuss); text-decoration: none; }
@media (max-width: 720px) { .fuss-partner { grid-template-columns: 1fr; } }
.fuss-inner { max-width: var(--wcd-breite); margin: 0 auto; padding: 26px 20px;
              display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.fuss a { color: var(--wcd-auf-fuss); text-decoration: none; margin-left: 18px; }
.fuss a:hover { color: var(--wcd-auf-fuss); text-decoration: underline; }
.fuss-inner > div a { margin-left: 0; text-decoration: underline; }
.fuss-nav { display: flex; flex-wrap: wrap; }
.fuss-verkaeufer { font-weight: 600; }
.fuss-unten {
  border-top: 1px solid var(--wcd-fuss-linie);
  max-width: var(--wcd-breite); margin: 0 auto; padding: 14px 20px 22px; font-size: 13px;
}
@media (max-width: 620px) { .fuss a { margin: 0 18px 0 0; } }

/* ---------- Patenkonto (patenkonto.php) ---------- */
/* Eigene Seite ohne Menü; Balken und Stapel sind Inline-SVG, ihre Farben stehen hier. */
.pk-kopftitel { font-size: 19px; font-weight: 600; letter-spacing: .3px; }
.pk-anmeldung { max-width: 520px; margin: 32px auto; }
.pk-knopfzeile { margin: 18px 0 0; }
.pk-leiste { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pk-guthaben { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 14px 0 6px; }
.pk-zahl { font-size: 46px; line-height: 1.1; font-weight: 600; white-space: nowrap; }
.pk-zahl-text { font-size: 16px; color: var(--wcd-text-leise); }
.pk-zahl-text strong { color: var(--wcd-text); }
.pk-haupt .meldung { margin: 12px 0 0; }
.pk-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 20px; }
.pk-kachel { display: flex; flex-direction: column; gap: 2px; margin-bottom: 0; padding: 16px 18px; }
.pk-kachel-titel { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; color: var(--wcd-text-leise); }
.pk-kachel strong { font-size: 24px; line-height: 1.25; white-space: nowrap; }
.pk-diagramm { display: block; max-width: none; margin: 6px 0 4px; }
.pk-achse { stroke: var(--wcd-linie-stark); stroke-width: 1; }
.pk-balken { fill: var(--ss-petrol); }
.pk-wert { font-size: 11px; font-weight: 600; fill: var(--wcd-text); }
.pk-monat { font-size: 10px; fill: var(--wcd-text-leise); }
.pk-tabelle td, .pk-tabelle th { padding-top: 8px; padding-bottom: 8px; white-space: nowrap; }
.pk-tabelle th { padding-top: 0; }
.pk-tabelle td.rechts, .pk-tabelle th.rechts { padding-right: 16px; }
.pk-tabelle td.rechts:last-child, .pk-tabelle th.rechts:last-child { padding-right: 0; }
.pk-stapel { display: block; max-width: none; border-radius: 3px; }
.pk-f-eingeloest, .pk-b-eingeloest { fill: var(--ss-petrol); background: var(--ss-petrol); }
.pk-f-gueltig, .pk-b-gueltig { fill: var(--wcd-blau); background: var(--wcd-blau); }
.pk-f-pool, .pk-b-pool { fill: var(--wcd-gelb); background: var(--wcd-gelb); }
.pk-f-sonst, .pk-b-sonst { fill: var(--ss-grau-hell); background: var(--ss-grau-hell); }
.pk-legende { margin-bottom: 10px; }
.pk-punkt { display: inline-block; width: 11px; height: 11px; border-radius: 2px; margin: 0 5px 0 12px; vertical-align: -1px; }
.pk-punkt:first-child { margin-left: 0; }
.pk-rot { color: var(--wcd-fehler); font-weight: 600; }
/* Fenster über der Seite, ohne Skript: sichtbar, solange die Adresse auf seine id zeigt */
.fenster { display: none; position: fixed; inset: 0; z-index: 60; align-items: center; justify-content: center; padding: 16px; }
.fenster:target { display: flex; }
.fenster-grund { position: absolute; inset: 0; background: var(--wcd-dunkel); opacity: .6; }
.fenster-inhalt { position: relative; width: 100%; max-width: 560px; max-height: 100%; overflow: auto; background: var(--wcd-flaeche);
  color: var(--wcd-text); border-radius: 12px; padding: 24px 24px 18px; }
.fenster-inhalt h2 { margin: 0 34px 10px 0; }
.fenster-inhalt .versandfilm { margin-top: 14px; border-radius: 8px; }
.fenster-zu { position: absolute; top: 10px; right: 14px; font-size: 28px; line-height: 1; text-decoration: none; color: var(--wcd-text); }
.fenster-link { color: inherit; text-decoration: underline; }
@media print { .fenster { display: none; } }
.kunde-zeile { margin: 0 0 14px; }
.kunde-zeile p { margin: 0; }
.kunde-zeile .fenster-link { font-weight: 600; }
.kunde-knopfzeile { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 14px 0 0; }
.kunde-leiste { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.kunde-schmal { max-width: 520px; }
.kunde-bestellung .summe { margin-top: 10px; }
.fenster-inhalt form { margin: 0; }
.fenster-inhalt h3 { margin: 14px 0 6px; }
.fenster-inhalt .meldung { margin: 0 0 12px; }
.pk-wert { display: block; width: 100%; max-width: 300px; height: 14px; }
.pk-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pk-filter a { display: inline-block; padding: 4px 12px; border: 1px solid var(--wcd-linie-stark); border-radius: 15px;
               font-size: 14px; font-weight: 600; text-decoration: none; color: var(--wcd-text); background: var(--wcd-flaeche); }
.pk-filter a:hover { border-color: var(--wcd-schwarz); color: var(--wcd-text); }
.pk-filter a.ist-aktiv { background: var(--wcd-dunkel); border-color: var(--wcd-dunkel); color: var(--wcd-auf-dunkel); }
.pk-reiter { margin-bottom: 16px; }
.pk-hilfe-link { margin-left: 8px; padding: 1px 9px; border: 1px solid var(--wcd-linie-stark); border-radius: 12px; font-size: 12.5px;
                 font-weight: 600; text-decoration: none; color: var(--wcd-text-leise); vertical-align: middle; white-space: nowrap; }
.pk-hilfe-link:hover { border-color: var(--wcd-schwarz); color: var(--wcd-text); }
.pk-hilfe { max-width: 820px; }
.pk-hilfe ol, .pk-hilfe ul { margin: 0 0 12px; padding-left: 22px; }
.pk-hilfe li { margin-bottom: 6px; }
.pk-hilfe-liste li { margin-bottom: 4px; }
.pk-hilfe:target { border-color: var(--wcd-schwarz); }
.pk-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14.5px; letter-spacing: .5px; }
.pill.pk-z-gueltig { background: var(--wcd-ok-flaeche); color: var(--wcd-ok); }
.pill.pk-z-eingeloest { background: var(--wcd-seite); color: var(--wcd-text); }
.pill.pk-z-pool { background: var(--wcd-hinweis-flaeche); color: var(--wcd-text); }
.pill.pk-z-abgelaufen, .pill.pk-z-gesperrt, .pill.pk-z-leer, .pill.pk-z- { background: var(--wcd-seite); color: var(--wcd-text-leise); }
.pill.pk-z-klaerfall { background: var(--wcd-flaeche); color: var(--wcd-text); border: 1px solid var(--wcd-linie-stark); }
.pk-regeln ul { margin: 0 0 12px; padding-left: 20px; }
.pk-regeln li { margin-bottom: 6px; }
.gk-felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 18px; margin-bottom: 8px; }
.gk-felder .mini { display: block; margin-top: 4px; }
.gk-landing { grid-template-columns: 1fr; max-width: 640px; }
.gk-produkte { max-width: 640px; }
.gk-produkte label { font-weight: 400; margin: 0; }
.gk-menge { width: 92px; text-align: center; padding: 8px 6px; }
.gk-summen { max-width: 440px; }
.gk-haken label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.gk-haken input { margin-top: 4px; }
.gk-punkte { margin: 14px 0 0; padding-left: 20px; }
.gk-punkte li { margin-bottom: 4px; }
.gk-block { border-top: 1px solid var(--wcd-linie); margin-top: 18px; padding-top: 6px; }
.gk-knopf { display: inline-block; margin: 0; }
.gk-nebenaktionen { margin: 16px 0 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.gk-zurueck { margin-left: 12px; }
.gk-bestellung { border-top: 1px solid var(--wcd-linie); padding: 14px 0 6px; }
.gk-bestellung:first-of-type { border-top: 0; padding-top: 0; }
.gk-stand { margin: 10px 0; }
@media (max-width: 620px) { .pk-zahl { font-size: 36px; } }

@media print {
  .kopf, .fuss, .mitlauf, .testband, .hinweisleiste, .partnerleiste, .medien, .packfilm, .versandfilm { display: none; }
  body { background: var(--wcd-weiss); }
}

/* Patenkonto, Karte „Belege": Zeile mit „Alle PDF anfordern" und dem ZIP-Download. */
.pb-alle { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 10px 0 14px; }

/* Patenkonto: Adressen (includes/wcd_patenkonto_stamm.php) */
.pk-adressen { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 10px 0 4px; }
.pk-adresse { font-style: normal; line-height: 1.5; }
.pk-angaben { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-content: start; }
.pk-angaben dt { font-size: 13px; color: var(--wcd-text-leise); }
.pk-angaben dd { margin: 0; overflow-wrap: anywhere; }
.pk-adressliste { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 10px 0 4px; }
.pk-adresskarte { border: 1px solid var(--wcd-linie-stark); border-radius: var(--wcd-radius-klein); padding: 10px 12px; }
.pk-adresskarte .pk-adresse { margin-bottom: 6px; }
.pk-tabelle td.pk-umbruch { white-space: normal; min-width: 220px; }
