/* ============================================================
   PODAVIA — Component Kit
   Wiederverwendbare Komponenten-Klassen für Website, Social
   und Präsentationen. Baut auf brand/tokens.css auf — immer
   ZUERST tokens.css einbinden, dann components.css.
   ============================================================ */

/* — Reset / Base — */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* — Layout — */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--sp-18) 0; }
.section--surface { background: var(--surface); }   /* Kontrast-Sektion (Zwei-Flächen-Regel) */

/* — Typografie-Utilities — */
.eyebrow { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 1.6px;
           text-transform: uppercase; color: var(--teal-600); }
.h-display { font-size: var(--fs-display); font-weight: 700; letter-spacing: -1.4px; line-height: 1.04; color: var(--ink); margin: 0; }
.h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -1px; line-height: 1.1; color: var(--ink); margin: 0; }
.h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.6px; line-height: 1.15; color: var(--ink); margin: 0; }
.h3 { font-size: var(--fs-h3); font-weight: 700; color: var(--ink); margin: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--body); margin: 0; }
.small { font-size: var(--fs-small); font-weight: 500; color: var(--body); }
.text-pretty { text-wrap: pretty; }

/* — Buttons — */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font);
       font-weight: 600; font-size: 16px; border: none; cursor: pointer;
       text-decoration: none; transition: background .14s, border-color .14s, color .14s; }
.btn--primary { background: var(--teal-600); color: #fff; padding: 15px 26px; border-radius: var(--r-pill); }
.btn--primary:hover { background: var(--teal-700); }
.btn--secondary { background: transparent; color: var(--ink); padding: 15px 24px;
                  border-radius: var(--r-pill); border: 1.5px solid var(--line); }
.btn--secondary:hover { border-color: var(--teal-400); }
.btn--text { color: var(--teal-700); background: none; padding: 6px 0; }
.btn--text:hover { color: var(--teal-600); }

/* — Badge / Pill — */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px;
        border-radius: var(--r-pill); background: var(--teal-100); color: var(--teal-700);
        font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.pill__dot { width: 7px; height: 7px; border-radius: var(--r-pill); background: var(--teal-600); }

/* — Check (Vertrauens-Item) — */
.check { display: inline-flex; align-items: center; gap: 9px; font-size: var(--fs-small);
         font-weight: 500; color: var(--body); }
.check svg { flex: 0 0 auto; }

/* — Card — */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
        padding: 24px; box-shadow: var(--shadow-sm); }
.card--flat { box-shadow: none; background: var(--bg); }

/* — Feature-/Perk-Karte — */
.perk { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.perk__ic { width: 42px; height: 42px; border-radius: var(--r-chip); background: var(--teal-100);
            display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.perk__title { display: block; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.perk__text { margin: 0; font-size: var(--fs-small); line-height: 1.5; color: var(--body); }

/* — Formularfeld — */
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--n-700); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-input);
  font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--surface); }
.field input::placeholder { color: var(--n-400); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal-400); box-shadow: 0 0 0 3px var(--teal-50); }

/* — Grids — */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 820px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* — Bild-Platzhalter (bis echte Fotos vorliegen) — */
.ph { position: relative; border-radius: var(--r-card); background-color: var(--teal-100);
      background-image: repeating-linear-gradient(135deg, rgba(17,129,122,0.2) 0,
        rgba(17,129,122,0.2) 1px, transparent 1px, transparent 11px);
      display: flex; align-items: center; justify-content: center; min-height: 220px; }
.ph span { font-family: var(--mono); font-size: 12.5px; color: var(--teal-700);
           background: rgba(255,255,255,0.9); padding: 6px 12px; border-radius: 4px; white-space: nowrap; }
