/* Designsystem julianekluess.de – Tokens, Schriften, Basis-Komponenten
   Schriften liegen lokal in /fonts/ (nie Google Fonts o. ä. einbinden). */

@font-face { font-family: "Gilda Display"; src: url("/fonts/gilda-display-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Milkshake Script"; src: url("/fonts/milkshake-script.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* Farben */
  --champagner: #F4E9DF;
  --tinte: #1A1018;
  --lavendel-asche: #6B5B6E;
  --himbeere: #C2185B;
  --gold: #D4A853;
  --hellgold: #E6C77F;
  --gold-metallisch: linear-gradient(120deg, #B98A3E 0%, #F2DA92 28%, #D4A853 50%, #F6E3A6 72%, #B07E33 100%);
  --tinte-verlauf: linear-gradient(90deg, rgba(26,16,24,.82) 0%, rgba(26,16,24,.55) 45%, rgba(26,16,24,0) 75%);
  --tinte-verlauf-mobil: linear-gradient(0deg, rgba(26,16,24,.85) 0%, rgba(26,16,24,.5) 45%, rgba(26,16,24,0) 75%);

  /* Schriften */
  --font-display: "Gilda Display", Georgia, "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Milkshake Script", "Brush Script MT", cursive;

  /* Schriftgrößen: mobil zuerst, wachsen bis Desktop */
  --fs-h1: clamp(2.125rem, 1.4rem + 3.2vw, 3.25rem);   /* 34 → 52 px */
  --fs-h2: clamp(1.625rem, 1.2rem + 1.8vw, 2.25rem);   /* 26 → 36 px */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);     /* 20 → 24 px */
  --fs-script-xl: clamp(2.5rem, 1.8rem + 3vw, 4rem);   /* 40 → 64 px */
  --fs-script-l: clamp(1.875rem, 1.6rem + 1.2vw, 2.5rem); /* nie unter 30 px */
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);  /* 16 → 17 px */
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;
  --fs-button: 0.875rem;

  /* Abstände */
  --space-1: 8px; --space-2: 16px; --space-3: 32px;
  --space-4: clamp(48px, 6vw, 64px);
  --space-5: clamp(64px, 9vw, 96px);

  /* Radien */
  --radius-sm: 8px; --radius-md: 12px; --radius-pill: 999px;

  --max-width: 1200px;
  --text-width: 68ch;
}

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--champagner); color: var(--tinte); font-family: var(--font-sans); font-weight: 300; font-size: var(--fs-body); line-height: 1.65; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0 0 var(--space-2); }
h1 { font-size: var(--fs-h1); line-height: 1.08; }
h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
.label { font-size: var(--fs-label); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--lavendel-asche); }
.script { font-family: var(--font-script); color: var(--gold); font-size: var(--fs-script-l); line-height: 1.3; font-weight: 400; }
.script--xl { font-size: var(--fs-script-xl); line-height: 1.25; }
.muted { color: var(--lavendel-asche); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }

/* Dunkle Flächen */
.dunkel { background: var(--tinte); color: var(--champagner); }
.dunkel .muted, .dunkel .label { color: rgba(244,233,223,.74); }
.dunkel .label--gold { color: var(--hellgold); }
.himbeer-moment { background: var(--himbeere); color: #fff; } /* höchstens einmal pro Seite */

/* Links */
a { color: var(--himbeere); text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.dunkel a { color: var(--hellgold); }

/* Buttons – vollrund, eine Größe, Farbe folgt dem Grund */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 24px; border-radius: var(--radius-pill); font-family: var(--font-sans); font-size: var(--fs-button); font-weight: 400; letter-spacing: .02em; text-decoration: none; border: 0; cursor: pointer; position: relative; overflow: hidden; }
.btn--haupt { background: var(--himbeere); color: #fff; }
.btn--neben { background: transparent; color: var(--tinte); border: 1.5px solid transparent; background: linear-gradient(var(--champagner), var(--champagner)) padding-box, var(--gold-metallisch) border-box; }
.btn--gold { background: var(--gold-metallisch); color: var(--tinte); }
.btn--gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); }
.btn--gold:hover::after, .btn--gold:focus-visible::after { transition: transform .9s ease; transform: translateX(120%); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn--gold:hover::after { transition: none; } }

/* Kringel */
.kringel { display: block; height: auto; border-radius: 0; }
.kringel--mitte { margin-inline: auto; width: min(180px, 45vw); }
.kringel--links { width: min(160px, 40vw); }
