/* kennora – Design-Fundament (Farbe, Schrift, Zeichen).
   Schriften self-hosted (kein Drittanbieter-CDN → keine Nutzer-IP-Lecks). */

/* --- Schriften -------------------------------------------------------------- */
@font-face {
  font-family: "EB Garamond"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("/static/fonts/ebgaramond-500.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("/static/fonts/ebgaramond-600.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("/static/fonts/hankengrotesk-400.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("/static/fonts/hankengrotesk-600.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("/static/fonts/hankengrotesk-700.woff2") format("woff2");
}

/* --- Design-Tokens ---------------------------------------------------------- */
:root {
  --marke:        #4076B9;   /* Markenblau – Marke, Navigation, Primäraktion */
  --marke-tief:   #2C5591;   /* Blau tief */
  --warm:         #C79A6E;   /* Warmton – sparsam, persönliche Akzente */
  --tinte:        #23262D;   /* Fliesstext */
  --papier:       #F8F6F2;   /* heller Grund */
  --dunkelgrund:  #22232B;   /* dunkler Grund */

  --font-display: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-text:    "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --radius:       14px;

  /* rollengebundene Farben (hell als Standard) */
  --grund:        var(--papier);
  --text:         var(--tinte);
  --text-leise:   #6b7078;
  --zeichen:      var(--marke);
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund:      var(--dunkelgrund);
    --text:       var(--papier);
    --text-leise: #9aa0a8;
    --zeichen:    var(--papier);   /* Negativ: auf Dunkelgrund in Papier */
  }
}

/* --- Basis ------------------------------------------------------------------ */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-weight: 400;
  color: var(--text);
  background: var(--grund);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- Startseite ------------------------------------------------------------- */
.huelle {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.marke {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.marke__zeichen {
  width: 76px; height: 76px;
  color: var(--zeichen);
}
.marke__zeichen svg { width: 100%; height: 100%; display: block; }
.marke__wortmarke {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0.005em;
  margin: 0.1rem 0 0;
}
.marke__claim {
  font-size: 1.05rem;
  color: var(--text-leise);
  margin: 0;
}
.marke__fuss {
  margin-top: 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-leise);
}
.marke__fuss .warm { color: var(--warm); }

/* --- Buttons (Links, die wie Buttons aussehen) ------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-text);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.62rem 1.5rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter 0.15s ease, background 0.15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn--primary { background: var(--marke); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--marke);
  border-color: color-mix(in oklab, var(--marke) 45%, transparent);
}
.btn--ghost:hover { background: color-mix(in oklab, var(--marke) 8%, transparent); }
