/* =========================================================
   HUNDEWETTER – kino.css  (Kino-Theme, wird als LETZTES Stylesheet geladen)
   Macht aus dem hellen Grundaufbau (styles.css, clean.css, produkt.css, cart.css, schrank.css)
   die dunkle Seite passend zum Hero: fast schwarzer Grund, weiße Schrift, helle Foto-Kacheln,
   Überschriften in Syncopate (breit, fett), Rot bleibt der einzige Akzent.
   Zurück zum hellen Theme: diese Datei in den drei HTML-Seiten auskommentieren.

   Inhalt: 1 Tokens · 2 Überschriften · 3 Kopfzeile · 4 Knöpfe · 5 Foto-Kacheln
           6 Startseite · 7 Produktseite · 8 Warenkorb · 9 Kleiderschrank
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #141414;
  --ink: #f4f2ed;
  --muted: rgba(244, 242, 237, .6);
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .26);
  --panel: #1f1f1f;                 /* Flächenton: etwas heller als der Grund */
  --panel-2: #2a2a2a;
  --kachel: #fff;                   /* Foto-Kacheln bleiben hell (Produktfotos haben weißen Grund) */
  --on-ink: #141414;                /* Text auf hellen (Tinte-)Flächen */
  --sky: #18222b;                   /* „Größe finden“: dunkles Nachtblau statt Hellblau */
  --on-sky: rgba(244, 242, 237, .72);
  --kopf-font: "Syncopate", "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --h2: clamp(20px, 2.5vw, 40px);
  --h3: clamp(15px, 1.25vw, 19px);
  --cream: var(--bg);
  --white: var(--ink);
  color-scheme: dark;
}
html { background: var(--bg); }
::selection { background: var(--red); color: #fff; }

/* ---------- 2. Überschriften: Syncopate fett, Versalien ---------- */
.reco__title, .cats__title, .best__title, .shop__title, .sizes__title,
.pp__more-title, .pp__title, .pp__name, .sz__title, .hwc__title, .ks-kopf__titel, .ks-titel, .footer__title {
  font-family: var(--kopf-font); font-weight: 700; text-transform: uppercase;
  letter-spacing: -.01em; line-height: 1.12;
}
.step-card__title { font-family: var(--kopf-font); font-weight: 700; text-transform: uppercase; letter-spacing: 0; line-height: 1.2; }
.eyebrow { letter-spacing: .18em; }

/* ---------- 3. Kopfzeile (Unterseiten) ---------- */
.header { background: rgba(20, 20, 20, .82); border-bottom-color: var(--line); }
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .header__nav { background: #181818; }
}

/* ---------- 4. Knöpfe ---------- */
.btn { border-radius: 999px; }
.btn:hover { background: var(--ink); color: var(--on-ink); }
.btn--primary, .btn--primary:hover { color: #fff; }
.btn--primary:hover { background: #fff; border-color: #fff; color: var(--on-ink); }

/* ---------- 5. Foto-Kacheln: hell, abgerundet ---------- */
.scard__img, .cat-card__img, .pp__shot, .hwc__img { background: var(--kachel); border-radius: var(--radius); }
.scard__dot.is-on, .scard__dot.is-photo.is-on { box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 2.5px var(--ink); }

/* ---------- 6. Startseite ---------- */
.shop__filter[aria-selected="true"] { color: #fff; }
.step-card { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.sizes__dot { background: rgba(255, 255, 255, .3); }
.footer { background: #0e0e0e; }

/* ---------- 7. Produktseite ---------- */
.pp .pp__size, .sz input, .sz select { background: transparent; color: var(--ink); }
.pp .pp__size[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.sz__panel, .sz__sheet { background: #181818; }
.sz__go:hover, .sz__take { background: var(--ink); color: var(--on-ink); }
@media (max-width: 760px), (max-aspect-ratio: 1/1) { .pp__cta { box-shadow: 0 0 0 12px var(--bg); } }   /* gleiche Bedingung wie in produkt.css – sonst weißer Ring am Tablet hochkant */

/* ---------- 8. Warenkorb ---------- */
.hwc__panel, .hwc__foot { background: #181818; color: var(--ink); }

/* ---------- 9. Kleiderschrank ---------- */
.ks-dlg__gr { background: transparent; color: var(--ink); }
.ks-dlg__gr[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.ks-dlg__plus:hover { background: var(--panel-2); }

/* ---------- Nachträge ---------- */
/* ohne Weichzeichner (backdrop-filter): der wird beim Scrollen in jedem Bild neu gerechnet und ruckelt v. a. auf iPhones */
/* voll deckend: bei 95 % schienen Logo, Links und Knöpfe des Hero-Bilds doppelt durch (Menü offen über dem Hero) */
.header::before { background: #141414; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.step-card { --muted: rgba(244, 242, 237, .62); color: var(--ink); }
.shop__filter[aria-selected="true"] { color: var(--on-ink); }
.best__teaser-pfeil { color: var(--on-ink); }
.foot--dog { color: var(--muted); }
.foot__brand p, .pp__trust, .hwc__free, .hwc__sum dt { color: rgba(244, 242, 237, .74); }
.hwc__empty svg { stroke: rgba(244, 242, 237, .35); }
.ks-reiter__knopf[aria-selected="true"] { color: var(--on-ink); background: var(--ink); }
.ks-intro__titel { font-family: var(--kopf-font); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(20px, 2.4vw, 36px); }
.sz__field input:hover { border-color: rgba(255, 255, 255, .5); }
.sz circle[fill="#fff"] { fill: #181818; }
.step-card { background: #222c36; }
@media (max-width: 760px), (max-aspect-ratio: 1/1) { .nav { background: #181818; } }
.ks-dlg__info { background: #1b1b1b; color: var(--ink); }
.ks-dlg__knoepfe { background: #1b1b1b; }
.ks-dlg__sositzt { color: var(--on-ink); }
/* dunkler Hintergrund nur für die aufklappende Auswahl am Handy – am Desktop kein grauer Kasten hinter den Wetter-Symbolen */
@media (max-width: 760px), (max-aspect-ratio: 1/1) { .fxw-sw__group { background: #1f1f1f; } }
.ks-intro__titel { font-size: clamp(18px, 1.9vw, 28px); }
@media (max-width: 760px), (max-aspect-ratio: 1/1) { .ks-intro__titel { font-size: 18px; } }

/* ---------- Menü (Nachtrag) ----------
   PC: Wird die Kopfzeile über dem Hero per Hero-Knopf geöffnet, liegt dessen Kreuz verdeckt dahinter –
   dann bekommt die Kopfzeile ihren eigenen „Schließen“-Knopf.
   Handy: Die Linkliste bekommt eine Abdunklung für den Rest der Seite (Schatten nur nach unten, per clip-path)
   und scrollt bei wenig Höhe selbst. */
@media (min-width: 761px) and (min-aspect-ratio: 1/1) {
  .header.is-over.is-open .menu-btn { display: inline-flex; gap: 8px; }
}
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .header.is-open .nav {
    max-height: calc(100dvh - var(--hdr)); overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .6);
    clip-path: inset(0 -100vmax -100vmax -100vmax);
  }
}
/* Menü offen über dem Hero: Logo, Links und Knöpfe des Hero ausblenden (sonst ragen ihre Kanten unter der Leiste hervor) */
html:has(.header.is-over.is-open) :is(.hero__notch, .hero__corner, .hero__pill, .hero__nav) { opacity: 0; visibility: hidden; transition: opacity .2s; }

/* Farbpunkte auf dunklem Grund: feiner heller Rand, sonst verschwinden Schwarz und sehr dunkle Farben */
.scard__dot, .scard__dot.is-photo, .pdp__dot { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); }
.scard__dot.is-on, .scard__dot.is-photo.is-on { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32), 0 0 0 1.5px var(--bg), 0 0 0 2.5px var(--ink); }
