/* ==========================================================================
   Bootsfahrschule Oliver Metz – Design Tokens
   Abgeleitet aus der verbindlichen Designreferenz bote.peerduck.com
   (Werte aus den Elementor-Stylesheets der About-us- und Startseite ermittelt).
   Alle Komponenten verwenden ausschließlich diese Variablen.
   ========================================================================== */

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- Farben (Bote-Referenz) --------------------------------------- */
  --color-primary: #262f49;          /* Navy: Header, dunkle Sektionen, Buttons */
  --color-primary-deep: #1d2438;     /* tieferes Navy für Footer-Leiste/Overlays */
  --color-secondary: #989277;        /* Oliv-Gold: Header-CTA (Bote „Rent Now") */
  --color-secondary-hover: #7c765d;  /* Oliv-Gold Hover; Fläche für weiße Schrift (4,56:1) */
  --color-secondary-deep: #6b6650;   /* dunkles Oliv: kleine Schrift auf Creme (5,46:1), Hover */
  --color-accent: #e0d8b4;           /* Sand: Akzentwörter in Headlines auf Navy */
  --color-accent-soft: #cec8b2;      /* gedämpftes Sand, Linien auf Navy */
  --color-background: #fcf9eb;       /* Creme: helle Sektionen */
  --color-surface: #ffffff;          /* Karten, Formularfelder */
  --color-surface-warm: #f1efe9;     /* Footer, ruhige Flächen */
  --color-text: #4e5568;             /* Fließtext (Slate) */
  --color-heading: #262f49;          /* Überschriften auf hell */
  --color-text-on-dark: #dbdad9;     /* Fließtext auf Navy */
  --color-line: #80848d;             /* Haarlinien (Bote) */
  --color-line-light: #d8d5c8;       /* Rahmen auf Creme */
  --color-alert: #ff0000;            /* Signalrot: Aktions-/Termin-Banner (Kundenwunsch). Weiß darauf nur groß/fett (4,0:1) */
  --color-alert-deep: #c80000;       /* Hover auf Signalrot */
  --color-error: #a3321f;
  --color-success: #2f6b4f;
  --color-focus: #989277;

  /* --- Typografie --------------------------------------------------- */
  --font-heading: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-body: "Work Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.125rem, 1.3rem + 4.8vw, 5.375rem);  /* 34 → 86px, Bote Hero */
  --fs-h2: clamp(2rem, 1.45rem + 2.2vw, 3.25rem);          /* 32 → 52px */
  --fs-h3: clamp(1.5rem, 1.3rem + 0.8vw, 1.75rem);          /* 24 → 28px */
  --fs-h4: 1.25rem;
  --fs-lead: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);   /* 19 → 23px */
  --fs-body: 1.1875rem;                                     /* 19px (Bote 18px, auf Kundenwunsch größer) */
  --fs-small: 1.125rem;   /* 18px */
  --fs-xs: 1rem;          /* 16px – kleinste Textgröße der Seite */
  --lh-body: 1.8;
  --lh-heading: 1.1;
  --tracking-body: -0.2px;

  /* --- Layout ------------------------------------------------------- */
  --container-width: 1140px;
  --container-wide: 1320px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --section-spacing: clamp(4.5rem, 3rem + 6vw, 7.5rem);    /* 72 → 120px */
  --section-spacing-sm: clamp(3rem, 2rem + 4vw, 5rem);
  --header-height: 84px;

  /* --- Formen ------------------------------------------------------- */
  --button-radius: 100px;            /* Bote: Pill-Buttons */
  --button-radius-square: 0;         /* Bote: Header-CTA eckig */
  --card-radius: 0;                  /* Bote: eckige Karten und Bilder */
  --frame-padding: clamp(10px, 1.2vw, 16px);   /* Passepartout-Rahmen */
  --field-radius: 2px;

  /* --- Bewegung (Emil Kowalski) ------------------------------------- */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 160ms;
  --dur-ui: 220ms;
  --dur-reveal: 900ms;

  /* --- Tiefe -------------------------------------------------------- */
  --shadow-card: 0 18px 40px -24px rgba(38, 47, 73, 0.35);
  --shadow-float: 0 24px 60px -28px rgba(29, 36, 56, 0.55);
}
