/* ==========================================================================
   Holland Huis – design tokens
   Source: Figma "Holland Huis website", page "Ontwerp v1.3" (variables + text styles)
   Every token becomes a Bricks palette colour or global variable (see OVERDRACHT-BRICKS.md).
   Root font size 62.5% → 1rem = 10px. Fluid values: min at 390px, max at 1440px.
   ========================================================================== */

:root {
  /* Colours (Figma variables) */
  --primary: #5fb7cf;               /* Primary color */
  --secondary: #28646b;             /* Secondary color */
  --secondary-hover: #317a82;       /* Secondary color hover */
  --focus: #db5c06;                 /* Focus color (oranje) */
  --focus-hover: #eb7526;           /* Focus color hover */
  --headings: #3a2c22;              /* Headings */
  --body: #2b2f2e;                  /* Body text color */
  --light-text: #767676;            /* Light text color */
  --background: #faf5ee;            /* Background color */
  --alternate-background: #f3eadd;  /* Alternate background color */
  --white: #ffffff;                 /* White */
  --borders: #e0d8ce;               /* Borders & lines */
  --warning: #b42318;               /* warning-color */
  --navigation-bar: #f3eadd;        /* navigatiebalk – Beheer krijgt later #daf2f8 */
  --overlay-strong: rgba(0, 0, 0, 0.6);  /* hero-verloop: donkere kant (achter de tekst) */
  --overlay-light: rgba(0, 0, 0, 0.05);  /* hero-verloop: lichte kant */

  /* Fonts */
  --font-sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Type sizes (Figma text styles; tablet fluid between mobile and desktop) */
  --text-h1: clamp(4.8rem, 3.909rem + 2.286vw, 7.2rem);   /* 48 → 72 */
  --text-h2: clamp(4rem, 3.703rem + 0.762vw, 4.8rem);     /* 40 → 48 */
  --text-h3: 3.2rem;                                      /* 32 */
  --text-h4: 2.4rem;                                      /* 24 */
  --text-h5: 2rem;                                        /* 20 */
  --text-h6: 1.8rem;                                      /* 18 */
  --text-body: 1.8rem;                                    /* 18 – Body text desktop */
  --text-lead: clamp(1.8rem, 1.577rem + 0.571vw, 2.4rem); /* 18 → 24 – hero-intro SemiBold */
  --text-slogan: clamp(2rem, 1.703rem + 0.762vw, 2.8rem); /* 20 → 28 – "Sinds 1980." */
  --text-label: 1.4rem;                                   /* 14 – Label */

  --leading-heading: 1.2;  /* H1, H2 */
  --leading-title: 1.33;   /* H3 – H6, Label */
  --leading-body: 1.5;     /* body, lead, link text */

  /* Spacing */
  --space-3xs: 0.4rem;
  --space-2xs: 0.8rem;
  --space-xs: 1.2rem;
  --space-s: 1.6rem;
  --space-m: 2.4rem;
  --space-l: 3.2rem;
  --space-xl: clamp(3.2rem, 2.903rem + 0.762vw, 4rem);    /* 32 → 40 */
  --space-2xl: clamp(4rem, 3.257rem + 1.905vw, 6rem);     /* 40 → 60 */
  --space-3xl: clamp(4.8rem, 3.464rem + 3.429vw, 8.4rem); /* 48 → 84 */
  --space-section: clamp(6.4rem, 4.32rem + 5.333vw, 12rem); /* 64 → 120 */
  --space-text: 2.4rem;   /* tussen alinea's en tekstblokken */
  --card-padding: clamp(2.4rem, 2.029rem + 0.952vw, 3.4rem); /* 24 → 34 */

  /* Layout */
  --container-width: 114rem;  /* 1140 */
  --text-width: 74rem;        /* leesbreedte */
  --gutter: clamp(2rem, 1.257rem + 1.905vw, 4rem); /* 20 → 40 */
  --grid-gap: clamp(2rem, 1.474rem + 1.343vw, 4.8rem); /* 20 → 48 – kaarten */
  --header-top-height: clamp(9rem, 7.143rem + 4.762vw, 14rem); /* 90 → 140 */
  --nav-height: 6rem;

  /* Effects */
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.1);  /* Card drop shadow – rechthoekige elementen (submenu) */
  --shadow-card-filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1)); /* Card drop shadow – volgt de afgesneden hoek */
  --chamfer: 3rem;          /* afgesneden hoek linksboven (kaarten, kaders, beelden) */
  --chamfer-stop: 2.12rem;  /* = chamfer / √2, positie in de 135°-gradient */
  --chamfer-mask: linear-gradient(135deg, transparent var(--chamfer-stop), #000 var(--chamfer-stop)); /* masker: snijdt de hoek echt weg */
  --accent-size: clamp(12rem, 8.286rem + 9.524vw, 24rem); /* petrol accentvlak 120 → 240 */
  --accent-offset: 1.6rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.2s var(--ease-out);
}
