/* DSGVO-Check – Ergänzung zu consent-check.css. Formular, Fortschritt, Urteil,
   Kennzahlen, Karten und Tabellen kommen von dort; hier steht nur, was der
   DSGVO-Check zusätzlich braucht. */

/* Eingabefeld: bewusst type=text, damit „beispiel.de" ohne https:// durchgeht. */
.cc-eingabereihe #cc-url {
  flex: 1 1 320px; min-width: 0; font: inherit; font-size: 17px; color: #4e4037;
  padding: 14px 16px; border: 1px solid #ded7d1; border-radius: 12px; background: #fdfcfb;
}
.cc-eingabereihe #cc-url:focus { outline: 2px solid #0098da; outline-offset: 1px; border-color: #0098da; }

.dc-vorspann { margin: -4px 0 18px; font-size: 16px; line-height: 1.6; max-width: 68ch; }
.dc-nachsatz { margin-top: 12px; }

/* ---------- Punkt-Karten ---------- */

.dc-nr { font-size: 12.5px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #7d7069; margin: 0 0 4px !important; }
.dc-punkt[data-status=handlungsbedarf] { box-shadow: 0 8px 24px rgba(78, 64, 55, .07), inset 4px 0 0 var(--cc-rot); }
.dc-punkt[data-status=pruefen] { box-shadow: 0 8px 24px rgba(78, 64, 55, .07), inset 4px 0 0 #d9a646; }
.dc-punkt[data-status=ok] { box-shadow: 0 8px 24px rgba(78, 64, 55, .07), inset 4px 0 0 #7fb99a; }

.dc-zeilen { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid #f2eeeb; }
.dc-zeile { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid #f2eeeb; }
.dc-zeile:last-child { border-bottom: 0; padding-bottom: 2px; }
.dc-zeile::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 9px; height: 9px; border-radius: 50%; }
.dc-rot::before { background: var(--cc-rot); }
.dc-gelb::before { background: #d9a646; }
.dc-gruen::before { background: #7fb99a; }
.dc-grau::before { background: #fff; border: 1.5px solid #b9aea6; width: 8px; height: 8px; }
.cc-dienst .dc-zeilentext { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 400; overflow-wrap: anywhere; }
.cc-dienst .dc-zusatz { margin: 3px 0 0; font-size: 14.5px; line-height: 1.55; color: #7d7069; }
.dc-liste { margin: 6px 0 0; padding-left: 18px; font-size: 14.5px; line-height: 1.55; color: #5f524a; }
.dc-liste li { overflow-wrap: anywhere; }

.dc-empfehlung { margin-top: 14px; }
.dc-empfehlung b { display: block; margin-bottom: 4px; }
.cc-dienst .dc-empfehlung p { margin: 0; font-size: 15.5px; }
.dc-empfehlung ul { margin: 0; padding-left: 18px; font-size: 15.5px; line-height: 1.55; }
.dc-empfehlung li { margin-bottom: 5px; }
.dc-empfehlung li:last-child { margin-bottom: 0; }

/* ---------- Selbstauskunft ---------- */

/* Verweis auf die ausführliche Erklärseite. Öffnet in neuem Fenster, damit
   der Befund nicht verloren geht. */
.cc-dienst .dc-mehrzeile { margin: 2px 0 0; }
.dc-mehr { display: inline-block; font-size: 15px; font-weight: 700; color: #0098da;
  border-bottom: 1px solid #bfe0f2; padding-bottom: 1px; }
.dc-mehr:hover { border-bottom-color: #0098da; }
.karte .dc-mehr { margin-top: 12px; font-size: .95rem; }


.dc-wahlreihe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.dc-wahl { position: relative; cursor: pointer; }
.dc-wahl input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.dc-wahl span { display: inline-block; padding: 9px 20px; border: 1px solid #ded7d1; border-radius: 99px;
  font-size: 15.5px; font-weight: 400; background: #fdfcfb; transition: background .15s, border-color .15s, color .15s; }
.dc-wahl:hover span { border-color: #0098da; }
.dc-wahl input:checked + span { background: #0098da; border-color: #0098da; color: #fff; font-weight: 700; }
.dc-wahl input:focus-visible + span { outline: 2px solid #0098da; outline-offset: 2px; }

.dc-vorher { color: var(--cc-rot); font-weight: 700; }
.dc-druckkopf { display: none; }

.cc-abschluss .cc-neu { margin-right: 8px; }

@media (max-width: 640px) {
  .dc-wahl span { padding: 9px 16px; }
}

/* ---------- Druck: nur der Befund ---------- */

@media print {
  .nav, footer, .seitenkopf, section:not(#cc-start), .cc-form, .cc-lauf, .dc-nur-schirm { display: none !important; }
  body { background: #fff; }
  #cc-start { padding: 0; }
  .dc-druckkopf { display: block; font-size: 13px; color: #7d7069; margin-bottom: 14px; }
  .cc-dienst, .cc-zahl, .cc-grundlage, .cc-tabelle { box-shadow: none !important; border: 1px solid #ded7d1; }
  .cc-dienst, .cc-urteil, .cc-zahl { break-inside: avoid; }
  .cc-abschluss { background: none; padding: 0; }
  .dc-mehrzeile { display: none; }
  .dc-wahl span { padding: 4px 12px; }
  [data-empfehlung][hidden] { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Lange Wörter in den Übersichtskarten (Verarbeitungsverzeichnis) trennen. */
.karte h3 { hyphens: auto; overflow-wrap: anywhere; }
