/* FreiDeCa Dichtigkeitsprüfung – öffentliche Seite */
.fdw { --gruen: #1f4d3a; --gruen2: #2e7d5b; --hell: #f3f7f4; --linie: #d8e3dd; --text: #1b2620; --grau: #5b6b63; --blau: #2b4a9a; --orange: #c2410c;
  color: var(--text); font-size: 17px; line-height: 1.55; max-width: 1180px; margin: 0 auto; }
.fdw * { box-sizing: border-box; }
.fdw h1, .fdw h2, .fdw h3 { color: var(--gruen); line-height: 1.2; margin: 0 0 .5em; }
.fdw h2 { font-size: clamp(24px, 3vw, 34px); }
.fdw section { margin: 0 0 56px; }
.fdw a { color: var(--gruen2); }

/* Knöpfe */
.fdw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 26px; border-radius: 14px; font-weight: 700; font-size: 18px; text-decoration: none !important; cursor: pointer; border: 2px solid var(--gruen); transition: transform .15s, box-shadow .15s; }
.fdw-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(31, 77, 58, .22); }
.fdw-btn-main { background: var(--gruen); color: #fff !important; }
.fdw-btn-ghost { background: #fff; color: var(--gruen) !important; }

/* Kopfbereich */
.fdw-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, #f3f7f4 0%, #e3efe8 100%); border-radius: 28px; padding: clamp(24px, 4vw, 52px); position: relative; overflow: hidden; }
.fdw-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(46, 125, 91, .18), transparent 70%); }
.fdw-eyebrow { display: inline-block; background: #fff; border: 1px solid var(--linie); color: var(--gruen); font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.fdw-hero h1 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.5px; }
.fdw-lead { font-size: 1.12em; color: #33443b; }
.fdw-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.fdw-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fdw-facts li { display: flex; gap: 10px; align-items: baseline; }
.fdw-facts b { min-width: 86px; color: var(--gruen); font-size: 1.1em; }
.fdw-hero-bild { background: #fff; border-radius: 22px; padding: 16px; box-shadow: 0 18px 40px rgba(20, 40, 30, .12); position: relative; z-index: 1; }
.fdw-art { display: flex; gap: 6px; background: var(--hell); border-radius: 12px; padding: 4px; margin-bottom: 8px; }
.fdw-art button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 9px; font-weight: 700; font-size: 15px; color: var(--grau); cursor: pointer; }
.fdw-art button.on { background: #fff; color: var(--gruen); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.fdw-skizze { min-height: 220px; }
.fdw-skizze svg { width: 100%; height: auto; display: block; }
.fdw-skizze-text { margin: 6px 0 0; font-size: 13px; color: var(--grau); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.fdw-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; margin-left: 8px; }
.fdw-dot.ok { background: #2e8b57; } .fdw-dot.warn { background: #d39e00; } .fdw-dot.bad { background: #c0392b; }

/* Warum */
.fdw-warum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fdw-warum article { background: #fff; border: 1px solid var(--linie); border-radius: 20px; padding: 24px; }
.fdw-warum span { font-size: 34px; display: block; margin-bottom: 8px; }
.fdw-warum h3 { font-size: 20px; }
.fdw-warum p { margin: 0; color: #33443b; }

/* Wichtiger Hinweis */
.fdw-hinweis { background: #fff8eb; border: 2px solid #f2d27a; border-radius: 24px; padding: clamp(20px, 3vw, 36px); }
.fdw-hinweis-kopf { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.fdw-hinweis-kopf > span { font-size: 40px; }
.fdw-hinweis-kopf h2 { color: #8a4b05; margin: 0; }
.fdw-hinweis-kopf p { margin: 2px 0 0; color: #7a5a2a; }
.fdw-hinweis ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fdw-hinweis li { position: relative; padding-left: 34px; }
.fdw-hinweis li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: #f2d27a; color: #6b3d00; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.fdw-tipp { margin: 16px 0 0; background: #fff; border-radius: 14px; padding: 12px 16px; border: 1px dashed #e0b85a; }

/* Ablauf */
.fdw-ablauf ol { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.fdw-ablauf li { background: var(--hell); border-radius: 20px; padding: 22px; position: relative; }
.fdw-ablauf li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gruen); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 10px; }
.fdw-ablauf h3 { font-size: 19px; margin-bottom: 4px; }
.fdw-ablauf p { margin: 0; font-size: 16px; color: #33443b; }

/* Nachweis */
.fdw-nachweis { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.fdw-skala { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.fdw-skala b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #fff; margin-right: 8px; }
.fdw-skala .t, .fdw-blatt .t { background: #2e8b57; } .fdw-skala .g, .fdw-blatt .g { background: #d39e00; }
.fdw-skala .f, .fdw-blatt .f { background: #c0392b; } .fdw-skala .s { background: #7f1d1d; }
.fdw-klein { font-size: 14px; color: var(--grau); }
.fdw-blatt { background: #fff; border-radius: 14px; box-shadow: 0 22px 50px rgba(20, 40, 30, .18); padding: 22px; transform: rotate(-1.5deg); border-top: 6px solid var(--blau); }
.fdw-blatt-kopf { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; color: var(--blau); }
.fdw-blatt table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fdw-blatt td { padding: 7px 6px; border-bottom: 1px solid #eef2f0; }
.fdw-blatt td:first-child { font-weight: 700; width: 34px; color: var(--grau); }
.fdw-blatt td:last-child { text-align: center; color: #fff; font-weight: 700; border-radius: 6px; width: 58px; }

/* FAQ */
.fdw-faq details { background: #fff; border: 1px solid var(--linie); border-radius: 16px; padding: 4px 20px; margin: 0 0 10px; }
.fdw-faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
.fdw-faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 24px; color: var(--gruen); }
.fdw-faq details[open] summary::after { content: "–"; }
.fdw-faq p { margin: 0 0 14px; color: #33443b; }

/* Formular */
.fdw-form-wrap { background: #fff; border: 1px solid var(--linie); border-radius: 28px; padding: clamp(20px, 4vw, 44px); box-shadow: 0 18px 40px rgba(20, 40, 30, .08); }
.fdw-fortschritt { height: 8px; background: #e7eee9; border-radius: 99px; overflow: hidden; margin: 6px 0 24px; }
.fdw-fortschritt div { height: 100%; width: 0; background: linear-gradient(90deg, var(--gruen2), var(--gruen)); transition: width .35s; }
.fdw-form fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.fdw-form legend { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; color: var(--gruen); margin-bottom: 12px; }
.fdw-form legend span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gruen); color: #fff; font-size: 17px; }
.fdw-form label { display: block; font-weight: 700; margin: 0 0 12px; }
.fdw-form label > input, .fdw-form label > select, .fdw-form label > textarea { display: block; margin-top: 6px; }
.fdw-form label small { font-weight: 500; color: var(--grau); }
.fdw-form em { color: var(--orange); font-style: normal; }
.fdw-form input[type=text], .fdw-form input[type=tel], .fdw-form input[type=email], .fdw-form select, .fdw-form textarea { font: inherit; font-weight: 500; width: 100%; padding: 13px 14px; border: 1.5px solid #c9d6cf; border-radius: 12px; background: #fbfdfc; min-height: 50px; }
.fdw-form input:focus, .fdw-form select:focus, .fdw-form textarea:focus { outline: 3px solid rgba(46, 125, 91, .25); border-color: var(--gruen2); background: #fff; }
.fdw-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fdw-kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.fdw-kacheln label, .fdw-seg label, .fdw-chips label { margin: 0; cursor: pointer; }
.fdw-kacheln input, .fdw-seg input, .fdw-chips input { position: absolute; opacity: 0; pointer-events: none; }
.fdw-kacheln span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 34px; padding: 16px 8px; border: 2px solid var(--linie); border-radius: 16px; background: #fbfdfc; transition: .15s; }
.fdw-kacheln b { font-size: 16px; color: var(--text); }
.fdw-kacheln input:checked + span { border-color: var(--gruen); background: #e8f3ec; box-shadow: 0 0 0 3px rgba(46, 125, 91, .18); }
.fdw-frage { font-weight: 700; margin: 4px 0 8px; }
.fdw-seg { display: inline-flex; flex-wrap: wrap; border: 2px solid var(--gruen); border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.fdw-seg span { display: block; padding: 10px 22px; font-weight: 700; color: var(--gruen); background: #fff; }
.fdw-seg label + label span { border-left: 1px solid var(--linie); }
.fdw-seg input:checked + span { background: var(--gruen); color: #fff; }
.fdw-garantie-hinweis { background: #fff8eb; border: 1px solid #f2d27a; border-radius: 12px; padding: 10px 14px; margin: 0 0 14px; font-size: 15px; }
.fdw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.fdw-chips span { display: inline-block; padding: 9px 16px; border: 1.5px solid #c9d6cf; border-radius: 999px; font-weight: 600; font-size: 15px; background: #fff; }
.fdw-chips input:checked + span { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.fdw-zustimmung { display: grid; gap: 10px; margin: 0 0 18px; }
.fdw-check { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 12px !important; font-weight: 500 !important; background: var(--hell); border-radius: 14px; padding: 12px 14px; }
.fdw-check input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--gruen); flex: none; }
.fdw-check-wichtig { background: #fff8eb; border: 1px solid #f2d27a; }
.fdw-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.fdw-fehler { background: #fdecea; color: #8b1d12; border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.fdw-senden { width: 100%; min-height: 60px; font-size: 20px; }
.fdw-senden[disabled] { opacity: .6; cursor: wait; }
.fdw-danke { text-align: center; padding: 20px 0; }
.fdw-haken { width: 84px; height: 84px; border-radius: 50%; background: var(--gruen); color: #fff; font-size: 46px; display: grid; place-items: center; margin: 0 auto 14px; animation: fdw-pop .5s ease-out; }
@keyframes fdw-pop { 0% { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.fdw-kontakt { text-align: center; margin: 22px 0 0; color: var(--grau); font-size: 15px; }

@media (max-width: 900px) {
  .fdw-hero, .fdw-nachweis { grid-template-columns: 1fr; }
  .fdw-warum, .fdw-ablauf ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .fdw { font-size: 16px; }
  .fdw-warum, .fdw-ablauf ol, .fdw-reihe { grid-template-columns: 1fr; }
  .fdw-kacheln span { font-size: 28px; }
  .fdw-blatt { transform: none; }
}
.fdw-hero > *, .fdw-nachweis > *, .fdw-reihe > *, .fdw-warum > *, .fdw-ablauf li { min-width: 0; }
@media (max-width: 900px) { .fdw-hero, .fdw-nachweis { grid-template-columns: minmax(0, 1fr); } .fdw-art button { padding: 9px 4px; font-size: 14px; } }
@media (max-width: 600px) { .fdw-hero { border-radius: 20px; } .fdw-facts b { min-width: 70px; } .fdw-hero-btns .fdw-btn { flex: 1; } }
.fdw-skizze, .fdw-hero-bild { overflow: hidden; } .fdw { overflow-x: clip; }

.fdw-form .fdw-mail { background: #fff8eb; border: 1px solid #f2d27a; border-left: 6px solid #d97706; border-radius: 14px; padding: 12px 14px; }
.fdw-form .fdw-mail small { color: #8a4b05; font-weight: 600; }
