/* AERNI Bern Design-Tokens. Automatisch erzeugt aus tokens.json, nicht von Hand ändern. */
/* Breakpoints (in Media Queries nicht als Variable nutzbar): tablet 768px, desktop 1025px, wide 1440px */
:root {
  --aerni-color-bg: #0B0B0B; /* Grundfarbe aller Seiten */
  --aerni-color-surface: #101010; /* Abgesetzte Abschnitte, Formularfelder, Karten */
  --aerni-color-tile: #F4F0EE; /* Helle Kachel nur hinter freigestellten Produktbildern im Shop */
  --aerni-color-line: #292929; /* Trennlinien, Feldrahmen (dekorativ) */
  --aerni-color-line-strong: #606060; /* Linien mit Funktion (Preisliste gestrichelt, Feldrahmen Hover); Kontrast 3.0 auf surface */
  --aerni-color-text: #FFFFFF; /* Fliesstext und Titel; Kontrast 19.7 */
  --aerni-color-text-muted: #949494; /* Nebentexte, Hinweise, Copyright; Kontrast 6.5 */
  --aerni-color-accent: #B2A096; /* Taupe: Dachzeilen, Preise, Telefonnummern, Buttons, Akzentlinien; Kontrast 7.8 */
  --aerni-color-accent-hover: #C7B8AF; /* Taupe hell für Hover und aktive Zustände */
  --aerni-color-on-accent: #0B0B0B; /* Schrift auf Taupe-Flächen; Kontrast 7.8 */
  --aerni-color-focus: #FFFFFF; /* Fokusrahmen für Tastaturbedienung */
  --aerni-color-overlay: rgba(11, 11, 11, 0.45); /* Abdunklung über Video und Bild für lesbaren Text */
  --aerni-color-error: #E5877B; /* Fehlermeldungen Formulare und Shop; Kontrast 7.3 auf surface */
  --aerni-color-success: #8FC19C; /* Erfolgsmeldungen; Kontrast 9.3 auf surface */
  --aerni-color-notice: #D9B26A; /* Hinweise; Kontrast 9.5 auf surface */
  --aerni-mail-bg: #FFFFFF;
  --aerni-mail-text: #0B0B0B;
  --aerni-mail-muted: #5C5C5C; /* Kontrast 6.7 auf Weiss */
  --aerni-mail-line: #E4DED9;
  --aerni-mail-accent: #B2A096; /* Nur Flächen und Linien, nie als Textfarbe auf Weiss (Kontrast 2.5) */
  --aerni-mail-on-accent: #0B0B0B;
  --aerni-font-family-base: Avenir, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --aerni-font-weight-light: 300; /* Avenir Light: Titel, Dachzeilen, Preise */
  --aerni-font-weight-book: 400; /* Avenir Book: Fliesstext, Navigation, Formulare, Buttons */
  --aerni-font-weight-medium: 500; /* Avenir Medium: Hervorhebung im Fliesstext (strong) */
  --aerni-font-size-h1: clamp(2.625rem, 1.679rem + 4.038vw, 5.3125rem); /* 42 bis 85 px */
  --aerni-font-size-h2: clamp(2rem, 1.604rem + 1.69vw, 3.125rem); /* 32 bis 50 px */
  --aerni-font-size-h3: clamp(1.375rem, 1.287rem + 0.376vw, 1.625rem); /* 22 bis 26 px */
  --aerni-font-size-h4: clamp(1.25rem, 1.162rem + 0.376vw, 1.5rem); /* 20 bis 24 px */
  --aerni-font-size-eyebrow: clamp(1.125rem, 1.037rem + 0.376vw, 1.375rem); /* Dachzeile 18 bis 22 px */
  --aerni-font-size-lead: clamp(1.1875rem, 1.121rem + 0.282vw, 1.375rem); /* Einleitung 19 bis 22 px */
  --aerni-font-size-body: clamp(1.0625rem, 1.04rem + 0.094vw, 1.125rem); /* Fliesstext 17 bis 18 px */
  --aerni-font-size-price: clamp(1.375rem, 1.287rem + 0.376vw, 1.625rem); /* Preise 22 bis 26 px */
  --aerni-font-size-small: 0.9375rem; /* 15 px: Hinweise, Formularlabels, Meta */
  --aerni-font-size-nav: 0.9375rem; /* 15 px Hauptnavigation */
  --aerni-font-size-button: 1.0625rem; /* 17 px */
  --aerni-font-line-height-tight: 1.15; /* H1, H2 */
  --aerni-font-line-height-snug: 1.3; /* H3, H4, Preise, Dachzeile */
  --aerni-font-line-height-base: 1.6; /* Fliesstext */
  --aerni-font-letter-spacing-none: 0;
  --aerni-font-letter-spacing-eyebrow: 0.045em; /* entspricht heute 1 px bei 22 px */
  --aerni-font-letter-spacing-nav: 0.06em;
  --aerni-font-letter-spacing-button: 0.07em;
  --aerni-space-1: 0.25rem; /* 4 px */
  --aerni-space-2: 0.5rem; /* 8 px */
  --aerni-space-3: 0.75rem; /* 12 px */
  --aerni-space-4: 1rem; /* 16 px */
  --aerni-space-5: 1.5rem; /* 24 px */
  --aerni-space-6: 2rem; /* 32 px */
  --aerni-space-7: 3rem; /* 48 px */
  --aerni-space-8: 4rem; /* 64 px */
  --aerni-space-9: 6rem; /* 96 px */
  --aerni-space-section: clamp(3.5rem, 2.532rem + 4.131vw, 6.25rem); /* Abschnitt oben/unten 56 bis 100 px */
  --aerni-space-gutter: clamp(1.25rem, 0.59rem + 2.817vw, 3.125rem); /* Seitenrand 20 bis 50 px */
  --aerni-space-stack: clamp(1.5rem, 0.972rem + 2.254vw, 3rem); /* Abstand zwischen Blöcken 24 bis 48 px */
  --aerni-layout-container: 82.5rem; /* 1320 px Inhaltsbreite (Entscheid 24.11.2026, vorher 1140 px) */
  --aerni-layout-container-text: 56.25rem; /* 900 px für Intro, Fragen und Buchen (schmale Abschnitte im Breitenwechsel) */
  --aerni-layout-container-narrow: 47.5rem; /* 760 px für Lesetexte (Salon Stories, Rechtstexte) */
  --aerni-layout-container-wide: 90rem; /* 1440 px für Bildraster */
  --aerni-layout-header-height: 6.25rem; /* 100 px, transparent über Video */
  --aerni-layout-header-height-sticky: 5rem; /* 80 px beim Scrollen */
  --aerni-layout-header-height-mobile: 4.375rem; /* 70 px */
  --aerni-layout-logo-width: 8.75rem; /* 140 px Desktop */
  --aerni-layout-logo-width-mobile: 6.875rem; /* 110 px Mobile */
  --aerni-layout-tap-target: 3rem; /* 48 px Mindestgrösse für Bedienelemente */
  --aerni-breakpoint-tablet: 768px; /* Elementor Tablet ab 768 px */
  --aerni-breakpoint-desktop: 1025px; /* Elementor Desktop ab 1025 px */
  --aerni-breakpoint-wide: 1440px;
  --aerni-radius-none: 0; /* Standard für alle Elemente */
  --aerni-radius-round: 50%; /* nur für runde Bildausschnitte, falls gewünscht */
  --aerni-border-width: 1px;
  --aerni-border-focus: 2px;
  --aerni-motion-duration-fast: 150ms;
  --aerni-motion-duration-base: 300ms;
  --aerni-motion-duration-slow: 600ms;
  --aerni-motion-easing-standard: cubic-bezier(0.2, 0.6, 0.2, 1);
  --aerni-z-header: 100;
  --aerni-z-booking: 90;
  --aerni-z-modal: 200;
  --aerni-z-consent: 300;
}

@media (prefers-reduced-motion: reduce) {
  :root { --aerni-motion-duration-fast: 0ms; --aerni-motion-duration-base: 0ms; --aerni-motion-duration-slow: 0ms; }
}
