/* =========================================================================
   VARIANTE D — „Nocturne"
   Durchgehend dunkel. Keine helle Sektion, kein Bruch — die ganze Seite ist
   eine Nacht. Licht kommt ausschließlich aus den Produkten und aus einer
   Goldlinie.
   Gebaut um das Farga Milenario herum: es steht nicht in der Mitte der
   Seite, es steht am Anfang. Die übrigen Sortimente ordnen sich unter.
   Das Erweiterungssystem ist die Regalzeile — waagerecht scrollbar, sie
   nimmt beliebig viele Warengruppen auf, ohne dass die Seite länger wird.
   ========================================================================= */

:root {
  --nacht:      #0b0e07;
  --nacht-2:    #12160c;
  --nacht-3:    #191e10;
  --karte:      #171c0f;
  --gold:       #c9a227;
  --gold-hell:  #e7cd6d;
  --oel:        #a9d17f;
  --creme:      #ece9dd;
  --creme-60:   rgba(236,233,221,.62);
  --creme-38:   rgba(236,233,221,.38);
  --linie:      rgba(236,233,221,.14);
  --linie-gold: rgba(201,162,39,.42);

  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, sans-serif;
  --sec: clamp(72px, 7.5vw, 128px);
  --w: 1240px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--nacht); }
@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: 1.0625rem; line-height: 1.62; letter-spacing: -.008em;
  color: var(--creme); background: var(--nacht);
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip { position: absolute; left: 12px; top: 12px; transform: translateY(-200%); background: var(--creme); color: var(--nacht); padding: 12px 20px; z-index: 99; }
.skip:focus { transform: none; }

/* ---------- Typografie -------------------------------------------------- */
.t-xl { font-size: clamp(2.3rem, 1.1rem + 5vw, 4.2rem); font-weight: 300; line-height: 1.06; letter-spacing: -.02em; }
.t-l  { font-size: clamp(1.8rem, 1.15rem + 2.6vw, 2.8rem); font-weight: 300; line-height: 1.12; letter-spacing: -.014em; }
.t-m  { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem); font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.vor  { font-size: clamp(1.05rem, 1rem + .5vw, 1.25rem); font-weight: 300; line-height: 1.6; color: var(--creme-60); }
.klein{ font-size: .8125rem; line-height: 1.55; color: var(--creme-38); }
/* Weit gesperrte Versalien sind der Ton dieser Variante. */
.sperr { font-size: .6875rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.sperr--matt { color: var(--creme-38); }

/* ---------- Kopfzeile ---------------------------------------------------- */
.kopf { position: sticky; top: 0; z-index: 40; background: rgba(11,14,7,.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--linie); }
.kopf__in { max-width: var(--w); margin-inline: auto; height: 60px; display: flex; align-items: center; gap: 26px; padding: 0 24px; }
.kopf a { color: var(--creme); text-decoration: none; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .68; white-space: nowrap; transition: opacity .2s, color .2s; }
.kopf a:hover { opacity: 1; color: var(--gold-hell); }
.kopf__marke { letter-spacing: .34em !important; font-size: .875rem !important; opacity: 1 !important; }
.kopf__rechts { margin-left: auto; display: flex; gap: 20px; }

/* ---------- Abschnitte ---------------------------------------------------- */
.abs { padding: var(--sec) 24px; position: relative; }
.abs__in { max-width: var(--w); margin-inline: auto; }
.abs--2 { background: var(--nacht-2); }
.abs--3 { background: var(--nacht-3); }
/* Die Goldlinie ist der einzige Trenner. Keine Flächen, keine Rahmen. */
.abs--gold { border-top: 1px solid var(--linie-gold); }
.abs--linie { border-top: 1px solid var(--linie); }

/* ---------- Hero ---------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(82vh, 740px); display: grid; align-items: center; justify-items: center; text-align: center; padding: 90px 24px; }
.hero__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: .9; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(64% 46% at 50% 56%, rgba(201,162,39,.13) 0%, rgba(201,162,39,0) 68%),
    linear-gradient(to bottom, rgba(11,14,7,.72) 0%, rgba(11,14,7,.42) 38%, rgba(11,14,7,.86) 82%, var(--nacht) 100%);
}
.hero__in { max-width: 760px; }
.hero .t-xl { margin-top: 22px; }
.hero .vor { margin-top: 20px; }
.hero__linie { width: 1px; height: 54px; margin: 34px auto 0; background: linear-gradient(to bottom, var(--linie-gold), transparent); }

/* ---------- Knöpfe --------------------------------------------------------- */
.k { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 30px; text-decoration: none; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; border: 1px solid transparent; border-radius: var(--r); transition: transform .2s cubic-bezier(.2,.8,.2,1), background-color .22s, color .22s, border-color .22s; }
.k:active { transform: scale(.97); }
.k--gold { background: var(--gold); color: #241c05; font-weight: 600; }
.k--gold:hover { background: var(--gold-hell); }
.k--rand { border-color: var(--linie-gold); color: var(--gold-hell); }
.k--rand:hover { border-color: var(--gold); background: rgba(201,162,39,.09); }
.reihe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.v { color: var(--gold-hell); text-decoration: none; border-bottom: 1px solid var(--linie-gold); padding-bottom: 2px; font-size: .9375rem; }
.v:hover { border-bottom-color: var(--gold); }

/* ---------- Milenario: das Herzstück ---------------------------------------- */
.mil { position: relative; isolation: isolate; overflow: hidden; }
.mil__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: .30; }
.mil::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--nacht) 0%, rgba(11,14,7,.62) 24%, rgba(11,14,7,.62) 76%, var(--nacht-2) 100%); }
.mil__gitter { display: grid; gap: clamp(36px, 4vw, 64px); align-items: center; margin-top: 46px; }
@media (min-width: 880px) { .mil__gitter { grid-template-columns: .82fr 1.18fr; } }
/* Das Produkt bekommt ein eigenes Licht — der einzige Schein der Seite. */
.mil__bild { position: relative; border-radius: var(--r); overflow: hidden; }
.mil__bild img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.mil__bild::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 90px 20px rgba(11,14,7,.55); pointer-events: none; }
.mil__schein { position: absolute; inset: -14%; z-index: -1; background: radial-gradient(50% 42% at 50% 55%, rgba(201,162,39,.22), rgba(201,162,39,0) 70%); filter: blur(8px); }
.zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px,1fr)); gap: 26px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--linie-gold); }
.zahlen b { display: block; font-size: clamp(1.5rem,1.1rem+1.5vw,2rem); font-weight: 300; line-height: 1.1; color: var(--gold); }
.zahlen span { font-size: .75rem; letter-spacing: .06em; color: var(--creme-38); }
.presse { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 34px; }

/* ---------- Regalzeile: waagerecht, erweiterbar ------------------------------ */
/* Hier wächst das Sortiment. Neue Warengruppen hängen sich hinten an, die
   Seite wird dadurch nicht länger — nur das Regal breiter.               */
.regal { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px 24px 32px; margin-inline: -24px; scrollbar-width: thin; }
.regal::-webkit-scrollbar { height: 6px; }
.regal::-webkit-scrollbar-thumb { background: var(--linie); border-radius: 3px; }
.platte {
  flex: 0 0 clamp(230px, 26vw, 290px); scroll-snap-align: start;
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--creme);
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .35s cubic-bezier(.2,.8,.2,1);
}
.platte:hover { border-color: var(--linie-gold); transform: translateY(-6px); }
.platte img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.platte__txt { padding: 16px 18px 20px; }
.platte__kopf { display: flex; align-items: center; gap: 8px; }
.platte__kopf svg { width: 20px; height: 20px; color: var(--gold); flex: 0 0 auto; }
.platte__name { font-size: 1.0625rem; }
.platte__meta { font-size: .75rem; color: var(--creme-38); margin-top: 6px; }
.platte__preis { font-size: .9375rem; color: var(--gold-hell); margin-top: 8px; }
.platte--bald { border-style: dashed; align-items: flex-start; justify-content: center; min-height: 330px; padding: 20px; }
.platte--bald:hover { transform: none; }
.regal__hinweis { font-size: .75rem; color: var(--creme-38); margin-top: 4px; }

/* ---------- Bildband --------------------------------------------------------- */
.band { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(340px, 40vw, 560px); display: grid; align-items: end; }
.band__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--nacht) 0%, rgba(11,14,7,.24) 26%, rgba(11,14,7,.24) 58%, rgba(11,14,7,.9) 90%, var(--nacht-2) 100%); }
.band__txt { max-width: var(--w); width: 100%; margin-inline: auto; padding: 30px 24px 52px; }

/* ---------- Zweispalter ------------------------------------------------------- */
.zwei { display: grid; gap: clamp(32px,4vw,58px); align-items: center; }
@media (min-width: 880px) { .zwei { grid-template-columns: 1fr 1fr; } }
.zwei img { width: 100%; border-radius: var(--r); }
.bild-3x2 { aspect-ratio: 3/2; object-fit: cover; }
.bild-4x3 { aspect-ratio: 4/3; object-fit: cover; }

.schritte { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 26px; }
.schritte li { display: flex; gap: 14px; align-items: baseline; }
.schritte b { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--linie-gold); color: var(--gold); display: grid; place-items: center; font-size: .75rem; font-weight: 400; }

/* ---------- Fuß --------------------------------------------------------------- */
.fuss { background: var(--nacht); border-top: 1px solid var(--linie-gold); padding: 62px 24px 34px; }
.fuss__in { max-width: var(--w); margin-inline: auto; }
.fuss__sp { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); }
.fuss h2 { font-size: .6875rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 400; }
.fuss ul { list-style: none; padding: 0; }
.fuss li a { color: var(--creme-60); text-decoration: none; font-size: .9375rem; line-height: 2.05; }
.fuss li a:hover { color: var(--creme); }
.fuss__recht { border-top: 1px solid var(--linie); margin-top: 38px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: baseline; }
.fuss__recht nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.fuss__recht a { color: var(--creme-38); text-decoration: none; font-size: .75rem; }

/* ---------- Einblenden --------------------------------------------------------- */
.js .rv { opacity: 0; transform: translateY(20px); }
.js .rv.an { opacity: 1; transform: none; transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .reihe .k { width: 100%; }
  .presse { gap: 18px; }
}

/* Sprungmarken: Platz für die klebende Kopfzeile lassen, sonst
   verschwindet die Überschrift darunter. */
[id] { scroll-margin-top: 72px; }
