/* ============================================================
   OMNINO — Basis-Komponenten v1 (nutzt tokens.css)
   Für omnino.cc, Styleguide & interne Seiten.
   ============================================================ */

/* ---- Fonts (selbst gehostet — DSGVO: keine externen CDNs) ---- */
@font-face {
  font-family: 'Space Grotesk Variable';
  src: url('assets/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 300 700; font-display: swap;
}
@font-face {
  font-family: 'Inter Variable';
  src: url('assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-display: swap;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--om-bg);
  color: var(--om-text);
  font-family: var(--om-font-text);
  font-size: var(--om-fs-body);
  line-height: var(--om-lh-body);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }

/* ---- Typografie ---- */
h1, h2, h3, .display {
  font-family: var(--om-font-display);
  font-weight: 600;
  line-height: var(--om-lh-heading);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero-title { font-size: var(--om-fs-hero); line-height: var(--om-lh-tight); }
h1 { font-size: var(--om-fs-h1); }
h2 { font-size: var(--om-fs-h2); }
h3 { font-size: var(--om-fs-h3); }
.lead { font-size: var(--om-fs-lead); color: var(--om-text-muted); max-width: 46ch; }
.muted { color: var(--om-text-muted); }
.overline {
  font-family: var(--om-font-display);
  font-size: var(--om-fs-overline);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--om-accent);
}

/* Signature: farbige Wort-Highlights in Headlines */
.hl        { color: var(--om-accent); }
.hl-gelb   { color: var(--om-hl-gelb); }
.hl-rot    { color: var(--om-hl-rot); }
.hl-blau   { color: var(--om-hl-blau); }
.hl-gruen  { color: var(--om-hl-gruen); }

/* ---- Layout ---- */
.container { max-width: var(--om-container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.container--narrow { max-width: var(--om-container-narrow); }
.section { padding-block: var(--om-section-y); position: relative; }
.section--elev { background: var(--om-bg-elev); }
.grid { display: grid; gap: var(--om-s-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }

/* Emblem-Wasserzeichen hinter Sektionen */
.watermark { position: relative; overflow: hidden; }
.watermark::before {
  content: '';
  position: absolute; inset: 0;
  background: url('assets/emblem/emblem-white-680.png') no-repeat center / min(72vw, 640px);
  opacity: 0.05;
  pointer-events: none;
}
.watermark > * { position: relative; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--om-font-display); font-weight: 600; font-size: 1rem;
  padding: 0.85em 1.7em; border-radius: var(--om-radius-pill);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform var(--om-t-fast) var(--om-ease),
              box-shadow var(--om-t-fast) var(--om-ease),
              background var(--om-t-fast) var(--om-ease);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--om-accent); color: var(--om-on-accent); }
.btn--primary:hover { background: var(--om-accent-hover); box-shadow: var(--om-glow); transform: translateY(-2px); }
.btn--ghost { border-color: var(--om-line); color: var(--om-text); }
.btn--ghost:hover { border-color: var(--om-accent); color: var(--om-accent); transform: translateY(-2px); }

/* ---- Karten ---- */
.card {
  background: var(--om-bg-elev);
  border: 1px solid var(--om-line);
  border-radius: var(--om-radius);
  padding: var(--om-s-6);
  transition: transform var(--om-t-med) var(--om-ease), border-color var(--om-t-med) var(--om-ease);
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--om-accent) 45%, var(--om-line)); }
.card h3 { margin-bottom: var(--om-s-3); }
.card p { color: var(--om-text-muted); }

/* Preis-Karten */
.price-card { display: flex; flex-direction: column; gap: var(--om-s-4); }
.price-card .preis { font-family: var(--om-font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.price-card .preis small { font-size: 0.9rem; font-weight: 400; color: var(--om-text-muted); }
.price-card ul { list-style: none; display: grid; gap: 0.55rem; color: var(--om-text-muted); }
.price-card ul li::before { content: '→ '; color: var(--om-accent); }
.price-card--featured { border-color: var(--om-accent); box-shadow: var(--om-glow); }
.badge {
  display: inline-block; padding: 0.3em 0.9em; border-radius: var(--om-radius-pill);
  background: var(--om-accent-soft); color: var(--om-accent);
  font-size: var(--om-fs-small); font-weight: 600; width: fit-content;
}

/* ---- Chips / Meta ---- */
.chips { display: flex; flex-wrap: wrap; gap: var(--om-s-2); }
.chip {
  border: 1px solid var(--om-line); border-radius: var(--om-radius-pill);
  padding: 0.35em 0.95em; font-size: var(--om-fs-small); color: var(--om-text-muted);
}

/* ---- FAQ ---- */
.faq details {
  border-bottom: 1px solid var(--om-line);
  padding-block: var(--om-s-4);
}
.faq summary {
  font-family: var(--om-font-display); font-weight: 600; font-size: 1.1rem;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::after { content: '+'; color: var(--om-accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding-top: var(--om-s-3); color: var(--om-text-muted); max-width: 65ch; }

/* ---- Formulare ---- */
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--om-fs-small); font-weight: 600; }
.field input, .field textarea, .field select {
  background: var(--om-bg-elev); color: var(--om-text);
  border: 1px solid var(--om-line); border-radius: 12px;
  padding: 0.8em 1em; font: inherit;
}
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--om-accent); outline-offset: 1px; border-color: transparent;
}

/* ---- Header / Footer ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--om-bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--om-line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-block: 0.9rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--om-font-display); font-weight: 700; letter-spacing: 0.06em; text-decoration: none; }
.logo img { width: 34px; height: auto; }
.site-nav { display: flex; gap: clamp(1rem, 2.5vw, 2rem); }
.site-nav a { text-decoration: none; color: var(--om-text-muted); font-size: 0.95rem; transition: color var(--om-t-fast); }
.site-nav a:hover { color: var(--om-accent); }
.site-footer { border-top: 1px solid var(--om-line); padding-block: var(--om-s-7); color: var(--om-text-muted); font-size: var(--om-fs-small); }

/* ---- WhatsApp-Float ---- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  transition: transform var(--om-t-fast) var(--om-ease);
}
.wa-float:hover { transform: scale(1.08); }

/* ---- Reveal-Animationen (IntersectionObserver setzt .in) ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--om-t-reveal) var(--om-ease), transform var(--om-t-reveal) var(--om-ease); }
.reveal.in { opacity: 1; transform: none; }
/* prefers-reduced-motion wird auf omnino.cc bewusst nicht angewendet (Kundenwunsch). */
