/* ============================================================
   WALCHSEER HOF — Design Tokens
   Hier alle Farben, Schriften, Abstände anpassen
   ============================================================ */

/* Schriften: lokal in css/fonts.css (keine Google-Server, DSGVO) */

:root {
  /* ── Markenfarben (Style Guide v1.0) ──────────── */
  --wh-black:       #141210;  /* Kaiser-Schwarz */
  --wh-off-white:   #F3EDE2;  /* Zirbe-Creme */
  --wh-sand:        #E3D9C6;  /* Linie */
  --wh-fir:         #3F4A3C;  /* Tannengrün */
  --wh-bronze:      #A58135;  /* Wappen-Gold (Logo-Gold, seit 07.10.2026; vorher #B08D3C) */
  --wh-ink:         #1C1A16;  /* Tinte */

  /* ── Abgeleitete Neutrals ─────────────────────── */
  --wh-white:       #FFFFFF;
  --wh-sand-50:     #F9F6F0;
  --wh-sand-100:    #EDE5D6;
  --wh-sand-300:    #D9CCB3;
  --wh-sand-400:    #C7B899;

  /* ── Tannengüne ───────────────────────────────── */
  --wh-fir-900:     #262D24;
  --wh-fir-700:     #333C30;
  --wh-fir-400:     #6A7466;
  --wh-fir-200:     #A3AA9F;
  --wh-fir-50:      #E6E8E2;

  /* ── Bronze ───────────────────────────────────── */
  --wh-bronze-700:  #7A5F22;  /* Gold dunkel — Kicker auf Creme */
  --wh-bronze-300:  #E6CC86;  /* Gold hell — Kicker auf Schwarz */
  --wh-bronze-100:  #F1E7CF;

  /* ── Tinte ────────────────────────────────────── */
  --wh-ink-700:     #3A362E;
  --wh-ink-500:     #5A5448;  /* Gedämpft */
  --wh-ink-300:     #8F887A;

  /* ── Semantische Flächen ──────────────────────── */
  --surface-page:          var(--wh-off-white);
  --surface-raised:        var(--wh-white);
  --surface-card:          var(--wh-sand);
  --surface-card-quiet:    var(--wh-sand-50);
  /* Dunkle Flächen (Fußzeile, Angebote-Block, Geschichte, Öffnungszeiten, Speisekarte, Job-Kärtchen):
     Tannengrün statt Kaiser-Schwarz (Marcel 23.11.2026: „Schwarz wirkt so extrem“). Zurück: var(--wh-black) */
  --surface-block:         var(--wh-fir-900);
  --surface-inverse:       var(--surface-block);
  --surface-inverse-deep:  var(--surface-block);
  --surface-accent-quiet:  var(--wh-fir-50);
  --surface-gold-quiet:    var(--wh-bronze-100);

  /* ── Semantische Texte ────────────────────────── */
  --text-body:          var(--wh-ink);
  --text-muted:         var(--wh-ink-500);
  --text-faint:         var(--wh-ink-300);
  --text-display:       var(--wh-ink);
  --text-inverse:       var(--wh-off-white);
  --text-inverse-muted: #C9C1B2;
  --text-gold:          var(--wh-bronze-700);
  --text-link:          var(--wh-ink);
  --text-link-hover:    var(--wh-bronze-700);

  /* ── Linien ───────────────────────────────────── */
  --border-hairline: #E3D9C6;
  --border-strong:   var(--wh-sand-400);
  --border-inverse:  #3A3630;
  --border-focus:    var(--wh-bronze);

  /* ── Interaktiv ───────────────────────────────── */
  --accent:       var(--wh-black);
  --accent-hover: #2A2622;
  --accent-press: #000000;
  --accent-on:    var(--wh-off-white);
  --gold:         var(--wh-bronze);
  --gold-hover:   var(--wh-bronze-700);

  /* ── Status ───────────────────────────────────── */
  --status-ok:       #4C6B4E;
  --status-ok-bg:    #E7EEE5;
  --status-warn:     #9A7433;
  --status-warn-bg:  #F6ECD8;
  --status-error:    #8B4A3C;
  --status-error-bg: #F4E4DE;
  --status-info:     #41606B;
  --status-info-bg:  #E4EDEF;

  /* ── Bildbehandlung ───────────────────────────── */
  /* Style Guide: Scrim = Verlauf transparent → Schwarz 72 % im unteren Drittel */
  --image-scrim:      linear-gradient(180deg, rgba(20,18,16,0) 0%, rgba(20,18,16,0) 55%, rgba(20,18,16,.72) 100%);
  --image-scrim-soft: linear-gradient(90deg, rgba(20,18,16,.55) 0%, rgba(20,18,16,.1) 60%, rgba(20,18,16,0) 100%);

  /* ── Header (bleibt grün — Kundenentscheidung) ── */
  /* Header: 70 % deckend, aber DUNKLERES Grün → wirkt auf hellem Grund wie das frühere 86-%-Tannengrün,
     Titelbild/Seite scheinen trotzdem durch (07.10.2026). Rechnung: 0,7·c + 0,3·Creme = 0,86·Tannengrün + 0,14·Creme */
  --header-bg:        rgba(22,37,22,.70);
  --blur-header:      saturate(1.15) blur(3px);   /* nur leicht weich – Hintergrund soll erkennbar bleiben */
  --header-bg-solid:  rgba(63,74,60,.97);

  /* ── Schriften ────────────────────────────────── */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:    "DM Sans", "Helvetica Neue", system-ui, sans-serif;
  --font-display-settings: normal;

  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-display:  600;  /* Style Guide: Titel Cormorant SemiBold */
  --weight-quote:    500;  /* Style Guide: Zitate Cormorant Medium */

  /* ── Schriftgrößen (fluid) ────────────────────── */
  --text-hero:       clamp(2.75rem, 6.2vw, 5.25rem);
  --text-display-1:  clamp(2.25rem, 4.4vw, 3.5rem);
  --text-display-2:  clamp(1.875rem, 3.2vw, 2.625rem);
  --text-display-3:  clamp(1.375rem, 2vw, 1.75rem);
  --text-quote:      clamp(1.5rem, 2.8vw, 2.25rem);
  --text-body-lg:    1.125rem;
  --text-body-md:    1rem;
  --text-body-sm:    0.9375rem;
  --text-meta:       0.8125rem;
  --text-micro:      0.75rem;

  /* ── Zeilenhöhen ──────────────────────────────── */
  --leading-tight:  1.1;
  --leading-snug:   1.25;
  --leading-body:   1.65;

  /* ── Abstände ─────────────────────────────────── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  28px;
  --space-7:  40px;
  --space-8:  56px;
  --space-10: 80px;

  /* ── Layout ───────────────────────────────────── */
  --container:       1200px;
  --container-wide:  1400px;
  --container-text:  680px;
  --gutter:          clamp(1.25rem, 5vw, 4rem);
  --section-y:       clamp(4rem, 9vw, 8rem);
  --section-y-tight: clamp(2.5rem, 5vw, 4.5rem);
  --grid-gap:        clamp(1rem, 2.5vw, 1.75rem);
  --header-h:        clamp(64px, 7vw, 86px);
  /* Echte Header-Höhe schon im CSS (= JS-Messwert) → kein Sprung beim Laden:
     Polsterung oben+unten + Logo-Zeile 40px + Rand 1px + Nav-Zeile 34px */
  /* iPhone: Header reicht bis unter Uhrzeit/Adressleiste, Inhalt rückt um --safe-top nach unten (25.10.2026) */
  --safe-top:        env(safe-area-inset-top, 0px);
  --header-total:    calc(2 * clamp(7px, 1vw, 12px) + 75px + var(--safe-top));
  --nav-h:           var(--header-total);

  /* ── Eckenradien ──────────────────────────────── */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-card: 12px;
  --radius-pill: 999px;

  /* ── Schatten ─────────────────────────────────── */
  --shadow-1: 0 1px 4px rgba(28,26,22,.08), 0 0 1px rgba(28,26,22,.06);
  --shadow-2: 0 4px 16px rgba(28,26,22,.1), 0 1px 3px rgba(28,26,22,.07);
  --shadow-3: 0 12px 40px rgba(28,26,22,.12), 0 2px 6px rgba(28,26,22,.08);

  /* ── Blur ─────────────────────────────────────── */
  --blur-panel: saturate(1.1) blur(14px);

  /* ── Übergänge ────────────────────────────────── */
  --ease-out:   cubic-bezier(.2, .7, .3, 1);
  --transition: 240ms var(--ease-out);
}

/* ============================================================
   WINTER-LOOK der ganzen Seite (24.11.2026, Marcel: „im Winter soll sich die Seite nach Winter anfühlen“)
   html[data-season="winter"] setzt ein Inline-Script im <head> jeder Seite (Nov–Apr; Erleben: auch per Umschalter).
   Sommer = Grundwerte oben (Tannengrün + Zirbe-Creme). Winter = Nachtblau statt Grün, kühles Schnee-Weiß statt Creme,
   Gold bleibt (Marke). Nur Farb-Variablen – alles andere folgt automatisch.
   ============================================================ */
html[data-season="winter"] {
  --wh-off-white:          #F3F5F4;   /* Schnee-Weiß (statt Zirbe-Creme) */
  --wh-sand:               #DCE2E4;   /* Frost-Linie */
  --wh-sand-50:            #F8FAFA;
  --wh-sand-100:           #E6EBEC;
  --wh-sand-300:           #C9D2D6;
  --wh-sand-400:           #B3BEC3;
  --surface-page:          #F3F5F4;
  --surface-card:          #DFE5E7;
  --surface-card-quiet:    #F8FAFA;
  --surface-block:         #1C2733;   /* Winternacht (statt dunkles Tannengrün) */
  --surface-accent-quiet:  #E3EAEE;
  --surface-gold-quiet:    #F1EBDD;
  --text-inverse-muted:    #C3CCD3;
  --border-hairline:       #DCE2E4;
  --border-inverse:        #33414F;
  --header-bg:             rgba(16,26,38,.72);   /* Nachtblau, durchscheinend wie das Sommer-Grün */
  --header-bg-solid:       rgba(28,40,54,.97);
}
