/* Überschriften: Tag = Stufe, Kastentitel als H3 */
main h1:not(.k-frage){font:var(--pk-schrift-h1)}
.k-karte{background:#fff;border-radius:28px;box-shadow:0 10px 40px rgba(0,52,76,.08);padding:26px 22px}
.k-frage{font-size:clamp(24px,6.4vw,32px);line-height:1.15;font-weight:700;color:var(--pk-navy);margin-top:18px}
.k-hinw{font-size:16px;color:var(--pk-grau-mittel);margin-top:6px}
@media(max-width:1023px){.k-strecke .k-nav{position:sticky;bottom:0;background:#fff;padding:12px 0 14px;margin-left:-22px;margin-right:-22px;padding-left:22px;padding-right:22px;box-shadow:0 -8px 20px rgba(0,52,76,.06)}}
.k-strecke .pk-mbar,.k-strecke .kik{display:none!important}
.k-karte{border-radius:24px}
.k-frage{font:var(--pk-schrift-h2);margin-top:16px}
.k-hinw{font-size:16px;color:var(--pk-text-2)}
.k-strecke .pk-mbar,.k-strecke .kik,.k-strecke .pk-sheet-backdrop{display:none!important}
/* Auswahlkarten mit Bild einheitlich (Sebastian 24.11.): gleiche Flaeche, Ecke, Markierung wie die Kacheln der Strecke */
.k-antw-k,.k-kachel{border-radius:18px!important;background:var(--pk-flaeche,#F3F7F8);transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}
.k-antw-k:active,.k-kachel:active{transform:scale(.98)}
.k-kachel::after{box-shadow:inset 0 0 0 1.5px #C9D5DA;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B5C4CA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/15px no-repeat!important;transform:scale(1)!important}
@media(hover:hover){.k-kachel:hover::after{background:#E8F7EF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23145F61' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/15px no-repeat!important;box-shadow:inset 0 0 0 1.5px #78C8A8}}
.k-kachel[aria-checked=true]::after{background:#52F071!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300344C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/15px no-repeat;box-shadow:none}
.k-strecke-karte{overflow:hidden}
.k-kopfzeile{display:flex;align-items:center;gap:10px;font-size:16px;color:var(--pk-text-2)}
.k-kopfzeile .ringsvg{flex:none;width:40px;height:40px}
.k-kopfzeile .ringsvg circle+circle{transition:stroke-dasharray .6s cubic-bezier(.2,.8,.2,1)}
.k-kacheln{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.k-kachel{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:128px;padding:14px;border:0;border-radius:18px;background:var(--pk-flaeche,#F3F7F8);color:var(--pk-navy);font:600 16px/1.3 var(--pk-schrift);text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;hyphens:auto;transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,opacity .25s ease}
.k-kachel img{width:48px;height:48px;object-fit:contain;transition:transform .35s cubic-bezier(.34,1.56,.64,1)}
.k-kachel:active{transform:scale(.97)}
.k-kachel::after{content:"";position:absolute;top:10px;right:10px;width:26px;height:26px;border-radius:50%;background:#52F071 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300344C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/15px no-repeat;transform:scale(0);transition:transform .3s cubic-bezier(.34,1.56,.64,1)}
.k-kachel[aria-checked=true]{background:#fff;box-shadow:inset 0 0 0 2px var(--pk-navy)}
.k-kachel[aria-checked=true]::after{transform:scale(1)}
.k-kachel[aria-checked=true] img{transform:scale(1.12) rotate(-4deg)}
.k-kacheln.k-gewaehlt .k-kachel:not([aria-checked=true]){opacity:.45}
.k-kachel:focus-visible{outline:3px solid rgba(20,95,97,.35);outline-offset:2px}
.k-fehler{color:#B3261E;font-size:15px;margin-top:10px}
.k-fehler:empty{display:none}
.k-zur{display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding:8px 0;background:none;border:0;font:700 16px/1 var(--pk-schrift);color:var(--pk-teal);cursor:pointer}
.k-senden{width:100%;margin-top:6px}
/* Folienwechsel */
.k-st.k-raus{animation:kRaus .22s ease-in forwards}
.k-st.k-raus.k-rueck{animation-name:kRausR}
.k-st.k-rein{animation:kRein .38s cubic-bezier(.2,.8,.2,1) both}
.k-st.k-rein.k-rueck{animation-name:kReinR}
.k-st.k-rein .k-kachel,.k-st.k-rein .k-form2>*{animation:kAuf .42s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(120ms + var(--i,0) * 55ms)}
@keyframes kRaus{to{opacity:0;transform:translateX(-28px)}}
@keyframes kRausR{to{opacity:0;transform:translateX(28px)}}
@keyframes kRein{from{opacity:0;transform:translateX(32px)}to{opacity:1;transform:none}}
@keyframes kReinR{from{opacity:0;transform:translateX(-32px)}to{opacity:1;transform:none}}
@keyframes kAuf{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.k-danke.k-rein img{animation:kPop .6s cubic-bezier(.34,1.56,.64,1) .1s both}
@media(prefers-reduced-motion:reduce){.k-st.k-raus,.k-st.k-rein,.k-st.k-rein .k-kachel,.k-st.k-rein .k-form2>*,.k-danke.k-rein img{animation:none!important}.k-kachel,.k-kachel img,.k-kachel::after{transition:none}}
.k-form2{display:grid;gap:12px;margin-top:18px}
.k-zwei{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px}
.k-feld{position:relative;display:block}
.k-feld input,.k-feld textarea{width:100%;height:60px;border:1.5px solid #788D96;border-radius:14px;padding:24px 16px 8px;font:400 16px/1.4 var(--pk-schrift);color:var(--pk-navy);background:#fff;outline:none;box-sizing:border-box}
.k-feld textarea{height:auto;min-height:132px;resize:vertical;padding-top:28px}
.k-feld span{position:absolute;left:16px;top:18px;font:400 16px/1.4 var(--pk-schrift);color:#5b6f78;pointer-events:none;transition:all .15s ease;max-width:calc(100% - 32px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.k-feld input:focus,.k-feld textarea:focus{border-color:var(--pk-teal);box-shadow:0 0 0 3px rgba(20,95,97,.15)}
.k-feld input:focus+span,.k-feld input:not(:placeholder-shown)+span,.k-feld textarea:focus+span,.k-feld textarea:not(:placeholder-shown)+span{top:8px;font-size:12.5px;font-weight:600;color:var(--pk-teal)}
.k-feld.k-falsch input{border-color:#B3261E}
.k-check{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.45;color:var(--pk-navy);cursor:pointer}
.k-check input{position:absolute;opacity:0;width:1px;height:1px}
.k-check i{flex:0 0 24px;height:24px;border:1.5px solid #788D96;border-radius:7px;background:#fff;margin-top:1px;position:relative}
.k-check input:checked+i{background:var(--pk-navy);border-color:var(--pk-navy)}
.k-check input:checked+i::after{content:"";position:absolute;left:7px;top:3px;width:6px;height:11px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.k-check input:focus-visible+i{box-shadow:0 0 0 3px rgba(20,95,97,.3)}
.k-check a{color:var(--pk-teal)}
.k-danke img{width:72px;height:72px}
/* Rechner und Formulare (pk-strecke, Stand 24.11.2026) */
.k-wrap{padding:8px 0 40px}
.k-karte{background:#fff;border-radius:28px;box-shadow:0 10px 40px rgba(0,52,76,.08);padding:26px 22px}
@media(min-width:1024px){.k-karte{padding:36px 40px;border-radius:28px}.k-wrap .k-karte{max-width:760px}.k-kacheln.k-drei{grid-template-columns:repeat(3,1fr)}}
.k-kacheln.k-eins{grid-template-columns:1fr}
.k-kacheln.k-eins .k-kachel{min-height:0;flex-direction:row;align-items:center;padding:16px 48px 16px 16px}
.k-kachel small{display:block;font:400 14px/1.35 var(--pk-schrift);color:var(--pk-text-2,#4a5d66);margin-top:2px}
.k-kachel .k-zahl{font:700 28px/1 var(--pk-schrift);color:var(--pk-navy)}
.k-weiter{width:100%;margin-top:14px}
.k-feld input[inputmode=decimal]{font-variant-numeric:tabular-nums}
.k-feld .k-einheit{position:absolute;right:16px;top:22px;font:600 16px/1.4 var(--pk-schrift);color:#5b6f78;pointer-events:none}
.k-feld.k-mit-einheit input{padding-right:56px}
.k-feldhinw{font-size:14px;color:var(--pk-text-2,#4a5d66);margin:6px 2px 0}
.k-form2{display:grid;gap:12px;margin-top:18px}
.k-erg{background:var(--pk-navy,#00344C);color:#fff;border-radius:24px;padding:24px 22px;margin-top:6px}
.k-erg .k-ek{font:600 15px/1.3 var(--pk-schrift);color:#52F071;letter-spacing:.02em}
.k-erg .k-ew{font:700 clamp(34px,9vw,48px)/1.05 var(--pk-schrift);margin-top:10px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.k-erg .k-ew small{font:400 18px/1.3 var(--pk-schrift);color:#D5E3E8;margin-left:6px}
.k-erg .k-zeilen{margin-top:18px;border-top:1px solid rgba(255,255,255,.18)}
.k-erg .k-zeile{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.12);font-size:16px;line-height:1.35}
.k-erg .k-zeile span{color:#D5E3E8}
.k-erg .k-zeile b{white-space:nowrap;font-variant-numeric:tabular-nums}
.k-erg .k-zeile.k-summe b,.k-erg .k-zeile.k-summe span{color:#fff;font-weight:700}
.k-erg p{margin:16px 0 0;color:#D5E3E8;font-size:16px;line-height:1.5}
.k-erg .pk-btn{margin-top:20px}
.k-erg a.k-tel{color:#fff;font-weight:700;white-space:nowrap}
.k-rechts{font-size:14px;color:var(--pk-text-2,#4a5d66);margin-top:12px}
.k-neu{margin-right:22px}
.k-st.k-rein .k-erg{animation:kAuf .5s cubic-bezier(.2,.8,.2,1) both}

.k-strecke .k-erg,.k-strecke .k-erg *{color:#fff}
.k-strecke .k-erg .k-zeile span,.k-strecke .k-erg p{color:#D5E3E8!important}
.k-strecke .k-erg .k-zeile b{color:#fff!important}
.k-strecke .k-erg .k-ek{color:#52F071!important}
.k-strecke .k-erg .k-ew small{color:#D5E3E8!important}
.k-strecke .k-erg a.k-tel{color:#fff!important}
.k-strecke .k-erg .pk-btn{color:var(--pk-navy,#00344C)!important}
.k-strecke .k-erg .pk-btn *{color:inherit!important}

/* Expertensuche mit Karte */
.es-wrap{padding:8px 0 36px}
.es-grid{display:grid;gap:18px;margin-top:16px;grid-template-columns:minmax(0,1fr)}
.es-grid>*{min-width:0}
@media(min-width:1024px){.es-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:40px;align-items:center}}
.es-lab{font:600 16px/1.3 var(--pk-schrift);color:var(--pk-navy);margin:0 0 10px}
.es-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 8px;margin:0 -2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.es-chips::-webkit-scrollbar{display:none}
@media(min-width:1024px){.es-chips{flex-wrap:wrap;overflow:visible}}
.es-chip{flex:none;border:0;border-radius:999px;padding:10px 16px;background:var(--pk-flaeche,#F3F7F8);color:var(--pk-navy,#00344C);font:600 15px/1.2 var(--pk-schrift);cursor:pointer;white-space:nowrap;transition:background-color .2s,box-shadow .2s}
.es-chip[aria-checked=true]{background:#fff;box-shadow:inset 0 0 0 2px var(--pk-navy,#00344C)}
.es-plz{margin-top:12px;max-width:260px}
.es-erg{margin-top:14px;min-height:48px}
.es-hinw{color:var(--pk-text-2,#4a5d66);font-size:16px;margin:0}
.es-treffer{background:var(--pk-flaeche,#F3F7F8);border-radius:20px;padding:16px 18px;animation:kAuf .4s cubic-bezier(.2,.8,.2,1) both}
.es-treffer .es-k{font:700 16px/1.3 var(--pk-schrift);color:var(--pk-navy);margin:0 0 6px}
.es-treffer p{margin:0 0 12px;font-size:16px}
.es-mehr{display:inline-block;margin-left:14px;color:var(--pk-teal,#145F61);font-weight:700}
.es-karte{max-width:380px;width:100%;margin:0 auto}
@media(max-width:1023px){.es-karte{max-width:260px;order:-1}}
.es-karte svg{display:block;width:100%;height:auto}
.es-karte path{fill:#CFEBDA;stroke:#fff;stroke-width:1.6;transition:fill .35s ease,transform .35s ease;transform-origin:center}
.es-karte.es-gewaehlt path{fill:#DDEFE4}
.es-karte path.an{fill:#52F071}
.k-strecke .k-kachel:not(:has(img)):not(:has(.k-zahl)){min-height:0;padding:16px 44px 16px 14px;justify-content:center}
.k-strecke .k-kachel:not(:has(img)):has(.k-zahl){min-height:96px}
@media(min-width:1024px){.k-strecke .k-kacheln:has(> .k-kachel:nth-child(7)){grid-template-columns:repeat(3,1fr)}}

.es-quelle{font:400 11px/1.3 var(--pk-schrift);color:#6B7C85;text-align:right;margin:4px 0 0}

/* Abschluss (S 25.11.): Ring voll mit Haken in der Mitte statt leerer Kopfzeile, Ergebnis-Zahl zählt hoch, Überschrift fährt weich ein */
.k-kopfzeile .ringok{display:none}
.k-kopfzeile.k-fertig .ringok{display:inline;stroke-dasharray:22;stroke-dashoffset:22;animation:kOk .45s .45s ease forwards}
.k-kopfzeile.k-fertig .k-stand{color:var(--pk-navy,#00344C);font-weight:600}
@keyframes kOk{to{stroke-dashoffset:0}}
.k-ergebnis .k-ew{animation:kEw .7s .2s cubic-bezier(.2,.8,.2,1) both}
@keyframes kEw{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
.k-danke-seite .ringsvg{width:64px;height:64px}
.k-danke-seite .ringsvg .ringvoll{stroke-dasharray:0 101;animation:kVoll .7s .1s cubic-bezier(.2,.8,.2,1) forwards}
@keyframes kVoll{to{stroke-dasharray:101 101}}
.k-danke-seite .ringsvg .ringok{stroke-dasharray:22;stroke-dashoffset:22;animation:kOk .45s .7s ease forwards}
.k-danke-seite #k-danke-h{animation:kEw .7s .3s cubic-bezier(.2,.8,.2,1) both}
@media (prefers-reduced-motion:reduce){.k-kopfzeile.k-fertig .ringok,.k-danke-seite .ringsvg .ringok{animation:none;stroke-dashoffset:0}.k-ergebnis .k-ew,.k-danke-seite #k-danke-h{animation:none}.k-danke-seite .ringsvg .ringvoll{animation:none;stroke-dasharray:101 101}}

/* Frage bekommt nach dem Schritt den Fokus (Screenreader), ohne sichtbaren Rahmen (S 25.11.) */
.k-frage:focus{outline:none}
.k-frage:focus-visible{outline:none}

/* Expertensuche: Suchauftrag öffnet an der Stelle der Karte (S 25.11.). Die Karte ist nach der Ortswahl zweitrangig. */
.es-rechts{min-width:0}
.es-auftrag-offen .es-grid{align-items:start}
.es-auftrag-offen .es-los{display:none}
/* Ausgefüllte Felder treten zurück und machen Platz für den Suchauftrag, die Karte bleibt (S 25.11.) */
.es-auftrag-offen .es-dd,.es-auftrag-offen .es-plz{display:none!important}
.es-auftrag-offen .es-erg{margin-top:0}
.es-auftrag-offen .es-treffer{padding:12px 16px;border-radius:16px;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 14px;animation:none}
.es-auftrag-offen .es-treffer>p:not(.es-k),.es-auftrag-offen .es-treffer .es-mehr{display:none!important}
.es-auftrag-offen .es-treffer .es-k{margin:0}
.es-auftrag-offen .es-treffer .es-aendern{margin-top:0}
.es-auftrag{margin-top:22px}
@media(min-width:900px){.es-auftrag-offen .es-karte{position:sticky;top:96px}}
@media(max-width:899px){.es-auftrag-offen .es-karte{display:none}}
.es-auftrag{animation:kAuf .4s cubic-bezier(.2,.8,.2,1) both}
.es-treffer .es-aendern{display:none}
.es-auftrag-offen .es-treffer .es-aendern{display:inline-block;margin-top:10px}
.es-aendern{border:0;background:none;color:var(--pk-teal,#145F61);font:700 15px/1.3 var(--pk-schrift);text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:4px 0;flex:none}

/* Expertensuche: Trefferliste aus der Live-Suche und Karte Entwurf B (Marker mit Symbolen), S 25.11. */
.es-karte{position:relative}
.es-karte path{fill:#E3F3E9;stroke:#fff;stroke-width:2.2}
.es-karte svg{filter:drop-shadow(0 6px 0 #CFE6D8) drop-shadow(0 14px 18px rgba(0,52,76,.10))}
.es-karte.es-gewaehlt path{fill:#E8F5EC}
.es-karte path.an{fill:#A8E9BC}
.es-pins{position:absolute;left:0;top:0;width:100%;aspect-ratio:586/793;pointer-events:none}
.es-pin{position:absolute;width:44px;height:54px;transform:translate(-50%,-100%);display:block;animation:es-pin-ein .45s cubic-bezier(.2,.8,.3,1.2) both}
.es-pin::before{content:"";position:absolute;inset:0;background:#00344C;border-radius:50% 50% 50% 0;transform:rotate(-45deg);width:44px;height:44px;box-shadow:0 6px 10px rgba(0,52,76,.25),inset 0 -3px 0 rgba(0,0,0,.18)}
.es-pin svg{position:absolute;left:7px;top:7px;width:30px;height:30px;padding:5px;box-sizing:border-box;background:#fff;border-radius:50%;fill:none;stroke:#00344C;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.es-pin--ort{width:18px;height:18px;transform:translate(-50%,-50%);animation:none}
.es-pin--ort::before{background:#3FBF7F;border-radius:50%;transform:none;width:18px;height:18px;box-shadow:0 0 0 6px rgba(63,191,127,.25),0 2px 6px rgba(0,52,76,.25);border:3px solid #fff;box-sizing:border-box}
.es-pin--ort svg{display:none}
.es-pin+.es-pin{animation-delay:.12s}
@keyframes es-pin-ein{from{opacity:0;transform:translate(-50%,-130%)}to{opacity:1;transform:translate(-50%,-100%)}}
@media (prefers-reduced-motion:reduce){.es-pin{animation:none}}
.es-laed{color:#4A6572}
.es-trl{list-style:none;margin:14px 0 16px;padding:0;display:grid;gap:10px}
.es-tr{display:grid;grid-template-columns:48px 1fr;gap:14px;background:#fff;border-radius:16px;padding:14px 16px;margin:0}
.es-tr::before{display:none!important}
.es-tr-logo{width:48px;height:48px;border-radius:12px;background:#F3F7F8;display:flex;align-items:center;justify-content:center;overflow:hidden}
.es-tr-logo img{width:100%;height:100%;object-fit:contain}
.es-tr-logo svg{width:26px;height:26px;fill:none;stroke:#00344C;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.es-tr-t{font-weight:700;color:#00344C;margin:0 0 2px}
.es-tr-o{font-size:14px;color:#4A6572;margin:0 0 6px}
.es-tr-x{font-size:15px;margin:0 0 6px}
.es-tr-l{font-size:15px}
.es-pin svg *{stroke:#00344C!important;fill:none!important;stroke-width:2.6px!important}
.es-tr-logo svg *{stroke:#00344C!important;fill:none!important}
@media(max-width:599px){.es-tr{grid-template-columns:40px 1fr;gap:12px;padding:12px 14px}.es-tr-logo{width:40px;height:40px}}
