/* =========================================================
   DATENHERZ – Ergänzungen (Foto „Klären, bevor es teuer wird“ + Quick-Check)
   ========================================================= */

/* Foto im Banner „Klären, bevor es teuer wird.“ */
.foto.foto--klaeren { background-image: url("../img/foto-klaeren.jpg") !important; background-size: cover !important; background-position: center 20% !important; background-repeat: no-repeat !important; }

/* ---------- DSGVO Quick-Check ---------- */
.dhq { font-family: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif; --dhq-brand: #0097b2; --dhq-brand-dark: #007a91; --dhq-green: #1f9d55; --dhq-yellow: #e8b100; --dhq-red: #d64541; --dhq-line: #d9e6e9; --dhq-muted: #5b6669;
  background: #fff; color: #111314; border-radius: 26px; padding: clamp(22px, 4vw, 48px); max-width: 860px; margin: 0 auto; position: relative; overflow: hidden; font-size: 16px; line-height: 1.55; }
.dhq h2, .dhq h3 { color: #111314; margin: 0; line-height: 1.2; }
.dhq h2 { font-size: clamp(24px, 3vw, 32px); }
.dhq h3 { font-size: 19px; margin-bottom: 10px; }
.dhq p { margin: 0 0 .8em; }
.dhq a { color: var(--dhq-brand-dark); }
.dhq [hidden] { display: none !important; }
.dhq-eyebrow { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--dhq-brand); margin-bottom: 10px; }
.dhq-muted { color: var(--dhq-muted); }
.dhq-scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.dhq-scale div { border: 1px solid var(--dhq-line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; }
.dhq-scale b { font-size: 17px; } .dhq-scale span { font-size: 14px; color: var(--dhq-muted); } .dhq-scale em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--dhq-brand-dark); }
.dhq-part { display: block; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dhq-muted); margin: 20px 0 10px; }
.dhq-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px; border: 1px solid var(--dhq-line); border-radius: 16px; background: #fbfdfd; }
.dhq-full { grid-column: 1 / -1; }
.dhq-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.dhq-field label, .dhq-field legend { font-weight: 800; font-size: 14px; color: #111314; }
.dhq-field input, .dhq-field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #cfdcdf; border-radius: 10px; background: #fff; color: #111314; width: 100%; }
.dhq-field input:focus, .dhq-field textarea:focus { outline: none; border-color: var(--dhq-brand); box-shadow: 0 0 0 3px rgba(0,151,178,.18); }
.dhq-field [aria-invalid="true"] { border-color: var(--dhq-red); }
.dhq-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 6px; }
.dhq-seg input { position: absolute; opacity: 0; pointer-events: none; }
.dhq-seg label { display: block; text-align: center; padding: 10px 6px; border: 1.5px solid #cfdcdf; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 14px; background: #fff; }
.dhq-seg input:checked + label { border-color: var(--dhq-brand); background: #e8f6f9; color: var(--dhq-brand-dark); }
.dhq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 800; font-size: 16px; padding: 13px 26px; border-radius: 999px; border: 2px solid var(--dhq-brand); background: var(--dhq-brand); color: #fff; cursor: pointer; text-decoration: none; }
.dhq-btn:hover { background: var(--dhq-brand-dark); border-color: var(--dhq-brand-dark); color: #fff; }
.dhq-btn--rand { background: transparent; color: #111314; border-color: #111314; }
.dhq-btn--rand:hover { background: #111314; color: #fff; border-color: #111314; }
.dhq-btn--link { background: none; border: 0; color: var(--dhq-muted); padding: 8px 0; }
.dhq-btn--link:hover { background: none; color: #111; }
.dhq-btn[disabled] { opacity: .5; cursor: default; }
.dhq-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.dhq-meta { display: flex; justify-content: space-between; font-weight: 800; font-size: 14px; color: var(--dhq-muted); margin-bottom: 10px; }
.dhq-bars { display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; }
.dhq-bars i { height: 6px; border-radius: 3px; background: #e4eaeb; }
.dhq-bars i.done { background: var(--dhq-brand); } .dhq-bars i.now { background: #111314; }
.dhq-qcard { margin: 26px 0 18px; }
.dhq-num { font-weight: 900; color: var(--dhq-brand); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.dhq-examples { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.dhq-examples span { font-size: 13px; padding: 4px 10px; border: 1px solid var(--dhq-line); border-radius: 999px; color: var(--dhq-muted); }
.dhq-examples span.lbl { border: 0; padding-left: 0; }
.dhq-answers { display: grid; gap: 10px; }
.dhq-answer { font: inherit; text-align: left; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--dhq-line); border-radius: 14px; background: #fff; color: #111314; cursor: pointer; }
.dhq-answer:hover, .dhq-answer.selected { border-color: var(--dhq-brand); } .dhq-answer.selected { background: #e8f6f9; }
.dhq-answer .dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; }
.dhq-answer[data-v="2"] .dot { background: var(--dhq-green); } .dhq-answer[data-v="1"] .dot { background: var(--dhq-yellow); color: #111; } .dhq-answer[data-v="0"] .dot { background: var(--dhq-red); }
.dhq-answer b { font-size: 18px; display: block; } .dhq-answer small { color: var(--dhq-muted); font-size: 14px; } .dhq-answer .pts { font-size: 13px; font-weight: 800; color: var(--dhq-muted); }
.dhq-hint { font-size: 13px; color: var(--dhq-muted); margin-top: 10px; }
/* Ergebnis-Kachel in Rot, Gelb oder Grün */
.dhq-tile { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; border-radius: 20px; padding: 24px; margin: 14px 0 18px; color: #fff; }
.dhq-tile.g { background: var(--dhq-green); } .dhq-tile.y { background: var(--dhq-yellow); color: #111; } .dhq-tile.r { background: var(--dhq-red); }
.dhq-tile h2 { color: inherit; }
.dhq-light { width: 88px; padding: 12px; border-radius: 44px; background: #111314; display: flex; flex-direction: column; gap: 10px; }
.dhq-light i { width: 64px; height: 64px; border-radius: 50%; background: #2a2e30; display: block; }
.dhq-light i.on.r { background: var(--dhq-red); box-shadow: 0 0 24px var(--dhq-red); }
.dhq-light i.on.y { background: var(--dhq-yellow); box-shadow: 0 0 24px var(--dhq-yellow); }
.dhq-light i.on.g { background: var(--dhq-green); box-shadow: 0 0 24px var(--dhq-green); }
.dhq-score { font-weight: 900; font-size: clamp(46px, 9vw, 70px); line-height: 1; }
.dhq-score small { font-size: .4em; font-weight: 700; opacity: .85; }
.dhq-status { display: inline-block; font-weight: 900; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.25); margin: 10px 0; }
.dhq-tile.y .dhq-status { background: rgba(255,255,255,.55); }
.dhq-panel { border: 1px solid var(--dhq-line); border-radius: 16px; padding: 22px; margin-top: 16px; background: #fff; }
.dhq-panel.reco { border-color: var(--dhq-brand); background: #e8f6f9; }
.dhq-panel ul { margin: 0; padding-left: 1.2em; }
.dhq-bands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 13px; margin-top: 16px; }
.dhq-bands div { padding: 10px; border-radius: 10px; border: 1px solid var(--dhq-line); display: flex; flex-direction: column; }
.dhq-bands div.active { border: 2px solid #111314; }
.dhq-bands .g b { color: var(--dhq-green); } .dhq-bands .y b { color: #a77f00; } .dhq-bands .r b { color: var(--dhq-red); }
.dhq-list .row { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid #e4eaeb; }
.dhq-list .row:first-child { border-top: 0; }
.dhq-list .row i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.dhq-list .row i.v2 { background: var(--dhq-green); } .dhq-list .row i.v1 { background: var(--dhq-yellow); } .dhq-list .row i.v0 { background: var(--dhq-red); }
.dhq-list .row em { font-style: normal; font-weight: 800; font-size: 14px; color: var(--dhq-muted); white-space: nowrap; }
.dhq-metaline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--dhq-muted); } .dhq-metaline b { color: #111; }
.dhq-send { margin-top: 18px; border: 2px solid var(--dhq-brand); border-radius: 16px; padding: 22px; background: #e8f6f9; }
.dhq-send .dhq-form { background: transparent; border: 0; padding: 0; margin-top: 14px; }
.dhq-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.5; }
.dhq-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--dhq-brand); }
.dhq-check.missing { background: #fdecec; border: 2px solid var(--dhq-red); border-radius: 12px; padding: 10px 12px; }
.dhq-check.missing span { color: #8e1f1c; }
.dhq-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.dhq-alert { border-radius: 14px; padding: 14px 16px; font-size: 15px; margin-top: 12px; }
.dhq-alert.ok { background: #e7f6ee; color: #145c34; border: 1px solid #a9dcbf; }
.dhq-alert.err { background: #fdecec; color: #8e1f1c; border: 1px solid #f3b9b7; }
.dhq-alert.err a { color: #8e1f1c; font-weight: 800; }
.dhq-alert.info { background: #e8f6f9; color: #0b4f5c; border: 1px solid #b3e0ea; }
.dhq-disclaimer { font-size: 13px; color: var(--dhq-muted); margin-top: 22px; border-top: 1px solid #e4eaeb; padding-top: 14px; }
@media (max-width: 600px) {
  .dhq-form, .dhq-scale, .dhq-bands { grid-template-columns: 1fr; }
  .dhq-seg { grid-template-columns: repeat(2, 1fr); }
  .dhq-tile { grid-template-columns: 1fr; }
  .dhq-light { flex-direction: row; width: auto; } .dhq-light i { width: 46px; height: 46px; }
  .dhq-answer { grid-template-columns: 36px 1fr; } .dhq-answer .pts { display: none; }
}
@media print { .dhq #dhq-result { display: none !important; } }

/* WhatsApp Business nur als Info, ohne Link */
a.nolink, a.nolink:hover { cursor: default; }
a.nolink.btn:hover, a.nolink.info:hover { transform: none; }

/* KI-Tools: die beiden Kacheln mittig ausrichten */
.grid.grid--mitte { display: grid !important; grid-template-columns: repeat(2, minmax(0, 380px)) !important; justify-content: center !important; }
@media (max-width: 820px) { .grid.grid--mitte { grid-template-columns: minmax(0, 1fr) !important; } }

/* Kontakt: Ablauf Erstgespräch statt Kontaktkasten */
.ablauf3{margin-top:2rem;font-family:"Nunito",sans-serif}
.ablauf3__label{display:inline-block;font-weight:800;font-size:.85rem;letter-spacing:.06em;text-transform:uppercase;color:#0097b2;margin-bottom:.9rem}
.ablauf3__liste{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.ablauf3__liste li{background:#f4ede3;color:#000;border-radius:14px;padding:1.2rem 1.2rem 1.1rem;border-top:4px solid #0097b2;text-align:left}
.ablauf3__liste b{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;background:#0097b2;color:#fff;font-weight:800;margin-bottom:.6rem}
.ablauf3__liste h3{margin:0 0 .35rem;font-size:1.05rem;color:#000}
.ablauf3__liste p{margin:0;font-size:.95rem;line-height:1.5;color:#1a1a1a}
@media (max-width:760px){.ablauf3__liste{grid-template-columns:1fr}}

/* Kontaktformular: fehlendes Häkchen markieren */
.check.dhq-missing{outline:2px solid #d93025;outline-offset:6px;border-radius:8px}
.dhq-field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }

/* Sprungziel Kontaktformular nicht unter dem Kopfbereich verstecken */
#formular{scroll-margin-top:90px}

/* Sicherheitsnetz: Schloss-Symbol im Formular nie riesig */
.sicher-hinweis{display:flex;gap:10px;align-items:flex-start}
.sicher-hinweis svg{width:22px;height:22px;flex:0 0 22px}

/* Bestätigung beim Versand ohne JavaScript */
.dh-ziel{display:none}
.dh-ziel:target{display:block}

/* Bestätigung nach dem Versand */
.dh-danke{background:#e7f6ee;border:2px solid #1e8e4f;border-radius:18px;padding:32px 28px;text-align:center;color:#145c34;font-family:"Nunito",sans-serif;outline:none}
.dh-danke[hidden],form[hidden]{display:none!important}
.dh-danke__haken{width:64px;height:64px;margin:0 auto 14px;border-radius:50%;background:#1e8e4f;color:#fff;display:flex;align-items:center;justify-content:center;animation:dhPop .45s ease-out}
.dh-danke__haken svg{width:34px;height:34px}
.dh-danke h3{margin:0 0 8px;font-size:1.35rem;color:#145c34}
.dh-danke p{margin:0 auto 18px;max-width:520px;line-height:1.55;color:#1d4b31}
.dh-danke__neu{font:inherit;font-weight:800;cursor:pointer;background:#fff;color:#145c34;border:2px solid #1e8e4f;border-radius:999px;padding:10px 20px}
.dh-danke__neu:hover{background:#1e8e4f;color:#fff}
@keyframes dhPop{0%{transform:scale(.4);opacity:0}80%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
.dhq-sent .dhq-btn[type=submit]{background:#1e8e4f!important;border-color:#1e8e4f!important;color:#fff!important}
.dhq-alert.ok{font-size:16px;border-width:2px;border-color:#1e8e4f}

/* Kontaktformular mit Foto daneben */
.dh-formgrid{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:32px;align-items:stretch}
.dh-formgrid>.form-karte{min-width:0;margin:0}
.dh-formfoto{position:relative;min-height:420px;border-radius:20px;overflow:hidden;background:#000 url("../img/foto-klaeren.jpg") center 20%/cover no-repeat;box-shadow:0 18px 40px rgba(0,0,0,.18);-webkit-user-select:none;user-select:none}
.dh-formfoto .foto__schutz{position:absolute;inset:0}
.dh-formfoto::after{content:"";position:absolute;left:0;right:0;bottom:0;height:6px;background:linear-gradient(90deg,#0097b2 0 60%,#f4ede3 60% 100%)}
@media (max-width:860px){.dh-formgrid{grid-template-columns:1fr}.dh-formfoto{min-height:360px;max-width:420px;width:100%;margin:0 auto}}
/* Foto rechts neben dem Formular */
.dh-formgrid{grid-template-columns:minmax(0,1fr) minmax(0,340px)}
.dh-formfoto{order:2}
@media (max-width:860px){.dh-formgrid{grid-template-columns:1fr}.dh-formfoto{order:0}}
/* Foto am Kontaktformular: gleicher Rahmen (inkl. Icon oben rechts) wie die anderen Fotos */
.dh-formfoto-rahmen{order:2;align-self:start;min-width:0}
@media (max-width:860px){.dh-formfoto-rahmen{order:0;max-width:420px;width:100%;margin:0 auto}}

/* Claim im Footer in Markenfarbe */
.dh-claim, .dh-claim strong{color:#0097b2!important}
.dh-claim strong{color:#f4ede3!important}

/* Buttons in Bannern immer klickbar (Schutzebene der Fotos liegt nur über dem Foto) */
.foto{position:relative}
.foto__schutz{position:absolute;inset:0}
.btns,.btns .btn,.kopf__cta{position:relative;z-index:20;pointer-events:auto}



/* Telefonnummern nur anzeigen, nicht anrufbar */
a.nolink{cursor:default!important}

/* Meldungsbereich des Kontaktformulars immer sichtbar (style.css blendet .status sonst aus) */
#dh-kontakt-status{display:block;padding:0;background:none}
#dh-kontakt-status:empty{display:none}
