/* Website-Check (Layout nach seitebereit-check-redesign, 05.10.2026).
   Eigenes Präfix wc-, damit nichts mit style.css kollidiert. Farben aus der Marke:
   --gruen = Espresso, --gold = Kupfer (alte Rollennamen in style.css). Ampelfarben nur hier. */
.wc {
  --wc-flaeche-2: #EFEAE3;
  --wc-rot: #A8402B; --wc-rot-fl: #FBEAE4;
  --wc-gelb: #8A6110; --wc-gelb-fl: #FAF0D9; --wc-gelb-balken: #D4A23A;
  --wc-ok: #2E7A4C; --wc-ok-fl: #E6F2E9;
  --wc-r-gross: 18px; --wc-r: 12px; --wc-r-klein: 8px;
  --wc-schatten: 0 1px 2px rgba(58, 40, 30, .05), 0 10px 30px -14px rgba(58, 40, 30, .22);
}
:where(.wc) :where(h1, h2, h3, p) { margin: 0; }

/* Knöpfe in der Angebotskarte (Kupfer auf Espresso) */
.wc-knopf-kupfer { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 18px; border-radius: var(--wc-r-klein);
  background: var(--gold); color: #FFFFFF; font-weight: 700; font-size: 16px; text-decoration: none; transition: background-color .2s ease; }
.wc-knopf-kupfer:hover { background: var(--bronze); color: #FFFFFF; }

/* Einstieg */
.wc-einstieg { padding: 72px 0 80px; }
.wc-einstieg .huelle { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.wc-vorzeile { font-size: 15px; font-weight: 600; color: var(--bronze); }
.wc-einstieg h1 { margin-top: 14px; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -.035em; }
.wc-einstieg h1 i { font-style: normal; color: var(--gold); }
.wc-lead { margin-top: 20px; max-width: 30em; font-size: 18px; color: #3E3530; }
.wc-pruefen { margin-top: 30px; display: flex; gap: 8px; padding: 7px; background: #FFFFFF; border: 1px solid var(--linie); border-radius: 14px; box-shadow: var(--wc-schatten); max-width: 520px; }
.wc-pruefen input { flex: 1; min-width: 0; border: 0; padding: 0 12px; font: inherit; font-size: 17px; background: transparent; color: var(--text); }
.wc-pruefen input:focus { outline: none; }
.wc-pruefen:focus-within { border-color: var(--kupfer-hell); box-shadow: var(--wc-schatten), 0 0 0 3px rgba(224, 145, 90, .25); }
.wc-pruefen .knopf { min-height: 50px; padding: 0 22px; font-size: 16px; }
.wc-hinweis { margin-top: 12px; font-size: 14px; color: var(--leise); }
.wc-fehler { margin-top: 12px; font-size: 15px; color: var(--wc-rot); font-weight: 600; }
.wc-fehler:empty { display: none; }

.wc-themen { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wc-thema { position: relative; padding: 22px 20px 20px; background: #FFFFFF; border: 1px solid var(--linie); border-radius: var(--wc-r-gross); }
.wc-thema svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--flaeche); stroke: var(--bronze); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wc-thema h3 { margin-top: 14px; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
.wc-thema p { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--leise); }
.wc-thema-zahl { position: absolute; top: 22px; right: 20px; font-size: 13px; color: var(--leise); }

/* Ergebnis */
.wc-ergebnis { background: var(--flaeche); border-block: 1px solid var(--linie); padding: 56px 0 72px; }
.wc-ergebnis[hidden] { display: none; }
.wc-erg-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; font-size: 15px; color: var(--leise); }
.wc-erg-kopf strong { color: var(--text); overflow-wrap: anywhere; }
.wc-erg-kopf button { background: none; border: 0; padding: 0; font: inherit; color: var(--bronze); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.wc-bilanz { display: grid; grid-template-columns: auto minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 32px 36px; background: #FFFFFF; border: 1px solid var(--linie); border-radius: 22px; box-shadow: var(--wc-schatten); }
.wc-bilanz.ohne-streifen { grid-template-columns: auto minmax(0, 1fr); }
.wc-ring { position: relative; width: 148px; height: 148px; }
.wc-ring svg { width: 100%; height: 100%; rotate: -90deg; }
.wc-ring circle { fill: none; stroke-width: 11; }
.wc-ring .bahn { stroke: var(--wc-flaeche-2); }
.wc-ring .wert { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.3, .7, .2, 1); }
.wc-ring.gut .wert { stroke: var(--wc-ok); }
.wc-ring.mittel .wert { stroke: var(--wc-gelb-balken); }
.wc-ring.schlecht .wert { stroke: var(--wc-rot); }
.wc-ring-innen { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.wc-ring-innen strong { font-size: 46px; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.wc-ring-innen span { font-size: 13px; color: var(--leise); }
.wc-urteil { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 20px; background: var(--wc-gelb-fl); color: var(--wc-gelb); font-size: 14px; font-weight: 700; }
.wc-urteil.gut { background: var(--wc-ok-fl); color: var(--wc-ok); }
.wc-urteil.schlecht { background: var(--wc-rot-fl); color: var(--wc-rot); }
.wc-bilanz h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; letter-spacing: -.03em; }
.wc-bilanz h2:focus { outline: none; }
.wc-sub { margin-top: 10px; color: var(--leise); font-size: 16px; }
.wc-streifen { display: grid; gap: 14px; }
.wc-streifen-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; font-size: 15px; }
.wc-streifen-zeile .name { font-weight: 600; }
.wc-streifen-zeile .anz { font-size: 13px; color: var(--leise); }
.wc-segmente { grid-column: 1 / -1; display: flex; gap: 4px; }
.wc-segmente i { flex: 1; height: 8px; border-radius: 4px; background: var(--wc-ok); opacity: .85; }
.wc-segmente i.b { background: var(--wc-rot); }
.wc-segmente i.t { background: var(--wc-gelb-balken); }
.wc-segmente i.u { background: var(--wc-flaeche-2); }

.wc-zwei { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.wc-zwei h2 { font-size: 24px; letter-spacing: -.02em; }
.wc-h-sub { margin-top: 4px; font-size: 15px; color: var(--leise); }
.wc-baustellen { margin-top: 18px; display: grid; gap: 12px; }
.wc-bs { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 20px 22px; background: #FFFFFF; border: 1px solid var(--linie); border-radius: var(--wc-r-gross); }
.wc-bs .ico { grid-row: span 4; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--wc-rot-fl); color: var(--wc-rot); font-weight: 800; }
.wc-bs.t .ico { background: var(--wc-gelb-fl); color: var(--wc-gelb); }
.wc-bs-titel { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wc-bs h3 { font-size: 18px; letter-spacing: -.01em; }
.wc-marke { padding: 2px 9px; border-radius: 20px; font-size: 12.5px; font-weight: 700; background: var(--wc-rot-fl); color: var(--wc-rot); }
.wc-bs.t .wc-marke { background: var(--wc-gelb-fl); color: var(--wc-gelb); }
.wc-messwert { margin-left: auto; font-size: 15px; font-weight: 700; color: var(--wc-rot); font-variant-numeric: tabular-nums; }
.wc-bs.t .wc-messwert { color: var(--wc-gelb); }
.wc-bs p { font-size: 15.5px; color: #3E3530; }
.wc-bs .wir { margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--linie); font-size: 14.5px; color: var(--leise); }
.wc-bs .wir b { color: var(--gruen); font-weight: 600; }
.wc-bs .wc-ratgeber { margin-top: 6px; font-size: 14.5px; }
.wc-bs .wc-ratgeber a { color: var(--gruen); font-weight: 600; }

.wc-angebot { position: sticky; top: 92px; padding: 28px; border-radius: 22px; background: var(--gruen-dunkel); color: #F4ECE4; box-shadow: 0 20px 40px -20px rgba(58, 40, 30, .6); }
.wc-angebot h2 { color: #FFFFFF; font-size: 24px; line-height: 1.15; }
.wc-angebot .wc-h-sub { color: #CDBDAE; }
.wc-erledigt { list-style: none; margin: 20px 0 22px; padding: 0; display: grid; gap: 10px; }
.wc-erledigt li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.wc-erledigt svg { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 4px; border-radius: 50%; background: rgba(224, 145, 90, .18); stroke: var(--kupfer-hell); fill: none; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.wc-preis { display: flex; align-items: baseline; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.wc-preis strong { font-size: 32px; color: #FFFFFF; letter-spacing: -.03em; }
.wc-preis span { font-size: 14px; color: #CDBDAE; }
.wc-angebot .wc-knopf-kupfer { width: 100%; margin-top: 16px; }
.wc-angebot .wc-klein { margin-top: 12px; font-size: 13.5px; color: #BFAE9E; text-align: center; }
.wc-angebot :focus-visible { outline-color: var(--kupfer-hell); }

.wc-inordnung { margin-top: 44px; }
.wc-inordnung-kopf { display: flex; align-items: baseline; gap: 12px; }
.wc-inordnung-kopf h2 { font-size: 20px; letter-spacing: -.02em; }
.wc-inordnung-kopf span { font-size: 15px; color: var(--leise); }
.wc-ok-raster { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.wc-ok { background: #FFFFFF; border: 1px solid var(--linie); border-radius: var(--wc-r); }
.wc-ok summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 13px 14px; cursor: pointer; font-size: 15px; font-weight: 600; border-radius: var(--wc-r); }
.wc-ok summary::-webkit-details-marker { display: none; }
.wc-ok summary svg.h { flex: none; width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: var(--wc-ok-fl); stroke: var(--wc-ok); fill: none; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.wc-ok.unbekannt summary svg.h { background: var(--wc-flaeche-2); stroke: var(--leise); }
.wc-ok summary svg.p { margin-left: auto; flex: none; width: 14px; height: 14px; stroke: var(--leise); fill: none; stroke-width: 2.4; transition: rotate .2s; }
.wc-ok[open] summary svg.p { rotate: 45deg; }
.wc-ok p { padding: 0 14px 14px 46px; font-size: 14.5px; color: var(--leise); overflow-wrap: anywhere; }

/* Laden */
.wc-laden { display: grid; place-items: center; padding: 40px 0 20px; }
.wc-laden-karte { width: min(520px, 100%); padding: 30px; background: #FFFFFF; border: 1px solid var(--linie); border-radius: 22px; box-shadow: var(--wc-schatten); }
.wc-laden-karte h2 { font-size: 22px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.wc-laden-karte p { margin-top: 4px; font-size: 15px; color: var(--leise); }
.wc-schritte { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.wc-schritte li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--leise); }
.wc-schritte li .s { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--linie); }
.wc-schritte li.aktiv { color: var(--text); font-weight: 600; }
.wc-schritte li.aktiv .s { border-color: var(--gold); border-right-color: transparent; animation: wc-dreh .8s linear infinite; }
.wc-schritte li.fertig { color: var(--text); }
.wc-schritte li.fertig .s { border: 0; background: var(--wc-ok-fl) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7A4C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
@keyframes wc-dreh { to { rotate: 360deg; } }

/* Gut zu wissen */
.wc-wissen { padding: 80px 0; }
.wc-wissen .huelle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; }
.wc-wissen h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -.03em; }
.wc-wissen-seite p { margin-top: 14px; color: var(--leise); max-width: 24em; }
.wc-wissen-seite a { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--bronze); }
.wc-faq details { border-bottom: 1px solid var(--linie); }
.wc-faq details:first-child { border-top: 1px solid var(--linie); }
.wc-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.wc-faq summary::-webkit-details-marker { display: none; }
.wc-faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--gold); transition: rotate .2s; }
.wc-faq details[open] summary::after { rotate: 45deg; }
.wc-faq p { padding: 0 40px 22px 0; color: #3E3530; }

@media (max-width: 960px) {
  .wc-einstieg .huelle { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .wc-bilanz, .wc-bilanz.ohne-streifen { grid-template-columns: auto minmax(0, 1fr); gap: 24px 28px; padding: 26px; }
  .wc-streifen { grid-column: 1 / -1; }
  .wc-zwei { grid-template-columns: minmax(0, 1fr); }
  .wc-angebot { position: static; }
  .wc-ok-raster { grid-template-columns: 1fr 1fr; }
  .wc-wissen .huelle { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
  .wc-einstieg { padding: 44px 0 56px; }
  .wc-pruefen { flex-direction: column; padding: 8px; }
  .wc-pruefen input { min-height: 48px; }
  .wc-themen { gap: 10px; }
  .wc-thema { padding: 16px 14px; }
  .wc-thema-zahl { display: none; }
  .wc-thema p { font-size: 13.5px; }
  .wc-bilanz, .wc-bilanz.ohne-streifen { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .wc-ring { width: 120px; height: 120px; }
  .wc-ok-raster { grid-template-columns: minmax(0, 1fr); }
  .wc-bs { padding: 16px; gap: 4px 12px; }
  .wc-messwert { margin-left: 0; }
  .wc-faq summary { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .wc *, .wc *::before, .wc *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
.wc-thema-zahl-inline { font-weight: 400; color: var(--leise); font-size: 13.5px; }
