/* ==========================================================================
   Kuli Webdesign – Fragebogen (Briefing-Assistent), Version 2
   Frosted-Glass-Oberfläche + Live-Vorschau (.website-example / .ws-*)
   ========================================================================== */

.briefing-page { background: radial-gradient(ellipse at 12% 14%, rgba(226,208,238,.48), transparent 38%), radial-gradient(ellipse at 88% 38%, rgba(205,219,255,.34), transparent 36%), var(--canvas, #f6f4f7); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-s { margin-top: 10px; }

.header-note { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--glas-hell); -webkit-backdrop-filter: var(--glas-unschaerfe); backdrop-filter: var(--glas-unschaerfe); border: 1px solid rgba(255,255,255,.82); box-shadow: var(--glas-hell-kante); font-size: .85rem; font-weight: 550; color: #3a3a40; }
.header-note .i { width: 18px; height: 18px; color: var(--brand); }
@media (max-width: 560px) { .header-note { display: none; } }

.wizard { padding-block: clamp(28px, 5vw, 56px) clamp(48px, 7vw, 88px); }
.wizard__intro { max-width: 900px; margin-bottom: clamp(28px, 4vw, 48px); }
.wizard__intro .eyebrow { display: inline-flex; padding: 8px 13px; border: 1px solid rgba(255,255,255,.82); border-radius: 999px; background: var(--glas-hell); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 24px rgba(42,28,53,.07); }
.wizard__intro h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); margin: 26px 0 18px; padding-top: .08em; }
.wizard__intro .lead { color: #4a4a52; }

.config-warning, .restore-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  margin-top: 18px; padding: 12px 16px; border-radius: 12px; font-size: .95rem;
}
.config-warning { display: block; background: #fff6e5; border: 1px solid #fedf89; color: #93370d; }
.config-warning code { font-size: .85em; }
.config-warning a { color: inherit; }
.restore-banner { background: linear-gradient(135deg, rgba(243,234,248,.88), rgba(255,255,255,.66)); border: 1px solid rgba(255,255,255,.85); box-shadow: inset 0 1px 0 #fff, 0 12px 28px rgba(42,28,53,.08); color: var(--brand-ink); }
.config-warning[hidden], .restore-banner[hidden] { display: none; }

.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .92rem; font-weight: 600; color: var(--brand-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--brand); }

/* ---------- Layout ---------- */
.wizard.container { max-width: 2060px; }
.wizard__layout {
  display: grid; align-items: start;
  grid-template-columns: minmax(170px, 190px) minmax(420px, 1fr) minmax(620px, 800px);
  grid-template-areas: "progress form preview";
  gap: clamp(18px, 1.6vw, 28px);
}
.wizard__aside { grid-area: progress; position: sticky; top: 96px; padding: 18px; border: 1px solid rgba(255,255,255,.78); border-radius: 24px; background: var(--glas-hell); -webkit-backdrop-filter: var(--glas-unschaerfe); backdrop-filter: var(--glas-unschaerfe); box-shadow: var(--glas-hell-kante), 0 18px 44px rgba(42,28,53,.08); }
.progress { height: 8px; border-radius: 999px; background: rgba(39,27,46,.1); overflow: hidden; }
.progress__bar { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--brand); transition: width .35s ease; }
.progress__label { margin: 12px 0 18px; font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #6a6a72; }
.save-status { margin: 0 0 14px; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.save-status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 1px; border-radius: 50%; background: #4d9c77; box-shadow: 0 0 0 3px rgba(77,156,119,.12); }

.stepnav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.stepnav button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; font: inherit; font-size: .93rem; color: var(--muted); cursor: default; }
.stepnav .num { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #cfd5e2; font-size: .82rem; font-weight: 700; background: #fff; }
.stepnav .num .i { width: 15px; height: 15px; stroke-width: 3; }
.stepnav li.is-done button { color: var(--ink-2); cursor: pointer; }
.stepnav li.is-done button:hover { background: rgba(255,255,255,.5); }
.stepnav li.is-current button { background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,255,255,.55)); color: var(--ink); font-weight: 650; box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 5px 16px rgba(42,28,53,.06); }
.stepnav li.is-current .num { border-color: #151017; background: #151017; color: #fff; }
.stepnav li.is-done .num { background: #e1cee8; border-color: #e1cee8; color: #151017; }
.stepnav button:disabled { opacity: .55; }

.wizard__form {
  grid-area: form; min-width: 0; container: formular / inline-size;
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(255,255,255,.56)); -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255,255,255,.88); border-radius: 30px;
  padding: clamp(22px, 4vw, 48px); box-shadow: var(--glas-hell-kante), var(--glas-schatten);
}
.wstep h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3rem); line-height: .95; letter-spacing: .005em; color: #151017; margin-bottom: .4em; }
.wstep__intro { color: var(--muted); margin-bottom: 28px; max-width: 64ch; }
.wstep[hidden] { display: none; }
.subhead { font-size: 1.1rem; margin: 34px 0 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.subhead:first-of-type { margin-top: 8px; padding-top: 0; border-top: 0; }

/* ---------- Felder ---------- */
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.wizard__form fieldset.field { padding: 15px 16px 17px; border: 1px solid rgba(255,255,255,.82); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.44), rgba(255,255,255,.22)); box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 8px 24px rgba(42,28,53,.035); }
.wizard__form fieldset.field--plain { padding: 0; border: 0; background: none; box-shadow: none; }
.wizard__form fieldset.field fieldset.field--plain { margin-bottom: 16px; }
.field > label, .field > legend, .field > .label { display: block; font-weight: 650; color: var(--ink); margin-bottom: 8px; padding: 0; font-size: .98rem; }
.req { color: var(--danger); }
.opt { font-weight: 500; color: var(--muted); font-size: .85em; margin-left: 4px; }
.hint { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }
.hint-inline { color: var(--brand-ink); }
.field > .hint + .chips, .field > .hint + .repeat { margin-top: 12px; }

input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid rgba(91,75,105,.18); border-radius: 14px; background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(255,255,255,.52)); -webkit-backdrop-filter: blur(10px) saturate(155%); backdrop-filter: blur(10px) saturate(155%); box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 2px 8px rgba(42,28,53,.025);
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input::placeholder, textarea::placeholder { color: #98a2b3; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(136, 80, 159, .15), inset 0 1px 0 rgba(255,255,255,.82); }
.is-invalid, .is-invalid:focus { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(217, 45, 32, .12) !important; }
.field-error { color: var(--danger); font-size: .88rem; font-weight: 600; margin: 6px 0 0; padding: 7px 10px; border: 1px solid rgba(217,45,32,.16); border-radius: 10px; background: rgba(254,243,242,.76); }
fieldset.is-invalid-group .choice__body, fieldset.is-invalid-group .style-card, fieldset.is-invalid-group .branche-card__body { border-color: var(--danger); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field-row--address { grid-template-columns: 2fr 1fr 1.5fr; }
@media (max-width: 640px) { .field-row, .field-row--address { grid-template-columns: 1fr; } }

/* Branche-Karten */
.branche-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .branche-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .branche-grid { grid-template-columns: 1fr; } }
.branche-card { position: relative; cursor: pointer; min-width: 0; }
.branche-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.branche-card__body {
  display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; height: 100%;
  padding: 14px 15px; border: 1px solid rgba(255,255,255,.88); border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.67), rgba(255,255,255,.34)); box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 8px 20px rgba(42,28,53,.045);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.branche-card__body .i { grid-row: 1 / 3; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #151017; color: #fff; stroke-width: 1.8; }
.branche-card__body strong { color: var(--ink); font-size: 1rem; line-height: 1.25; }
.branche-card__body small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.branche-card:hover .branche-card__body { border-color: rgba(136,80,159,.45); transform: translateY(-1px); }
.branche-card input:checked + .branche-card__body { border-color: rgba(106,61,125,.58); background: linear-gradient(145deg, rgba(241,232,244,.9), rgba(255,255,255,.62)); box-shadow: 0 0 0 3px rgba(136, 80, 159, .12), inset 0 1px 0 rgba(255,255,255,.9); }
.branche-card input:checked + .branche-card__body .i { background: var(--brand-ink); }
.branche-card input:focus-visible + .branche-card__body { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Chips (Typ, Vorschläge, Anbieter) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 7px 13px; border: 1px solid rgba(255,255,255,.88); border-radius: 999px; background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(255,255,255,.4)); box-shadow: inset 0 1px 0 rgba(255,255,255,.84), 0 5px 14px rgba(42,28,53,.04); font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip:hover { border-color: rgba(136,80,159,.5); color: var(--ink); }
.chip:has(input:checked) { border-color: #151017; background: #151017; color: #fff; }
.chip:has(input:focus-visible), .chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.chip--plus::before { content: "+"; font-weight: 800; color: var(--brand); }
.chip--plus.ist-genutzt { opacity: .5; cursor: default; }
.chip--plus.ist-genutzt::before { content: "✓"; color: #2f8a5b; }
.chip--warn:has(input:checked) { background: #b54708; border-color: #b54708; }
.chip--aktion { font-size: .84rem; min-height: 34px; padding: 6px 12px; }
.chips--vorschlag { margin-bottom: 14px; }
.zeiten-aktionen { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

.inline-options { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.inline-options--stack { flex-direction: column; gap: 10px; }
.radio, .check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; color: var(--ink-2); font-size: .96rem; line-height: 1.45; }
.radio input, .check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--brand); cursor: pointer; }
.inline-options:not(.inline-options--stack) .radio { padding: 9px 14px; border: 1px solid rgba(255,255,255,.86); border-radius: 999px; background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.34)); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 5px 14px rgba(42,28,53,.035); -webkit-backdrop-filter: blur(10px) saturate(155%); backdrop-filter: blur(10px) saturate(155%); transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.inline-options:not(.inline-options--stack) .radio:has(input:checked) { border-color: rgba(106,61,125,.5); background: linear-gradient(145deg, rgba(241,232,244,.9), rgba(255,255,255,.6)); box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 0 0 2px rgba(136,80,159,.1); }
.inline-options:not(.inline-options--stack) .radio:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.check--box { display: flex; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; margin-top: 14px; background: var(--bg-soft); }
.check--box.is-invalid-group { border-color: var(--danger); }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; }
@media (max-width: 760px) { .check-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .check-grid { grid-template-columns: 1fr; } }

/* Wiederholbare Zeilen */
.repeat { display: grid; gap: 10px; }
.repeat__row { display: grid; grid-template-columns: 1.1fr 1.5fr .7fr 44px; gap: 10px; align-items: center; }
@media (max-width: 760px) {
  .repeat__row { grid-template-columns: 1fr 44px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
  .repeat__row input:nth-child(2), .repeat__row input:nth-child(3) { grid-column: 1; }
  .repeat__row .icon-btn { grid-row: 1; grid-column: 2; }
}
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; flex: none; border: 1px solid rgba(255,255,255,.85); border-radius: 12px; background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.38)); box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 5px 14px rgba(42,28,53,.035); color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--danger); border-color: #fda29b; }
.icon-btn .i { width: 18px; height: 18px; }
.add-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 14px; border: 1.5px dashed rgba(136,80,159,.45); border-radius: 12px; background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.38)); font: inherit; font-weight: 600; font-size: .95rem; color: var(--brand-ink); cursor: pointer; }
.add-btn:hover { border-color: var(--brand); background: var(--brand-soft); }
.add-btn .i { width: 18px; height: 18px; }
.add-btn[hidden] { display: none; }

/* Öffnungszeiten */
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-bottom: 8px; }
.hours label { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 640px) { .hours { grid-template-columns: 1fr; } }

/* Online-Systeme */
.systeme { display: grid; gap: 14px; margin-bottom: 22px; }
.system { padding: 16px 18px 18px; border: 1px solid rgba(255,255,255,.86); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.6), rgba(255,255,255,.3)); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 26px rgba(42,28,53,.045); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.system__kopf { display: grid; gap: 2px; margin-bottom: 12px; }
.system__kopf strong { font-size: 1.02rem; color: var(--ink); }
.system__kopf p { margin: 0; color: var(--muted); font-size: .9rem; }
.system__details { margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(117,102,130,.3); }
.system__details[hidden], .system__hinweis[hidden], .system__warnung[hidden] { display: none; }
.system__details .chips { margin-bottom: 14px; }
.system__details .field { margin-bottom: 14px; }
.system__details .field:last-child { margin-bottom: 0; }
.system__warnung { margin: 0 0 14px; padding: 10px 12px; border: 1px solid #fedf89; border-radius: 12px; background: #fff6e5; color: #93370d; font-size: .9rem; }
.system__hinweis { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: linear-gradient(145deg, rgba(241,232,244,.8), rgba(255,255,255,.5)); color: var(--brand-ink); font-size: .9rem; }
.segmented { display: inline-flex; padding: 3px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; background: linear-gradient(145deg, rgba(239,232,244,.65), rgba(255,255,255,.42)); box-shadow: inset 0 1px 0 rgba(255,255,255,.78); -webkit-backdrop-filter: blur(12px) saturate(155%); backdrop-filter: blur(12px) saturate(155%); }
.segmented label { position: relative; padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented label:has(input:checked) { background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,255,255,.76)); box-shadow: 0 3px 9px rgba(42,28,53,.12), inset 0 1px 0 #fff; color: var(--ink); }
.segmented label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 1px; }
.segmented--breit { display: flex; }
.segmented--breit label { flex: 1; text-align: center; }
@media (max-width: 520px) { .segmented--breit { flex-direction: column; border-radius: 16px; } .segmented--breit label { border-radius: 12px; } }

/* Stil-Karten */
.style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .style-grid { grid-template-columns: 1fr; } }
.style-card { position: relative; display: flex; flex-direction: column; gap: 0; min-width: 0; padding: 10px; border: 1px solid rgba(255,255,255,.88); border-radius: 20px; background: linear-gradient(150deg, rgba(255,255,255,.68), rgba(255,255,255,.32)); box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 8px 22px rgba(42,28,53,.05); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.style-card input { position: absolute; z-index: 2; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.style-card__copy { display: grid; gap: 4px; padding: 11px 6px 4px; }
.style-card strong { color: var(--ink); font-size: .95rem; line-height: 1.25; }
.style-card small { color: var(--muted); font-size: .76rem; line-height: 1.4; }
.style-card:hover { transform: translateY(-2px); border-color: rgba(136,80,159,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 14px 28px rgba(42,28,53,.09); }
.style-card:has(input:checked) { border-color: rgba(106,61,125,.62); background: linear-gradient(145deg, rgba(241,232,244,.86), rgba(255,255,255,.58)); box-shadow: 0 0 0 3px rgba(136,80,159,.13), inset 0 1px 0 rgba(255,255,255,.92), 0 12px 26px rgba(42,28,53,.08); }
.style-card:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
.style-card__visual { display: block; position: relative; isolation: isolate; height: 118px; overflow: hidden; border-radius: 13px; box-shadow: inset 0 1px 2px rgba(21,16,23,.08); }
.style-card__visual::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 15px; border-bottom: 1px solid rgba(29,25,35,.08); background: rgba(255,255,255,.48); }
.style-card__visual::after { content: ""; position: absolute; z-index: 1; left: 7%; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: rgba(38,33,43,.45); box-shadow: 8px 0 rgba(38,33,43,.22), 16px 0 rgba(38,33,43,.14); }
.style-card__visual i { position: absolute; display: block; }
.style-card__badge { position: absolute; z-index: 3; top: 14px; right: 14px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.86); border-radius: 999px; background: rgba(255,255,255,.88); color: var(--brand-ink); font-size: .64rem; line-height: 1; font-weight: 700; box-shadow: 0 4px 12px rgba(21,16,23,.09); }
.style-card__badge[hidden] { display: none; }
.style-fit-hint { position: relative; margin: 16px 0 0; padding: 13px 15px 13px 42px; border: 1px solid rgba(106,61,125,.13); border-radius: 15px; background: linear-gradient(110deg, rgba(241,232,244,.7), rgba(255,255,255,.4)); color: var(--ink-2); font-size: .84rem; line-height: 1.5; }
.style-fit-hint::before { content: "✳"; position: absolute; left: 14px; top: 13px; color: var(--brand); font-size: 1rem; }

.sv-modern { background: linear-gradient(135deg, #eaf0ff, #dbe3f5); }
.sv-modern i:nth-child(1) { left: 8%; top: 18%; width: 49%; height: 42%; border-radius: 6px; background: #182338; }
.sv-modern i:nth-child(2) { right: 8%; top: 18%; width: 27%; height: 42%; border-radius: 6px; background: #aebdf2; }
.sv-modern i:nth-child(3) { left: 8%; bottom: 13%; width: 42%; height: 12%; border-radius: 99px; background: #4b5cdb; }
.sv-modern i:nth-child(4) { right: 8%; bottom: 13%; width: 25%; height: 12%; border-radius: 99px; background: #fff; }
.sv-klassisch { background: #f5f0e6; }
.sv-klassisch i:nth-child(1) { left: 19%; top: 20%; width: 62%; height: 2px; background: #7b644e; }
.sv-klassisch i:nth-child(2) { left: 31%; top: 32%; width: 38%; height: 30%; border: 1px solid #8b765e; border-radius: 50% 50% 3px 3px; background: rgba(210,193,163,.38); }
.sv-klassisch i:nth-child(3) { left: 26%; bottom: 14%; width: 48%; height: 2px; background: #8b765e; box-shadow: 0 -7px 0 rgba(139,118,94,.35); }
.sv-klassisch i:nth-child(4) { left: 44%; top: 40%; width: 12%; height: 15%; border-radius: 50%; background: #d2c1a3; }
.sv-minimal { background: #fff; border: 1px solid rgba(21,16,23,.1); }
.sv-minimal i:nth-child(1) { left: 12%; top: 26%; width: 45%; height: 5%; background: #181818; }
.sv-minimal i:nth-child(2) { left: 12%; top: 38%; width: 27%; height: 3%; background: #aaa; }
.sv-minimal i:nth-child(3) { right: 13%; top: 26%; width: 19%; aspect-ratio: 1; border: 1px solid #252525; border-radius: 50%; }
.sv-minimal i:nth-child(4) { left: 12%; bottom: 17%; width: 76%; height: 1px; background: #d8d8d8; }
.sv-verspielt { background: linear-gradient(135deg, #fff2df, #ffe8d1); }
.sv-verspielt i:nth-child(1) { left: 10%; top: 16%; width: 33%; aspect-ratio: 1; border-radius: 46% 54% 62% 38%; background: #f2a37e; transform: rotate(-15deg); }
.sv-verspielt i:nth-child(2) { right: 12%; top: 18%; width: 24%; aspect-ratio: 1; border-radius: 50%; background: #8bc6b4; }
.sv-verspielt i:nth-child(3) { left: 24%; bottom: 11%; width: 50%; height: 18%; border-radius: 999px; background: #765ab6; transform: rotate(-4deg); }
.sv-verspielt i:nth-child(4) { right: 16%; bottom: 13%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: #f4c759; }
.sv-edel { background: linear-gradient(135deg, #1d2028, #31313a); }
.sv-edel i:nth-child(1) { left: 12%; top: 22%; width: 76%; height: 2px; background: #c7ad7d; }
.sv-edel i:nth-child(2) { left: 26%; top: 34%; width: 48%; height: 38%; border: 1px solid rgba(199,173,125,.72); background: linear-gradient(140deg, rgba(199,173,125,.24), rgba(255,255,255,.04)); }
.sv-edel i:nth-child(3) { left: 35%; bottom: 14%; width: 30%; height: 3px; background: #c7ad7d; }
.sv-edel i:nth-child(4) { right: 14%; top: 18%; width: 10%; aspect-ratio: 1; border: 1px solid #c7ad7d; border-radius: 50%; }
.sv-boden { background: linear-gradient(135deg, #e9dfce, #f3eadc); }
.sv-boden i:nth-child(1) { left: 10%; top: 20%; width: 37%; height: 52%; border-radius: 3px; background: #795a3a; }
.sv-boden i:nth-child(2) { right: 10%; top: 20%; width: 33%; height: 20%; border-radius: 3px; background: #c39f72; }
.sv-boden i:nth-child(3) { right: 10%; top: 46%; width: 33%; height: 26%; border-radius: 3px; background: #789078; }
.sv-boden i:nth-child(4) { left: 10%; bottom: 10%; width: 82%; height: 3px; background: rgba(87,66,43,.38); }

/* Farbwelten */
.farbwelten { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.farbwelt { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 9px; border: 1px solid rgba(255,255,255,.9); border-radius: 999px; background: linear-gradient(145deg, rgba(255,255,255,.74), rgba(255,255,255,.4)); box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 6px 16px rgba(42,28,53,.04); font-size: .9rem; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease; }
.farbwelt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.farbwelt:hover { border-color: rgba(136,80,159,.5); }
.farbwelt:has(input:checked) { border-color: #151017; box-shadow: 0 0 0 2px #151017, inset 0 1px 0 #fff; color: var(--ink); }
.farbwelt:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.farbwelt[hidden] { display: none; }
.farbwelt__punkte { display: inline-flex; }
.farbwelt__punkte i { width: 22px; height: 22px; margin-left: -7px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.farbwelt__punkte i:first-child { margin-left: 0; }
.farbwelt__punkte--eigen i { background: conic-gradient(#f87171, #fbbf24, #4ade80, #60a5fa, #c084fc, #f87171); }
.farbwelt__punkte--eigen i:nth-child(2) { background: #151017; }
.farbwelt__punkte--eigen i:nth-child(3) { background: #fff; border-color: #d9d4dc; }
.color-controls { margin-top: 14px; }
.color-controls[hidden] { display: none; }
.colors { display: flex; flex-wrap: wrap; gap: 12px; }
.color-field { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border: 1px solid rgba(255,255,255,.9); border-radius: 14px; background: linear-gradient(145deg, rgba(255,255,255,.74), rgba(255,255,255,.4)); box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 6px 16px rgba(42,28,53,.04); cursor: pointer; font-weight: 600; color: var(--ink); }
.color-field input { width: 44px; height: 44px; border: 0; padding: 0; border-radius: 10px; background: none; cursor: pointer; }
.color-field input::-webkit-color-swatch-wrapper { padding: 0; }
.color-field input::-webkit-color-swatch { border: 1px solid rgba(0,0,0,.1); border-radius: 10px; }
.color-field input::-moz-color-swatch { border: 1px solid rgba(0,0,0,.1); border-radius: 10px; }
.color-field span { display: grid; line-height: 1.25; font-size: .92rem; }
.color-field code { font-size: .8rem; color: var(--muted); font-weight: 500; text-transform: uppercase; }
.logo-colors { margin-top: 14px; padding: 14px; border: 1px solid rgba(255,255,255,.72); border-radius: 14px; background: linear-gradient(145deg, rgba(239,232,244,.65), rgba(255,255,255,.42)); }
.logo-colors[hidden] { display: none; }
.logo-colors .hint { margin: 0 0 10px; }
.logo-colors .segmented { margin-bottom: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 44px; height: 44px; border-radius: 12px; border: 2px solid rgba(255,255,255,.94); box-shadow: 0 0 0 1px var(--line), var(--shadow-s); cursor: pointer; }
.swatch:hover { transform: translateY(-2px); }

/* Uploads */
.dropzone { position: relative; display: grid; place-items: center; text-align: center; min-height: 150px; padding: 22px; border: 2px dashed rgba(106,86,122,.25); border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,.66), rgba(246,242,249,.38)); box-shadow: inset 0 1px 0 rgba(255,255,255,.84), 0 8px 20px rgba(42,28,53,.035); -webkit-backdrop-filter: blur(12px) saturate(155%); backdrop-filter: blur(12px) saturate(155%); transition: border-color .15s ease, background .15s ease; }
.dropzone--small { min-height: 96px; }
.dropzone:hover, .dropzone.is-dragover { border-color: var(--brand); background: var(--brand-soft); }
.dropzone__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dropzone__content { display: grid; justify-items: center; gap: 6px; color: var(--muted); pointer-events: none; }
.dropzone__content strong { color: var(--brand-ink); }
.dropzone__content .i { width: 28px; height: 28px; color: var(--brand); }
.dropzone__content small { font-size: .85rem; }
.dropzone:focus-within { outline: 3px solid var(--brand); outline-offset: 3px; }
.logo-preview { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; }
.logo-preview img { max-height: 72px; max-width: 220px; object-fit: contain; }
.logo-preview[hidden], .dropzone__content[hidden] { display: none; }
.thumbs { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.thumb { border: 1px solid rgba(255,255,255,.9); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.42)); box-shadow: inset 0 1px 0 rgba(255,255,255,.84), 0 8px 20px rgba(42,28,53,.045); }
.thumb__img { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.thumb__img img { width: 100%; height: 100%; object-fit: cover; }
.thumb__img .icon-btn { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; background: rgba(255,255,255,.92); }
.thumb__meta { padding: 8px 10px 10px; display: grid; gap: 6px; }
.thumb__meta input { min-height: 38px; padding: 7px 10px; font-size: .88rem; border-radius: 9px; }
.thumb__meta small { color: var(--muted); font-size: .76rem; }
.thumb.is-busy .thumb__img::after { content: "Wird optimiert …"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.8); font-size: .85rem; font-weight: 600; color: var(--muted); }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border: 1px solid rgba(255,255,255,.9); border-radius: 12px; background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.42)); box-shadow: inset 0 1px 0 rgba(255,255,255,.84), 0 8px 20px rgba(42,28,53,.045); }
.file-list li .i { color: var(--brand); flex: none; }
.file-list .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink-2); }
.file-list small { color: var(--muted); white-space: nowrap; }
.file-list input { flex: 1.2; min-height: 38px; padding: 7px 10px; font-size: .88rem; border-radius: 9px; }
@media (max-width: 560px) { .file-list li { flex-wrap: wrap; } .file-list input { flex-basis: 100%; } }
.upload-note { font-size: .88rem; color: var(--danger); font-weight: 600; margin-top: 8px; }

/* Seitenaufbau & Umfang */
.bausteine { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; counter-reset: baustein; }
@media (max-width: 640px) { .bausteine { grid-template-columns: 1fr; } }
.baustein label { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 9px 12px 9px 44px; border: 1px solid rgba(255,255,255,.88); border-radius: 14px; background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.4)); box-shadow: inset 0 1px 0 rgba(255,255,255,.84), 0 5px 14px rgba(42,28,53,.035); cursor: pointer; counter-increment: baustein; }
.baustein label::before { content: counter(baustein); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #151017; color: #fff; font-size: .7rem; font-weight: 700; }
.baustein input { width: 20px; height: 20px; flex: none; accent-color: var(--brand); }
.baustein__text { display: grid; gap: 1px; min-width: 0; }
.baustein__text strong { font-size: .93rem; color: var(--ink); }
.baustein__text small { font-size: .76rem; color: var(--muted); line-height: 1.35; }
.baustein--fest label { cursor: default; }
.baustein__fest { margin-left: auto; flex: none; padding: 4px 8px; border-radius: 999px; background: rgba(21,16,23,.07); color: var(--ink-2); font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.baustein label:has(input:not(:checked)) { opacity: .62; }
.baustein label:has(input:not(:checked))::before { background: #b9b2bd; }
.empfehlung { margin: 0 0 12px; padding: 11px 14px; border: 1px solid rgba(106,61,125,.14); border-radius: 14px; background: linear-gradient(110deg, rgba(241,232,244,.75), rgba(255,255,255,.45)); color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
.empfehlung strong { color: var(--brand-ink); }

/* Referenzen, Aufklappbares, Zusammenfassung */
.refs { display: grid; gap: 10px; }
.refs__row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; }
@media (max-width: 640px) { .refs__row { grid-template-columns: 1fr; padding-bottom: 10px; border-bottom: 1px dashed var(--line); } }
details.more { margin: 4px 0 22px; padding: 0 16px; border: 1px solid rgba(255,255,255,.86); border-radius: 14px; background: linear-gradient(145deg, rgba(255,255,255,.57), rgba(255,255,255,.29)); box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 8px 20px rgba(42,28,53,.04); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
details.more summary { cursor: pointer; padding: 16px 0; font-weight: 650; color: var(--ink); }
details.more[open] summary { margin-bottom: 6px; }
details.more[open] { padding-bottom: 12px; }
.design-more { margin-top: 8px !important; }
.design-more > .field { margin-top: 16px; }
.cond[hidden] { display: none; }
.summary { margin: 26px 0 8px; border: 1px solid rgba(255,255,255,.82); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.26); box-shadow: inset 0 1px 0 rgba(255,255,255,.74), 0 10px 25px rgba(42,28,53,.045); }
.summary h3 { margin: 0; padding: 14px 18px; font-size: 1rem; background: linear-gradient(145deg, rgba(239,232,244,.78), rgba(255,255,255,.5)); border-bottom: 1px solid var(--line); }
.summary dl { margin: 0; display: grid; grid-template-columns: 170px 1fr; }
.summary dt, .summary dd { margin: 0; padding: 10px 18px; border-bottom: 1px solid rgba(117,102,130,.14); font-size: .93rem; }
.summary dt { color: var(--muted); font-weight: 600; }
.summary dd { color: var(--ink); overflow-wrap: anywhere; }
.summary dd button { margin-left: 8px; }
.summary dl > :nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 560px) { .summary dl { grid-template-columns: 1fr; } .summary dt { padding-bottom: 0; border-bottom: 0; } }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Navigation & Status */
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(117,102,130,.2); }
.wizard__nav [hidden] { display: none; }
.wizard__nav .btn:only-child, .wizard__nav #prev-btn[hidden] + .btn { margin-left: auto; }
.wizard__nav .btn--ghost { border-color: rgba(255,255,255,.9); background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.4)); box-shadow: inset 0 1px 0 rgba(255,255,255,.84), 0 5px 14px rgba(42,28,53,.04); }
@media (max-width: 560px) {
  .wizard__nav { position: sticky; bottom: 0; margin-inline: calc(-1 * clamp(22px, 4vw, 44px)); padding: 14px clamp(22px, 4vw, 44px); background: var(--glas-hell); -webkit-backdrop-filter: var(--glas-unschaerfe); backdrop-filter: var(--glas-unschaerfe); border-top: 0; box-shadow: 0 -.5px 0 rgba(21, 16, 23, .14), inset 0 1px 0 rgba(255, 255, 255, .8); z-index: 5; }
  .wizard__nav .btn { flex: 1; padding-inline: 14px; }
}
.upload-state { margin-top: 24px; }
.upload-state[hidden] { display: none; }
.upload-state p { margin: 10px 0 0; font-weight: 600; color: var(--ink-2); }
.form-error { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: #fef3f2; border: 1px solid #fecdca; color: #b42318; font-weight: 600; }
.form-error[hidden] { display: none; }
.wstep--done { text-align: center; padding-block: 24px; }
.wstep--done .lead { margin-inline: auto; }
.done-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #e1cee8; color: #151017; }
.done-icon .i { width: 40px; height: 40px; }

/* ==========================================================================
   Live-Vorschau: Rahmen
   ========================================================================== */
.wizard__preview {
  grid-area: preview; position: sticky; top: 82px; min-width: 0; overflow: hidden;
  padding: 16px; border: 1px solid rgba(255,255,255,.88); border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(255,255,255,.56));
  -webkit-backdrop-filter: blur(24px) saturate(175%); backdrop-filter: blur(24px) saturate(175%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 22px 50px rgba(42,28,53,.1);
}
.wizard__preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.wizard__preview-title { display: grid; gap: 4px; min-width: 0; }
.wizard__preview-title strong { font-size: .97rem; letter-spacing: -.02em; }
.preview-live { display: inline-flex; align-items: center; gap: 6px; width: fit-content; color: #5b4771; font-size: .67rem; font-weight: 750; letter-spacing: .12em; }
.preview-live i { width: 7px; height: 7px; border-radius: 50%; background: #27a477; box-shadow: 0 0 0 4px rgba(39,164,119,.12); }
.preview-controls { display: inline-flex; gap: 3px; padding: 3px; flex: none; border: 1px solid rgba(255,255,255,.88); border-radius: 999px; background: rgba(239,235,244,.64); }
.preview-controls button { padding: 6px 9px; border: 0; border-radius: 999px; background: transparent; color: #635c69; font: inherit; font-size: .72rem; font-weight: 650; cursor: pointer; }
.preview-controls button.is-active { background: rgba(255,255,255,.92); color: #211a25; box-shadow: 0 2px 7px rgba(42,28,53,.1); }
.preview-controls button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.preview-context { margin: 0 2px 10px; color: #6d6472; font-size: .76rem; }
.preview-browser { overflow: hidden; border: 1px solid rgba(44,35,51,.13); border-radius: 15px; background: #fff; box-shadow: 0 10px 28px rgba(30,23,35,.12); }
.preview-browser, .preview-viewport, .preview-device-shell { transition: background-color .3s ease, border-radius .3s ease, box-shadow .3s ease, width .3s ease; }
.preview-browser.is-mobile { border-radius: 24px; background: #ece9ed; box-shadow: 0 12px 32px rgba(30,23,35,.15); }
.preview-browser.is-mobile .preview-browser__bar { display: none; }
.preview-browser__bar { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-bottom: 1px solid rgba(40,32,47,.08); background: linear-gradient(#fff, #f5f3f6); color: #77717c; font: 10px/1 var(--sans, system-ui); }
.preview-browser__lights { display: flex; gap: 4px; }
.preview-browser__lights i { width: 7px; height: 7px; border-radius: 50%; background: #e8a0a0; }
.preview-browser__lights i:nth-child(2) { background: #e9c87e; }
.preview-browser__lights i:nth-child(3) { background: #8cc9a3; }
.preview-browser__bar > span:last-child { flex: 1; padding: 4px 9px; border-radius: 999px; background: rgba(42,34,48,.055); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-viewport { height: min(69vh, 680px); min-height: 430px; overflow: auto; overscroll-behavior: contain; scrollbar-color: rgba(65,52,72,.3) transparent; scrollbar-width: thin; background: #f2f1f1; }
.wizard__preview.is-expanded .preview-viewport { height: min(82vh, 850px); }
.wizard__preview .preview-viewport[data-device="desktop"] { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
.wizard__preview.is-expanded { position: fixed; z-index: 60; top: 96px; left: 50%; right: auto; transform: translateX(-50%); width: min(1000px,calc(100vw - 32px)); max-height: calc(100dvh - 112px); overflow: auto; }
.preview-viewport[data-device="mobile"] { background: #ece9ed; }
.preview-device-shell { display: contents; }
.preview-mobile-status { display: none; }
.preview-seiten { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 2px 0; font-size: .74rem; color: #6d6472; }
.preview-seiten[hidden] { display: none; }
.preview-seiten button { padding: 5px 10px; border: 1px solid rgba(44,35,51,.14); border-radius: 999px; background: rgba(255,255,255,.7); font: inherit; font-size: .74rem; font-weight: 600; color: #3a3340; cursor: pointer; }
.preview-seiten button.is-active { background: #151017; border-color: #151017; color: #fff; }
.preview-context__bottom { display: flex; align-items: center; gap: 9px; margin: 11px 2px 0; color: #6d6472; font-size: .7rem; line-height: 1.35; }
.preview-colors { display: flex; flex: none; }
.preview-colors i { width: 13px; height: 13px; margin-left: -3px; border: 1px solid rgba(255,255,255,.95); border-radius: 50%; background: #6354a2; }
.preview-colors i:first-child { margin-left: 0; }
.preview-disclaimer { margin: 9px 2px 0; color: #79727e; font-size: .67rem; line-height: 1.4; }

/* Die Vorschau-Website selbst liegt in vorschau.css (gemeinsam mit dem Abbild in jeder Anfrage). */

/* Vorschau am Handy */
.preview-viewport[data-device="mobile"] { display: flex; justify-content: center; align-items: center; padding: 10px; overflow: hidden; background: radial-gradient(ellipse at 50% 45%, #fff 0, #e9e6eb 72%); }
.preview-viewport[data-device="mobile"] .preview-device-shell { display: flex; flex-direction: column; flex: none; width: auto; height: min(620px, calc(100% - 8px)); min-height: min(380px, calc(100% - 8px)); max-height: 100%; aspect-ratio: 9 / 19.2; padding: 7px; overflow: hidden; border: 1px solid #44434a; border-radius: 38px; background: linear-gradient(145deg, #29292f, #09090b 62%); box-shadow: 0 14px 35px rgba(21,18,25,.3), inset 0 0 0 1px rgba(255,255,255,.16); }
.preview-viewport[data-device="mobile"] .preview-mobile-status { display: flex; flex: none; align-items: center; justify-content: space-between; height: 25px; padding: 0 13px 4px; color: #fff; font: 650 9px/1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.preview-mobile-status__icons { display: flex; align-items: center; gap: 3px; }
.preview-mobile-status__icons i { display: block; width: 7px; height: 6px; border: 1px solid rgba(255,255,255,.9); border-radius: 2px; }
.preview-mobile-status__icons i:last-child { width: 11px; height: 6px; border-radius: 2px; }
.preview-viewport[data-device="mobile"] .website-example { flex: 1; width: 100%; min-height: 0; height: 100%; margin: 0; overflow: auto; overscroll-behavior: contain; border-radius: 28px; scrollbar-width: none; }
.preview-viewport[data-device="mobile"] .website-example::-webkit-scrollbar { display: none; }
.preview-viewport[data-device="mobile"] .ws-head { min-height: 46px; gap: 8px; padding: 8px 5%; }
.preview-viewport[data-device="mobile"] .ws-brand { flex: 1; font-size: .8rem; }
.preview-viewport[data-device="mobile"] .ws-nav, .preview-viewport[data-device="mobile"] .ws-head > .ws-btn { display: none; }
.preview-viewport[data-device="mobile"] .ws-burger { display: flex; flex: none; flex-direction: column; justify-content: center; gap: 4px; width: 27px; height: 27px; padding: 6px; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 8px; }
.preview-viewport[data-device="mobile"] .ws-burger i { display: block; height: 1px; background: var(--ink); }
.preview-viewport[data-device="mobile"] .ws-hero { grid-template-columns: 1fr; gap: 16px; padding: 24px 6% 22px; text-align: left; }
.preview-viewport[data-device="mobile"] .ws-hero--cover { min-height: 250px; padding-top: 60px; }
.preview-viewport[data-device="mobile"] .ws-hero--split:has(.ws-karte) { padding-bottom: 22px; }
.preview-viewport[data-device="mobile"] .ws-hero__copy { justify-items: start; }
.preview-viewport[data-device="mobile"] .ws-hero__media { width: 100%; margin: 0; }
.preview-viewport[data-device="mobile"] .ws-karte { position: static; width: 100%; margin-top: 10px; box-shadow: none; border: 1px solid var(--linie); }
.preview-viewport[data-device="mobile"] h1 { font-size: 1.3rem; max-width: none; overflow-wrap: anywhere; hyphens: auto; }
.preview-viewport[data-device="mobile"] .ws-kicker { font-size: .58rem; }
.preview-viewport[data-device="mobile"] .ws-hero__text { font-size: .74rem; }
.preview-viewport[data-device="mobile"] .ws-sec { padding: 22px 6%; }
.preview-viewport[data-device="mobile"] .ws-sec__head { display: block; margin-bottom: 12px; }
.preview-viewport[data-device="mobile"] .ws-split, .preview-viewport[data-device="mobile"] .ws-split--umgekehrt { grid-template-columns: 1fr; gap: 14px; }
.preview-viewport[data-device="mobile"] .ws-split--umgekehrt .ws-map { order: 2; min-height: 110px; }
.preview-viewport[data-device="mobile"] .ws-cards, .preview-viewport[data-device="mobile"] .ws-info { grid-template-columns: 1fr; }
.preview-viewport[data-device="mobile"] .ws-tiles, .preview-viewport[data-device="mobile"] .ws-galerie, .preview-viewport[data-device="mobile"] .ws-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.preview-viewport[data-device="mobile"] .ws-kontakt__wege { grid-template-columns: 1fr; }
.preview-viewport[data-device="mobile"] .ws-foot { flex-direction: column; padding-bottom: 64px; }
.preview-viewport[data-device="mobile"] .ws-bar { position: sticky; bottom: 0; z-index: 3; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px 10px 10px; background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--linie); }
.preview-viewport[data-device="mobile"] .ws-bar .ws-btn { padding: 10px 8px; }

/* Responsiv: Raster im Formular richten sich nach der Breite der Formularspalte, nicht nach dem Fenster */
@container formular (max-width: 720px) {
  .branche-grid, .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .bausteine { grid-template-columns: 1fr; }
  .repeat__row { grid-template-columns: 1fr 44px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
  .repeat__row input:nth-child(2), .repeat__row input:nth-child(3) { grid-column: 1; }
  .repeat__row .icon-btn { grid-row: 1; grid-column: 2; }
}
@container formular (max-width: 540px) {
  .field-row, .field-row--address, .hours, .refs__row { grid-template-columns: 1fr; }
  .refs__row { padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
  .segmented--breit { flex-direction: column; border-radius: 16px; }
  .segmented--breit label { border-radius: 12px; }
}
@container formular (max-width: 440px) {
  .branche-grid, .style-grid, .check-grid { grid-template-columns: 1fr; }
}

/* Zwischenbreite: zwei Spalten (Formular + Vorschau), Fortschritt als Leiste darüber */
@media (min-width: 1241px) and (max-width: 1560px) {
  .wizard__layout { grid-template-columns: minmax(440px, 1fr) minmax(480px, 640px); grid-template-areas: "progress progress" "form preview"; }
  .wizard__aside { position: static; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 20px; padding: 12px 18px; }
  .wizard__aside .progress { grid-column: 1 / -1; }
  .progress__label, .save-status { margin: 0; }
  .stepnav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; }
  .stepnav button { width: auto; padding: 7px 10px; font-size: .86rem; }
  .wizard__preview { top: 20px; }
}

/* Ohne Live-Vorschau (Schalter livePreview in briefing.js): Schrittleiste links, Formular daneben */
.wizard--ohne-vorschau.container { max-width: 1320px; }
.wizard__layout--ohne-vorschau { grid-template-columns: minmax(190px, 230px) minmax(0, 1fr); grid-template-areas: "progress form"; }
.wizard__layout--ohne-vorschau .wizard__aside { position: sticky; top: 96px; display: block; padding: 18px; }
.wizard__layout--ohne-vorschau .progress__label { margin: 12px 0 18px; }
.wizard__layout--ohne-vorschau .save-status { margin: 0 0 14px; }
.wizard__layout--ohne-vorschau .stepnav { display: grid; gap: 4px; }
.wizard__layout--ohne-vorschau .stepnav button { width: 100%; padding: 10px 12px; font-size: .93rem; }
.wizard__layout--ohne-vorschau .wizard__form { max-width: none; }
@media (max-width: 900px) {
  .wizard__layout--ohne-vorschau { grid-template-columns: minmax(0, 1fr); grid-template-areas: "progress" "form"; }
  .wizard__layout--ohne-vorschau .wizard__aside { position: static; }
  .wizard__layout--ohne-vorschau .stepnav { display: none; }
  .wizard__layout--ohne-vorschau .progress__label { margin-bottom: 0; }
}

/* Responsiv: Layout des Fragebogens */
@media (max-width: 1240px) {
  .wizard__layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "progress" "preview" "form"; }
  .wizard__aside { position: static; }
  .stepnav { display: none; }
  .progress__label { margin-bottom: 0; }
  .wizard__preview { top: 20px; }
  .wizard__form { width: 100%; max-width: 1080px; margin-inline: auto; }
  .preview-viewport { height: min(70vh,720px); }
}
@media (max-width: 820px) {
  .wizard.container { max-width: 760px; }
  .wizard__layout { gap: 14px; }
  .wizard__preview { top: 68px; z-index: 4; padding: 12px; border-radius: 20px; }
  .wizard__preview-head { margin-bottom: 8px; }
  .wizard__preview-title strong { font-size: .86rem; }
  .preview-context, .preview-disclaimer, .preview-seiten span { display: none; }
  .preview-browser__bar { height: 25px; }
  .preview-viewport { height: 132px; min-height: 132px; }
  .wizard__preview .preview-viewport[data-device="desktop"] { height: 150px; min-height: 150px; aspect-ratio: auto; }
  .wizard__preview.is-expanded .preview-viewport { height: min(48svh,430px); min-height: min(48svh,430px); }
  .preview-viewport:not([data-device="mobile"]) .website-example { min-width: 490px; transform: scale(.7); transform-origin: top left; width: 142.86%; }
  .preview-viewport[data-device="mobile"] { height: min(50svh,390px); min-height: min(240px,calc(100svh - 110px)); }
  .wizard__preview.is-expanded .preview-viewport[data-device="mobile"] { height: min(70svh,600px); min-height: min(320px,calc(100svh - 110px)); }
  .preview-viewport[data-device="mobile"] .preview-device-shell { height: calc(100% - 8px); min-height: 0; }
  .wizard__preview.is-expanded { top: calc(76px + env(safe-area-inset-top) + 8px); right: 10px; left: 10px; width: auto; max-height: calc(100dvh - 100px - env(safe-area-inset-top)); transform: none; }
  .wizard__preview.is-expanded .preview-viewport[data-device="desktop"] { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .wizard__preview.is-expanded .preview-viewport:not([data-device="mobile"]) .website-example { transform: scale(.88); width: 113.64%; }
  .preview-context__bottom { margin-top: 8px; }
}
@media (max-width: 560px) {
  .wizard__preview { top: 64px; }
  .preview-controls { gap: 1px; }
  .preview-controls button { padding: 6px 7px; font-size: .68rem; }
  .preview-context__bottom { font-size: .64rem; }
}
@media (prefers-reduced-motion: reduce) {
  .website-example, .preview-controls button, .preview-viewport, .style-card, .branche-card__body, .chip { scroll-behavior: auto; transition: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .wizard__aside, .wizard__form, .header-note, .wizard__form fieldset.field, input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="date"], select, textarea, .branche-card__body, .chip, .inline-options:not(.inline-options--stack) .radio, .style-card, .dropzone, .thumb, .file-list li, .color-field, .logo-colors, .segmented, details.more, .system, .farbwelt, .baustein label { background: rgba(255,255,255,.96); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .wizard__intro .eyebrow, .restore-banner, .wizard__preview { background: rgba(255,255,255,.96); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .wizard__aside, .wizard__form, .header-note, .wizard__form fieldset.field, input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="date"], select, textarea, .branche-card__body, .chip, .inline-options:not(.inline-options--stack) .radio, .style-card, .dropzone, .thumb, .file-list li, .color-field, .logo-colors, .segmented, details.more, .system, .farbwelt, .baustein label { background: rgba(255,255,255,.97); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .wizard__intro .eyebrow, .restore-banner, .wizard__preview { background: rgba(255,255,255,.97); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
