/* Kontaktformular – Milchglas-Fenster mit dunkler Infospalte (alle Regeln an #hwcKontakt gebunden, gegen globale Stile) */
#hwcKontakt { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: clamp(0px, 3vw, 32px); border: 0; background: transparent; display: grid; place-items: center; overflow: auto;
  font: 15px/1.5 Manrope, "Segoe UI", system-ui, sans-serif; color: #14323a; opacity: 0; transition: opacity .25s ease; }
#hwcKontakt::backdrop { background: radial-gradient(circle at 20% 10%, #2f7a6d55, transparent 50%), #0b1a1fb8; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#hwcKontakt.kf-offen { opacity: 1; }
#hwcKontakt.kf-zu-anim { opacity: 0; }
#hwcKontakt .kf { width: min(1080px, 100%); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: 28px; overflow: clip; box-shadow: 0 50px 120px -30px #000c, 0 0 0 1px #ffffff40;
  transform: translateY(26px) scale(.98); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
#hwcKontakt.kf-offen .kf { transform: none; }

/* Infospalte */
#hwcKontakt .kf-info { position: relative; padding: clamp(24px, 3.4vw, 40px); color: #e8f2ef; background: linear-gradient(160deg, #0e2a30 0%, #14323a 45%, #1d5c55 100%); display: flex; flex-direction: column; gap: 18px; isolation: isolate; overflow: clip; min-width: 0; }
#hwcKontakt fieldset[hidden] { display: none; }
#hwcKontakt .kf-licht { position: absolute; inset: -30%; z-index: -1; background: radial-gradient(circle at 30% 30%, #2f9a8455, transparent 40%), radial-gradient(circle at 80% 80%, #c99a5b40, transparent 40%); animation: kf-licht 14s ease-in-out infinite alternate; }
@keyframes kf-licht { to { transform: translate(8%, -6%) rotate(12deg); } }
#hwcKontakt .kf-marke { font-size: 11px; font-weight: 800; letter-spacing: .18em; color: #f1d6a8; }
#hwcKontakt .kf-info h2 { margin: 0; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; letter-spacing: -.02em; color: #fff; }
#hwcKontakt .kf-info h2 em { font-style: normal; background: linear-gradient(90deg, #8fd1c2, #f1d6a8); -webkit-background-clip: text; background-clip: text; color: transparent; }
#hwcKontakt .kf-info > p { margin: 0; color: #cfe0dc; }
#hwcKontakt .kf-wege { display: grid; gap: 8px; }
#hwcKontakt .kf-weg { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 16px; background: #ffffff12; border: 1px solid #ffffff1f; color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
#hwcKontakt a.kf-weg:hover, #hwcKontakt a.kf-weg:focus-visible { background: #ffffff22; transform: translateX(3px); outline: none; }
#hwcKontakt .kf-weg i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(140deg, #2a9079, #1d6d5e); font-style: normal; font-size: 17px; box-shadow: 0 8px 18px -10px #000; }
#hwcKontakt .kf-weg span { display: grid; min-width: 0; } #hwcKontakt .kf-weg b { font-size: 14px; overflow-wrap: anywhere; } #hwcKontakt .kf-weg small { color: #a9c7c0; font-size: 12px; }
#hwcKontakt .kf-ablauf { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: kf; }
#hwcKontakt .kf-ablauf li { counter-increment: kf; position: relative; display: grid; padding: 0 0 14px 44px; }
#hwcKontakt .kf-ablauf li::before { content: counter(kf); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: #f1d6a8; color: #14323a; }
#hwcKontakt .kf-ablauf li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: linear-gradient(#f1d6a8aa, #f1d6a822); }
#hwcKontakt .kf-ablauf b { font-size: 14px; color: #fff; } #hwcKontakt .kf-ablauf small { color: #a9c7c0; font-size: 12.5px; }
#hwcKontakt .kf-siegel { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
#hwcKontakt .kf-siegel span { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #ffffff14; border: 1px solid #ffffff22; color: #dcebe7; }

/* Formular */
#hwcKontakt .kf-form { position: relative; display: grid; gap: 14px; align-content: start; padding: clamp(20px, 3vw, 34px); background: linear-gradient(160deg, #ffffffef, #f6faf8e6); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); min-width: 0; }
#hwcKontakt .kf-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#hwcKontakt .kf-kopf small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; color: #b08447; }
#hwcKontakt .kf-kopf b { font-size: 22px; letter-spacing: -.01em; }
#hwcKontakt button.kf-zu { width: 40px; height: 40px; min-height: 0; padding: 0; margin: 0; border-radius: 50%; border: 1px solid #14323a22; background: #fff; color: #14323a; font: 400 24px/1 system-ui, sans-serif; cursor: pointer; box-shadow: none; transition: transform .2s, background .2s; }
#hwcKontakt button.kf-zu:hover { transform: rotate(90deg); background: #14323a; color: #fff; }
#hwcKontakt .kf-fortschritt { position: relative; height: 26px; border-radius: 999px; background: #14323a0f; overflow: hidden; }
#hwcKontakt .kf-fortschritt i { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: linear-gradient(90deg, #8fd1c2, #2a9079); border-radius: inherit; transition: width .45s cubic-bezier(.2, .8, .2, 1); }
#hwcKontakt .kf-fortschritt span { position: relative; display: block; text-align: center; font-size: 12px; font-weight: 800; line-height: 26px; color: #14323a; }
#hwcKontakt .kf-fortschritt.kf-fertig i { background: linear-gradient(90deg, #2a9079, #1d6d5e); } #hwcKontakt .kf-fortschritt.kf-fertig span { color: #fff; }
#hwcKontakt fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
#hwcKontakt legend, #hwcKontakt .kf-feld > span { display: block; margin: 0 0 6px; padding: 0; font-size: 13px; font-weight: 800; color: #14323a; }
#hwcKontakt legend small, #hwcKontakt .kf-feld > span small { font-weight: 600; color: #6b7d82; } #hwcKontakt .kf-feld em, #hwcKontakt .kf-check em { color: #c0392b; font-style: normal; }
#hwcKontakt .kf-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#hwcKontakt .kf-feld { display: grid; min-width: 0; }
#hwcKontakt input:not([type]), #hwcKontakt input[type="email"], #hwcKontakt input[type="tel"], #hwcKontakt textarea { width: 100%; margin: 0; min-height: 0; height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid #14323a1f; background: #fff;
  color: #14323a; font: 600 15px Manrope, "Segoe UI", system-ui, sans-serif; box-shadow: 0 1px 0 #14323a08; transition: border-color .2s, box-shadow .2s; }
#hwcKontakt textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
#hwcKontakt input::placeholder, #hwcKontakt textarea::placeholder { color: #8a9a9e; font-weight: 500; }
#hwcKontakt input:focus, #hwcKontakt textarea:focus { outline: none; border-color: #2a9079; box-shadow: 0 0 0 4px #2a907926; }
#hwcKontakt .kf-falsch input, #hwcKontakt .kf-falsch textarea { border-color: #c0392b; box-shadow: 0 0 0 4px #c0392b1a; }
#hwcKontakt .kf-fehler { color: #b03a2e; font-size: 12.5px; font-weight: 700; min-height: 0; }
#hwcKontakt .kf-fehler:not(:empty) { margin-top: 4px; animation: kf-auf .2s ease; }
#hwcKontakt .kf-zeilenfuss { display: flex; justify-content: space-between; gap: 10px; } #hwcKontakt .kf-zahl { color: #8a9a9e; font-size: 12px; margin-top: 4px; margin-left: auto; }
#hwcKontakt .kf-chips { display: flex; flex-wrap: wrap; gap: 7px; }
#hwcKontakt .kf-chips label, #hwcKontakt .kf-segment label { position: relative; cursor: pointer; }
#hwcKontakt .kf-chips input, #hwcKontakt .kf-segment input { position: absolute; opacity: 0; pointer-events: none; }
#hwcKontakt .kf-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 13px; border: 1.5px solid #14323a1a; background: #ffffffcc; font-size: 13.5px; font-weight: 700; transition: all .2s; }
#hwcKontakt .kf-chips span i { font-style: normal; }
#hwcKontakt .kf-klein span { padding: 7px 12px; font-size: 13px; }
#hwcKontakt .kf-chips label:hover span { border-color: #2a9079; transform: translateY(-1px); }
#hwcKontakt .kf-chips input:checked + span { background: linear-gradient(135deg, #2a9079, #1d6d5e); border-color: transparent; color: #fff; box-shadow: 0 10px 20px -12px #1d6d5e; }
#hwcKontakt .kf-chips input:focus-visible + span, #hwcKontakt .kf-segment input:focus-visible + span { outline: 3px solid #c99a5b; outline-offset: 2px; }
#hwcKontakt .kf-segment { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 15px; background: #14323a0d; }
#hwcKontakt .kf-segment span { display: flex; align-items: center; justify-content: center; gap: 7px; height: 40px; border-radius: 11px; font-size: 13.5px; font-weight: 800; color: #3d5258; transition: all .2s; }
#hwcKontakt .kf-segment span i { font-style: normal; }
#hwcKontakt .kf-segment input:checked + span { background: #fff; color: #14323a; box-shadow: 0 6px 16px -10px #14323a99; }
#hwcKontakt .kf-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#hwcKontakt .kf-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #3d5258; cursor: pointer; padding: 10px 12px; border-radius: 14px; background: #14323a08; border: 1.5px solid transparent; }
#hwcKontakt .kf-check.kf-falsch { border-color: #c0392b66; }
#hwcKontakt .kf-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: #1d6d5e; }
#hwcKontakt a { color: #16564b; font-weight: 800; }
#hwcKontakt .kf-fuss { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
#hwcKontakt .kf-fuss small { flex: 1 1 200px; color: #6b7d82; font-size: 12px; }
#hwcKontakt button.kf-senden { display: inline-flex; align-items: center; gap: 10px; height: 52px; min-height: 0; margin: 0; padding: 0 26px; border: 0; border-radius: 16px; cursor: pointer; background: linear-gradient(135deg, #2a9079, #14323a); color: #fff;
  font: 800 15.5px Manrope, "Segoe UI", system-ui, sans-serif; box-shadow: 0 16px 30px -16px #14323a; transition: transform .2s, box-shadow .2s; }
#hwcKontakt button.kf-senden i { font-style: normal; transition: transform .2s; }
#hwcKontakt button.kf-senden:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -18px #14323a; } #hwcKontakt button.kf-senden:hover i { transform: translateX(4px); }
#hwcKontakt button.kf-senden:focus-visible { outline: 3px solid #c99a5b; outline-offset: 3px; }
#hwcKontakt button.kf-senden:disabled { cursor: progress; opacity: .85; transform: none; }
#hwcKontakt .kf-laedt i { width: 16px; height: 16px; border: 2.5px solid #ffffff55; border-top-color: #fff; border-radius: 50%; font-size: 0; animation: kf-dreh .8s linear infinite; }
@keyframes kf-dreh { to { transform: rotate(360deg); } }
#hwcKontakt .kf-meldung { margin: 0; padding: 12px 14px; border-radius: 14px; background: #fdecea; border: 1px solid #f2b8b0; color: #8c2a20; font-size: 13.5px; font-weight: 600; }
#hwcKontakt .kf-wackeln { animation: kf-wackeln .4s ease; }
@keyframes kf-wackeln { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes kf-auf { from { opacity: 0; transform: translateY(-3px); } }

/* Danke */
#hwcKontakt .kf-danke { text-align: center; justify-items: center; align-content: center; }
#hwcKontakt .kf-danke .kf-kopf { width: 100%; text-align: left; }
#hwcKontakt .kf-danke h3 { margin: 0; font-size: 24px; letter-spacing: -.01em; } #hwcKontakt .kf-danke > p { margin: 0; max-width: 440px; color: #3d5258; }
#hwcKontakt .kf-haken svg { width: 92px; height: 92px; fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
#hwcKontakt .kf-haken circle { stroke: #2a9079; stroke-dasharray: 151; stroke-dashoffset: 151; animation: kf-strich .6s ease forwards; }
#hwcKontakt .kf-haken path { stroke: #1d6d5e; stroke-dasharray: 40; stroke-dashoffset: 40; animation: kf-strich .4s .5s ease forwards; }
@keyframes kf-strich { to { stroke-dashoffset: 0; } }
#hwcKontakt .kf-nummer { padding: 10px 22px; border-radius: 16px; background: #fbf3e6; border: 1px dashed #c99a5b; }
#hwcKontakt .kf-nummer small { display: block; font-size: 11.5px; color: #8a6a3c; font-weight: 700; } #hwcKontakt .kf-nummer b { font-size: 20px; letter-spacing: .06em; }
#hwcKontakt .kf-hell { text-align: left; width: min(360px, 100%); }
#hwcKontakt .kf-hell b { color: #14323a; } #hwcKontakt .kf-hell small { color: #6b7d82; }
#hwcKontakt .kf-hell li::before { background: #14323a14; color: #14323a; } #hwcKontakt .kf-hell li.kf-erledigt::before { content: "✓"; background: #2a9079; color: #fff; }
#hwcKontakt .kf-hell li:not(:last-child)::after { background: #14323a1a; }

@media (max-width: 860px) {
  #hwcKontakt { place-items: start center; padding: 0; }
  #hwcKontakt .kf { grid-template-columns: minmax(0, 1fr); border-radius: 0; min-height: 100%; }
  #hwcKontakt .kf-info { padding: 22px 16px 18px; gap: 12px; }
  #hwcKontakt .kf-info > p, #hwcKontakt .kf-info .kf-ablauf, #hwcKontakt .kf-siegel { display: none; }
  #hwcKontakt .kf-wege { grid-template-columns: 1fr 1fr; } #hwcKontakt .kf-weg:last-child { display: none; }
  #hwcKontakt .kf-weg small { display: none; } #hwcKontakt .kf-weg b { font-size: 12.5px; }
  #hwcKontakt .kf-form { padding: 18px 16px 28px; }
  #hwcKontakt .kf-kopf { position: sticky; top: 0; z-index: 2; margin: -18px -16px 0; padding: 12px 16px; background: #ffffffee; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid #14323a12; }
  #hwcKontakt .kf-info h2 br { display: none; }
}
@media (max-width: 520px) {
  #hwcKontakt .kf-reihe { grid-template-columns: minmax(0, 1fr); }
  #hwcKontakt .kf-wege { grid-template-columns: minmax(0, 1fr); }
  #hwcKontakt button.kf-senden { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { #hwcKontakt, #hwcKontakt .kf, #hwcKontakt .kf-licht, #hwcKontakt .kf-haken * { animation: none !important; transition: none !important; } #hwcKontakt .kf-haken * { stroke-dashoffset: 0; } }
