/* ALPHATESTER — öffentliche Seite
   Grund: kühles Hellgrau wie bisher · Tinte: Schiefer · Akzent: das ALPHATESTER-Blau, eine Spur dunkler für lesbare Knöpfe
   Schrift: Open Sans (vertraut) + Barlow Condensed für Etiketten und Abschnitte (Verwandte der Schablonenschrift im Logo) */

@font-face { font-family: 'Open Sans'; src: url(/fonts/open-sans-latin-wght-normal.woff2) format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url(/fonts/open-sans-latin-wght-italic.woff2) format('woff2'); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --grund: #eef0f3;
  --flaeche: #ffffff;
  --flaeche-2: #f6f7f9;
  --tinte: #2b3140;
  --leise: #5f6778;
  --linie: #dadee5;
  --akzent: #0a7fbf;
  --akzent-hell: #03a9f4;
  --akzent-text: #ffffff;
  --gold: #b8893a;
  --fehler: #c0362c;
  --ok: #2f7d4f;
  --schatten: 0 1px 2px rgba(20, 28, 40, .06), 0 6px 22px rgba(20, 28, 40, .07);
  --logo-filter: none; --zeige-sonne: none; --zeige-mond: block;
  --breite: 1240px;
  --rand: clamp(16px, 4vw, 40px);
  --schrift: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --etikett: 'Barlow Condensed', 'Arial Narrow', 'Open Sans', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --grund: #14171c; --flaeche: #1c2027; --flaeche-2: #232831; --tinte: #e6e9ee; --leise: #a1a9b7;
    --linie: #313744; --akzent: #3aaee8; --akzent-hell: #52c0f7; --akzent-text: #07141d; --gold: #d8ac5f;
    --fehler: #ef7a70; --ok: #6fc794; --schatten: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    --logo-filter: invert(1) brightness(1.6); --zeige-sonne: block; --zeige-mond: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --grund: #14171c; --flaeche: #1c2027; --flaeche-2: #232831; --tinte: #e6e9ee; --leise: #a1a9b7;
  --linie: #313744; --akzent: #3aaee8; --akzent-hell: #52c0f7; --akzent-text: #07141d; --gold: #d8ac5f;
  --fehler: #ef7a70; --ok: #6fc794; --schatten: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  --logo-filter: invert(1) brightness(1.6); --zeige-sonne: block; --zeige-mond: none; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--grund); color: var(--tinte); font: 400 16px/1.65 var(--schrift); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent); text-underline-offset: .18em; }
a:hover { color: var(--akzent-hell); }
:focus-visible { outline: 3px solid var(--akzent-hell); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: -9999px; top: 8px; background: var(--flaeche); padding: 8px 14px; z-index: 100; }
.sprung:focus { left: 8px; }
.leise { color: var(--leise); }
.mitte { text-align: center; margin: clamp(28px, 4vw, 44px) 0 0; }

/* ---------------------------------------------------------- Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--flaeche); box-shadow: 0 1px 0 var(--linie), 0 4px 16px rgba(20,28,40,.06); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 14px var(--rand); display: flex; align-items: center; gap: 24px; }
.logo img { width: clamp(150px, 22vw, 230px); height: auto; filter: var(--logo-filter); }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.nav a { color: var(--tinte); text-decoration: none; font: 700 13px/1 var(--schrift); letter-spacing: .09em; text-transform: uppercase; padding: 8px 0; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--akzent); }
.nav a[aria-current="page"] { border-bottom-color: var(--akzent-hell); }
.nav-korb { position: relative; display: inline-flex; }
.theme-schalter { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-left: -6px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--tinte); cursor: pointer; }
.theme-schalter:hover { color: var(--akzent); background: color-mix(in srgb, var(--akzent) 10%, transparent); }
.theme-schalter .ic-sonne { display: var(--zeige-sonne); }
.theme-schalter .ic-mond { display: var(--zeige-mond); }
.korb-zahl { position: absolute; top: -2px; right: -10px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--akzent); color: var(--akzent-text); font: 700 11px/19px var(--schrift); text-align: center; letter-spacing: 0; }

/* ---------------------------------------------------------- Bänder */
main { display: block; }
.band { max-width: var(--breite); margin: 0 auto; padding: clamp(28px, 5vw, 56px) var(--rand); }
.band + .band { padding-top: 0; }
.schmal { max-width: 820px; }
.abschnitt { font: 700 clamp(28px, 4vw, 40px)/1.1 var(--etikett); text-transform: uppercase; letter-spacing: .02em; text-align: center; margin-bottom: 26px; }
.abschnitt-links { font: 700 clamp(28px, 4vw, 40px)/1.1 var(--etikett); text-transform: uppercase; letter-spacing: .02em; }
.etikett { font: 700 15px/1.2 var(--etikett); text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin: 0 0 12px; }
.titel-gross { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -.01em; }
.titel-gross span { display: block; }
.titel-mittel { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.titel-riesig { font-size: clamp(40px, 7vw, 78px); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.unterzeile { text-align: center; color: var(--leise); margin: -12px 0 26px; }

/* ---------------------------------------------------------- Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border: 2px solid var(--akzent); border-radius: 6px; background: var(--akzent); color: var(--akzent-text); font: 700 14px/1.2 var(--schrift); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.knopf:hover { background: var(--akzent-hell); border-color: var(--akzent-hell); color: var(--akzent-text); }
.knopf:active { transform: translateY(1px); }
.knopf-rand { background: transparent; color: var(--akzent); }
.knopf-rand:hover { background: var(--akzent); color: var(--akzent-text); }
.knopf-gross { min-height: 52px; padding: 12px 28px; font-size: 15px; }
.knopf-voll { width: 100%; }
.knopf-text { color: var(--akzent); font-weight: 600; text-decoration: none; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.knopf[disabled] { opacity: .6; cursor: wait; }

/* ---------------------------------------------------------- Kacheln */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.karte { display: flex; flex-direction: column; background: var(--flaeche); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--tinte); box-shadow: var(--schatten); transition: transform .18s, box-shadow .18s; }
.karte:hover { transform: translateY(-3px); color: var(--tinte); box-shadow: 0 2px 4px rgba(20,28,40,.08), 0 14px 32px rgba(20,28,40,.12); }
.karte-bild { background: #fff; aspect-ratio: 1; display: block; }
.karte-bild img { width: 100%; height: 100%; object-fit: contain; }
.karte-name { padding: 14px 16px 2px; font-weight: 800; font-size: 18px; line-height: 1.25; }
.karte-preis { padding: 0 16px 16px; color: var(--leise); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------- Startseite */
.held { position: relative; overflow: hidden; background: #1a1a1a; }
.held img { width: 100%; max-height: 78vh; object-fit: cover; object-position: center 40%; }
.held-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; opacity: 0; transition: opacity .6s; }
/* Mit Kopfvideo: ab Tablet-Breite genau 16:9 wie das Video, damit das ALPHATESTER-Logo unten im Bild bleibt */
@media (min-width: 768px) {
  /* width: 100% ist nötig: sonst rechnet der Browser die Breite aus der Maximalhöhe (88vh × 16/9) und der Kopf klebt links, wenn das Fenster breiter als 16:9 ist */
  .held:has(.held-video) { aspect-ratio: 16 / 9; max-height: 88vh; width: 100%; }
  .held:has(.held-video) picture img { height: 100%; max-height: none; }
  .held:has(.held-video)::after { height: clamp(16px, 2.6vw, 38px); }
}
.held-video.laeuft { opacity: 1; }
@media (max-width: 767px) { .held-video { display: none; } }
.held::after { content: ''; position: absolute; inset: auto 0 -1px 0; height: clamp(30px, 6vw, 80px); background: var(--grund); clip-path: ellipse(75% 100% at 50% 100%); }
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 60px); align-items: center; }
.intro-bild { border-radius: 10px; box-shadow: var(--schatten); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.intro-text p { font-size: 17px; max-width: 58ch; }
.herz { color: #e0322b; }
.youtube-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--flaeche); border-radius: 12px; box-shadow: var(--schatten); padding: clamp(24px, 4vw, 40px); margin-bottom: clamp(28px, 5vw, 56px); max-width: calc(var(--breite) - 2 * var(--rand)); }
.youtube-band p { margin: 0; max-width: 60ch; }
/* .band + .band setzt padding-top auf 0 — im Kasten braucht die Überschrift Luft nach oben */
.band.youtube-band { padding-top: clamp(36px, 5.2vw, 58px); }
.ueber p { max-width: 70ch; }
.ueber-spalten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(28px, 6vw, 80px); align-items: start; }
.ueber-text p:last-child { margin-bottom: 0; }
.rf-kasten { display: block; background: #fff; border-radius: 14px; padding: clamp(18px, 3vw, 28px); box-shadow: var(--schatten); }
.rf-kasten img { width: 100%; height: auto; }

/* ---------------------------------------------------------- Beitragskarten */
.beitraege { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.beitrag-karte { display: flex; flex-direction: column; background: var(--flaeche); border-radius: 10px; overflow: hidden; box-shadow: var(--schatten); text-decoration: none; color: var(--tinte); transition: transform .18s; }
.beitrag-karte:hover { transform: translateY(-3px); color: var(--tinte); }
.beitrag-bild { aspect-ratio: 16 / 9; background: var(--flaeche-2); display: block; }
.beitrag-bild img { width: 100%; height: 100%; object-fit: cover; }
.beitrag-meta { font: 600 13px/1.4 var(--etikett); text-transform: uppercase; letter-spacing: .1em; color: var(--gold); padding: 16px 18px 4px; }
.beitrag-titel { font-weight: 800; font-size: 19px; line-height: 1.3; padding: 0 18px 8px; }
.beitrag-auszug { color: var(--leise); font-size: 15px; padding: 0 18px 20px; }

/* ---------------------------------------------------------- Shop */
.shop-kopf { position: relative; max-width: var(--breite); margin: 0 auto; aspect-ratio: 4096 / 2625; max-height: 78vh; }
.shop-kopf-video { position: absolute; left: 5.15%; top: 0; width: 36.05%; height: 100%; object-fit: cover; border-radius: 4.5% / 2.5%; box-shadow: 0 8px 22px rgba(0,0,0,.32); }
/* Nur „SHOP“ (ohne ALPHATESTER darüber — im Dunkelmodus unlesbar), größer und höher; das S ragt ins Video */
.shop-kopf-schrift { position: absolute; left: 31%; top: 1%; width: 68%; height: auto; pointer-events: none; }
@media (min-aspect-ratio: 16/10) { .shop-kopf { width: min(var(--breite), calc(78vh * 4096 / 2625)); } }
.shop-willkommen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 60px); align-items: start; }
.neu-eingetroffen .karte-name { font-size: 26px; }
.willkommen-text p { max-width: 60ch; }
.serien { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.serie { display: flex; flex-direction: column; background: var(--flaeche); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--tinte); box-shadow: var(--schatten); transition: transform .18s; }
.serie:hover { transform: translateY(-3px); color: var(--tinte); }
.serie-bild { aspect-ratio: 1; background: #fff; display: block; }
.serie-bild img { width: 100%; height: 100%; object-fit: contain; }
.serie-name { font: 700 22px/1.1 var(--etikett); text-transform: uppercase; letter-spacing: .03em; padding: 14px 16px 2px; }
.serie-zahl { color: var(--leise); font-size: 14px; padding: 0 16px 16px; }
.welten { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.welt { padding: 10px 20px; border: 2px solid var(--akzent); border-radius: 6px; font-weight: 700; font-size: 14px; letter-spacing: .03em; text-decoration: none; color: var(--akzent); background: var(--flaeche); transition: background .15s, color .15s; }
.welt:hover, .welt.ist-aktiv { background: var(--akzent); color: var(--akzent-text); }
.blog-kats { justify-content: flex-start; margin-bottom: 28px; }
.welt-bild { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 116px; padding: 12px 6px 10px; border: 2px solid rgba(255,255,255,.07); border-radius: 12px; background: #33373f; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1.2; text-align: center; box-shadow: var(--schatten); }
.welt-bild img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: #23262c; }
.welt-bild:hover { background: #3f444e; color: #fff; }
.welt-bild.ist-aktiv { background: #33373f; color: #fff; border-color: var(--akzent-hell); }
@media (max-width: 520px) { .welten { gap: 8px; } .welt-bild { width: calc((100% - 16px) / 3); min-width: 88px; } .welt-bild img { width: 100%; height: auto; aspect-ratio: 1; } }
.blog-kats .welt { padding: 6px 14px; font-size: 13px; }

.werkzeug { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-bottom: 22px; }
.werkzeug-suche { flex: 1 1 260px; }
.werkzeug input[type=search], .werkzeug select { width: 100%; min-height: 44px; padding: 8px 14px; border: 1px solid var(--linie); border-radius: 6px; background: var(--flaeche); color: var(--tinte); font: inherit; }
.werkzeug-sort { display: flex; align-items: center; gap: 8px; color: var(--leise); font-size: 14px; }
.werkzeug-sort select { width: auto; }
.werkzeug-zahl { color: var(--leise); font-size: 14px; font-variant-numeric: tabular-nums; }
.leer { color: var(--leise); padding: 30px 0; text-align: center; }
.blaettern { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 34px; }
.blaettern a, .blaettern span { min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 6px; text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.blaettern a { background: var(--flaeche); color: var(--tinte); box-shadow: var(--schatten); }
.blaettern a:hover { color: var(--akzent); }
.blaettern [aria-current] { background: var(--akzent); color: var(--akzent-text); }

/* Kategorieseite */
.zurueck-zeile { max-width: var(--breite); margin: 0 auto; padding: 22px var(--rand) 0; }
.band .zurueck-zeile { padding: 0 0 18px; }
.zurueck { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--linie); border-radius: 999px; background: var(--flaeche); color: var(--tinte); text-decoration: none; font-size: 14px; font-weight: 600; }
.kat-kopf { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 60px); align-items: center; }
.kat-shirt img { mix-blend-mode: multiply; }
.kat-shirt-name { font-weight: 800; font-size: 24px; text-align: center; margin: 8px 0 0; }
.kat-shirt-name a { color: var(--tinte); text-decoration: none; }
.kat-shirt-preis { text-align: center; color: var(--leise); }
.kat-text p { font-size: clamp(17px, 1.8vw, 21px); max-width: 52ch; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kat-shirt img { mix-blend-mode: normal; border-radius: 10px; } }
:root[data-theme="dark"] .kat-shirt img { mix-blend-mode: normal; border-radius: 10px; }

/* ---------------------------------------------------------- Produktseite */
.produkt { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(24px, 5vw, 56px); align-items: start; }
.galerie { position: sticky; top: 100px; }
.galerie-gross { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--schatten); aspect-ratio: 1; }
.galerie-gross img { width: 100%; height: 100%; object-fit: contain; transition: opacity .15s; }
.galerie-gross img.laedt { opacity: .35; }
.galerie-leiste { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.galerie-mini { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; }
.galerie-mini[aria-current="true"] { border-color: var(--akzent); }
.galerie-mini img { width: 100%; height: 100%; object-fit: contain; }
.produkt-name { font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; margin-bottom: 6px; }
.produkt-art { color: var(--leise); margin-bottom: 14px; }
.produkt-preis { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 16px; }
.produkt-preis > span:first-child { font-size: 28px; font-weight: 800; color: var(--akzent); font-variant-numeric: tabular-nums; }
.preis-hinweis { font-size: 14px; color: var(--leise); }
.produkt-kurz { font-size: 17px; }
.kauf-form { margin: 22px 0 18px; display: grid; gap: 18px; }
.wahl { border: 0; padding: 0; margin: 0; }
.wahl legend { font-size: 14px; color: var(--leise); margin-bottom: 10px; display: flex; gap: 10px; align-items: baseline; }
.wahl legend strong { color: var(--tinte); }
.groessen-link { font-size: 13px; margin-left: auto; }
.farben { display: flex; flex-wrap: wrap; gap: 10px; }
.farbe input, .groesse input { position: absolute; opacity: 0; pointer-events: none; }
.farbe span:first-of-type { display: block; width: 38px; height: 38px; border-radius: 50%; background: var(--farbe); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); cursor: pointer; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .12s; }
.farbe input:checked + span { outline-color: var(--akzent); }
.farbe input:focus-visible + span { outline-color: var(--akzent-hell); }
.groessen { display: flex; flex-wrap: wrap; gap: 8px; }
.groesse span { display: inline-flex; min-width: 56px; min-height: 44px; align-items: center; justify-content: center; border: 2px solid var(--linie); border-radius: 6px; background: var(--flaeche); font-weight: 700; cursor: pointer; transition: border-color .12s, background .12s; }
.groesse input:checked + span { border-color: var(--akzent); background: var(--akzent); color: var(--akzent-text); }
.groesse input:focus-visible + span { outline: 3px solid var(--akzent-hell); outline-offset: 2px; }
.wahl.fehlt .groesse span { border-color: var(--fehler); }
.kauf-zeile { display: flex; gap: 10px; }
.menge input { width: 72px; min-height: 52px; padding: 8px; border: 2px solid var(--linie); border-radius: 6px; background: var(--flaeche); color: var(--tinte); font: 700 16px var(--schrift); text-align: center; }
.kauf-zeile .knopf { flex: 1; }
.kauf-meldung { min-height: 1.6em; margin: 0; font-weight: 600; }
.kauf-meldung.ist-ok { color: var(--ok); }
.kauf-meldung.ist-fehler { color: var(--fehler); }
.kauf-fakten { list-style: none; padding: 16px 0; margin: 0 0 12px; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); font-size: 14px; color: var(--leise); display: grid; gap: 6px; }
.kauf-fakten li::before { content: '✓'; color: var(--ok); font-weight: 700; margin-right: 8px; }
.produkt-sku { font-size: 13px; color: var(--leise); }

.motiv { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; background: var(--flaeche); border-radius: 14px; box-shadow: var(--schatten); padding: clamp(22px, 4vw, 44px); max-width: calc(var(--breite) - 2 * var(--rand)); margin-bottom: clamp(28px, 5vw, 56px); }
.motiv-quer { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.motiv:not(:has(.video)) { grid-template-columns: 1fr; }
.motiv-text p { font-size: 17px; max-width: 60ch; }
.abschnitt-links + p { margin-top: 0; }
.motiv-quelle { font-size: 14px !important; color: var(--leise); }

.video { position: relative; }
.video-start { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: #000; }
.video-hoch .video-start, .video-hoch iframe { aspect-ratio: 9 / 16; }
.video-quer .video-start, .video-quer iframe { aspect-ratio: 16 / 9; }
.video-start img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .15s; }
.video-start:hover img { opacity: 1; }
.video-knopf { position: absolute; inset: 0; display: grid; place-items: center; }
.video-knopf svg { filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); transition: transform .15s; }
.video-start:hover .video-knopf svg { transform: scale(1.08); }
.video iframe { width: 100%; height: auto; border: 0; border-radius: 12px; display: block; }
.video-hinweis { font-size: 12px; color: var(--leise); margin: 8px 0 0; }
.video-hinweis a { color: inherit; text-decoration: underline; }
.fliesstext .video-hoch { max-width: 360px; margin: 24px auto; }
.fliesstext .video-quer { margin: 24px 0; }
.einbettung { margin-top: 12px; }
.einbettung-start { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 18px; border: 0; border-radius: 12px; background: #2a2f38; color: #fff; font: 600 15px var(--schrift); cursor: pointer; text-align: left; }
.einbettung-start:hover { background: #1f242c; }
.einbettung-symbol { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #1ed760; color: #06140a; font-size: 20px; }

.info { display: grid; gap: 12px; max-width: 900px; }
.info details { background: var(--flaeche); border-radius: 10px; box-shadow: var(--schatten); padding: 0 20px; }
.info summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.info summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--akzent); }
.info details[open] summary::after { content: '−'; }
.info details > :not(summary) { padding-bottom: 18px; }
.tabelle { border-collapse: collapse; width: 100%; max-width: 520px; font-variant-numeric: tabular-nums; }
.tabelle th, .tabelle td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--linie); }

/* ---------------------------------------------------------- Artikel */
.artikel { max-width: 820px; }
.artikel-kopf .beitrag-meta { padding: 0; }
.artikel-titel { font-size: clamp(30px, 5vw, 48px); font-weight: 800; letter-spacing: -.01em; }
.artikel-bild { border-radius: 12px; margin: 10px 0 30px; box-shadow: var(--schatten); width: 100%; }
.fliesstext { font-size: 17px; overflow-wrap: anywhere; }
.fliesstext h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 1.6em; }
.fliesstext h3 { font-size: 21px; margin-top: 1.4em; }
.fliesstext img { border-radius: 8px; height: auto; margin: 1em auto; }
.fliesstext figure { margin: 1.5em 0; }
.fliesstext figcaption { font-size: 14px; color: var(--leise); text-align: center; }
.fliesstext ul, .fliesstext ol { padding-left: 1.3em; }
.fliesstext blockquote { margin: 1.5em 0; padding: 4px 20px; border-left: 4px solid var(--akzent-hell); color: var(--leise); }
.fliesstext table { border-collapse: collapse; display: block; overflow-x: auto; }
.fliesstext td, .fliesstext th { border: 1px solid var(--linie); padding: 6px 10px; }
.fliesstext pre, .fliesstext code { background: var(--flaeche-2); border-radius: 6px; font-size: 14px; }
.fliesstext pre { padding: 14px; overflow-x: auto; }
.fliesstext iframe { max-width: 100%; }
.fliesstext .wp-block-image, .fliesstext .aligncenter { text-align: center; }
.fliesstext .wp-block-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.fliesstext .wp-block-button__link { display: inline-block; padding: 10px 20px; border-radius: 6px; background: var(--akzent); color: var(--akzent-text); text-decoration: none; font-weight: 700; }
.fliesstext .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; }
.fliesstext .wp-block-column { flex: 1 1 260px; min-width: 0; }
.vorschau-balken { position: sticky; top: 70px; z-index: 40; margin: 0; padding: 10px var(--rand); background: var(--gold); color: #1a1405; text-align: center; font-weight: 600; }
.vorschau-balken a { color: inherit; }
.leer-seite { text-align: center; padding-block: 80px; }
.leer-seite .knopf-reihe { justify-content: center; }

/* ---------------------------------------------------------- Warenkorb und Kasse */
.korb-liste { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.korb-zeile { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; background: var(--flaeche); border-radius: 10px; padding: 12px; box-shadow: var(--schatten); }
.korb-bild img { border-radius: 6px; background: #fff; }
.korb-info { display: flex; flex-direction: column; font-size: 14px; }
.korb-name { font-weight: 800; font-size: 17px; color: var(--tinte); text-decoration: none; }
.korb-menge { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.menge-knopf { width: 34px; height: 34px; border: 1px solid var(--linie); border-radius: 6px; background: var(--flaeche-2); color: var(--tinte); font-size: 18px; cursor: pointer; }
.korb-weg { border: 0; background: none; color: var(--leise); text-decoration: underline; cursor: pointer; font-size: 13px; }
.korb-summe { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; min-width: 80px; }
.korb-anzahl { color: var(--leise); }
.summen { margin: 0 0 20px auto; max-width: 380px; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.summen div { display: flex; justify-content: space-between; gap: 20px; }
.summen dt { color: var(--leise); }
.summen dd { margin: 0; }
.summen-gesamt { border-top: 1px solid var(--linie); padding-top: 8px; font-size: 19px; font-weight: 800; }
.summen-gesamt dt { color: var(--tinte); }
.summen-mwst { font-size: 13px; }
.korb-weiter { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.leer-korb { text-align: center; padding: 40px 0; }

.kasse-spalten { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
.kasse-adresse { border: 0; margin: 0; padding: 22px; background: var(--flaeche); border-radius: 12px; box-shadow: var(--schatten); display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
.kasse-adresse legend { font: 700 20px var(--etikett); text-transform: uppercase; letter-spacing: .05em; padding: 0; margin-bottom: 8px; float: left; grid-column: 1 / -1; }
.feld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.feld-breit { grid-column: 1 / -1; }
.feld input { min-height: 46px; padding: 10px 12px; border: 1px solid var(--linie); border-radius: 6px; background: var(--flaeche-2); color: var(--tinte); font: 400 16px var(--schrift); }
.feld input:focus { border-color: var(--akzent); outline: 2px solid color-mix(in srgb, var(--akzent) 30%, transparent); }
.hat-fehler input { border-color: var(--fehler); }
.feld-fehler { color: var(--fehler); font-weight: 600; font-size: 13px; }
.kasse-uebersicht { position: sticky; top: 100px; background: var(--flaeche); border-radius: 12px; box-shadow: var(--schatten); padding: 22px; }
.kasse-uebersicht .korb-zeile { grid-template-columns: 56px minmax(0, 1fr) auto auto; box-shadow: none; padding: 6px 0; border-radius: 0; border-bottom: 1px solid var(--linie); }
.kasse-uebersicht .korb-bild img { width: 56px; height: 56px; }
.kasse-uebersicht .summen { max-width: none; margin-top: 12px; }
.kasse-recht { font-size: 13px; color: var(--leise); }
.hinweis { padding: 12px 16px; border-radius: 8px; background: color-mix(in srgb, var(--gold) 16%, var(--flaeche)); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.hinweis-fehler { background: color-mix(in srgb, var(--fehler) 12%, var(--flaeche)); border-color: color-mix(in srgb, var(--fehler) 45%, transparent); }
.status-zeile { font-size: 15px; }
.plakette { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.plakette-ok { background: color-mix(in srgb, var(--ok) 18%, var(--flaeche)); color: var(--ok); }
.plakette-warte { background: color-mix(in srgb, var(--gold) 20%, var(--flaeche)); color: var(--gold); }
.plakette-aus { background: var(--flaeche-2); color: var(--leise); }

/* ---------------------------------------------------------- Fuß */
.fuss { background: #22262e; color: #c9ced8; margin-top: 40px; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 44px var(--rand) 24px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.fuss-marke img { filter: invert(1) brightness(1.8); margin-bottom: 12px; }
.fuss-spalte { display: flex; flex-direction: column; gap: 6px; }
.fuss-spalte h2 { font: 700 15px var(--etikett); text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 6px; }
.fuss a { color: #c9ced8; text-decoration: none; font-size: 15px; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-zeile { max-width: var(--breite); margin: 0 auto; padding: 16px var(--rand) 28px; border-top: 1px solid #353a44; font-size: 13px; color: #8d94a1; }

/* ---------------------------------------------------------- Handy */
@media (max-width: 860px) {
  .ueber-spalten, .intro, .shop-willkommen, .kat-kopf, .produkt, .kasse-spalten, .motiv, .motiv-quer, .youtube-band { grid-template-columns: minmax(0, 1fr); }
  .serien { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie, .kasse-uebersicht { position: static; }
  .motiv .video-hoch { max-width: 320px; margin: 0 auto; }
  .fuss-innen { grid-template-columns: 1fr 1fr; }
  .fuss-marke { grid-column: 1 / -1; }
  .kat-shirt { max-width: 420px; margin: 0 auto; }
  .rf-kasten { max-width: 260px; margin: 8px auto 0; }
  .neu-eingetroffen { max-width: 440px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .kopf-innen { gap: 12px; padding-block: 10px; }
  .nav { gap: 12px; }
  .theme-schalter { width: 32px; height: 32px; margin-left: -4px; }
  .nav a { font-size: 12px; letter-spacing: .06em; }
  .raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .karte-name { font-size: 15px; padding: 10px 12px 0; }
  .karte-preis { padding: 0 12px 12px; font-size: 14px; }
  .korb-zeile { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .korb-menge { grid-column: 2 / 4; }
  .korb-bild img { width: 72px; height: 72px; }
  .korb-summe { grid-row: 1; grid-column: 3; }
  .kasse-adresse { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .fuss-innen { grid-template-columns: 1fr; }
  .werkzeug-sort { flex: 1 1 100%; }
  .werkzeug-sort select { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .shop-kopf-video { display: none; }
  .shop-kopf { background: url(/img/werbevideo-poster.jpg) left 5.15% top / 36.05% 100% no-repeat; }
}

/* ---------------------------------------------------------- Blog mit Seitenleiste */
.mit-leiste { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.mit-leiste .beitraege { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.mit-leiste .artikel { max-width: none; }
.leiste { display: grid; gap: 18px; position: sticky; top: 96px; }
.leiste-block { background: var(--flaeche); border-radius: 10px; box-shadow: var(--schatten); padding: 18px; }
.leiste-block .etikett { margin-bottom: 10px; }
.leiste-werbung { display: grid; gap: 14px; }
.anzeige { margin: 0; font: 600 11px/1 var(--etikett); letter-spacing: .16em; text-transform: uppercase; color: var(--leise); }
.banner img { width: 100%; height: auto; border-radius: 6px; transition: opacity .15s; }
.banner:hover img { opacity: .9; }
.leiste-suche { display: flex; gap: 8px; }
.leiste-suche input { flex: 1; min-width: 0; min-height: 42px; padding: 8px 12px; border: 1px solid var(--linie); border-radius: 6px; background: var(--flaeche-2); color: var(--tinte); font: inherit; }
.leiste-suche .knopf { min-height: 42px; padding: 8px 14px; }
.leiste-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; line-height: 1.4; }
.leiste-liste a { color: var(--tinte); text-decoration: none; }
.leiste-liste a:hover, .leiste-liste a[aria-current] { color: var(--akzent); }
.knopf-fuss { background: transparent; border-color: #c9ced8; color: #fff !important; min-height: 40px; padding: 8px 18px; text-decoration: none !important; }
.knopf-fuss:hover { background: #fff; border-color: #fff; color: #22262e !important; }
@media (max-width: 960px) {
  .mit-leiste { grid-template-columns: minmax(0, 1fr); }
  .leiste { position: static; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
}
/* Bilderstrecken aus alten Beiträgen (Jetpack-Diaschau): ohne Skript als Reihe zum Wischen, ein Bild je Schritt */
.wp-block-jetpack-slideshow ul { list-style: none; margin: 0 0 8px; padding: 0 0 10px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.wp-block-jetpack-slideshow li { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.wp-block-jetpack-slideshow figure { margin: 0; }
.wp-block-jetpack-slideshow img { display: block; width: 100%; height: auto; border-radius: 10px; }
.wp-block-jetpack-slideshow a[role="button"], .wp-block-jetpack-slideshow_pagination { display: none; }
