/* Anfrage-Seite: Schrittformular im LED-Look */
.kopf-zurueck { margin-left: auto; font-weight: 600; font-size: 15px; text-decoration: none; }
.kopf-zurueck:hover { color: var(--eis); }

.anfrage-seite { position: relative; padding: calc(var(--kopf-h) + clamp(48px, 7vw, 96px)) 16px clamp(80px, 10vw, 130px); min-height: 100vh; }
.anfrage-seite > *:not(.hg-fleck) { position: relative; z-index: 1; }
.anfrage-kopf { text-align: center; max-width: 760px; margin: 0 auto; }
.anfrage-kopf h1 { font-size: clamp(32px, 4vw, 54px); }
.anfrage-kopf .text { margin: 18px auto 0; }

.stufen, .danke {
  max-width: 860px; margin: clamp(36px, 5vw, 56px) auto 0;
  padding: clamp(24px, 4vw, 48px);
  background: rgba(19, 17, 31, 0.9); border: 1px solid var(--rand); border-radius: 6px;
  box-shadow: 0 0 70px rgba(139, 61, 255, 0.2);
}

/* LED-Fortschritt */
.fortschritt { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fortschritt li { font-size: 14px; font-weight: 600; display: grid; gap: 10px; }
.fortschritt span { height: 4px; border-radius: 2px; background: rgba(139, 61, 255, 0.22); transition: background 0.3s, box-shadow 0.3s; }
.fortschritt li.ist-aktiv span, .fortschritt li.ist-fertig span { background: linear-gradient(90deg, var(--violett), var(--eis)); box-shadow: var(--led-glanz); }

.stufe { border: 0; padding: 0; margin: 0; min-width: 0; }
.stufe legend { font: 800 clamp(22px, 2.4vw, 30px)/1.2 "Unbounded", sans-serif; padding: 0; margin-bottom: 22px; text-wrap: balance; }
.hinweis { margin: -8px 0 20px; font-weight: 500; }
.frage { font: 800 18px/1.3 "Unbounded", sans-serif; margin: 32px 0 14px; }
.fehler { margin: 16px 0 0; font-weight: 600; color: #ff8fb0; }
.optional { font-weight: 400; }

/* Auswahl-Kacheln */
.wahl-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wahl-klein { grid-template-columns: repeat(3, 1fr); }
.wahl { position: relative; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; pointer-events: none; }
.wahl span { display: grid; gap: 4px; height: 100%; padding: 18px 20px; border-radius: var(--radius); background: var(--grund); border: 1px solid rgba(255, 255, 255, 0.16); font-weight: 500; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.wahl strong { font: 800 17px/1.25 "Unbounded", sans-serif; }
.wahl:hover span { border-color: rgba(46, 200, 255, 0.6); }
.wahl input:checked + span { border-color: var(--eis); background: #161230; box-shadow: 0 0 0 1px var(--eis) inset, 0 0 22px rgba(46, 200, 255, 0.35); }
.wahl input:focus-visible + span { outline: 2px solid var(--eis); outline-offset: 2px; }
.wahl-breit { grid-column: 1 / -1; }

/* Inhalt mit Produktbildern */
.inhalt-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.inhalt { position: relative; cursor: pointer; display: grid; justify-items: center; gap: 6px; padding: 14px 10px 12px; border-radius: var(--radius); background: var(--grund); border: 1px solid rgba(255, 255, 255, 0.16); font-weight: 600; font-size: 15px; transition: border-color 0.2s, box-shadow 0.2s; }
.inhalt input { position: absolute; opacity: 0; pointer-events: none; }
.inhalt img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; filter: saturate(0.6) brightness(0.75); transition: filter 0.2s, transform 0.2s; }
.inhalt:has(input:checked) { border-color: var(--eis); box-shadow: 0 0 0 1px var(--eis) inset, 0 0 22px rgba(46, 200, 255, 0.35); }
.inhalt:has(input:checked) img { filter: none; transform: translateY(-2px); }
.inhalt:has(input:focus-visible) { outline: 2px solid var(--eis); outline-offset: 2px; }

/* Felder */
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.felder label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.feld-breit { grid-column: 1 / -1; }
.felder input, .felder select, .felder textarea {
  width: 100%; min-height: 50px; padding: 0 14px;
  font: 400 16px "Inter", sans-serif; color: #fff;
  background: var(--grund); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius);
}
.felder textarea { padding: 12px 14px; resize: vertical; }
.felder input::placeholder { color: rgba(246, 244, 255, 0.55); }
.felder input:focus, .felder select:focus, .felder textarea:focus { outline: none; border-color: var(--eis); box-shadow: 0 0 0 3px rgba(46, 200, 255, 0.25); }
.felder input::-webkit-calendar-picker-indicator { filter: invert(1); }
.haken-feld { display: flex !important; align-items: flex-start; gap: 12px; font-weight: 500 !important; }
.haken-feld input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--eis); }

.stufen-knoepfe { display: flex; justify-content: flex-end; gap: 12px; margin-top: 32px; }
.stufen-knoepfe [data-zurueck] { margin-right: auto; }

/* Danke */
.danke { text-align: center; }
.danke h2 { font-size: clamp(26px, 3vw, 40px); }
.danke .text { margin: 16px auto 28px; }
.danke-ring { display: block; width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; border: 3px solid var(--eis); box-shadow: var(--led-glanz), inset 0 0 18px rgba(46, 200, 255, 0.5); }

@media (max-width: 700px) {
  .fortschritt li { font-size: 0; }
  .wahl-raster, .wahl-klein, .felder { grid-template-columns: 1fr; }
  .inhalt-raster { grid-template-columns: 1fr 1fr; }
  .stufen-knoepfe .knopf { flex: 1; }
}
