/* =========================================================================
   VARIANTE 5 — „Vitrine"
   Apple-Designsprache, aber das Muster der Apple-Store-Seite statt der
   Produktseite: ein durchgehendes Mosaik aus Kacheln unterschiedlicher
   Groesse. Damit ist sie strukturell das Gegenteil der vier Bandlayouts —
   dort traegt die Fotografie ganze Sektionen, hier traegt das Raster.

   Erweiterungssystem: eine neue Warengruppe ist eine Kachel mehr. Das
   Mosaik nimmt sie auf, ohne dass die Seite umgebaut oder laenger wird.
   ========================================================================= */

:root {
  /* Apple-Grundton, ins Olive gedreht: #F5F5F7 wird olivgrau */
  --grund:      #f1f2ee;
  --flaeche:    #ffffff;
  --tinte:      #1b1f16;      /* Apples #1D1D1F mit Gruenstich          */
  --matt:       #7c8274;      /* entspricht #86868B                     */
  --linie:      #d6d9d0;      /* entspricht #D2D2D7                     */

  --oliv:       #3f6b2b;      /* der einzige Akzent, wie Apples Blau    */
  --oliv-tief:  #2c4d1e;
  --oliv-hell:  #a9d17f;
  --nacht:      #1e2a15;
  --gold:       #c9a227;      /* nur Milenario, nur als Haarlinie       */

  --font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display",
          "Segoe UI Variable Display", "Segoe UI", Roboto, sans-serif;

  /* Apple-Radien: 12 klein, 18 Karte, 22 grosse Flaeche */
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 22px;

  /* Schatten nur angedeutet - Erhebung kommt aus Flaeche, nicht Schlagschatten */
  --schatten: 0 1px 2px rgba(0,0,0,.045), 0 8px 24px rgba(20,30,14,.05);

  --w: 1320px;
  --luft: clamp(14px, 1.1vw, 20px);   /* Fugenmass des Mosaiks */
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
img { display: block; max-width: 100%; }
body {
  font-family: var(--font);
  font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  color: var(--tinte); background: var(--grund);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--oliv); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px;
}
.skip:focus { left: var(--luft); top: var(--luft); z-index: 99; background: var(--flaeche);
  padding: 10px 16px; border-radius: var(--r-s); }

/* ---------------------------------------------------------------- Navigation */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(241,242,238,.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--linie);
}
.nav__in {
  max-width: var(--w); margin-inline: auto; height: 48px;
  padding-inline: var(--luft);
  display: flex; align-items: center; gap: 28px;
}
.nav__marke { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-decoration: none; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { font-size: 12px; color: var(--matt); text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--tinte); }
@media (max-width: 780px) { .nav__links { display: none; } }

/* ------------------------------------------------------------------- Mosaik */
.buehne { max-width: var(--w); margin-inline: auto; padding: var(--luft); }

.kopfzeile {
  padding: clamp(40px, 6vw, 84px) 4px clamp(24px, 3vw, 40px);
  max-width: 48ch;
}
.kopfzeile h1 {
  font-size: clamp(2.2rem, 1.2rem + 3.4vw, 3.4rem);
  line-height: 1.06; letter-spacing: -.021em; font-weight: 600;
}
.kopfzeile p {
  margin-top: 14px; color: var(--matt); max-width: 40ch;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); letter-spacing: -.014em;
}

.mosaik {
  display: grid; gap: var(--luft);
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
}
@media (max-width: 1020px) { .mosaik { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .mosaik { grid-template-columns: repeat(2, 1fr); } }

.k {
  position: relative; overflow: hidden;
  border-radius: var(--r-l);
  background: var(--flaeche);
  box-shadow: var(--schatten);
  display: flex; flex-direction: column;
  min-height: 260px;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
}
.k:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 18px 44px rgba(20,30,14,.09); }

/* Spaltenbreiten — das eigentliche Mosaik */
.k--6 { grid-column: span 6; }
.k--4 { grid-column: span 4; }
.k--3 { grid-column: span 3; }
.k--2 { grid-column: span 2; }
.k--hoch { min-height: 560px; }
.k--tief { min-height: 400px; }
@media (max-width: 1020px) {
  .k--6 { grid-column: span 4; } .k--4 { grid-column: span 4; }
  .k--3 { grid-column: span 2; } .k--2 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .k--6, .k--4, .k--3 { grid-column: span 2; }
  .k--2 { grid-column: span 1; }
  .k--hoch { min-height: 420px; }
}

.k--dunkel { background: var(--nacht); color: #fff; }
.k--oliv   { background: var(--oliv); color: #fff; }
.k--blass  { background: #e6e9e0; }

/* Bildkacheln */
.k__bild { position: absolute; inset: 0; }
.k__bild img { width: 100%; height: 100%; object-fit: cover; }
.k__schleier {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,20,9,.82) 0%, rgba(14,20,9,.30) 46%, rgba(14,20,9,0) 78%);
}
.k--foto { color: #fff; }
.k--foto .k__text { position: relative; margin-top: auto; }

.k__text { padding: clamp(20px, 2vw, 30px); position: relative; }
.k__auge {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--matt); margin-bottom: 8px;
}
.k--dunkel .k__auge, .k--foto .k__auge, .k--oliv .k__auge { color: rgba(255,255,255,.66); }
.k__titel { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.75rem); font-weight: 600; letter-spacing: -.016em; line-height: 1.14; }
.k__sub { margin-top: 8px; color: var(--matt); font-size: 15px; max-width: 44ch; }
.k--dunkel .k__sub, .k--foto .k__sub, .k--oliv .k__sub { color: rgba(255,255,255,.74); }
.k__preis { margin-top: 12px; font-size: 13px; color: var(--matt); }
.k--dunkel .k__preis, .k--foto .k__preis, .k--oliv .k__preis { color: rgba(255,255,255,.72); }

.k__bild--stand { position: relative; inset: auto; padding: 22px 22px 0; }
.k__bild--stand img { border-radius: var(--r-s); }

/* Textlink im Apple-Ton statt Knopf */
.mehr {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 14px; color: var(--oliv); font-size: 15px; text-decoration: none;
}
.k--dunkel .mehr, .k--foto .mehr, .k--oliv .mehr { color: var(--oliv-hell); }
.k--oliv .mehr { color: #fff; }
.mehr::after { content: "›"; font-size: 17px; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.mehr:hover::after { transform: translateX(3px); }

/* Kennzahlenzeile im Milenario */
.zahlen { display: flex; flex-wrap: wrap; gap: 26px 40px; margin-top: 22px; }
.zahl b { display: block; font-size: clamp(1.4rem, 1.2rem + .8vw, 2rem); font-weight: 600; letter-spacing: -.02em; }
.zahl span { font-size: 12px; color: rgba(255,255,255,.6); }
.goldlinie { height: 1px; background: var(--gold); opacity: .5; margin: 22px 0 0; }

/* Sortenzeile in der Kachel */
.sorten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 clamp(20px,2vw,30px) clamp(20px,2vw,30px); }
@media (max-width: 520px) { .sorten { grid-template-columns: repeat(2, 1fr); } }
.sorte { border-radius: var(--r-s); overflow: hidden; background: #e6e9e0; }
.sorte img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.sorte span { display: block; padding: 8px 10px 10px; font-size: 12px; letter-spacing: -.01em; }
.sorte small { display: block; color: var(--matt); font-size: 11px; }

/* Bild im Kopf der Geschenkkachel - fuellt die Zeilenhoehe und erspart
   eine zweite, halbleere Kachel daneben. */
.k__kopfbild { flex: 1 1 auto; min-height: 170px; overflow: hidden; }
.k__kopfbild img { width: 100%; height: 100%; object-fit: cover; }

/* Schritte in der Geschenkkachel */
.schritte { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 9px; }
.schritte li { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.schritte b {
  flex: 0 0 auto; width: 21px; height: 21px; border-radius: 999px;
  background: rgba(255,255,255,.16); color: #fff;
  font-size: 11px; font-weight: 600; display: grid; place-items: center; margin-top: 2px;
}

/* Presse */
.presse { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 18px;
  font-size: 11px; letter-spacing: .18em; color: rgba(255,255,255,.5); }

/* -------------------------------------------------------------------- Fuss */
.fuss { max-width: var(--w); margin: clamp(40px,5vw,72px) auto 0; padding: 0 var(--luft) 56px; }
.fuss__linie { height: 1px; background: var(--linie); margin-bottom: 26px; }
.fuss__spalten { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(min(180px,100%),1fr)); }
.fuss h4 { font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.fuss ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.fuss a { color: var(--matt); font-size: 12px; text-decoration: none; }
.fuss a:hover { color: var(--tinte); }
.fuss__klein { margin-top: 28px; font-size: 12px; color: var(--matt); }

.zurueck {
  position: fixed; left: 16px; bottom: 16px; z-index: 50;
  background: rgba(27,31,22,.86); color: #fff; text-decoration: none;
  font-size: 12px; padding: 9px 15px; border-radius: 999px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
