/* ===== Nocturne hell (Baukasten hell v3, 04.11.2026) — automatisch gepflegt von sync-assets.py =====
   Wird NACH nocturne.css geladen (webseiten-check, webwacht). Legt die Nocturne-Tokens auf die Werte von
   machichdigital.de um (Creme, Petrol, brand-ink, Anton + Plus Jakarta Sans), ohne Markup oder Skripte zu ändern.
   Die Rampen sind für einen dunklen Grund gebaut: Stufen, die dort „hell auf dunkel“ waren (100–400 = Text,
   700–900 = Linien/Spuren), bekommen hier die passende Rolle auf Creme. Kontraste: Text ≥ 9:1, Akzent ≥ 5,7:1. */
:root {
  color-scheme: light;
  --color-bg: #fffbf6;
  --color-surface: #ffffff;
  --color-text: #17120f;
  --color-accent: #0e6670;
  --color-accent-2: #0b5760;
  --color-divider: #e7dcce;

  --color-neutral-100: #17120f;
  --color-neutral-200: #2a221c;
  --color-neutral-300: #4f453d;
  --color-neutral-400: #6b5f55;
  --color-neutral-500: #8a7d70;
  --color-neutral-600: #b3a596;
  --color-neutral-700: #e7dcce;
  --color-neutral-800: #f1e8dc;
  --color-neutral-900: #17120f;

  --color-accent-100: #0b5760;
  --color-accent-200: #0b5760;
  --color-accent-300: #0e6670;
  --color-accent-400: #12808a;
  --color-accent-500: #0e6670;
  --color-accent-600: #0b5760;
  --color-accent-700: #8fd0cb;
  --color-accent-800: #d3e8e6;
  --color-accent-900: #e2f0ef;
  --color-accent-2-800: #e2f0ef;
  --color-accent-2-100: #0b5760;

  --color-section: #0b2e33;
  --color-section-glow: #0e4a52;
  --color-section-ghost: #12808a;

  --font-heading: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading-weight: 700;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --brand-ink: #0b2e33;

  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 0 0 1px #e7dcce;
  --shadow-md: 0 0 0 1px #e7dcce, 0 18px 40px -18px rgba(23, 18, 15, 0.35);
  --shadow-lg: 0 0 0 1px #e7dcce, 0 18px 40px -18px rgba(23, 18, 15, 0.35);
}
body { background: var(--color-bg); font-size: 16px; overflow-x: hidden; }
a { color: var(--color-accent); }
a:hover { color: var(--color-accent-2); }

/* Überschriften wie die Hauptseite: h1 und Abschnittstitel in Anton, Versalien */
h1, h2, .h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.002em; line-height: 1.06; overflow-wrap: break-word; }
@media (max-width: 640px) { h1, h2, .h2, h3 { hyphens: auto; -webkit-hyphens: auto; } } /* lange deutsche Wörter nur mobil trennen */
.hero h1 { font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: 0.002em; margin: 0; }
.h2 { font-weight: 400; font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3, h4, .card-title, .dialog-title, .schritt h3, .gruppe h3, .befund h4 { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; }
.kicker, .card-kicker, .band-label, .fuss-titel { font-weight: 700; letter-spacing: 0.08em; color: var(--color-accent); }
.ring-wert b, .zahl { font-family: var(--font-display); font-weight: 400; }

/* Kopfzeile: Creme, Linie, Marke fett */
.nav { background: color-mix(in srgb, var(--color-bg) 95%, transparent); border-bottom: 1px solid var(--color-divider); }
.nav-brand { font-family: var(--font-body); font-weight: 700; }
.nav a { color: #4f453d; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }

/* Knöpfe: Pillen wie .btn-primary / .btn-secondary der Hauptseite, mindestens 44 px */
.btn { font-family: var(--font-body); font-weight: 600; font-size: .9375rem; border-radius: 999px; min-height: 44px; padding: .65rem 1.3rem; border-width: 1.5px; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.btn-primary { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.btn-primary:hover, .btn-primary:active { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.btn-secondary { border-color: var(--color-text); color: var(--color-text); }
.btn-secondary:hover { background: transparent; border-color: var(--color-accent); color: var(--color-accent); }
.btn-ghost { color: var(--color-accent); }
.scan .input, .scan .btn { min-height: 48px; }
.input { border-color: #d6c7b4; border-radius: 12px; background: #fff; font-size: 16px; } /* 16 px: iOS zoomt sonst beim Antippen */
.input:hover { border-color: #8a7d70; }
.meldung.fehler { color: #a8321f; }

/* Karten: Linie statt Schatten, Radius wie rounded-2xl */
.card { border: 1px solid var(--color-divider); border-radius: 1rem; background: var(--color-surface); }
.card.elev-sm, .card.elev-md, .card.elev-lg, .rcard { box-shadow: none; }
.card-body { opacity: 1; color: #4f453d; }
.tag-accent { background: #e2f0ef; color: #0b5760; }
.tag-neutral { background: #f1e8dc; color: #4f453d; }
.tag-ok { border-color: #d6c7b4; color: #4f453d; }
.befund .fix, .bestanden summary { color: var(--color-accent); }

/* Dunkles Band (Zahlen) wie .band-dark der Hauptseite */
.band { background: var(--color-section); --color-text: #ffffff; color: #fff; }
.band .band-label { color: #8fd0cb; }
.band .zahl-text { color: #d8e6e4; }

/* Fußzeile wie machichdigital.de: brand-ink, helle Schrift */
.fuss { background: var(--brand-ink); border-top: 0; color: #d8e6e4; --color-text: #d8e6e4; --color-divider: rgba(255, 255, 255, 0.14); --color-accent: #8fd0cb; }
.fuss a { color: #d8e6e4; display: inline-flex; align-items: center; min-height: 36px; }
.fuss a:hover { color: #fff; }
.fuss-titel { color: #8fd0cb; }
.fuss-marke { color: #fff; }
.cta { border-top-color: var(--color-divider); }
@media (max-width: 640px) { .fuss a { min-height: 44px; } }
/* ===== Ende Nocturne hell ===== */
