/* ==========================================================================
   Suvilo Design-Tokens
   Quelle: Suvilo Brand & Design Guide v1.0 (17.09.2026)
   Diese Datei ist die zentrale Stelle für Farben, Typografie, Radius und
   Abstände. Das Shopify-Theme (Phase 2) übernimmt dieselben Werte.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Headline-Schrift im Test: Fredoka (rund, passend zur Wortmarke), SIL Open Font License.
   Zurück zu Inter: unten --font-display auf var(--font-sans) und --tracking-display auf -0.04em setzen. */
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/fredoka-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/fredoka-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Markenfarben */
  --color-lime: #DFFF4F;
  --color-deep-green: #0B1F1A;
  --color-off-white: #F8F8F5;
  --color-sage: #A7B89F;
  --color-lavender: #D7C6FF;

  /* Abgeleitete Farben */
  --color-lime-hover: #D2F53A;
  --color-white: #FFFFFF;
  --color-bg: var(--color-off-white);
  --color-bg-alt: #EFEFE9;
  --color-surface: var(--color-white);
  --color-text: var(--color-deep-green);
  --color-text-soft: rgba(11, 31, 26, 0.74);
  --color-text-faint: rgba(11, 31, 26, 0.6);
  --color-line: rgba(11, 31, 26, 0.12);
  --color-line-strong: rgba(11, 31, 26, 0.3);

  /* Typografie */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fredoka", var(--font-sans);
  --tracking-display: -0.015em;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-extrabold: 800;
  --weight-black: 900;

  --text-h1: clamp(2.5rem, 1.2rem + 5.6vw, 5.5rem);        /* 40 bis 88 px, nur Start-Hero */
  --text-h1-sub: clamp(2.125rem, 1.3rem + 3.4vw, 3.75rem); /* 34 bis 60 px */
  --text-h2: clamp(1.625rem, 1.25rem + 1.7vw, 2.5rem);    /* 26 bis 40 px */
  --text-h3: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);   /* 18 bis 20 px */
  --text-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);   /* 16 bis 18 px */
  --text-small: 0.9375rem;
  --text-tiny: 0.8125rem;
  --leading-tight: 1.02;
  --leading-body: 1.55;
  --measure: 68ch;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  /* Abstände */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --section-y: clamp(44px, 6.2vw, 84px);
  --gutter: clamp(20px, 4vw, 32px);
  --content-width: 1160px;

  /* Seitenrand der großen Flächen und Verläufe */
  --edge: clamp(8px, 1.4vw, 16px);
  --grad-lime: radial-gradient(120% 90% at 0% 0%, #F1FF93 0, var(--color-lime) 55%);
  --grad-dark: radial-gradient(120% 100% at 80% 110%, #21503F 0, var(--color-deep-green) 62%);

  /* Effekte */
  --shadow-soft: 0 18px 40px -24px rgba(11, 31, 26, 0.35);
  --shadow-lift: 0 30px 60px -30px rgba(11, 31, 26, 0.45);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --duration: 0.3s;
}
