/* Bewertungsstrecke – baut auf den Formular-Stilen des Themes auf (main.css) */
.bw-form fieldset.bw-step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: var(--space-4); }
.bw-form:not(.bw-js) fieldset.bw-step + fieldset.bw-step { border-top: 1px solid var(--line); padding-top: var(--space-6); }
.bw-form:not(.bw-js) [data-js-only] { display: none; }
.bw-js fieldset.bw-step:not(.is-active) { display: none; }
.bw-js .bw-nojs-submit { display: none; }
.bw-q { font: 600 24px/30px var(--font-display); letter-spacing: -0.01em; color: var(--ink); padding: 0; margin: 0 0 var(--space-2); }
@media (min-width: 700px) { .bw-q { font-size: 28px; line-height: 34px; } }
.bw-sub { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.bw-trust { margin: var(--space-2) 0 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.bw-hint { margin: 0; padding: var(--space-3) var(--space-4); background: var(--surface-muted); font-size: 14px; line-height: 20px; }
.bw-hint.is-error { border-left: 3px solid var(--accent); }

/* Kacheln */
.bw-tiles { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 560px) { .bw-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bw-tiles-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .bw-tiles-icons { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bw-tile { position: relative; display: block; cursor: pointer; }
.bw-tiles-icons .bw-tile span { height: 100%; box-sizing: border-box; }
.bw-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bw-tile span { display: flex; align-items: center; gap: var(--space-3); min-height: 56px; padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-raised); font-size: 16px; line-height: 22px; font-weight: 500; color: var(--ink); transition: border-color .15s, background .15s; }
.bw-tiles-icons .bw-tile span { overflow-wrap: anywhere; hyphens: auto; flex-direction: column; justify-content: center; text-align: center; min-height: 120px; gap: var(--space-2); }
.bw-tile:hover span { border-color: var(--ink); }
.bw-tile input:checked + span { border-color: var(--ink); background: var(--surface-muted); box-shadow: inset 0 0 0 1px var(--ink); }
.bw-tile input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.bw-shake { animation: bw-shake .3s; }
@keyframes bw-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .bw-shake { animation: none; outline: 2px solid var(--accent); } }

/* Felder */
.bw-row-plz { grid-template-columns: 7rem 1fr; }
.bw-row-name { grid-template-columns: 1fr; }
@media (min-width: 700px) { .bw-row-name { grid-template-columns: 8rem 1fr 1fr; } }
.bw-row-baujahr { align-items: end; }
.bw-row-baujahr .check { padding-bottom: 12px; }
.bw-mods { display: grid; gap: var(--space-3); }
@media (min-width: 560px) { .bw-mods { grid-template-columns: repeat(2, 1fr); } }
.bw-mod { display: grid; grid-template-columns: 1fr 6.5rem; gap: var(--space-3); align-items: center; }
.bw-mod .check { color: var(--ink); font-size: 15px; }
.bw-mod input[type=number] { padding-top: 8px; padding-bottom: 8px; }
.bw-code { font: 600 28px/36px var(--font-display); letter-spacing: .3em; max-width: 12rem; text-align: center; }
.bw-form [hidden] { display: none !important; }

/* Navigation & Fortschritt */
.bw-progress { display: grid; gap: var(--space-2); }
.bw-progress-bar { height: 4px; background: var(--line); }
.bw-progress-bar span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .25s; }
.bw-progress-text { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.bw-nav { display: flex; justify-content: space-between; gap: var(--space-3); border-top: 1px solid var(--line); padding-top: var(--space-4); }
.bw-nav [data-next] { margin-left: auto; }
.behr-form.bw-form .bh-btn { justify-self: start; }

/* FAQ, Foto, Danke */
.prose > .bw-faq { max-width: 70ch; margin: var(--space-4) 0 var(--space-8); border-top: 1px solid var(--line); }
.bw-faq details { border-bottom: 1px solid var(--line); }
.bw-faq summary { cursor: pointer; list-style: none; padding: var(--space-4) var(--space-8) var(--space-4) 0; font-weight: 500; position: relative; }
.bw-faq summary::-webkit-details-marker { display: none; }
.bw-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--ink-muted); }
.bw-faq details[open] summary::after { content: "–"; }
.bw-faq details p { margin: 0 0 var(--space-4); color: var(--ink-muted); }
.prose > .bw-person { display: grid; gap: var(--space-6); align-items: center; max-width: 70ch; margin: var(--space-6) 0; }
@media (min-width: 700px) { .prose > .bw-person { grid-template-columns: 180px 1fr; } }
.bw-person img { width: 180px; height: 180px; object-fit: cover; margin: 0 !important; background: var(--surface-muted); }
.bw-person p { margin: 0; }
.prose > .bw-danke { max-width: 70ch; }
.bw-danke h2 { margin-top: 0; }

/* Einstieg auf der Startseite */
.bw-start { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); display: grid; gap: var(--space-4); margin-top: var(--space-8); box-shadow: var(--shadow-card); }
@media (min-width: 700px) { .bw-start { padding: var(--space-8); } }
.bw-start-title { margin: 0; font: 600 22px/28px var(--font-display); letter-spacing: -0.01em; }
@media (min-width: 700px) { .bw-start-title { font-size: 26px; line-height: 32px; } }
a.bw-tile { text-decoration: none; }
a.bw-tile:focus-visible span { outline: 2px solid var(--focus); outline-offset: 2px; }
.bw-start .bw-tiles-icons .bw-tile span { min-height: 112px; padding-left: var(--space-2); padding-right: var(--space-2); }
@media (max-width: 400px) { .bw-tiles-icons .bw-tile span { font-size: 15px; } }
.hero-links { margin-top: var(--space-4); font-size: 15px; }
