/* ============================================================
   Website-Check-Band auf der Startseite (index.html, zwischen
   #wachstum und #tech). Ausgewählt am 25.10.2026 aus vier Varianten
   („Vorschau kompakt“).

   Desktop: Eingabe links, Beispiel-Ergebnis rechts — Besucher sehen,
   was herauskommt, bevor sie tippen.
   Bis 900 px: Die Beispielkarte entfällt, statt ihrer eine Zeile mit
   zwei Beispielbefunden. Mit Karte war das Band auf dem Handy gut
   1000 px hoch, so rund 450 px (Johns Vorgabe: „zu viel auf dem Handy“).

   Kein Skript: Das Formular schickt per GET auf website-check.html,
   dort startet ?domain=… den Check von selbst.
   ============================================================ */
.wcb { padding-block: clamp(36px, 6vw, 72px); }
.wcb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wcb-raster {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.wcb-raster h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -.025em;
  color: var(--text); margin: 14px 0 14px;
}
.wcb-text { color: var(--muted); font-size: 1.05rem; line-height: 1.65; margin: 0 0 24px; max-width: 46ch; }

/* ---- Formular ---- */
.wcb-form {
  display: flex; gap: 8px; max-width: 520px; padding: 7px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.wcb-form:focus-within { border-color: rgba(255,45,45,.6); box-shadow: var(--glow-red); }
.wcb-form input {
  flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; color: var(--text);
  background: transparent; border: 0; outline: 0; padding: 0 18px;
}
.wcb-form input::placeholder { color: var(--muted); }
.wcb-form .btn { flex-shrink: 0; }

/* ---- Beispielkarte (Desktop) ---- */
.wcb-karte {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px; box-shadow: var(--shadow-lg);
}
.wcb-schild {
  position: absolute; top: -11px; right: 18px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  background: #24242b; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}
.wcb-kopf { display: flex; align-items: center; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.wcb-note { position: relative; flex-shrink: 0; }
.wcb-ring { display: block; width: 76px; height: 76px; transform: rotate(-90deg); }
.wcb-ring circle { fill: none; stroke-width: 9; }
.wcb-ring .h { stroke: var(--line); }
/* 64 von 100: Umfang 2π·52 ≈ 326,7, Rest 36 % ≈ 117,6 */
.wcb-ring .v { stroke: #ffb020; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 117.6; }
.wcb-note b {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1.6rem; color: var(--text);
}
.wcb-kopf strong { display: block; color: var(--text); font-size: 1.05rem; }
.wcb-kopf small { color: var(--muted); font-size: .85rem; }
.wcb-zeilen { list-style: none; margin: 0; padding: 0; }
.wcb-zeilen li {
  display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .9rem; line-height: 1.5;
}
.wcb-zeilen li:first-child { border-top: 0; }
.wcb-zeilen strong { color: var(--text); display: block; font-size: .93rem; }

/* Ampel-Marken — gleiche Farben wie auf website-check.html */
.wcb-m {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800;
}
.wcb-m.f { background: rgba(255,45,45,.16); color: var(--red); }
.wcb-m.w { background: rgba(255,176,32,.14); color: #ffb020; }
.wcb-m.g { background: rgba(53,208,127,.14); color: #35d07f; }

/* ---- Beispielzeile (nur bis 900 px) ---- */
.wcb-zeile { display: none; }

@media (max-width: 900px) {
  .wcb-raster { grid-template-columns: 1fr; }
  .wcb-karte { display: none; }
  .wcb-zeile {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 14px 0 0;
    font-size: .86rem; color: var(--muted);
  }
  .wcb-chip {
    display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 6px;
    border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text);
  }
  .wcb-chip .wcb-m { width: 20px; height: 20px; font-size: .72rem; margin: 0; }
}
@media (max-width: 640px) {
  .wcb-form { flex-direction: column; border-radius: var(--radius); }
  .wcb-form input { padding: 14px 12px; text-align: center; }
  .wcb-form .btn { width: 100%; justify-content: center; }
}
