/*
  Komponenten- und Seitenstile.

  In Astro lag jeder Block im <style> seiner Datei und wurde beim Bauen
  automatisch eingebunden. WordPress kennt das nicht — deshalb stehen alle
  Regeln hier gesammelt, in derselben Reihenfolge wie im Astro-Projekt.

  Erzeugt aus den Astro-Quellen. Bei Änderungen dort hier nachziehen —
  sonst fehlen einzelnen Seiten ihre Stile.
*/


/* ---------- Base ---------- */
.breadcrumbs { padding-block: 1rem 0; }
      .breadcrumbs ol {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: .4rem;
        margin: 0;
        padding: 0;
        font-size: 12px;
        color: var(--mg-nuit-60);
      }
      .breadcrumbs li { max-width: none; }
      .breadcrumbs li + li::before { content: '/'; margin-right: .4rem; color: var(--mg-nuit-40); }
      /* Blau ist der Klickfarbe des Hauptelements vorbehalten. */
      .breadcrumbs a { color: var(--mg-nuit-60); text-decoration: underline; }
      .breadcrumbs a:hover { color: var(--mg-nuit); }


/* ---------- Header ---------- */
.site-header {
    background: var(--mg-sable);
    border-bottom: 1px solid var(--mg-linie);
    position: sticky;
    top: 0;
    z-index: 20;
  }
  .bar { display: flex; align-items: center; gap: 1rem; min-height: 60px; flex-wrap: wrap; }
  .brand { text-decoration: none; margin-right: auto; color: var(--mg-nuit); }
  .brand img { height: 34px; width: auto; }
  @media (min-width: 48rem) { .brand img { height: 40px; } }

  .navwrap { order: 3; }
  .burger {
    list-style: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    margin-right: -8px;
  }
  .burger::-webkit-details-marker { display: none; }
  .burger:focus-visible { outline: 2px solid var(--mg-nuit); outline-offset: 2px; }
  .bars, .bars::before, .bars::after {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--mg-nuit);
    content: '';
  }
  .bars { position: relative; }
  .bars::before { position: absolute; top: -6px; }
  .bars::after { position: absolute; top: 6px; }

  .nav ul { display: flex; list-style: none; margin: 0; padding: 0; }
  .nav li { max-width: none; }
  .nav a {
    /* Navigation ist kein Klickziel im Sinne der Majorelle-Regel. */
    color: var(--mg-nuit);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: block;
    border-bottom: 1.5px solid transparent;
  }
  .nav a:hover { border-bottom-color: var(--mg-argan); }
  .nav a[aria-current='page'] { border-bottom-color: var(--mg-nuit); }

  .cart { color: var(--mg-nuit); display: grid; place-items: center; width: 44px; height: 44px; }

  /* --- Mobil: aufklappbar --- */
  @media (max-width: 47.9375rem) {
    .navwrap { flex-basis: auto; }
    .navwrap[open] .nav {
      position: absolute;
      inset-inline: 0;
      top: 100%;
      background: var(--mg-sable);
      border-top: 1px solid var(--mg-linie);
      border-bottom: 1px solid var(--mg-linie);
      padding-inline: var(--mg-gutter);
    }
    .nav ul { flex-direction: column; padding-block: .5rem; }
    .nav a { padding: .75rem 0; }
    .site-header { position: sticky; }
    .bar { position: relative; }
  }

  /* --- Ab Tablet: dauerhaft sichtbare Leiste --- */
  @media (min-width: 48rem) {
    .burger { display: none; }
    .navwrap { order: 2; }
    /* Ueberschreibt das Verstecken, das der Browser bei geschlossenem
       details auf Nicht-summary-Kinder anwendet. */
    .navwrap > .nav { display: block; }
    .nav ul { gap: clamp(.85rem, 2vw, 1.6rem); }
    .nav a { padding: .5rem 0; }
    .cart { margin-right: -10px; }
  }


/* ---------- Footer ---------- */
.site-footer {
    background: var(--mg-nuit);
    color: var(--mg-lait);
    padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
    margin-top: var(--mg-section);
  }
  .cols {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  }
  .foot-logo { height: 42px; width: auto; margin-bottom: .75rem; }
  .foot-h {
    font-family: var(--mg-sans);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    /* Argan auf Nuit: 5,3:1 — freigegeben ab 16 px. Hier 11 px, deshalb
       stattdessen die helle Textfarbe mit reduzierter Deckkraft. */
    color: #b8ada2;
    margin: 0 0 .75rem;
  }
  .site-footer ul { list-style: none; margin: 0; padding: 0; }
  .site-footer li { max-width: none; margin-bottom: .4rem; }
  .site-footer a {
    color: var(--mg-lait);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid transparent;
  }
  .site-footer a:hover { border-bottom-color: var(--mg-argan); }
  .site-footer :focus-visible { outline-color: var(--mg-lait); }
  .small { font-size: 13px; }
  .site-footer .muted { color: #b8ada2; }
  address { font-style: normal; line-height: 1.6; }
  .bottom {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #453b32;
    display: grid;
    gap: .5rem;
  }
  .bottom p { max-width: 70ch; margin: 0; }


/* ---------- Laufband ---------- */
.laufband {
    overflow: hidden;
    border-block: 1px solid var(--mg-linie);
    background: var(--mg-sable);
    padding-block: 1.05rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .spur { display: flex; width: max-content; }
  .reihe {
    display: flex;
    align-items: center;
    gap: 2.75rem;
    list-style: none;
    margin: 0;
    padding: 0 1.4rem;
  }
  .reihe li {
    max-width: none;
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--mg-nuit);
    display: flex;
    align-items: center;
    gap: 2.75rem;
  }
  /* Trennzeichen als Fläche, nicht als Schriftzeichen. */
  .reihe li::after {
    content: '';
    width: 5px; height: 5px;
    background: var(--mg-argan);
    flex: none;
    transform: rotate(45deg);
  }

  @media (prefers-reduced-motion: no-preference) {
    .spur { animation: wandern 46s linear infinite; }
    .laufband:hover .spur { animation-play-state: paused; }
  }
  @keyframes wandern {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* Ohne Bewegung wird aus dem Band eine ruhige, umbrechende Liste. */
  @media (prefers-reduced-motion: reduce) {
    .laufband { -webkit-mask-image: none; mask-image: none; }
    .spur { width: auto; }
    .reihe { flex-wrap: wrap; gap: 1rem 2rem; }
    .reihe li { gap: 1rem; white-space: normal; }
    .reihe[aria-hidden='true'] { display: none; }
  }


/* ---------- HeroSlideshow ---------- */
.buehne {
    position: relative;
    isolation: isolate;
    background: var(--mg-nuit);
    /* 21:9-Aufnahmen: die Fläche folgt dem Bildformat, statt es auf
       eine feste Höhe zu strecken. Auf schmalen Geräten greift eine
       Mindesthöhe, damit der Text Platz behält. */
    min-height: min(82dvh, 42rem);
    aspect-ratio: 21 / 9;
    display: grid;
    align-items: end;
    overflow: hidden;
  }
  .bilder { position: absolute; inset: 0; z-index: -2; }
  .bilder figure {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    background: var(--mg-nuit) var(--vorschau) center / cover;
    transition: opacity 1.4s cubic-bezier(.4,0,.2,1);
  }
  .bilder figure.an { opacity: 1; }
  .bilder img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
  @media (max-width: 47.9375rem) {
    /* Hochkant zeigt der Ausschnitt die rechte Bildhälfte, wo das Motiv
       sitzt — die leere linke Seite fällt weg. */
    .buehne { aspect-ratio: auto; min-height: min(76dvh, 34rem); }
    .bilder img { object-position: 72% center; }
  }

  /* Langsamer Zoom auf dem sichtbaren Bild gibt dem Standbild Bewegung,
     ohne dass Videodaten geladen werden müssen. */
  @media (prefers-reduced-motion: no-preference) {
    .bilder figure img {
      /* Ruhezustand ist der Endpunkt der Bewegung. Verlöre ein Bild beim
         Wechsel seine Animation und fiele auf einen vergrößerten Grund-
         zustand zurück, sähe man es während des Ausblendens hineinspringen. */
      transform: scale(1);
      will-change: transform;
      backface-visibility: hidden;
    }
    .bilder figure.an img {
      animation: fahrt var(--fahrt, 8s) linear both;
    }
  }
  @keyframes fahrt {
    from { transform: scale(1.055); }
    to   { transform: scale(1); }
  }

  .schleier {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(to top,
        rgba(36,28,21,.94) 0%, rgba(36,28,21,.86) 28%,
        rgba(36,28,21,.6) 56%, rgba(36,28,21,.3) 78%, rgba(36,28,21,.16) 100%);
  }

  .inhalt {
    width: 100%;
    max-width: var(--mg-max);
    margin-inline: auto;
    padding: clamp(5rem, 12vw, 7rem) var(--mg-gutter) clamp(3.5rem, 7vw, 5rem);
  }
  .inhalt h1, .inhalt h2 { color: var(--mg-lait); }
  .inhalt p { color: #e6ddd3; }

  .punkte {
    position: absolute;
    bottom: clamp(1.25rem, 3vw, 2rem);
    right: var(--mg-gutter);
    display: flex;
    gap: .5rem;
    z-index: 2;
  }
  .punkte button {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    background: none; border: 0; padding: 0; cursor: pointer;
  }
  .punkte span {
    display: block;
    width: 26px; height: 2px;
    background: rgba(250,245,238,.4);
    transition: background-color .3s ease;
  }
  .punkte [aria-selected='true'] span { background: var(--mg-lait); }
  .punkte button:focus-visible { outline: 2px solid var(--mg-lait); outline-offset: 2px; }


/* ---------- HeroVideo ---------- */
.buehne {
    position: relative;
    isolation: isolate;
    background: var(--mg-nuit);
    /* dvh statt vh: auf dem Handy zaehlt die Leiste des Browsers mit,
       sonst rutscht der obere Rand des Textes unter das Kopffeld. */
    min-height: min(86dvh, 44rem);
    display: grid;
    align-items: end;
    overflow: hidden;
  }
  .buehne-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
  }
  /* Verlauf, damit die Schrift auf jedem Einzelbild lesbar bleibt.
     Die Deckkraft im Textbereich ist nicht geschaetzt: 65 % Nuit ergeben
     auch gegen ein voellig weisses Videobild noch 4,8:1 gegen Lait.
     Unten liegt sie darueber, weil dort Preis und Buttons stehen. */
  .buehne-schleier {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(to top,
        rgba(36,28,21,.94) 0%,
        rgba(36,28,21,.88) 30%,
        rgba(36,28,21,.66) 58%,
        rgba(36,28,21,.34) 80%,
        rgba(36,28,21,.20) 100%);
  }
  /* Der Hero faerbt seinen Inhalt selbst hell. Aufrufende Seiten koennen
     das nicht versehentlich ueberschreiben - auf dem Video waere dunkle
     Schrift unlesbar. */
  .buehne-inhalt h1,
  .buehne-inhalt h2 { color: var(--mg-lait); }
  .buehne-inhalt p { color: #e6ddd3; }

  .buehne-inhalt {
    width: 100%;
    max-width: var(--mg-max);
    margin-inline: auto;
    padding: clamp(5rem, 12vw, 7rem) var(--mg-gutter) clamp(2.25rem, 5vw, 3.5rem);
  }


/* ---------- Bildbuehne ---------- */
.buehne {
    position: relative;
    isolation: isolate;
    display: grid;
    overflow: hidden;
    padding: 0;
    background: var(--mg-nuit);
  }
  .buehne {
    background-image: var(--vorschau);
    background-size: cover;
    background-position: center;
  }
  .buehne img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
  }
  .buehne::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
      to top,
      rgba(36,28,21, calc(var(--schleier) + .3)) 0%,
      rgba(36,28,21, var(--schleier)) 45%,
      rgba(36,28,21, calc(var(--schleier) * .55)) 100%);
  }
  .buehne-voll { min-height: min(88dvh, 46rem); }
  .buehne-halb { min-height: min(58dvh, 30rem); }

  .nach-unten { align-items: end; }
  .nach-mitte { align-items: center; }

  .inhalt {
    padding-block: clamp(2.5rem, 7vw, 5rem);
    color: var(--mg-lait);
  }
  .inhalt h2,
  .inhalt h3 { color: var(--mg-lait); }
  .inhalt p { color: #e8e0d6; max-width: 40ch; }


/* ---------- Videobuehne ---------- */
.vbuehne {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--mg-nuit) var(--vorschau) center / cover;
  }
  .vbuehne-voll { min-height: min(88dvh, 46rem); }
  .vbuehne-halb { min-height: min(58dvh, 30rem); }

  .hintergrund {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
  }

  /* Liegt über dem ganzen Video und nimmt die Spitzlichter zurück. */
  .grundschleier {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top,
      rgba(36,28,21,.72) 0%, rgba(36,28,21,.5) 38%,
      rgba(36,28,21,.28) 70%, rgba(36,28,21,.2) 100%);
  }

  .inhalt {
    width: 100%;
    max-width: var(--mg-max);
    margin-inline: auto;
    padding-block: clamp(2.5rem, 7vw, 5rem);
  }

  /* Zweite Ebene, nur unter der Schrift: garantiert Lesbarkeit auch dann,
     wenn gerade eine sehr helle Einstellung läuft. */
  .textfeld {
    position: relative;
    max-width: 46rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    margin-left: calc(clamp(1.5rem, 3vw, 2rem) * -1);
    border-radius: var(--mg-radius-l);
    background: linear-gradient(105deg,
      rgba(20,15,11,.82) 0%, rgba(20,15,11,.66) 62%, rgba(20,15,11,0) 100%);
    backdrop-filter: blur(3px);
  }
  @supports not (backdrop-filter: blur(3px)) {
    .textfeld { background: rgba(20,15,11,.8); }
  }

  .textfeld h2, .textfeld h3 { color: var(--mg-lait); }
  .textfeld p { color: #eae2d8; max-width: 42ch; }


/* ---------- ProduktKarte ---------- */
/* Nuit-40 kaeme auf 3,1:1 und Feuille auf 4,2:1 - beides zu wenig fuer
     diese Schriftgroessen. Die Ersparnis traegt ihre Botschaft im Text,
     nicht in der Farbe; der Argan-Punkt ist Flaeche, nicht Schrift. */
  .statt {
    font-weight: 400;
    font-size: 14px;
    color: var(--mg-nuit-60);
    margin-left: .4rem;
  }
  .sparzeile {
    font-size: 12px;
    font-weight: 700;
    color: var(--mg-nuit);
    margin: .35rem 0 0;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: center;
    gap: .4rem;
  }
  .sparzeile::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--mg-argan);
    flex: none;
  }


/* ---------- Galerie ---------- */
.galerie { padding-block: var(--mg-section); }
  .kopf { margin-bottom: 2.25rem; }
  .kopf p { color: var(--mg-nuit-60); max-width: 48ch; margin-top: .5rem; }

  .raster {
    list-style: none;
    margin: 0;
    padding-inline: var(--mg-gutter);
    display: grid;
    gap: .625rem;
    grid-auto-flow: column;
    grid-auto-columns: 68vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .raster::-webkit-scrollbar { display: none; }
  .raster > li { scroll-snap-align: center; max-width: none; }

  @media (min-width: 40rem) {
    .raster {
      grid-auto-flow: row;
      grid-template-columns: repeat(4, 1fr);
      overflow: visible;
      max-width: var(--mg-max);
      margin-inline: auto;
      gap: .75rem;
    }
    .raster .gross { grid-column: span 2; }
  }

  .raster li {
    margin: 0;
    overflow: hidden;
    border-radius: var(--mg-radius-l);
    background: var(--mg-sable) var(--vorschau) center / cover;
    aspect-ratio: 4 / 5;
  }
  .raster .gross { aspect-ratio: 8 / 5; }
  .raster img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.16,1,.3,1);
  }
  .raster li:hover img { transform: scale(1.04); }


/* ---------- Rechtstext ---------- */
.narrow { max-width: 44rem; }
  .mail { color: var(--mg-nuit-60); font-style: italic; }
  .pruefhinweis {
    border-left: 3px solid var(--mg-fehler);
    background: var(--mg-lait);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0 2.5rem;
    font-size: 14px;
    max-width: none;
  }
  .block { padding-block: 0; }
  .block h2 {
    font-family: var(--mg-sans);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    margin-top: 2rem;
    margin-bottom: .5rem;
  }
  .block p { font-size: 15px; }
  .anwaltsfrage {
    background: #f6e9e6;
    border-left: 3px solid var(--mg-fehler);
    padding: .7rem .9rem;
    font-size: 14px;
    color: var(--mg-nuit);
    max-width: none;
  }
  .anwaltsfrage b { color: var(--mg-fehler); }
  .stand { font-size: 13px; margin-top: 2.5rem; }
  code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }


/* ---------- ConsentGate ---------- */
/* Die Regel darunter ist ein ID-Selektor und schlägt die Browser-Regel
     [hidden]{display:none}. Ohne diese Zeile bleibt das Banner nach dem
     Klick stehen, obwohl das Attribut gesetzt ist. */
  #cg[hidden] { display: none; }

  #cg {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 60;
    padding: var(--mg-gutter);
    display: grid;
    justify-items: center;
  }
  .cg-box {
    background: var(--mg-lait);
    border: 1px solid var(--mg-nuit);
    border-radius: var(--mg-radius);
    padding: 1.25rem;
    max-width: 34rem;
    box-shadow: 0 -2px 24px rgba(36, 28, 21, .12);
  }
  .cg-box h2 {
    font-family: var(--mg-sans);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0;
    margin: 0 0 .4rem;
  }
  .cg-box p { font-size: 13.5px; margin: 0; color: var(--mg-nuit-60); }
  .cg-actions { display: flex; gap: .625rem; margin-top: 1rem; flex-wrap: wrap; }
  .cg-actions .btn { flex: 1 1 10rem; }
  /* Beide Optionen bewusst identisch gestaltet. Ein hervorgehobener
     Akzeptieren-Button neben einem blassen Ablehnen-Button waere ein
     angreifbares Nudging - und Majorelle bleibt dem einen Klickziel
     der Seite vorbehalten (Briefing Abschnitt 4). */


/* ---------- index ---------- */
/* ---------- Hero ---------- */
  .hero-satz { font-size: clamp(17px, 2vw, 20px); max-width: 34ch; margin-bottom: 0; }
  .hero-aktion { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 2rem; }
  .btn-hell {
    background: transparent; color: var(--mg-lait);
    border: 1px solid rgba(250,245,238,.55); backdrop-filter: blur(6px);
  }
  .btn-hell:hover { background: var(--mg-lait); color: var(--mg-nuit); border-color: var(--mg-lait); }
  .hero-preis { display: flex; align-items: baseline; gap: .55rem; margin: 0; flex-wrap: wrap; }
  .hero-preis b { font-size: clamp(19px, 2.2vw, 23px); font-variant-numeric: tabular-nums; color: var(--mg-lait); }
  .hero-preis span { font-size: 12px; color: #cfc4b8; font-variant-numeric: tabular-nums; }

  /* ---------- Das Produkt ---------- */
  .held { padding-block: var(--mg-section); }
  .held-raster { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
  @media (min-width: 60rem) { .held-raster { grid-template-columns: 1.35fr .85fr; } }
  .held-bild {
    margin: 0; border-radius: var(--mg-radius-l); overflow: hidden;
    background: var(--mg-nuit) var(--vorschau) center / cover;
  }
  .held-bild img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
  .held-text h2 { margin-bottom: .6rem; }
  .preis-zeile { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin: 1.75rem 0 0; }
  .preis-zeile .gross { font-size: clamp(26px, 3vw, 32px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
  .preis-zeile .klein { font-size: 12px; color: var(--mg-nuit-60); font-variant-numeric: tabular-nums; }
  .hinweis { font-size: 12px; color: var(--mg-nuit-60); margin: .5rem 0 0; max-width: 42ch; }
  .breit { margin-top: 1.5rem; width: 100%; max-width: 22rem; }

  /* ---------- Sortiment ---------- */
  .sortiment { padding-block: var(--mg-section); background: var(--mg-lait); }
  .kopf { display: grid; gap: .5rem; margin-bottom: 2.5rem; }
  .kopf p { color: var(--mg-nuit-60); max-width: 44ch; }
  @media (min-width: 52rem) {
    .kopf { grid-template-columns: 1fr auto; align-items: end; }
    .kopf p { text-align: right; margin: 0 0 .4rem; }
  }
  .regal {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15.5rem, 78vw);
    gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-inline: var(--mg-gutter); padding-bottom: .5rem; scrollbar-width: none;
  }
  .regal::-webkit-scrollbar { display: none; }
  .regal > * { scroll-snap-align: start; }
  @media (min-width: 52rem) {
    .regal {
      grid-auto-flow: row; grid-template-columns: repeat(3, 1fr);
      overflow: visible; max-width: var(--mg-max); margin-inline: auto; gap: 1.25rem;
    }
  }
  .mitte { display: flex; justify-content: center; margin-top: 2.5rem; }

  /* ---------- Anwendung ---------- */
  .anwendung { padding-block: var(--mg-section); }
  .unter { color: var(--mg-nuit-60); margin-top: -.25rem; }
  .drei { display: grid; gap: clamp(1.25rem, 3vw, 2rem); margin-top: 2.5rem; }
  @media (min-width: 48rem) { .drei { grid-template-columns: repeat(3, 1fr); } }
  .drei figure {
    margin: 0 0 1rem; overflow: hidden; border-radius: var(--mg-radius-l);
    background: var(--mg-sable) var(--vorschau) center / cover;
  }
  .drei img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
    transition: transform .6s cubic-bezier(.16,1,.3,1);
  }
  .drei article:hover img { transform: scale(1.04); }
  .drei h3 { margin-bottom: .3rem; }
  .drei p { font-size: 15px; color: var(--mg-nuit-60); }

  /* ---------- Bühnen ---------- */
  .buehne-aktion { margin-top: 1.75rem; }
  .herkunft-daten {
    font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
    color: #cfc4b8 !important; margin-top: 1.25rem;
  }

  /* ---------- FAQ ---------- */
  .faq-block { padding-block: var(--mg-section); background: var(--mg-lait); }
  .faq-raster { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
  @media (min-width: 52rem) { .faq-raster { grid-template-columns: .8fr 1.2fr; } }
  .faq-bild {
    margin: 0; overflow: hidden; border-radius: var(--mg-radius-l);
    background: var(--mg-sable) var(--vorschau) center / cover;
  }
  .faq-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
  .faq-raster h2 { margin: 0 0 1rem; }
  .faq-raster .btn { margin-top: 1.75rem; }

  details { border-top: 1px solid var(--mg-linie); padding: 1.15rem 0; }
  details:last-of-type { border-bottom: 1px solid var(--mg-linie); }
  summary {
    cursor: pointer; font-weight: 600; font-size: clamp(16px, 1.6vw, 17px);
    list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: '+'; color: var(--mg-nuit-60); font-weight: 400; }
  details[open] summary::after { content: '–'; }
  details p { margin: .8rem 0 0; color: var(--mg-nuit-60); font-size: 15px; }


/* ---------- [produkt] ---------- */
.pdp { padding-block: clamp(1.5rem, 4vw, 2.5rem); }
  .pdp-grid { display: grid; gap: clamp(1.5rem, 5vw, 3rem); grid-template-columns: 1fr; align-items: start; }
  @media (min-width: 48rem) { .pdp-grid { grid-template-columns: 1fr 1fr; } }

  .galerie { display: grid; gap: .625rem; grid-template-columns: 1fr 1fr; }
  .galerie figure { margin: 0; background: var(--mg-sable); border: 1px solid var(--mg-linie); overflow: hidden; }
  .galerie .haupt { grid-column: 1 / -1; }
  /* Die Studioaufnahmen liegen im Format 3:4. Ein quadratischer Rahmen
     mit object-fit:contain ließ helle Ränder links und rechts stehen. */
  .galerie img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
  .galerie .haupt img { aspect-ratio: 3 / 4; object-fit: cover; }

  .pdp-info h1 { margin-bottom: .5rem; }
  .highlights { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .45rem; }
  .highlights li { font-size: 15px; color: var(--mg-nuit); padding-left: 1.35rem; position: relative; }
  .highlights li::before {
    content: ''; position: absolute; left: 0; top: .55em;
    width: 8px; height: 8px; background: var(--mg-argan);
  }
  .pdp-info .price { margin-top: 1.75rem; }
  .statt { font-weight: 400; font-size: 15px; color: var(--mg-nuit-60); margin-left: .5rem; }
  /* siehe ProduktKarte: Feuille und Nuit-40 reichen hier nicht. */
  .sparzeile {
    font-size: 13px; font-weight: 700; color: var(--mg-nuit);
    margin: .4rem 0 0; font-variant-numeric: tabular-nums;
    display: flex; align-items: center; gap: .45rem;
  }
  .sparzeile::before {
    content: ''; width: 8px; height: 8px;
    background: var(--mg-argan); flex: none;
  }

  .kaufform { display: flex; gap: .625rem; margin: 1.5rem 0 1.25rem; flex-wrap: wrap; }
  .kaufform label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .kaufform input[type='number'] {
    width: 4.5rem; padding: 14px 12px; font: inherit;
    font-variant-numeric: tabular-nums; text-align: center;
    background: var(--mg-lait); color: var(--mg-nuit);
    border: 1px solid var(--mg-nuit); border-radius: var(--mg-radius);
  }
  .kaufform .btn { flex: 1 1 12rem; }
  .kaufform .btn[disabled] { opacity: .5; cursor: not-allowed; }

  .trust {
    list-style: none; margin: 1.5rem 0 0; padding: 1rem 0 0;
    border-top: 1px solid var(--mg-linie);
    display: grid; gap: .4rem; font-size: 14px; color: var(--mg-nuit-60);
  }
  .trust li { max-width: none; }
  .trust li { position: relative; padding-left: 1rem; }
  .trust li::before {
    content: '•'; color: var(--mg-argan); position: absolute; left: 0;
    font-size: 1.1em; line-height: 1;
  }

  .cols2 { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
  @media (min-width: 48rem) { .cols2 { grid-template-columns: 1fr 1fr; } }
  .cols2 h3 { margin-top: 2rem; }

  .inci {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px; background: var(--mg-lait);
    border: 1px solid var(--mg-linie); padding: .75rem 1rem;
    display: inline-block; max-width: none;
  }
  .steps dt { font-weight: 600; font-size: 15px; margin-top: 1rem; }
  .steps dd { margin: .2rem 0 0; color: var(--mg-nuit-60); font-size: 15px; max-width: 60ch; }

  .vergleich-abschnitt { background: var(--mg-lait); }
  .vergleich-intro { color: var(--mg-nuit-60); max-width: 52ch; margin-top: -.25rem; }
  .tabelle-rahmen { overflow-x: auto; margin-top: 1.5rem; }
  .vergleich {
    width: 100%; border-collapse: collapse;
    font-size: 15px; font-variant-numeric: tabular-nums;
  }
  .vergleich th, .vergleich td {
    text-align: left; padding: .8rem .6rem;
    border-bottom: 1px solid var(--mg-linie); white-space: nowrap;
  }
  .vergleich thead th {
    font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
    color: var(--mg-nuit-60); font-weight: 500;
  }
  .vergleich tbody th { font-weight: 600; }
  .vergleich tbody th a { color: var(--mg-nuit); text-decoration: underline; text-underline-offset: .2em; }
  .vergleich .aktuell { background: var(--mg-sable); }
  .vergleich .marke {
    display: inline-block; margin-left: .5rem;
    font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    background: var(--mg-nuit); color: var(--mg-lait); padding: 2px 6px;
  }
  .vergleich .beste { font-weight: 700; }
  .tipp {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
    margin-top: 1.75rem; padding: 1.1rem 1.25rem;
    border: 1px solid var(--mg-nuit); border-radius: var(--mg-radius-l);
  }
  .tipp p { margin: 0; font-size: 15px; flex: 1 1 18rem; }

  details { border-top: 1px solid var(--mg-linie); padding: 1rem 0; }
  details:last-of-type { border-bottom: 1px solid var(--mg-linie); }
  summary {
    cursor: pointer; font-weight: 600; font-size: 16px; list-style: none;
    display: flex; justify-content: space-between; gap: 1rem;
  }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: '+'; color: var(--mg-nuit-60); font-weight: 400; }
  details[open] summary::after { content: '–'; }
  details p { margin: .75rem 0 0; color: var(--mg-nuit-60); font-size: 15px; }


/* ---------- produkte ---------- */
.kopf { padding-block: clamp(2rem, 6vw, 3.5rem) 1.5rem; }
  .liste-abschnitt { padding-block: 0 var(--mg-section); }
  .liste { margin-top: 0; }
  .hinweis-abschnitt { padding-block: var(--mg-section); }
  .hinweis-abschnitt p { color: var(--mg-nuit-60); max-width: 46ch; }


/* ---------- herkunft ---------- */
.kauf { padding-block: var(--mg-section); }
  .kauf-raster { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
  @media (min-width: 52rem) { .kauf-raster { grid-template-columns: 1fr 1fr; } }
  .kauf-bild {
    margin: 0; overflow: hidden; border-radius: var(--mg-radius-l);
    background: var(--mg-sable) var(--vorschau) center / cover;
  }
  .kauf-bild img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
  .kauf-text h2 { margin-bottom: .6rem; }
  .kauf-preis { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin: 1.5rem 0 0; }
  .kauf-preis .gross {
    font-size: clamp(24px, 2.8vw, 30px); font-weight: 700;
    font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  }
  .kauf-preis .klein { font-size: 12px; color: var(--mg-nuit-60); font-variant-numeric: tabular-nums; }
  .kauf-punkte {
    list-style: none; padding: 1rem 0 0; margin: 1rem 0 1.75rem;
    border-top: 1px solid var(--mg-linie);
    display: grid; gap: .4rem; font-size: 14px; color: var(--mg-nuit-60);
  }
  .kauf-punkte li { max-width: none; position: relative; padding-left: 1rem; }
  .kauf-punkte li::before {
    content: '•'; color: var(--mg-argan); position: absolute; left: 0;
    font-size: 1.1em; line-height: 1;
  }


/* ---------- anwendung ---------- */
.schritte { display: grid; gap: clamp(1.25rem, 3vw, 1.75rem); margin: 1.75rem 0 2rem; }
  @media (min-width: 40rem) { .schritte { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 62rem) { .schritte { grid-template-columns: repeat(4, 1fr); } }
  .schritte figure {
    margin: 0 0 .9rem; overflow: hidden; border-radius: var(--mg-radius-l);
    background: var(--mg-sable) var(--vorschau) center / cover;
  }
  .schritte img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
    transition: transform .6s cubic-bezier(.16,1,.3,1);
  }
  .schritte article:hover img { transform: scale(1.04); }
  .schritte h3 { margin-bottom: .3rem; }
  .schritte p { font-size: 14.5px; color: var(--mg-nuit-60); }
  .order { padding-left: 1.2rem; }
  .order li { margin-bottom: .4rem; }
  .mistakes { padding-left: 1.2rem; }
  .mistakes li { margin-bottom: .6rem; color: var(--mg-nuit-60); }
  .mistakes b { color: var(--mg-nuit); }


/* ---------- faq ---------- */
.kopf { padding-block: clamp(2rem, 6vw, 3.5rem) 0; }
  .kopf-raster { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
  @media (min-width: 52rem) { .kopf-raster { grid-template-columns: 1.3fr .7fr; } }
  .kopf-bild {
    margin: 0; overflow: hidden; border-radius: var(--mg-radius-l);
    background: var(--mg-sable) var(--vorschau) center / cover;
  }
  .kopf-bild img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

  .sprung { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.75rem; }
  .sprung a {
    font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
    color: var(--mg-nuit); text-decoration: none;
    border: 1px solid var(--mg-nuit); padding: .5rem .85rem; border-radius: var(--mg-pill);
    transition: background-color .18s ease, color .18s ease;
  }
  .sprung a:hover { background: var(--mg-nuit); color: var(--mg-lait); }

  .gruppe { padding-block: clamp(2.5rem, 6vw, 4rem); scroll-margin-top: 5rem; }
  .gruppe h2 { margin-bottom: 1.25rem; }

  .schluss { padding-block: var(--mg-section); }
  .schluss p { color: var(--mg-nuit-60); }

  details { border-top: 1px solid var(--mg-linie); padding: 1.15rem 0; }
  details:last-of-type { border-bottom: 1px solid var(--mg-linie); }
  summary {
    cursor: pointer; font-weight: 600; font-size: clamp(16px, 1.6vw, 17px);
    list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: '+'; color: var(--mg-nuit-60); font-weight: 400; flex: none; }
  details[open] summary::after { content: '–'; }
  details p { margin: .8rem 0 0; color: var(--mg-nuit-60); font-size: 15px; max-width: 70ch; }


/* ---------- kontakt ---------- */
.narrow { max-width: 40rem; }
  form { margin-top: 2rem; background: var(--mg-lait); border: 1px solid var(--mg-linie); padding: clamp(1.25rem, 3vw, 2rem); }
  .field { margin-bottom: 1.25rem; }
  .field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: .35rem; }
  input[type='text'], input[type='email'], select, textarea {
    width: 100%;
    font: inherit;
    padding: 12px 14px;
    background: var(--mg-sable);
    color: var(--mg-nuit);
    border: 1px solid var(--mg-nuit);
    border-radius: var(--mg-radius);
  }
  textarea { resize: vertical; }
  .checkbox { display: flex; gap: .625rem; align-items: flex-start; }
  .checkbox input { margin-top: .3rem; width: 18px; height: 18px; flex: none; }
  .checkbox label { font-size: 13px; font-weight: 400; color: var(--mg-nuit-60); }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .hinweis { font-size: 13px; margin-bottom: 1.25rem; }
  form .btn { width: 100%; }
  #formstatus:empty { display: none; }
  #formstatus { margin-top: .75rem; font-size: 13px; }
  .cf-turnstile { margin-bottom: 1.25rem; }


/* ---------- versand-und-zahlung ---------- */
.narrow { max-width: 44rem; }
  .ship { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 15px; }
  .ship th, .ship td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--mg-linie); }
  .ship thead th {
    font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
    color: var(--mg-nuit-60); font-weight: 500;
  }
  .ship tbody th { font-weight: 600; }


/* ---------- warenkorb ---------- */
.narrow { max-width: 40rem; }
    .cart { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
    .cart th, .cart td { text-align: left; padding: .75rem .5rem; border-bottom: 1px solid var(--mg-linie); }
    .cart thead th {
      font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
      color: var(--mg-nuit-60); font-weight: 500;
    }
    .cart tfoot th, .cart tfoot td { font-weight: 700; }
    #checkout { width: 100%; margin-top: 1.5rem; }


/* ---------- 404 ---------- */
.narrow { max-width: 36rem; }
  .links { padding-left: 1.2rem; }
  .links li { margin-bottom: .4rem; }


/* ---------- WooCommerce-Preisausgabe ----------
   WooCommerce gibt den Preis als eine Zeile aus. Grundpreis und
   Pflichthinweise hängen wir per Filter an — sie brauchen eigene
   Zeilen, sonst laufen sie in den Preis hinein. */

.woocommerce-Price-amount,
.price > .amount,
.karte-preis .price {
  font-family: var(--mg-sans);
  font-weight: 700;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  color: var(--mg-nuit);
}

.mg-grundpreis {
  display: block;
  margin-top: .15rem;
  font-size: 11px;
  font-weight: 400;
  color: var(--mg-nuit-60);
  font-variant-numeric: tabular-nums;
}

.mg-preishinweis {
  display: block;
  margin-top: .4rem;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--mg-nuit-60);
  max-width: 42ch;
}

/* Der durchgestrichene Vergleichspreis bei Angeboten. */
.price del { color: var(--mg-nuit-60); font-weight: 400; font-size: 14px; }
.price ins { text-decoration: none; }

/* Produktbild-Platzhalter, solange ein Produkt kein Foto hat. */
.woocommerce-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .25;
}

/* WooCommerce-Schaltflächen an die Buttons des Themes angleichen. */
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  font-family: var(--mg-sans);
  font-weight: 600;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.2;
  padding: 16px 28px;
  min-height: 52px;
  border-radius: var(--mg-radius);
  background: var(--mg-majorelle);
  color: #faf5ee;
  border: 1px solid var(--mg-majorelle);
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
  background: var(--mg-majorelle-hover);
  border-color: var(--mg-majorelle-hover);
  color: #faf5ee;
}
.woocommerce .button:active { transform: translateY(1px); }

/* Mengenfeld auf der Produktseite. */
.woocommerce .quantity .qty {
  width: 4.5rem;
  padding: 14px 12px;
  font: inherit;
  font-variant-numeric: tabular-nums;
  text-align: center;
  background: var(--mg-lait);
  color: var(--mg-nuit);
  border: 1px solid var(--mg-nuit);
  border-radius: var(--mg-radius);
}

.woocommerce form.cart { display: flex; gap: .625rem; flex-wrap: wrap; margin: 1.5rem 0; }
.woocommerce form.cart .button { flex: 1 1 12rem; }

/* Meldungen im Shop in der Hausfarbe statt WooCommerce-Grün. */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--mg-argan);
  background: var(--mg-lait);
  color: var(--mg-nuit);
  border-radius: var(--mg-radius);
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--mg-argan); }
.woocommerce-error { border-top-color: var(--mg-fehler); }
.woocommerce-error::before { color: var(--mg-fehler); }

/* ---------- WordPress-Menüs ----------
   wp_nav_menu gibt eigene Klassen aus (menu, menu-item, current-menu-item).
   Die Regeln des Themes zielen auf .nav ul / .nav li — das greift, aber
   WordPress setzt zusätzlich eigene Abstände, die hier zurückgenommen
   werden. */

.nav ul.menu,
.nav .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(.85rem, 2vw, 1.6rem);
  align-items: center;
}
.nav .menu-item { max-width: none; margin: 0; }
.nav .menu-item a {
  color: var(--mg-nuit);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: block;
  padding: .5rem 0;
  border-bottom: 1.5px solid transparent;
  white-space: nowrap;
}
.nav .menu-item a:hover { border-bottom-color: var(--mg-argan); }
.nav .current-menu-item > a,
.nav .current_page_item > a { border-bottom-color: var(--mg-nuit); }

@media (max-width: 47.9375rem) {
  .nav ul.menu, .nav .menu { flex-direction: column; gap: 0; padding-block: .5rem; align-items: stretch; }
  .nav .menu-item a { padding: .75rem 0; }
}

/* Fußzeile: dieselben Listen, andere Farben. */
.site-footer .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .4rem;
}
.site-footer .menu-item { max-width: none; }
.site-footer .menu-item a {
  color: var(--mg-lait);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid transparent;
}
.site-footer .menu-item a:hover { border-bottom-color: var(--mg-argan); }

/* Der Warenkorb bleibt rechts, auch wenn das Menü breit wird. */
.bar .cart { margin-left: auto; }
@media (min-width: 48rem) {
  .bar { flex-wrap: nowrap; }
  .bar .navwrap { margin-left: auto; }
  .bar .cart { margin-left: 1rem; }
}

/* Warenkorb-Zähler. */
.cart-zahl {
  position: absolute;
  transform: translate(10px, -12px);
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  background: var(--mg-majorelle);
  color: #faf5ee;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--mg-pill);
  font-variant-numeric: tabular-nums;
}
.bar .cart { position: relative; }
