/* NIF Media – nur Seite «Website-Check» (website-check.html). Baut auf styles.css auf, ändert dort nichts. */
:root {
  --wc-gruen: #2f7d43; --wc-gruen-weich: #e3f0e3; --wc-gruen-text: #285f33;
  --wc-gelb: #c28a1c; --wc-gelb-weich: #f6ead0; --wc-gelb-text: #7a5710;
  --wc-rot: #b23a2a; --wc-rot-weich: #f8e1de; --wc-rot-text: #8e2c1f;
}
[hidden] { display: none !important; }

/* ---------- Eingabe ---------- */
/* Nach einer Prüfung/Fehler die Einblend-Animation von .page-head nicht wiederholen */
.wc-start.wc-ruhig .grid > * { animation: none; }
.wc-start .grid > .wc-form { margin-top: clamp(28px, 3.4vw, 44px); }
.wc-form { max-width: 820px; }
.wc-form label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 8px; }
.wc-feld { display: flex; align-items: stretch; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--radius); transition: box-shadow .2s; }
.wc-feld:focus-within { box-shadow: 0 0 0 3px rgba(198, 95, 60, .25); }
.wc-feld > svg { width: 22px; height: 22px; flex: none; align-self: center; margin-left: 16px; color: var(--ink-2); fill: none; stroke: currentColor; stroke-width: 1.7; }
.wc-feld input { flex: 1; min-width: 0; min-height: 60px; padding: 0 14px; border: 0; background: transparent; outline: none; font-size: 1.15rem; font-weight: 500; }
.wc-feld input::placeholder { color: #a39686; }
.wc-feld .btn { margin: 5px; min-height: 50px; flex: none; }
.wc-feld .btn[disabled] { opacity: .7; cursor: progress; }
@media (max-width: 600px) {
  .wc-feld { flex-direction: column; }
  .wc-feld > svg { display: none; }
  .wc-feld input { min-height: 56px; font-size: 1.08rem; }
  .wc-feld .btn { margin: 0 5px 5px; }
}
.wc-fehler { margin: 14px 0 0; padding: 14px 18px; border-left: 3px solid var(--wc-rot); background: var(--wc-rot-weich); color: var(--wc-rot-text); font-size: .95rem; }
.wc-fehler a { color: inherit; font-weight: 650; }
.wc-form .small { margin: 14px 0 0; }
.wc-form .small a { color: var(--ink); }
.wc-beispiele { padding-bottom: clamp(56px, 7vw, 104px); }
.wc-beispiele .mono { display: block; color: var(--accent-deep); margin-bottom: 12px; }

/* ---------- Warten ---------- */
.wc-warten { padding-block: clamp(32px, 5vw, 72px) clamp(64px, 8vw, 112px); }
.wc-warte-karte { max-width: 760px; border: 1.5px solid var(--ink); background: var(--paper); padding: clamp(24px, 3.4vw, 44px); }
.wc-warte-karte h2 { margin-bottom: 22px; overflow-wrap: anywhere; }
.wc-warte-karte h2 span { color: var(--accent); }
.wc-schritte { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line); }
.wc-schritte li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); transition: color .3s; }
.wc-schritte li::before { content: ""; width: 18px; height: 18px; flex: none; border: 2px solid var(--line-2); border-radius: 50%; background: #fff center / 11px no-repeat; }
.wc-schritte li.aktiv { color: var(--ink); font-weight: 600; }
.wc-schritte li.aktiv::before { border-color: var(--accent); border-top-color: transparent; animation: wcDreh 1s linear infinite; }
.wc-schritte li.fertig { color: var(--ink); }
.wc-schritte li.fertig::before { border-color: var(--accent); background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.8' fill='none' stroke='%23fff' stroke-width='2.6'/%3E%3C/svg%3E"); }
@keyframes wcDreh { to { transform: rotate(360deg); } }

/* ---------- Bericht ---------- */
.wc-ergebnis { padding-block: clamp(28px, 4vw, 64px) clamp(64px, 8vw, 112px); }
.wc-kopf { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: center; border: 1.5px solid var(--ink); background: var(--paper); padding: clamp(22px, 3.4vw, 48px); }
.wc-ring { position: relative; width: 176px; height: 176px; --farbe: var(--ink-2); }
.wc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); fill: none; }
.wc-ring-grund { stroke: var(--stone); stroke-width: 10; }
.wc-ring-wert { stroke: var(--farbe); stroke-width: 10; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.1s var(--ease); }
.wc-ring-zahl { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wc-ring-zahl strong { font-family: var(--f-display); font-weight: 800; font-size: 3.4rem; letter-spacing: -0.045em; line-height: 1; }
.wc-ring-zahl span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.wc-ring.gruen { --farbe: var(--wc-gruen); } .wc-ring.gelb { --farbe: var(--wc-gelb); } .wc-ring.rot { --farbe: var(--wc-rot); }
.wc-ampel { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; padding: 6px 11px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; line-height: 1.3; }
.wc-ampel::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.wc-ampel.gruen { background: var(--wc-gruen-weich); color: var(--wc-gruen-text); }
.wc-ampel.gelb { background: var(--wc-gelb-weich); color: var(--wc-gelb-text); }
.wc-ampel.rot { background: var(--wc-rot-weich); color: var(--wc-rot-text); }
.wc-kopf h2 { overflow-wrap: anywhere; margin-bottom: 14px; }
.wc-kopf h2:focus { outline: none; }
.wc-kopf .lead { margin: 0; }
.wc-kopf .note-box { margin: 16px 0 0; }
.wc-zaehler { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .95rem; }
.wc-zaehler li { display: inline-flex; align-items: center; gap: 9px; }
.wc-zaehler i { width: 10px; height: 10px; flex: none; }
@media (max-width: 700px) {
  .wc-kopf { grid-template-columns: 1fr; }
  .wc-ring { width: 148px; height: 148px; }
  .wc-ring-zahl strong { font-size: 2.9rem; }
}
.wc-hinweise { margin: 20px 0 0; }
.wc-hinweise p { margin: 0; }
.wc-hinweise p + p { margin-top: 6px; }

.wc-liste { margin-top: clamp(40px, 5vw, 72px); }
.wc-liste > h3, .wc-liste > summary h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.wc-liste > h3 { margin-bottom: 18px; }
.wc-liste h3 small { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
details.wc-liste > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--ink); }
details.wc-liste > summary::-webkit-details-marker { display: none; }
details.wc-liste > summary:hover h3 { color: var(--accent-deep); }
.wc-pm { width: 22px; height: 22px; flex: none; position: relative; }
.wc-pm::before, .wc-pm::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.wc-pm::after { transform: rotate(90deg); }
details.wc-liste[open] .wc-pm::after { transform: rotate(0); }
details.wc-liste .wc-punkte { border-top-color: var(--line); }

.wc-punkte { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.wc-punkt { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.wc-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; grid-row: 1 / span 3; background: var(--stone); color: var(--ink-2); }
.wc-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wc-punkt.gut .wc-icon { background: var(--wc-gruen-weich); color: var(--wc-gruen); }
.wc-punkt.mittel .wc-icon { background: var(--wc-gelb-weich); color: var(--wc-gelb-text); }
.wc-punkt.schlecht .wc-icon { background: var(--wc-rot-weich); color: var(--wc-rot); }
.wc-punkt-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-bottom: 6px; }
.wc-punkt h4 { font-size: 1.14rem; letter-spacing: -0.012em; line-height: 1.25; }
.wc-punkt-gruppe { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.wc-befund { margin: 0 0 6px; overflow-wrap: anywhere; }
.wc-erkl { margin: 0; font-size: .93rem; color: var(--ink-2); }
.wc-erkl b { color: var(--ink); font-weight: 650; }

.wc-meta { margin: 28px 0 0; overflow-wrap: anywhere; }
.wc-aktionen { margin-top: 24px; }
.wc-aktionen .btn svg { width: 18px; height: 18px; }
@media (max-width: 600px) { .wc-aktionen .btn { flex: 1 1 100%; } }
.wc-angebot .btn-row { margin-bottom: 30px; }

/* ---------- Was wir prüfen ---------- */
.wc-info { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.wc-info > .wc-tabelle-box { grid-column: 1 / span 7; }
.wc-info > .wc-regeln { grid-column: 9 / -1; }
@media (max-width: 960px) { .wc-info > .wc-tabelle-box, .wc-info > .wc-regeln { grid-column: 1 / -1; } }
.wc-tabelle { width: 100%; border-collapse: collapse; font-size: .96rem; border-top: 1px solid var(--ink); }
.wc-tabelle th, .wc-tabelle td { padding: 10px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.wc-tabelle td:last-child, .wc-tabelle th:last-child { text-align: right; font-family: var(--f-mono); font-size: .86rem; white-space: nowrap; padding-left: 16px; }
.wc-tabelle thead th { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
.wc-tabelle tr.gruppe th { font-family: var(--f-display); font-weight: 720; font-size: 1.06rem; letter-spacing: -0.01em; padding-top: 22px; color: var(--ink); text-align: left; }
.wc-tabelle tbody tr:not(.gruppe) td:first-child { padding-left: 18px; color: var(--ink-2); }
.wc-tabelle tfoot td { font-weight: 700; border-bottom: 0; border-top: 1.5px solid var(--ink); padding-top: 14px; }
.wc-tabelle tfoot td:last-child { font-family: var(--f-display); font-size: 1.15rem; }
.wc-regeln { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.wc-regeln li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); font-size: .97rem; }
.wc-regeln li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 8px; height: 8px; background: var(--accent); }
.wc-regeln strong { color: var(--ink); }
.wc-regeln a { color: var(--accent-deep); }

@media (prefers-reduced-motion: reduce) { .wc-ring-wert { transition: none; } }

@media print {
  .site-footer, .wc-start, .wc-beispiele, .wc-warten, .wc-pruefinfo, .wc-aktionen, .wc-angebot .btn-row, .skip { display: none !important; }
  body { background: #fff; }
  .wc-kopf, .wc-punkt { break-inside: avoid; }
  .wc-angebot { background: #fff; color: var(--ink); }
  .wc-angebot p, .wc-angebot .lead, .wc-angebot .mono { color: var(--ink); }
}
