/* ==========================================================================
   Rehabfisdom Services S.R.L. – Design-Tokens
   Einzige Quelle für Farbe, Typografie, Abstände, Radien und Wellenform.
   Diese Datei wird unverändert von der Patienten-App übernommen, damit
   Website und App identisch aussehen. Stand: 21.11.2026
   ========================================================================== */

:root {
  /* --- Farben: Primär ------------------------------------------------- */
  --color-primary: #2E2C7E;          /* Indigo: Dach, Wortmarke, Welle   */
  --color-primary-dark: #1E1B4B;     /* Nachtblau: Fließtext im Footer   */
  --color-primary-soft: #46439A;     /* Indigo aufhellend für Hover      */

  /* --- Farben: Sekundär ----------------------------------------------- */
  --color-secondary: #2BA84A;        /* Grün: Figur, SERVICES, Akzente   */
  --color-secondary-light: #6CC24A;  /* Lindgrün: Hover, Badges          */
  --color-secondary-dark: #1F7C36;   /* Grün abgedunkelt für Fließtext    */
  --color-accent: #7B6FC4;           /* Lavendel: Verlauf, Flächen       */

  /* --- Farben: Flächen ------------------------------------------------ */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F4F3FA;           /* sehr helles Lavendelgrau         */
  --color-bg-soft: #EDEBF7;
  --color-text: #2B2B33;             /* Fließtext                        */
  --color-text-muted: #55555F;
  --color-border: #DCD9EE;
  --color-border-strong: #B9B4DE;

  /* --- Status ---------------------------------------------------------- */
  --color-whatsapp: #25D366;
  --color-warning: #B26A00;
  --color-info-bg: #FFF6E5;

  /* --- Typografie ------------------------------------------------------ */
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;  /* Logo-nah */
  --font-heading: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;

  --text-xs: 0.8125rem;   /* 13 px */
  --text-sm: 0.9375rem;   /* 15 px */
  --text-base: 1.0625rem; /* 17 px – Fließtext Standard */
  --text-md: 1.1875rem;   /* 19 px */
  --text-lg: 1.375rem;    /* 22 px */
  --text-xl: 1.75rem;     /* 28 px */
  --text-2xl: 2.125rem;   /* 34 px */
  --text-3xl: 2.75rem;    /* 44 px */
  --text-hero: clamp(2.15rem, 1.4rem + 3.1vw, 3.35rem);

  --leading-tight: 1.2;
  --leading-body: 1.6;
  --leading-heading: 1.25;

  --tracking-eyebrow: 0.3em;   /* Label-Stil „SERVICES" */
  --tracking-tight: -0.01em;

  /* --- Abstände (8er-Raster) ------------------------------------------- */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5.5rem;

  --section-y: clamp(3rem, 2rem + 4vw, 5.5rem);
  --container: 1180px;
  --container-narrow: 780px;
  --gutter: clamp(1.25rem, 0.6rem + 2.4vw, 2.5rem);

  /* --- Radien ----------------------------------------------------------- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  /* --- Schatten --------------------------------------------------------- */
  --shadow-sm: 0 1px 2px rgba(30, 27, 75, .06), 0 2px 6px rgba(30, 27, 75, .05);
  --shadow-md: 0 6px 18px rgba(30, 27, 75, .09);
  --shadow-lg: 0 18px 44px rgba(30, 27, 75, .14);
  --shadow-focus: 0 0 0 3px rgba(43, 168, 74, .45);

  /* --- Welle (wiederkehrendes Gestaltungselement) ----------------------- */
  --wave-indigo: var(--color-primary);
  --wave-green: var(--color-secondary);
  --wave-white: #FFFFFF;
  --wave-height: clamp(46px, 6vw, 96px);
  --wave-stroke-green: 5px;
  --wave-stroke-white: 4px;

  /* --- Bewegung ---------------------------------------------------------- */
  --transition-fast: 140ms ease;
  --transition-base: 240ms cubic-bezier(.2, .7, .3, 1);
  --transition-slow: 420ms cubic-bezier(.2, .7, .3, 1);

  /* --- Layout ------------------------------------------------------------ */
  --header-height: 76px;
  --z-header: 100;
  --z-float: 90;
  --z-cookie: 120;
}

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