/* ==========================================================
   Sofie van Bebber · Make-up Artist — Brand CSS
   Thema: Blush & Rosenholz
   Einbinden:  <link rel="stylesheet" href="css/brand.css">
   Schriften liegen in ../fonts (relativ zu dieser Datei).
   ========================================================== */

/* ---------- Schrift (selbst gehostet, kein Google-Aufruf) ---------- */
@font-face {
  font-family: "Editorial Today";
  src: url("../fonts/EditorialToday-Regular.woff") format("woff"),
       url("../fonts/EditorialToday-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Farben */
  --color-blush: #DADADA;       /* Flächen, Akzentflächen */
  --color-bordeaux: #2C2C2C;    /* Text, Logo, Buttons */
  --color-rosenholz: #2C2C2C;   /* Akzent, Hover, Linien */
  --color-creme: #F5F5F5;       /* Hintergrund */
  --color-weiss: #FFFFFF;       /* helle Karten, Seitenhintergrund */
  --color-tinte: #2C2C2C;       /* sehr dunkle Flächen, Fließtext auf Weiß */
  --color-bronze: #A3A3A3;      /* nur Deko / Details, nie für Text auf Hell */
  --color-linie: #DADADA;       /* feine Rahmen */
  --color-text-gedaempft: #2C2C2C; /* Labels, Hilfetext (ok auf Creme/Weiß) */

  /* Schriften */
  --font-script: "Editorial Today", Georgia, "Times New Roman", serif;
  --font-sans: "Editorial Today", Georgia, "Times New Roman", serif;

  /* Größen (fluid) */
  --fs-script-xl: clamp(4.5rem, 12vw, 9rem);
  --fs-script-l: clamp(2.5rem, 6vw, 3.75rem);
  --fs-script-m: 2.5rem;
  --fs-h2: clamp(1.75rem, 3.2vw, 2.5rem);
  --fs-body: 1.15rem;
  --fs-small: 0.92rem;
  --fs-eyebrow: 0.82rem;

  /* Abstände & Form */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --container: 72rem;
  --radius: 0;                  /* bewusst eckig: ruhig, redaktionell */
  --radius-pill: 999px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-synthesis: none; }

body {
  margin: 0;
  background: var(--color-weiss);
  color: var(--color-tinte);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--color-bordeaux); text-underline-offset: 0.2em; }
a:hover { color: var(--color-rosenholz); }

:focus-visible {
  outline: 2px solid var(--color-rosenholz);
  outline-offset: 3px;
}

/* ---------- Typografie ---------- */
.script, h1.script {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1;
  color: var(--color-bordeaux);
  margin: 0;
}
.script-xl { font-size: var(--fs-script-xl); }
.script-l  { font-size: var(--fs-script-l); }
.script-m  { font-size: var(--fs-script-m); }

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-bordeaux);
  line-height: 1.2;
  margin: 0 0 var(--space-2);
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: 1.25rem; font-weight: 400; }

p { margin: 0 0 var(--space-2); }

/* kleine, weit gesperrte Großbuchstaben: Untertitel, Labels, Navigation */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-bordeaux);
}
/* Rosenholz nur auf hellem Grund (Creme/Weiß), nie auf Blush */
.eyebrow--accent { color: var(--color-rosenholz); }

/* geschwungene Trennlinie aus dem Logo */
.swash {
  display: block;
  width: min(16rem, 60%);
  height: 1.5rem;
  margin: var(--space-2) auto;
  color: var(--color-rosenholz);
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}
.section { padding-block: var(--space-6); }
.section--creme  { background: var(--color-creme); }
.section--blush  { background: var(--color-blush); }
.section--bordeaux {
  background: var(--color-bordeaux);
  color: var(--color-creme);
}
.section--bordeaux h1, .section--bordeaux h2, .section--bordeaux h3,
.section--bordeaux .script { color: var(--color-creme); }
.section--bordeaux .eyebrow { color: var(--color-blush); }
.section--bordeaux a { color: var(--color-blush); }

.grid-3 {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.card {
  background: var(--color-creme);
  padding: var(--space-3);
}
.card--blush { background: var(--color-blush); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  min-height: 44px;
  background: var(--color-bordeaux);
  color: var(--color-creme);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--color-bordeaux);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--color-rosenholz); border-color: var(--color-rosenholz); color: var(--color-weiss); }
.btn--ghost { background: transparent; color: var(--color-bordeaux); }
.btn--ghost:hover { background: var(--color-bordeaux); color: var(--color-creme); border-color: var(--color-bordeaux); }
.section--bordeaux .btn { background: var(--color-creme); color: var(--color-bordeaux); border-color: var(--color-creme); }
.section--bordeaux .btn:hover { background: var(--color-blush); border-color: var(--color-blush); color: var(--color-bordeaux); }

/* ---------- Formulare ---------- */
label { display: block; font-size: var(--fs-small); font-weight: 400; margin-bottom: 0.35rem; color: var(--color-bordeaux); }
input, textarea, select {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--color-tinte);
  background: var(--color-weiss);
  border: 1px solid var(--color-bordeaux);
  border-radius: var(--radius);
}

/* ---------- Header / Footer ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-2);
  flex-wrap: wrap;
}
.site-nav { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.site-nav a {
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-bordeaux);
  padding-block: 0.75rem; /* Touch-Ziel */
}
.site-nav a:hover { color: var(--color-rosenholz); }

.site-footer { background: var(--color-tinte); color: var(--color-blush); padding-block: var(--space-4); font-size: var(--fs-small); }
.site-footer a { color: var(--color-blush); }
