/* Brücke für Seiten, deren Markup noch Tailwind-Klassen aus /css/site.css nutzt
   (handgeschriebene Blog-Artikel, FAQ, Rechtliches, einige Tools und Apps).

   Einbindung im <head>, in dieser Reihenfolge:
     <link rel="stylesheet" href="/assets/start/fonts/fonts.css?v=20261113" />
     <style>@layer properties, theme, base, basis, components, utilities;</style>
     <link rel="stylesheet" href="/css/site.css?v=20260819a" />
     <style>@import url("/assets/basis/basis.css?v=20261113b") layer(basis);</style>
     <link rel="stylesheet" href="/assets/seiten/tailwind-schlicht.css?v=…" />
     danach das Seiten-CSS

   Warum die Ebene „basis“: basis.css ist ungeschichtet geschrieben und würde als
   normales <link> jede Tailwind-Utility schlagen (p { margin: 0 } gegen mt-5,
   a { color } gegen text-white …). In der Ebene zwischen Tailwind-„base“ und
   „utilities“ ersetzt sie nur Tailwinds Grundstile; Utilities gelten weiter.

   Diese Datei selbst ist ungeschichtet: Sie biegt die Tailwind-Tokens auf den
   neuen Look um, damit Klassen wie text-primary, bg-bg oder font-display ohne
   Umbau des Markups die neuen Farben und Geist tragen. */

html[data-look="schlicht"] {
  --font-display: var(--font);
  --font-body: var(--font);

  --color-primary: #007856;
  --color-primary-dark: #005b40;
  --color-primary-deep: #005b40;
  --color-primary-light: #1f9d63;
  --color-primary-bright: #6fd4ab;

  /* Violett gibt es im neuen Look nicht: Akzent-Knöpfe werden dunkel. */
  --color-accent: #0f1613;
  --color-accent-dark: #005b40;
  --color-accent-light: #3a423f;
  --color-secondary: #0d1612;

  --color-bg: #f5f8f7;
  --color-bg-alt: #eaefed;
  --color-bg-soft: #eaefed;

  --color-text: #0f1613;
  --color-text-muted: #3a423f;
  --color-text-light: #585f5d;
  --color-ink: #0f1613;
  --color-ink-soft: #3a423f;
  --color-line: #dee2e1;

  /* Größere, ruhigere Rundungen wie auf der Startseite */
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
}

html[data-look="schlicht"] body {
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

/* Überschriften: Geist halbfett mit enger Laufweite statt Space Grotesk fett */
html[data-look="schlicht"] :is(h1, h2, h3, h4).font-display,
html[data-look="schlicht"] :is(h1, h2, h3, h4).font-bold {
  font-weight: 600;
  letter-spacing: -0.03em;
}

html[data-look="schlicht"] h1.font-display {
  letter-spacing: -0.04em;
}

/* Gefüllte Knöpfe als Pillen wie im neuen Look */
html[data-look="schlicht"] a:is(.bg-primary, .bg-accent):is(.rounded-lg, .rounded-xl, .rounded-md),
html[data-look="schlicht"] button:is(.bg-primary, .bg-accent):is(.rounded-lg, .rounded-xl, .rounded-md) {
  border-radius: 999px;
  font-weight: 550;
}

html[data-look="schlicht"] a.bg-primary,
html[data-look="schlicht"] button.bg-primary {
  box-shadow: var(--shadow-btn);
}

/* Weiße Karten: weicher Schatten statt harter Kante */
html[data-look="schlicht"] .bg-white.rounded-xl,
html[data-look="schlicht"] .bg-white.rounded-2xl {
  box-shadow: var(--shadow-card);
}

html[data-look="schlicht"] ::selection {
  background: var(--tint-strong);
  color: var(--ink);
}

html[data-look="schlicht"] :focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
