/* Bedarfs-Check (ATELIER, 23.10.2026): gemeinsamer Teil und drei Darstellungen zur Wahl.
   A Auftragskarte, B Fächer, C Gespräch; gewählt ist der Mix aus A und B (Janik 26.10.2026).
   Farben und Schriften aus grund.css (Look „Blaue Stunde“, Relaunch 02.11.2026). */

.bedarf { position: relative; }
.bedarf-stand { font-size: 15px; color: var(--text-3); }
.bedarf-frage { font-family: var(--f-text); font-weight: 500; font-size: clamp(28px, 2.7vw, 40px); line-height: 1.08; letter-spacing: -0.012em; margin: 6px 0 22px; text-wrap: balance; }
.bedarf-frage:focus { outline: none; }
.bedarf-frage:focus-visible { outline: 2px solid var(--blau-licht); outline-offset: 4px; }
.bedarf-option { appearance: none; border: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; -webkit-tap-highlight-color: transparent; }
.bedarf-option:focus-visible { outline: 2px solid var(--blau-licht); outline-offset: 3px; }
.bo-text { display: block; font-family: var(--f-schild); font-weight: 750; font-size: 22px; line-height: 1.1; letter-spacing: 0.01em; }
.bo-sub { display: block; font-size: 14px; line-height: 1.4; margin-top: 4px; color: var(--text-2); }
.bedarf-zurueck { appearance: none; background: none; border: 0; padding: 10px 0; margin-top: 12px; min-height: 44px; font: inherit; font-size: 16px; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bedarf-zurueck:hover { color: var(--text); }
.bedarf-frei { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 16px; }
.bedarf-frei label { flex: 1 1 240px; display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
.bedarf input:not([type="checkbox"]) { min-height: 48px; padding: 10px 12px; border: 1px solid var(--linie-3); border-radius: 8px; background: var(--nacht-2); font: inherit; font-size: 17px; color: var(--text); }
.bedarf input:focus { outline: 2px solid var(--blau-licht); outline-offset: 0; border-color: var(--blau); }

/* Ergebnis und Kontakt */
.bedarf-ergebnis { max-width: 640px; }
.bedarf-erg-titel { font-family: var(--f-schild); font-weight: 700; font-size: 21px; letter-spacing: 0.03em; color: var(--text-2); margin: 0; }
.bedarf-erg-titel:focus { outline: none; }
.bedarf-paket { display: grid; margin: 6px 0 14px; }
.bp-name { font-family: var(--f-text); font-weight: 520; font-size: clamp(32px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.012em; }
.bp-preis { font-family: var(--f-schild); font-weight: 800; font-size: clamp(40px, 4.2vw, 62px); line-height: 1; margin-top: 10px; color: var(--orange); }
html[lang="es"] .bp-preis { font-size: clamp(36px, 3.4vw, 50px); }
.bp-zusatz { font-size: 15px; color: var(--text-3); margin-top: 6px; }
.bedarf-gruende { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; }
.bedarf-gruende li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.45; }
.bedarf-gruende li::before { content: ""; position: absolute; left: 2px; top: 0.36em; width: 13px; height: 7px; border-left: 2px solid var(--blau-licht); border-bottom: 2px solid var(--blau-licht); transform: rotate(-45deg); }
.bedarf-naechstes, .bedarf-beispiel, .bedarf-oder, .bedarf-betrieb { font-size: 16px; line-height: 1.5; color: var(--text-2); margin: 8px 0; max-width: 36em; }
/* Betrieb nach dem Livegang (Janik 29.10.2026): Farbe wie das Care-Feld der Preise */
.bedarf-betrieb { padding-left: 12px; border-left: 3px solid var(--blau); }
.bedarf-ergebnis > .knopf { margin-top: 12px; }
.bedarf-kontakt { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; background: var(--glas-hauch); border: 1px solid var(--linie); padding: 22px; border-radius: 14px; box-shadow: var(--schatten-tief); }
.bedarf-kontakt > :is(.bk-titel, .bk-einer, .bk-haken, .bk-status, .bk-hinweis, .bk-probe, button) { grid-column: 1 / -1; }
.bedarf-kontakt label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
.bedarf-kontakt button { justify-self: start; }
.bk-titel { font-family: var(--f-text); font-weight: 520; font-size: 25px; margin: 0; }
.bk-einer { font-size: 14px; color: var(--text-3); margin-top: -6px; }
.bedarf-kontakt .bk-haken { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.bk-haken input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blau); flex: none; }
.bk-status:empty { display: none; }
.bedarf .falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk-status.ist-fehler { color: var(--orange-hell); font-weight: 600; }
.bk-hinweis { font-size: 13px; color: var(--text-3); }
.bk-hinweis a, .bk-status a, .bedarf-fertig a { color: var(--blau-licht); }
.bk-probe { font-size: 13px; background: rgba(252, 115, 77, 0.16); padding: 6px 10px; border-radius: 6px; }
.bedarf-fertig { background: var(--glas-hauch); border: 1px solid var(--linie); border-radius: 14px; padding: 26px; box-shadow: var(--schatten-tief); border-top: 4px solid var(--blau); max-width: 560px; }
.bedarf-fertig:focus { outline: none; }
.bedarf-fertig strong { display: block; font-family: var(--f-text); font-weight: 520; font-size: 34px; line-height: 1.05; margin-bottom: 8px; }
.bedarf-fertig p { color: var(--text-2); }

/* ---------- A Auftragskarte: links die Frage, rechts füllt sich die Karte mit Ihren Antworten ---------- */
.ba-raster { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.ba-liste { display: grid; gap: 12px; }
.ba-liste.bo-n7 { grid-template-columns: 1fr 1fr; }
.ba-liste .bedarf-option { display: block; width: 100%; background: var(--glas); border: 1px solid var(--linie); border-radius: 9px; padding: 16px 18px; border-left: 4px solid transparent; transition: transform 0.15s ease, border-color 0.15s ease; }
.ba-liste .bedarf-option:hover { transform: translateY(-1px); border-left-color: var(--orange); }
.ba-liste .bedarf-option:active { transform: translateY(2px); }
.ba-liste .bedarf-option[aria-pressed="true"] { border-left-color: var(--orange); background: var(--glas-2); }
.bedarf-zettel { position: sticky; top: calc(var(--kopf-h) + 28px); background: var(--glas-hauch); border: 1px solid var(--linie-2); border-radius: 12px; padding: 22px 22px 0; border-top: 4px solid var(--orange); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 40px 70px -36px rgba(0, 0, 0, 0.95); overflow: hidden; }
.bz-titel { display: flex; align-items: center; gap: 10px; font-family: var(--f-text); font-weight: 520; font-size: 23px; margin: 0; }
.bz-titel::before { content: ""; width: 22px; height: 22px; background: url(marke/atelier-stern.svg) center / contain no-repeat; }
.bedarf-zettel dl { margin: 12px 0 0; }
.bz-zeile { display: grid; grid-template-columns: 6.2em 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--linie); align-items: baseline; }
.bz-zeile dt { font-size: 14px; color: var(--text-3); }
.bz-zeile dd { margin: 0; font-family: var(--f-schild); font-weight: 750; font-size: 21px; line-height: 1.1; }
.bz-offen { font-family: var(--f-text); font-weight: 400; font-size: 14px; color: var(--text-3); }
.bz-zeile.ist-neu dd { animation: bz-ein 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes bz-ein { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.bz-stempel { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 16px -22px 0; padding: 14px 22px 16px; background: var(--orange); color: var(--nacht); font-family: var(--f-schild); font-weight: 800; font-size: 22px; line-height: 1.05; }
.bz-stempel.ist-neu { animation: bz-stempel 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.15); transform-origin: bottom; }
@keyframes bz-stempel { from { transform: translateY(100%); } to { transform: none; } }
.bedarf-zettel:not(:has(.bz-stempel)) { padding-bottom: 12px; }

/* ---------- B Fächer: die Antworten fächern auf wie die Gewerke oben, das gewählte Blatt richtet sich auf ---------- */
.bedarf[data-richtung="b"] .bb-kopf { text-align: center; }
.bedarf[data-richtung="b"] .bedarf-frage { margin-bottom: 10px; }
.bb-faecher { position: relative; height: 440px; max-width: 820px; margin: 0 auto; --schritt: min(24deg, calc(120deg / var(--n))); }
.bb-faecher .bedarf-option {
  position: absolute; left: 50%; bottom: 34px; width: 96px; height: 384px; margin-left: -48px;
  display: flex; flex-direction: column; align-items: center; padding: 26px 10px;
  border-radius: 48px / 44px; background: var(--farbe); color: #fff;
  --w: calc((var(--i) - (var(--n) - 1) / 2) * var(--schritt));
  transform-origin: 48px 356px; transform: rotate(var(--w));
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2), 0 20px 30px -18px rgba(23, 38, 54, 0.6);
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
}
.bb-faecher .bedarf-option:nth-of-type(7n + 1) { color: var(--nacht); }
.bb-faecher .bo-text { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 23px; max-height: 300px; text-align: left; }
.bb-faecher .bo-sub { display: none; }
.bb-faecher .bedarf-option:hover, .bb-faecher .bedarf-option:focus-visible { transform: rotate(var(--w)) translateY(-16px); z-index: 3; }
.bb-faecher.ist-gewaehlt .bedarf-option { opacity: 0.25; }
.bb-faecher .bedarf-option.ist-oben { opacity: 1; z-index: 4; transform: rotate(0deg) translateY(-34px); }
.bf-niete { position: absolute; left: 50%; bottom: 8px; width: 66px; height: 66px; margin-left: -33px; z-index: 6; display: grid; place-items: center; border-radius: 50%; font-family: var(--f-schild); font-weight: 800; font-size: 19px; color: var(--nacht); background: radial-gradient(circle at 34% 28%, #ffffff, #c9d0d5 58%, #7b858d); box-shadow: 0 7px 14px -5px rgba(0, 0, 0, 0.7), 0 0 16px rgba(2, 151, 222, 0.3); }
.bedarf[data-richtung="b"] .bedarf-zurueck, .bedarf[data-richtung="b"] .bedarf-frei { display: flex; justify-content: center; margin-left: auto; margin-right: auto; }
.bedarf[data-richtung="b"] .bedarf-ergebnis { margin: 0 auto; }

/* ---------- C Gespräch: Fragen kommen als Nachricht, Antworten als Knöpfe, die Wahl steht danach als Ihre Antwort ---------- */
.bc-fenster { max-width: 620px; background: var(--glas); border: 1px solid var(--linie); border-radius: 18px; overflow: hidden; box-shadow: var(--schatten-tief); }
.bc-kopf { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--glas-2); color: var(--text); font-family: var(--f-schild); font-weight: 750; font-size: 21px; }
.bc-avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff url(marke/atelier-stern.svg) center / 58% no-repeat; flex: none; }
.bc-stand { margin-left: auto; font-family: var(--f-text); font-weight: 400; font-size: 13px; opacity: 0.85; }
.bc-verlauf { list-style: none; margin: 0; padding: 18px 16px 8px; display: grid; gap: 10px; }
.bc-nachricht { display: flex; }
.bc-nachricht > p { margin: 0; max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: 17px; line-height: 1.4; }
.bc-atelier > p { background: var(--glas-2); border-bottom-left-radius: 4px; }
.bc-atelier .bedarf-frage { font-family: var(--f-text); font-weight: 600; font-size: 18px; line-height: 1.4; }
.bc-ich { justify-content: flex-end; align-items: center; gap: 8px; }
.bc-ich > p { order: 2; background: var(--orange); color: var(--nacht); border-bottom-right-radius: 4px; font-weight: 600; }
.bc-aendern { order: 1; appearance: none; background: none; border: 0; min-height: 32px; font: inherit; font-size: 13px; color: var(--text-2); text-decoration: underline; cursor: pointer; }
.bc-nachricht.ist-neu > p { animation: bc-ein 0.3s ease-out; }
@keyframes bc-ein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bc-tippt > p { display: flex; gap: 5px; padding: 15px 16px; }
.bc-tippt span { width: 8px; height: 8px; border-radius: 50%; background: #9aa6b1; animation: bc-punkt 0.9s infinite ease-in-out; }
.bc-tippt span:nth-child(2) { animation-delay: 0.15s; } .bc-tippt span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bc-punkt { 0%, 80%, 100% { opacity: 0.35; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.bc-antworten { padding: 4px 16px 16px; }
.bc-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.bc-chips .bedarf-option { background: var(--glas-2); border: 1px solid var(--linie-3); border-radius: 18px; padding: 8px 16px; min-height: 44px; text-align: right; transition: background-color 0.15s ease; }
.bc-chips .bedarf-option:hover { border-color: var(--orange); }
.bc-chips .bo-text { font-size: 19px; }
.bc-chips .bo-sub { font-size: 12.5px; margin-top: 2px; }
.bc-ergebnis > .bedarf-ergebnis { background: var(--glas-2); border-radius: 16px; border-bottom-left-radius: 4px; padding: 18px; width: 100%; }
.bc-ergebnis .bedarf-kontakt { grid-template-columns: 1fr; box-shadow: none; padding: 16px 0 0; background: transparent; border: 0; border-top: 1px solid var(--linie); border-radius: 0; }
.bc-verlauf .bedarf-fertig { box-shadow: none; }
.bedarf[data-richtung="c"] .bedarf-zurueck { margin: 0 16px 10px; }
.bedarf[data-richtung="c"] .bedarf-frei { padding: 0; justify-content: flex-end; }

/* ---------- Mix A + B (Janik 26.10.2026): Antworten als Fächerblätter, leicht aufgefächert um die Niete,
   lesbar quer; rechts die Auftragskarte aus A. ---------- */
.bm-blaetter { position: relative; display: grid; gap: 10px; padding: 28px 0 22px 44px; --schritt: calc(9deg / var(--n)); }
.bm-blaetter .bedarf-option {
  position: relative; display: block; width: 100%; min-height: 58px; margin-left: -22px; padding: 14px 44px 14px 40px;
  border-radius: 29px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 40%), var(--farbe); color: #fff;
  --w: calc((var(--i) - (var(--n) - 1) / 2) * var(--schritt));
  transform-origin: -4px calc(((var(--n) - 1) / 2 - var(--i)) * 68px + 29px);
  transform: rotate(var(--w));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 2px 0 rgba(0, 0, 0, 0.4), 0 16px 26px -16px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
}
.bm-blaetter .bedarf-option:nth-of-type(7n + 1) { color: var(--nacht); }
.bm-blaetter .bo-sub { color: inherit; opacity: 0.86; }
.bm-blaetter .bedarf-option:hover, .bm-blaetter .bedarf-option:focus-visible { transform: rotate(var(--w)) translateX(8px); z-index: 2; }
.bm-blaetter .bedarf-option[aria-pressed="true"]::after { content: ""; position: absolute; right: 20px; top: 50%; width: 13px; height: 7px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: translateY(-70%) rotate(-45deg); }
.bm-blaetter.ist-gewaehlt .bedarf-option { opacity: 0.3; }
.bm-blaetter .bedarf-option.ist-oben { opacity: 1; transform: rotate(0deg) translateX(16px); z-index: 3; }
.bm-blaetter .bf-niete { left: 4px; top: 50%; bottom: auto; width: 50px; height: 50px; margin: -25px 0 0 -25px; font-size: 15px; z-index: 4; }

/* ---------- Handy ---------- */
@media (max-width: 860px) {
  .bedarf-frage { font-size: clamp(28px, 8vw, 36px); margin-bottom: 18px; }
  .bedarf-kontakt { grid-template-columns: 1fr; padding: 18px; }
  .ba-raster { grid-template-columns: 1fr; gap: 18px; }
  .ba-liste.bo-n7 { grid-template-columns: 1fr 1fr; }
  .ba-liste.bo-n7 .bo-text { font-size: 19px; }
  .bedarf-zettel { order: -1; position: static; padding: 14px 16px 0; border-top-width: 6px; }
  .bedarf-zettel:not(:has(.bz-stempel)) { padding-bottom: 8px; }
  .bz-titel { font-size: 20px; }
  .bz-zeile { padding: 7px 0; grid-template-columns: 5.4em 1fr; }
  .bz-zeile:not(.ist-voll) { display: none; }
  .bz-zeile dd { font-size: 18px; }
  .bz-stempel { margin: 10px -16px 0; padding: 10px 16px 12px; font-size: 19px; }
  .bb-faecher { height: auto; display: grid; gap: 10px; padding-bottom: 6px; }
  .bb-faecher .bedarf-option { position: relative; left: auto; bottom: auto; width: 100%; height: auto; min-height: 60px; margin: 0; padding: 14px 24px; flex-direction: row; border-radius: 30px; transform: rotate(calc((var(--i) - (var(--n) - 1) / 2) * 0.7deg)); }
  .bb-faecher .bo-text { writing-mode: horizontal-tb; transform: none; max-height: none; font-size: 21px; }
  .bb-faecher .bedarf-option:hover, .bb-faecher .bedarf-option:focus-visible { transform: rotate(calc((var(--i) - (var(--n) - 1) / 2) * 0.7deg)) translateX(6px); }
  .bb-faecher .bedarf-option.ist-oben { transform: scale(1.02); }
  .bf-niete { display: none; }
  .bm-blaetter { padding: 8px 0 10px; --schritt: calc(4deg / var(--n)); }
  .bm-blaetter .bedarf-option { margin-left: 0; padding: 13px 40px 13px 22px; transform-origin: 50% 50%; }
  .bc-fenster { border-radius: 14px; }
  .bc-nachricht > p { max-width: 90%; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .bedarf *, .bedarf *::before { animation: none !important; transition: none !important; }
}

/* Abschnitt #anfrage mit Bedarfs-Check: Einleitung oben, darunter Frage und Karte über die volle Breite */
.anfrage.anfrage-check { grid-template-columns: 1fr; gap: 34px; }
.anfrage-check .anfrage-text { max-width: 780px; }
.anfrage-check .anfrage-text h2 { max-width: 18ch; }
.anfrage-check .anfrage-text ul { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.anfrage-check .anfrage-text li { margin: 4px 0; color: var(--text-2); }
