/* Projekt-Planer */
.pk-kopf { padding-bottom: 8px; }
.pk-kopf h1 { font-size: clamp(30px, 4.6vw, 54px); margin: 10px 0 14px; }
.pk { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 32px); margin: 8px 0 56px; display: grid; gap: 22px; max-width: 860px; }
.pk-fortschritt { display: grid; gap: 8px; }
.pk-fortschritt p { font-size: 13px; color: var(--muted); font-weight: 500; margin: 0; }
.pk progress { width: 100%; height: 8px; border: 0; border-radius: 8px; overflow: hidden; background: var(--surface-2); appearance: none; -webkit-appearance: none; }
.pk progress::-webkit-progress-bar { background: var(--surface-2); }
.pk progress::-webkit-progress-value { background: linear-gradient(90deg, var(--cyan), var(--orange)); border-radius: 8px; transition: width .25s; }
.pk progress::-moz-progress-bar { background: linear-gradient(90deg, var(--cyan), var(--orange)); border-radius: 8px; }
.pk-schritt { display: grid; gap: 22px; border: 0; padding: 0; min-width: 0; }
.pk-schritt[hidden], .pk-frage[hidden], .pk-fehler[hidden], .pk-fertig[hidden], .pk [hidden] { display: none !important; }
.pk-schritt h2 { font-size: clamp(22px, 3vw, 30px); outline: none; }
.pk-frage { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 12px; }
.pk-frage legend { font-weight: 600; font-size: 17px; padding: 0; margin-bottom: 4px; }
.pk-opt-hinweis { font-weight: 400; color: var(--muted); font-size: 14px; }
.pk-hilfe { color: var(--muted); font-size: 14px; margin: 0; }
.pk-optionen { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.pk-karte { position: relative; display: block; cursor: pointer; }
.pk-karte input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pk-karte span { display: flex; align-items: center; min-height: 54px; padding: 12px 16px 12px 46px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 15px; line-height: 1.35; position: relative; transition: border-color .15s, background .15s; }
.pk-karte span::before { content: ""; position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--muted); border-radius: 50%; }
[data-typ="mehrfach"] .pk-karte span::before { border-radius: 5px; }
.pk-karte:hover span { border-color: var(--cyan); }
.pk-karte input:checked + span { border-color: var(--cyan); background: var(--surface-2); }
.pk-karte input:checked + span::before { background: var(--cyan); border-color: var(--cyan); box-shadow: inset 0 0 0 3px var(--surface-2); }
.pk-karte input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.pk input[type=text], .pk input[type=email], .pk input[type=tel], .pk textarea { width: 100%; font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.pk textarea { resize: vertical; min-height: 120px; }
.pk label { font-size: 14px; font-weight: 500; }
.pk-schritt > label, .pk-zeile label { display: grid; gap: 6px; }
.pk-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pk-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.pk-check input { margin-top: 4px; flex: none; width: 18px; height: 18px; }
.pk-fehler { color: var(--orange-text); font-size: 14px; font-weight: 500; margin: 0; }
.pk-nav { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.pk-nav .btn:only-child, .pk-nav .btn[id=pkWeiter], .pk-nav .btn[id=pkSenden] { margin-left: auto; }
.pk-status { min-height: 1.4em; color: var(--muted); font-size: 14px; margin: 0; }
.pk-hinweis { padding: 14px 16px; border: 1px solid var(--orange); border-radius: 12px; }
.pk-fertig { max-width: 860px; margin: 8px 0 56px; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--cyan); border-radius: 18px; background: var(--surface); outline: none; }
.pk-fertig h2 { margin-bottom: 10px; }
@media (max-width: 640px) { .pk-zeile { grid-template-columns: 1fr; } .pk-optionen { grid-template-columns: 1fr; } .pk-nav { flex-direction: column-reverse; } .pk-nav .btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .pk progress::-webkit-progress-value, .pk-karte span { transition: none; } }
