/* Kontaktmeister – Oberfläche im brandfaden-Stil. Schrift lokal (keine Google-Server). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --sand: #f1efea;
  --sand-2: #f7f6f2;
  --ink: #131613;
  --ink-2: #3c423d;
  --muted: #6c716c;
  --line: #e5e4df;
  --green: #2d3b30;
  --green-2: #3e5a44;
  --mint: #a3d4a8;
  --mint-ink: #1a2a1d;
  --ok: #2f7a4b;
  --ok-soft: #e4f2e7;
  --err: #b4382c;
  --err-soft: #fbe7e4;
  --info-soft: #e8eef6;
  --shadow: 0 1px 2px rgba(19,22,19,.04), 0 12px 32px rgba(19,22,19,.06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 24px;
  --r-sm: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h3 { font-size: 1.12rem; letter-spacing: -.015em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
code { font-family: var(--mono); font-size: .88em; background: var(--sand); padding: .1em .35em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 480px; margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.hl { background: var(--mint); color: var(--mint-ink); padding: .02em .22em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hint, label.f small { font-weight: 400; color: var(--muted); font-size: .84rem; }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; }
.sub-label { font-weight: 700; font-size: .92rem; margin: 6px 0 8px; display: block; }

/* Kopf / Fuß */
.devbar { background: #7a1f1f; color: #fff; text-align: center; font-size: .85rem; padding: 6px; }
.topbar { background: var(--surface); box-shadow: 0 6px 24px rgba(19,22,19,.05); position: relative; z-index: 5; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 76px; flex-wrap: wrap; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand svg { width: 34px; height: 30px; }
.brand img { height: 40px; width: auto; max-width: 230px; object-fit: contain; display: block; }
.brand.light { color: #fff; font-size: 1.3rem; }
.topnav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topnav a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 500; }
.main { padding-block: 40px 80px; min-height: 55vh; }
.main.flush { padding: 0; }
.footer { background: var(--green); color: rgba(255,255,255,.75); padding-block: 48px 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer h4 { margin: 0 0 12px; font-size: .92rem; color: var(--mint); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 32px; padding-top: 20px; font-size: .84rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; font-weight: 600; cursor: pointer; text-decoration: none; transition: filter .15s, transform .05s; white-space: nowrap; }
.btn:hover { filter: brightness(1.18); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.disabled { opacity: .4; cursor: not-allowed; filter: none; pointer-events: none; }
.btn.light { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); filter: none; }
.btn.danger { background: var(--err); }
.btn.lg { padding: 16px 32px; font-size: 1.02rem; }
.btn.sm { padding: 8px 16px; font-size: .88rem; }
.btn.block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link.err { color: var(--err); }
.x { border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 8px; border-radius: 8px; }
.x:hover { color: var(--err); background: var(--err-soft); }

/* Bausteine */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); min-width: 0; }
.panel { background: var(--sand); border-radius: var(--r-sm); padding: 18px 20px; }
.panel.green { background: var(--green); color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; border-radius: 999px; padding: 5px 12px; background: var(--sand); color: var(--ink-2); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.mint { background: var(--mint); color: var(--mint-ink); }
.pill.err { background: var(--err-soft); color: var(--err); }
.flash { padding: 14px 18px; border-radius: var(--r-sm); font-weight: 550; margin-bottom: 20px; }
.flash-ok { background: var(--ok-soft); color: var(--ok); }
.flash-error { background: var(--err-soft); color: var(--err); }
.flash-info { background: var(--info-soft); color: #22426b; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.grid-side { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; align-items: start; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.num { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: .9rem; flex: none; font-variant-numeric: tabular-nums; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 6px 0; width: 100%; }
.facts { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }

/* Formulare */
label.f { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; margin-bottom: 16px; min-width: 0; }
input:not([type]), input[type=text], input[type=search], input[type=email], input[type=password], input[type=url], input[type=tel], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s; font-weight: 400; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink-2); }
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
textarea.long { min-height: 190px; }
textarea.code { font-family: var(--mono); font-size: .85rem; min-height: 340px; }
input[type=color] { width: 64px; height: 44px; padding: 3px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
input[type=file] { font-size: .9rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-bottom: 10px; cursor: pointer; font-weight: 400; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green-2); flex: none; }
.step-card { scroll-margin-top: 20px; }
.step-h { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; flex-wrap: wrap; }
.step-h + .hint { margin-bottom: 22px; display: block; }
.form-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.form-nav a { text-decoration: none; font-size: .86rem; font-weight: 600; color: var(--ink-2); background: var(--sand); padding: 7px 14px; border-radius: 999px; }
.seg { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg > label, .seg > button, .seg > a { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; }
.seg > label input { position: absolute; opacity: 0; pointer-events: none; }
.seg > label:has(input:checked), .seg > button.on, .seg > a.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.seg > label:has(input:focus-visible) { outline: 3px solid var(--mint); }
.opt-grid { display: grid; gap: 10px; margin-bottom: 20px; }
.opt-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.opt-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.opt-grid.auto { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.opt { position: relative; border: 1.5px solid var(--line); background: var(--surface); border-radius: 16px; padding: 14px 16px; cursor: pointer; display: grid; gap: 3px; font-weight: 400; overflow: hidden; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt strong { font-weight: 700; }
.opt span { font-size: .84rem; color: var(--muted); }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: var(--sand-2); }
.opt:has(input:focus-visible) { outline: 3px solid var(--mint); }
.opt .sw { display: flex; height: 50px; margin: -14px -16px 8px; }
.opt .sw i { flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-size: .86rem; cursor: pointer; color: var(--ink-2); font-weight: 550; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip.on, .chip:has(input:checked) { background: var(--green); border-color: var(--green); color: #fff; }
.repeat { display: grid; gap: 10px; margin-bottom: 12px; }
.rep-row { display: grid; grid-template-columns: 1fr 1.6fr auto auto; gap: 10px; align-items: start; background: var(--sand-2); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.rep-row.c3 { grid-template-columns: 1fr 1.6fr auto; }
.rep-row.c4p { grid-template-columns: 1fr 1.4fr 110px auto; }
.rep-row.block { grid-template-columns: 1fr auto; }
.rep-row textarea { min-height: 96px; }
.photo-lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.photo { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.photo input[type=text] { border: 0; border-top: 1px solid var(--line); border-radius: 0; font-size: .82rem; padding: 9px 10px; }
.photo .meta { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 6px; font-size: .76rem; color: var(--muted); }
.upload-box { border: 1.5px dashed var(--line); border-radius: 16px; display: grid; place-items: center; text-align: center; gap: 6px; padding: 16px; background: var(--sand-2); color: var(--ink-2); min-height: 150px; font-weight: 600; position: relative; cursor: pointer; }
.upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; width: 84px; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; cursor: pointer; border: 2px solid transparent; }
.pick label img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick label input { position: absolute; opacity: 0; }
.pick label span { position: absolute; left: 4px; bottom: 3px; font-size: .68rem; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.pick label:has(input:checked) { border-color: var(--ink); }
.pick label:has(input:checked)::after { content: "✓"; position: absolute; top: 2px; right: 5px; color: #fff; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.sub-card { border: 1px solid var(--line); border-radius: 20px; background: var(--sand-2); margin-bottom: 14px; overflow: hidden; }
.sub-card > summary { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; flex-wrap: wrap; list-style: none; }
.sub-card > summary::-webkit-details-marker { display: none; }
.sub-card > summary .t { font-weight: 700; flex: 1; min-width: 140px; }
.sub-card > summary::after { content: "▾"; color: var(--muted); }
.sub-card[open] > summary::after { content: "▴"; }
.sub-body { padding: 16px 18px 20px; border-top: 1px solid var(--line); background: var(--surface); }
.sticky-act { position: sticky; bottom: 0; padding-block: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: linear-gradient(transparent, var(--bg) 35%); flex-wrap: wrap; z-index: 3; }
.total { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: var(--shadow); }
.logo-drop { display: grid; place-items: center; gap: 6px; min-height: 120px; border: 1.5px dashed var(--line); border-radius: 16px; background: var(--sand-2); padding: 16px; text-align: center; position: relative; cursor: pointer; }
.logo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.logo-drop img { max-height: 70px; max-width: 100%; }
.logo-drop.dark { background: var(--green); color: #fff; }
.copy-row { display: flex; gap: 8px; align-items: center; }
.copy-row code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; padding: 10px 12px; border-radius: 10px; }

/* Landingpage */
.hero-band { background: radial-gradient(120% 140% at 15% 0%, #3e5a44 0%, #2d3b30 55%, #233026 100%); color: #fff; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 88px 72px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.14; }
.hero .lead { color: rgba(255,255,255,.72); margin-top: 22px; }
.hero .lead b { color: #fff; }
.hero-shot { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.shot-bar { height: 28px; background: #eceae4; display: flex; gap: 6px; align-items: center; padding-inline: 12px; }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfccc3; }
.shot-hero { background: #1f3b2d; padding: 26px 24px; display: grid; gap: 10px; }
.shot-hero b { display: block; height: 16px; width: 70%; border-radius: 4px; background: rgba(255,255,255,.92); }
.shot-hero b.s { width: 48%; height: 10px; background: rgba(255,255,255,.5); }
.shot-hero span { display: block; width: 120px; height: 30px; border-radius: 999px; background: var(--mint); margin-top: 6px; }
.shot-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.shot-cards i { height: 64px; border-radius: 12px; background: var(--sand); }
.trust { border-top: 1px solid rgba(255,255,255,.14); padding-block: 26px 34px; text-align: center; }
.trust p { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.trust .row { justify-content: center; gap: 30px; color: rgba(255,255,255,.62); font-weight: 700; letter-spacing: .04em; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tl .num { width: 54px; height: 54px; font-size: 1rem; box-shadow: 0 0 0 8px var(--sand); margin-bottom: 18px; }
.tl p { color: var(--muted); margin-top: 8px; }
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.price-big { font-size: 3.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.addons { display: grid; gap: 12px; }
.addon { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-radius: 16px; background: var(--sand); font-weight: 600; flex-wrap: wrap; }
.addon b { font-variant-numeric: tabular-nums; }
.upsell-band { border-radius: var(--r); padding: 56px 32px; text-align: center; display: grid; gap: 16px; justify-items: center; background: var(--green); color: #fff; }
.upsell-band p { color: rgba(255,255,255,.75); max-width: 56ch; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 70ch; }

/* Projekt & Vorschau */
.counter { text-align: center; padding: 14px 22px; border-radius: 18px; background: var(--sand); }
.counter strong { display: block; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.progress-box { display: flex; gap: 20px; align-items: flex-start; background: var(--green); color: #fff; border-radius: var(--r); padding: 28px; margin-bottom: 24px; }
.progress-box p { color: rgba(255,255,255,.72); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 4px solid rgba(255,255,255,.2); border-top-color: var(--mint); animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 4s; } }
.jobs { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.jobs li { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.85); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); flex: none; }
.dot.running { background: var(--mint); box-shadow: 0 0 0 4px rgba(163,212,168,.25); }
.dot.done { background: var(--mint); }
.dot.failed { background: #f08b7f; }
.pv { padding: 0; overflow: hidden; margin-bottom: 24px; }
.pv-bar { display: flex; justify-content: space-between; gap: 10px; padding: 14px 16px; background: var(--sand-2); border-bottom: 1px solid var(--line); flex-wrap: wrap; align-items: center; }
.frame-box { background: var(--sand); display: flex; justify-content: center; }
.frame-box iframe { width: 100%; height: 620px; border: 0; background: #fff; display: block; transition: width .25s; }
.pv-foot { display: flex; justify-content: space-between; gap: 12px; padding: 18px 20px; flex-wrap: wrap; align-items: center; }
.full { position: fixed !important; inset: 0; z-index: 100; margin: 0 !important; border-radius: 0 !important; border: 0 !important; display: flex !important; flex-direction: column; }
.full .frame-box, .full .ed-frame { flex: 1; min-height: 0; }
.full .frame-box iframe { height: 100%; }
.full .pv-foot { display: none; }
.versions { list-style: none; padding: 0; margin: 0; }
.versions li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line); }
.versions li:last-child { border-bottom: 0; }
.dash-card { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 28px; align-items: start; margin-bottom: 20px; }
.thumb-site { aspect-ratio: 4/3; border-radius: 16px; padding: 18px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: var(--green); background-size: cover; background-position: center; }

/* Korrektur-Editor */
.editor { display: grid; grid-template-columns: minmax(340px, 430px) 1fr; height: calc(100vh - 76px); height: calc(100dvh - 76px); min-height: 560px; border-top: 1px solid var(--line); }
.ed-chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--sand-2); border-right: 1px solid var(--line); }
.ed-head { padding: 14px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; background: var(--surface); }
.ed-head h2 { font-size: 1.15rem; }
.ed-msgs { flex: 1; overflow-y: auto; padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.msg { max-width: 92%; padding: 12px 15px; border-radius: 18px; line-height: 1.5; font-size: .95rem; overflow-wrap: anywhere; }
.msg.user { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.bot.err { border-color: #f0c5bf; background: var(--err-soft); }
.msg .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; font-size: .8rem; color: var(--muted); }
.msg.user .meta { color: inherit; opacity: .78; }
.msg .tag { font-size: .75rem; font-weight: 600; opacity: .8; display: block; margin-bottom: 4px; }
.working { display: flex; gap: 6px; align-items: center; }
.working i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.working i:nth-child(2) { animation-delay: .2s; } .working i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.ed-sugg { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 18px 10px; }
.ed-sugg button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: .8rem; cursor: pointer; color: var(--ink-2); }
.ed-comp { padding: 12px 14px 14px; border-top: 1px solid var(--line); background: var(--surface); }
.comp-box { border: 1.5px solid var(--line); border-radius: 18px; padding: 10px 12px; display: grid; gap: 8px; }
.comp-box:focus-within { border-color: var(--ink-2); }
.comp-box textarea { border: 0; padding: 2px; min-height: 64px; max-height: 180px; resize: none; }
.comp-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.comp-row select { width: auto; padding: 6px 10px; font-size: .84rem; border-radius: 999px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1.1rem; color: var(--ink-2); display: grid; place-items: center; }
.send { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--green); color: #fff; cursor: pointer; display: grid; place-items: center; }
.send:disabled { opacity: .35; cursor: not-allowed; }
.comp-foot { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.photo-pop { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px; border-radius: 12px; background: var(--sand); margin-bottom: 8px; }
.photo-pop button, .photo-pop label { width: 60px; aspect-ratio: 4/3; border: 0; border-radius: 8px; padding: 0; overflow: hidden; cursor: pointer; position: relative; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; }
.photo-pop img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-pop label input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.att { display: flex; gap: 6px; flex-wrap: wrap; }
.att span { font-size: .76rem; font-weight: 600; padding: 3px 4px 3px 4px; border-radius: 999px; background: var(--sand); display: inline-flex; gap: 6px; align-items: center; }
.att img { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; }
.att .x { padding: 0 4px; font-size: 1rem; }
.ed-view { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--sand); }
.ed-bar { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--line); flex-wrap: wrap; align-items: center; }
.ed-frame { flex: 1; display: flex; justify-content: center; padding: 16px; min-height: 0; overflow: auto; }
.ed-frame iframe { width: 100%; height: 100%; min-height: 480px; border: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow); transition: width .25s; }
.ed-switch { display: none; }

/* Admin */
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 24px; }
.kpi { background: var(--sand); border-radius: 18px; padding: 18px; }
.kpi span { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; }
.kpi strong { font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi.hi { background: var(--green); color: #fff; }
.kpi.hi span { color: rgba(255,255,255,.7); }
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.tbl th { font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tbl td { font-variant-numeric: tabular-nums; }
.tbl tr.sel td { background: var(--sand); }
.tbl a { font-weight: 600; }
.card.flat { padding: 0; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 130px; padding-top: 20px; border-bottom: 1px solid var(--line); }
.bars div { flex: 1; background: var(--green); border-radius: 6px 6px 0 0; min-height: 2px; position: relative; }
.bars div span { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: .72rem; color: var(--muted); }
.bar-lbl { display: flex; gap: 6px; font-size: .7rem; color: var(--muted); margin-top: 6px; }
.bar-lbl span { flex: 1; text-align: center; }
.legal-nav { display: grid; gap: 6px; padding: 16px; }
.legal-nav a { text-decoration: none; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.legal-nav a.on { background: var(--green); color: #fff; }
.legal-text h2 { font-size: 1.2rem; margin: 1.6em 0 .4em; }
.legal-text p { margin: 0 0 1em; }
.prose p { margin: 0 0 1em; }

@media (max-width: 900px) {
  .hero, .offer, .grid-side, .timeline, .dash-card { grid-template-columns: 1fr !important; }
  .hero { padding-block: 56px 48px; }
  .opt-grid.c3, .opt-grid.c4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .editor { grid-template-columns: 1fr; height: auto; }
  .ed-switch { display: flex; justify-content: center; padding: 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .editor[data-view="chat"] .ed-view:not(.full), .editor[data-view="preview"] .ed-chat { display: none; }
  .ed-chat, .ed-view { height: calc(100dvh - 140px); min-height: 520px; }
}
@media (max-width: 600px) {
  .grid2, .opt-grid.c3 { grid-template-columns: 1fr; }
  .rep-row, .rep-row.c3, .rep-row.c4p { grid-template-columns: 1fr auto; }
  .rep-row > :nth-child(2), .rep-row > :nth-child(3) { grid-column: 1 / -1; }
  .card { padding: 20px; }
  .topnav { gap: 14px; }
  .hide-sm { display: none; }
  .brand { font-size: 1.2rem; }
  .frame-box iframe { height: 500px; }
  .footer-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 8px; }
}

/* Einfache Formulare (Login usw.) */
.form label:not(.check) { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; margin-bottom: 16px; }
.btn-block { width: 100%; }
.auth { max-width: 480px; margin: 0 auto; display: grid; gap: 14px; }

/* Referenzen (wie brandfaden.com) */
.refs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.ref { background: #fdfdfd; border: 1px solid #ececea; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; }
.ref-media { aspect-ratio: 1115 / 848; display: grid; place-items: center; overflow: hidden; }
.ref-media img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.ref-ph { width: calc(100% - 56px); height: calc(100% - 56px); border-radius: 18px; display: grid; align-content: center; justify-items: center; text-align: center; gap: 8px; padding: 36px; color: var(--ink); background: #f1f0eb; border: 1px dashed #dcdad3; }
.ref-ph b { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -.02em; max-width: 16ch; }
.ref-ph span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.ref-body { padding: 8px 30px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.ref-eyebrow { font-size: .95rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.ref-body h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.25; letter-spacing: -.02em; margin: -6px 0 2px; }
.ref-box { background: #f1f0eb; border-radius: 14px; padding: 15px 19px 16px; display: grid; gap: 5px; }
.ref-box span { font-size: .76rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: #6c6f69; }
.ref-box p { color: var(--ink-2); font-size: .98rem; line-height: 1.55; margin: 0; }
.ref-box.dark { background: var(--green); }
.ref-box.dark span { color: #b4c2b5; }
.ref-box.dark p { color: #fff; }
.ref-body blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--mint); color: var(--ink-2); }
.ref-body cite { display: block; font-style: normal; font-size: .85rem; color: var(--muted); margin-top: 6px; }
.ref-btn { align-self: flex-start; margin-top: 10px; }
@media (max-width: 900px) { .refs { grid-template-columns: 1fr; } .ref-body { padding: 4px 20px 26px; } }
.ref-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.ref-thumb { width: 96px; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: var(--sand); display: grid; place-items: center; font-weight: 800; color: var(--green-2); border: 1px solid var(--line); }
.ref-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ref-drop img { max-height: 220px; width: auto; }
@media (max-width: 700px) { .ref-row { grid-template-columns: 72px 1fr; } .ref-row > .row { grid-column: 1 / -1; justify-content: flex-start !important; } .ref-thumb { width: 72px; } }

/* Cookie-Hinweis & Rechtslinks */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; display: flex; justify-content: center; }
.cookie-banner[hidden] { display: none !important; }
.cookie-in { max-width: 760px; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: 0 20px 60px rgba(19,22,19,.22); padding: 22px 24px; display: grid; gap: 10px; }
.cookie-in p { font-size: .9rem; color: var(--ink-2); margin: 0; }
.cookie-in a { color: inherit; }
.cookie-act { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-act .btn { min-width: 170px; justify-content: center; }
@media (max-width: 560px) { .cookie-act .btn { flex: 1 1 100%; } }
.legal-mini { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; padding: 18px 16px 22px; font-size: .8rem; }
.legal-mini a { color: var(--muted); text-decoration: none; }
.legal-mini a:hover { color: var(--ink); text-decoration: underline; }
.cookie-tbl td, .cookie-tbl th { white-space: normal; vertical-align: top; font-size: .88rem; }
.tbl-wrap { overflow-x: auto; margin: 10px 0 18px; }
.editor-page .legal-mini { padding: 8px 16px; border-top: 1px solid var(--line); }
@media (min-width: 901px) { .editor-page .editor { height: calc(100dvh - 76px - 36px); } }

/* Startseite: Kernbotschaft */
.hero-kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); border: 1px solid rgba(163,212,168,.4); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px; }
.btn.outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn.outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255,255,255,.8); font-size: .92rem; font-weight: 550; }
.hero-points li::before { content: "✓"; color: var(--mint); font-weight: 800; margin-right: 8px; }
.hero-shot { position: relative; }
.shot-timer { position: absolute; right: 16px; bottom: 16px; background: var(--mint); color: var(--mint-ink); font-weight: 750; font-size: .9rem; padding: 8px 14px; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.center-head { text-align: center; justify-items: center; }
.usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usp-c { display: grid; gap: 10px; align-content: start; }
.usp-c p { color: var(--muted); }
.usp-c p b { color: var(--ink); font-weight: 650; }
.usp-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; margin-bottom: 6px; }
.usp-ic svg { width: 26px; height: 26px; }
.tl-time { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--green-2); background: var(--ok-soft); border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; }
.cmp-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.cmp td { color: var(--muted); }
.cmp .me { background: var(--ok-soft); color: var(--ink); font-weight: 650; }
.cmp thead .me { color: var(--green); background: var(--mint); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 900px) { .usp { grid-template-columns: 1fr; } }
.wrap.wrap-wide { max-width: 1320px; }

/* Sicherheit & Recht */
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.trust-c { display: grid; gap: 8px; align-content: start; padding: 28px; }
.trust-c h3 { font-size: 1.12rem; }
.trust-c p { color: var(--muted); font-size: .95rem; }
.trust-note { margin-top: 18px; max-width: 80ch; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } }

/* Über mich (wie brandfaden.com) */
.about-band { background: var(--green); color: #fff; margin-block: 56px; }
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 24px; }
.about-text { padding-block: 64px; padding-inline: 4% 0; }
.about-pill { display: inline-block; background: rgba(255,255,255,.1); color: #fff; font-size: .82rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.about-text h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.03em; margin: 22px 0 22px; color: #fff; }
.about-text p { color: rgba(255,255,255,.78); font-size: 1.05rem; line-height: 1.7; margin: 0 0 18px; max-width: 60ch; }
.about-photo { border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); aspect-ratio: 3 / 4; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 8px; padding-block: 8px 32px; } .about-text { padding: 40px 0 8px; } .about-photo { max-width: 480px; } }

/* Video im Startbereich (Zwei-Klick) */
.hero-video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #1f2a22; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero-video .hv-poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video .hv-fallback { position: absolute; inset: 0; display: grid; justify-items: center; align-content: end; padding: 24px 24px 64px; text-align: center; background: radial-gradient(120% 90% at 100% 0%, rgba(163,212,168,.25), transparent 60%), #24302a; color: #fff; font-weight: 700; font-size: 1.15rem; }
.hv-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .15s; }
.hv-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.hv-play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.hv-play svg { width: 34px; height: 34px; margin-left: 4px; }
.hv-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 14px; font-size: .74rem; color: rgba(255,255,255,.85); background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.hv-note a { color: #fff; }
.hero-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Einfach. Schnell. Günstig. */
.esg-band { background: var(--sand-2); border-block: 1px solid var(--line); margin-top: 0; }
.esg { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; padding-block: 96px; }
.esg-head { display: grid; gap: 18px; justify-items: start; }
.esg-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1; letter-spacing: -.03em; }
.esg-list { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.esg-item { display: grid; grid-template-columns: 128px 1fr; gap: 24px; align-items: center; padding: 28px 32px; }
.esg-item + .esg-item { border-top: 1px solid var(--line); }
.esg-num { font-size: 3.6rem; line-height: 1; font-weight: 800; letter-spacing: -.05em; color: var(--green); font-variant-numeric: tabular-nums; }
.esg-num small { font-size: 1.2rem; font-weight: 700; letter-spacing: 0; margin-left: 4px; color: var(--green-2); }
.esg-item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.esg-item p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .esg { grid-template-columns: 1fr; gap: 32px; padding-block: 64px; } .esg-item { grid-template-columns: 1fr; gap: 8px; padding: 24px; } .esg-num { font-size: 3rem; } }

/* Preise: Inklusive-Leistungen */
.addon.inc b { color: var(--ok); }
.addon.inc { background: var(--ok-soft); }

/* Footer-Kontakt */
.footer .ft-addr { line-height: 1.6; }
.footer .ft-muted { opacity: .7; font-size: .9em; }
.footer .ft-social { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }

/* Formular: Funktionen */
.fx-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.fx-opt { padding-left: 46px; }
.fx-opt::before { content: ""; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line); background: #fff; }
.fx-opt:has(input:checked)::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 4px #fff; }
.fx-details { display: grid; gap: 14px; }
.fx-details .panel strong { font-size: 1rem; }

/* Gutscheine */
.voucher-banner { background: var(--mint); color: var(--mint-ink); font-size: .95rem; padding: 12px 0; }
.voucher-banner.err { background: var(--err-soft); color: var(--err); }
.voucher-banner a { color: inherit; font-weight: 700; }
.price-was { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; color: var(--muted); font-size: 1.3rem; font-weight: 700; }
.voucher-hint { margin-top: 10px; color: var(--green-2); font-weight: 600; }
.voucher-box { padding: 20px 24px; }
.voucher-row td { color: var(--ok); font-weight: 600; }

/* Rundum-Angebote */
.dfy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.dfy-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 36px; display: flex; flex-direction: column; gap: 22px; box-shadow: var(--shadow); }
.dfy-card.dark { background: var(--green); color: #fff; border-color: var(--green); }
.dfy-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dfy-top h3 { font-size: 1.45rem; }
.dfy-badge { background: var(--mint); color: var(--mint-ink); font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.dfy-price { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.dfy-sub { margin-top: 8px; font-weight: 600; color: var(--muted); }
.dfy-card.dark .dfy-sub { color: rgba(255,255,255,.75); }
.dfy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dfy-list li { padding-left: 30px; position: relative; }
.dfy-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.dfy-card.dark .dfy-list li::before { background: rgba(163,212,168,.2); color: var(--mint); }
.dfy-foot { margin-top: auto; display: grid; gap: 10px; justify-items: start; }
.dfy-note { font-size: .82rem; color: var(--muted); }
.dfy-card.dark .dfy-note { color: rgba(255,255,255,.6); }
.dfy-more-h { margin: 48px 0 16px; font-size: 1.3rem; }
.dfy-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dfy-svc { display: grid; gap: 6px; align-content: start; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--sand-2); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.dfy-svc:hover { border-color: var(--ink); transform: translateY(-2px); }
.dfy-svc span { color: var(--muted); font-size: .92rem; }
.dfy-svc em { font-style: normal; font-size: .85rem; font-weight: 700; color: var(--green-2); margin-top: 4px; }
@media (max-width: 900px) { .dfy, .dfy-more { grid-template-columns: 1fr; } .dfy-card { padding: 28px 22px; } }

/* Anfrage-Assistent */
.wiz-wrap { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; }
.wiz-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-top: 8px; }
.wiz { padding: 36px; position: relative; overflow: hidden; }
.wiz-progress { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--sand); }
.wiz-progress span { display: block; height: 100%; width: 25%; background: var(--green); transition: width .3s; }
.wiz:not(.js) .wiz-progress { display: none; }
.wiz-step { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
.wiz:not(.js) .wiz-step + .wiz-step { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.wiz-step legend { padding: 0; display: grid; gap: 6px; }
.wiz-step h2 { font-size: 1.5rem; outline: none; }
.wiz-count { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-2); }
.wiz-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wiz-opts.one { grid-template-columns: 1fr; }
.wiz-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 600; background: var(--surface); }
.wiz-opt input { position: absolute; opacity: 0; pointer-events: none; }
.wiz-opt::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; font-size: .8rem; color: #fff; }
.wiz-opt:has(input[type=radio])::before { border-radius: 50%; }
.wiz-opt:has(input:checked) { border-color: var(--ink); background: var(--sand-2); box-shadow: 0 0 0 1px var(--ink); }
.wiz-opt:has(input:checked)::before { content: "✓"; background: var(--green); border-color: var(--green); }
.wiz-opt:has(input:focus-visible) { outline: 3px solid var(--mint); }
.wiz-stands { display: grid; gap: 14px; }
.wiz-stand { display: grid; gap: 10px; padding: 18px; border-radius: 14px; background: var(--sand-2); border: 1px solid var(--line); }
.wiz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.wiz-err { color: var(--err); font-weight: 600; margin: 0; }
.wiz-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wiz-done { padding: 48px 36px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.wiz-check { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; }
@media (max-width: 640px) { .wiz { padding: 26px 20px; } .wiz-opts { grid-template-columns: 1fr; } }

/* Formular: Farben (wie globale Farben bei Elementor) */
.colors { display: grid; gap: 12px; margin: 4px 0 18px; padding: 18px; background: var(--sand-2); border: 1px solid var(--line); border-radius: 18px; }
.colors-intro { margin: 0; }
.cs-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cs-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.cs-card.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.cs-swatch { position: relative; display: block; height: 84px; cursor: pointer; border-bottom: 1px solid var(--line); }
.cs-swatch input[type=color] { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; cursor: pointer; -webkit-appearance: none; appearance: none; background: none; }
.cs-swatch input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.cs-swatch input[type=color]::-webkit-color-swatch { border: 0; }
.cs-swatch input[type=color]::-moz-color-swatch { border: 0; }
.cs-auto { position: absolute; inset: 0; display: grid; place-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); pointer-events: none;
  background: repeating-linear-gradient(135deg, #f4f3ef 0 10px, #ebe9e3 10px 20px); }
.cs-card.on .cs-auto { display: none; }
.cs-body { padding: 12px 12px 14px; display: grid; gap: 6px; }
.cs-body strong { font-size: .95rem; }
.cs-body small { color: var(--muted); font-size: .76rem; line-height: 1.3; min-height: 2em; }
.cs-body .hex { font-family: var(--mono); font-size: .9rem; padding: 8px 10px; text-transform: lowercase; }
.cs-body .hex.bad { border-color: var(--err); }
.cs-on { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; cursor: pointer; margin-top: 2px; }
.cs-on input { position: absolute; opacity: 0; pointer-events: none; }
.cs-toggle { width: 34px; height: 20px; border-radius: 999px; background: var(--line); position: relative; flex: none; transition: background .15s; }
.cs-toggle::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.cs-on input:checked + .cs-toggle { background: var(--green); }
.cs-on input:checked + .cs-toggle::after { transform: translateX(14px); }
.cs-on input:focus-visible + .cs-toggle { outline: 3px solid var(--mint); outline-offset: 2px; }
@media (max-width: 1000px) { .cs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .colors { padding: 14px; } }
.swatch { display: inline-block; width: 22px; height: 22px; border-radius: 6px; margin-right: 6px; vertical-align: middle; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.opt-grid.c2 { grid-template-columns: repeat(2, 1fr); } @media (max-width: 700px) { .opt-grid.c2 { grid-template-columns: 1fr; } }
.cs-on > span:last-child { white-space: nowrap; } @media (max-width: 600px) { .cs-body { padding: 10px; } .cs-on { font-size: .78rem; gap: 6px; } .cs-swatch { height: 64px; } }

/* Formular: Logo & Fotos */
.photo { position: relative; }
.photo-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(19,22,19,.75); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.photo-x:hover { background: var(--err); }
.photo-x:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.logo-lib { margin-bottom: 22px; }
.logo-tile { display: grid; place-items: center; background: #fff; }
.logo-tile img { object-fit: contain !important; padding: 14px; background: repeating-conic-gradient(#f3f2ee 0 25%, #fff 0 50%) 50% / 16px 16px; }
.upload-box.busy { opacity: .7; pointer-events: none; }
.upload-box.busy::after { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--green); animation: spin .8s linear infinite; margin-top: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.mode-grid { margin-bottom: 16px; }

/* Formular „Deine neue Webseite“: mehr Luft innerhalb der Abschnitte */
#projectForm { gap: 32px !important; }
#projectForm .step-card { padding: 44px 44px 40px; }
#projectForm .step-h { margin-bottom: 10px; }
#projectForm .step-h + .hint { margin-bottom: 34px; }
#projectForm .grid2 { gap: 6px 28px; }
#projectForm label.f { gap: 9px; margin-bottom: 26px; }
#projectForm label.f small { margin-top: 2px; }
#projectForm .sub-label { margin: 18px 0 14px; }
#projectForm .opt-grid { gap: 14px; margin-bottom: 30px; }
#projectForm .opt { padding: 18px 20px; gap: 6px; }
#projectForm .repeat { gap: 14px; }
#projectForm .rep-row { padding: 16px; gap: 14px; }
#projectForm .photo-lib { gap: 16px; }
#projectForm .colors { margin: 8px 0 30px; padding: 24px; gap: 18px; }
#projectForm .cs-grid { gap: 16px; }
#projectForm .fx-details { gap: 20px; margin-top: 8px; }
#projectForm .fx-details .panel { padding: 24px; }
#projectForm .sub-card .sub-body { gap: 18px; }
#projectForm .check { margin-bottom: 18px; }
@media (max-width: 700px) { #projectForm .step-card { padding: 28px 20px; } #projectForm label.f { margin-bottom: 20px; } }

/* Formular: Übernahme der bisherigen Webseite */
.import-box { display: grid; gap: 12px; padding: 20px 22px; margin-bottom: 30px; border-radius: 16px; background: var(--ok-soft); border: 1px solid #cfe6d5; }

/* Formular: noch mehr Luft zwischen den Angaben */
#projectForm { gap: 48px !important; }
#projectForm .step-card { padding: 52px 52px 46px; }
#projectForm .step-h + .hint { margin-bottom: 40px; }
#projectForm .grid2 { gap: 12px 32px; }
#projectForm label.f { gap: 10px; margin-bottom: 34px; }
#projectForm .sub-label { margin: 26px 0 16px; }
#projectForm .opt-grid { gap: 16px; margin-bottom: 38px; }
#projectForm .repeat { gap: 18px; margin-bottom: 18px; }
#projectForm .check { margin-bottom: 26px; }
#projectForm .import-box { margin: 4px 0 40px; }
#projectForm .site-mode { margin-bottom: 20px; }
.stil-grid .opt strong { font-size: .95rem; }
@media (max-width: 700px) { #projectForm { gap: 28px !important; } #projectForm .step-card { padding: 30px 20px; } #projectForm label.f { margin-bottom: 24px; } .stil-grid { grid-template-columns: 1fr 1fr !important; } }
.stil-grid .sw { box-shadow: inset 0 -1px 0 var(--line); }

/* Korrekturen: Funktionen-Kästchen und Adressliste */
#projectForm .fx-opt { padding: 20px 22px 20px 56px; }
#projectForm .fx-opt::before { left: 20px; top: 21px; }
.url-list { display: grid; gap: 12px; margin-bottom: 34px; }
#projectForm .url-list { margin-bottom: 34px; }

/* Schritt 1: klare Trennung zwischen „Hast du schon eine Webseite?“ und den Firmendaten */
#projectForm #step1 .site-mode { margin-bottom: 28px; }
#projectForm #step1 .import-box { margin: 0 0 28px; }
#projectForm #step1 .import-box + .grid2 { margin-top: 36px; padding-top: 52px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { #projectForm #step1 .import-box + .grid2 { margin-top: 24px; padding-top: 36px; } }

/* Formular-Leiste: auf dem Handy nicht mitlaufen, sondern nur ganz unten zeigen */
@media (max-width: 700px) {
  #projectForm .sticky-act { position: static; background: none; padding-block: 8px 24px; }
  #projectForm .sticky-act .row { width: 100%; flex-direction: column; gap: 10px; }
  #projectForm .sticky-act .row .btn { width: 100%; justify-content: center; }
}

/* Kopfzeile: auf dem Handy eine Zeile mit Logo, Hauptknopf und Menü */
.top-mobile { display: none; align-items: center; gap: 10px; }
.btn.sm { padding: 10px 16px; font-size: .92rem; min-height: 0; }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: inline-grid; place-content: center; gap: 5px; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .topbar-in { flex-wrap: nowrap; min-height: 68px; padding-block: 12px; position: relative; }
  .brand { font-size: 1.15rem; min-width: 0; }
  .brand span { white-space: nowrap; }
  .brand { gap: 8px; }
  .brand svg { width: 30px; height: 28px; }
  .brand img { height: 34px; max-width: 150px; }
  .top-mobile { display: flex; flex-shrink: 0; gap: 8px; }
  .top-mobile .btn.sm { padding: 9px 14px; font-size: .86rem; }
  .topnav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--surface); box-shadow: 0 18px 30px rgba(19,22,19,.10); border-top: 1px solid var(--line); }
  .topnav.open { display: flex; }
  .topnav a:not(.btn) { padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .topnav .nav-cta { margin-top: 16px; justify-content: center; }
}
@media (max-width: 384px) { .top-mobile .btn.sm { display: none; } }

/* Design: Screenshots von Webseiten, die gefallen */
#projectForm .inspo { margin: 6px 0 34px; }
.inspo-lib { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.inspo-tile img { aspect-ratio: 3/4 !important; object-fit: cover; object-position: top; }
.inspo-pdf { aspect-ratio: 3/4; display: grid; place-content: center; gap: 6px; text-align: center; padding: 14px; background: var(--sand-2); color: var(--ink); text-decoration: none; }
.inspo-pdf b { font-size: 1.4rem; letter-spacing: .04em; color: var(--err); }
.inspo-pdf span { font-size: .78rem; color: var(--muted); word-break: break-all; }
.inspo-lib .upload-box { min-height: 200px; }
.shot-help { margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.shot-help summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 10px; }
.shot-help summary::-webkit-details-marker { display: none; }
.shot-help summary::before { content: "?"; width: 24px; height: 24px; border-radius: 50%; background: var(--sand-2); display: grid; place-items: center; font-size: .85rem; flex-shrink: 0; }
.shot-help summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; font-weight: 400; color: var(--muted); }
.shot-help[open] summary::after { content: "–"; }
.shot-help[open] { padding: 0 20px 20px; }
.shot-help[open] summary { padding-inline: 0; }
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.shot-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--sand-2); }
.shot-card strong { display: block; margin-bottom: 8px; font-size: 1.02rem; }
.shot-card ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .9rem; line-height: 1.45; }
.shot-card small { display: block; margin-top: 10px; color: var(--muted); font-size: .8rem; line-height: 1.45; }
@media (max-width: 700px) { .shot-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { #projectForm .inspo-lib { grid-template-columns: 1fr 1fr !important; gap: 10px; } .inspo-lib .upload-box { min-height: 0; aspect-ratio: auto; } .shot-help[open] { padding: 0 14px 14px; } .shot-help summary { padding: 14px 16px; } }

/* Startseite: Online-Shop und Individuell unter den weiteren Leistungen */
.shop-card { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.shop-main { padding: 40px; display: grid; gap: 14px; align-content: start; }
.shop-main h3 { font-size: 1.9rem; letter-spacing: -.02em; }
.shop-lead { color: var(--muted); max-width: 560px; margin: 0; }
.shop-list { grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 8px; }
.shop-side { padding: 40px; background: var(--sand-2); border-left: 1px solid var(--line); display: grid; gap: 18px; align-content: center; justify-items: start; }
.indiv-band { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px; border-radius: var(--r); background: var(--green); color: #fff; }
.indiv-band .eyebrow { color: var(--mint); }
.indiv-band h3 { font-size: 1.7rem; letter-spacing: -.02em; margin: 6px 0 10px; }
.indiv-band p { margin: 0; color: rgba(255,255,255,.78); max-width: 640px; }
.indiv-band .btn { flex-shrink: 0; }
@media (max-width: 900px) {
  .shop-card { grid-template-columns: 1fr; }
  .shop-main, .shop-side { padding: 28px 22px; }
  .shop-side { border-left: 0; border-top: 1px solid var(--line); }
  .shop-list { grid-template-columns: 1fr; }
  .indiv-band { flex-direction: column; align-items: flex-start; padding: 28px 22px; gap: 20px; }
}
.indiv-chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 720px; }
.indiv-chips li { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .88rem; font-weight: 600; color: #fff; }
.indiv-chips li.more { background: none; border-style: dashed; color: var(--mint); }

/* Startseite: Keine Vorlage – jede Webseite ein Unikat */
.unikat-band { background: var(--sand-2); border-block: 1px solid var(--line); }
.unikat { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; padding-block: 88px; }
.unikat-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 10px 0 14px; }
.unikat-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.unikat-points li { display: grid; gap: 4px; padding-left: 34px; position: relative; }
.unikat-points li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.unikat-points span { color: var(--muted); font-size: .95rem; }
.unikat-demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.mini { border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(19,22,19,.14); border: 1px solid rgba(0,0,0,.06); display: grid; position: relative; padding-bottom: 34px; }
.mini:nth-child(2) { margin-top: 36px; }
.mini .mn { display: block; height: 14px; }
.mini .mh { padding: 18px 14px; display: grid; gap: 7px; }
.mini b { display: block; height: 9px; border-radius: 5px; width: 85%; }
.mini b.s { width: 55%; height: 6px; opacity: .6; }
.mini em { display: block; width: 46%; height: 14px; border-radius: 999px; margin-top: 6px; }
.mini small { position: absolute; left: 0; right: 0; bottom: 0; padding: 9px 12px; font-size: .74rem; font-weight: 700; background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
.mini .mg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 0 14px 16px; }
.mini .mg span { height: 34px; border-radius: 6px; }
.mini .ml { display: grid; gap: 6px; padding: 0 14px 16px; }
.mini .ml span { height: 22px; border-radius: 4px; }
.mini .mq { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 16px; }
.mini .mq span { height: 46px; border-radius: 12px; }
/* Schreinerei: warm, dunkles Holz, kantig */
.m1 { background: #f4ede3; } .m1 .mn { background: #3b2a1e; } .m1 .mh { background: #3b2a1e; padding-bottom: 26px; } .m1 b { background: #f4ede3; border-radius: 1px; } .m1 em { background: #c8923f; border-radius: 2px; } .m1 .mg { padding-top: 14px; } .m1 .mg span { background: #d9c7ad; border-radius: 1px; }
/* Friseur: hell, elegant, Bild rechts */
.m2 { background: #fff; } .m2 .mn { background: #fff; border-bottom: 1px solid #eee; } .m2 .mh { grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; } .m2 .mh > div { display: grid; gap: 7px; } .m2 b { background: #1f1f1f; } .m2 em { background: #c9a2a6; } .m2 .mimg { height: 74px; border-radius: 40px 40px 6px 6px; background: linear-gradient(160deg, #e9d3d5, #c9a2a6); } .m2 .ml span { background: #f3ecec; }
/* Physio: frisch, rund, freundlich */
.m3 { background: #eef6f6; } .m3 .mn { background: #eef6f6; } .m3 .mh { text-align: center; justify-items: center; } .m3 b { background: #0f5257; } .m3 em { background: #2bb3a6; } .m3 .mq span { background: #fff; box-shadow: 0 4px 10px rgba(15,82,87,.08); }
@media (max-width: 900px) { .unikat { grid-template-columns: 1fr; gap: 40px; padding-block: 64px; } .unikat-demo { gap: 10px; } .mini:nth-child(2) { margin-top: 20px; } .mini small { font-size: .66rem; padding: 7px 8px; } }
@media (max-width: 600px) { .hero-kicker .hide-sm { display: none; } }

/* Admin: Prompts je Feld & Funktion */
.rules-form { gap: 12px !important; }
.rule-group { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.rule-group > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; }
.rule-group > summary::-webkit-details-marker { display: none; }
.rule-group > summary strong::before { content: "+"; display: inline-block; width: 18px; color: var(--muted); }
.rule-group[open] > summary strong::before { content: "–"; }
.rule-list { display: grid; gap: 12px; padding: 0 20px 20px; }
.rule { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--sand-2); display: grid; gap: 10px; }
.rule.set { border-color: var(--ok); background: #f3faf5; }
.rule-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rule-cols label.f { margin: 0 !important; gap: 6px; }
.rule-cols textarea { min-height: 64px; font-size: .88rem; }
.rule-when { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.rule-when.on { color: var(--green-2); }
.rule-when.off { color: var(--muted); }
@media (max-width: 800px) { .rule-cols { grid-template-columns: 1fr; } }

/* Leistungen: bis zu 3 Bilder je Eintrag */
#projectForm .rep-row.leist-row { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.leist-fields { display: grid; gap: 10px; }
.leist-imgs { grid-column: 1 / 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.leist-row > .x { grid-column: 2; grid-row: 1; }
.li-thumb { position: relative; width: 84px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.li-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.li-thumb .photo-x { top: 4px; right: 4px; width: 22px; height: 22px; font-size: .85rem; }
.li-add { position: relative; width: 84px; height: 64px; border: 1.5px dashed var(--line); border-radius: 10px; display: grid; place-items: center; font-size: .82rem; font-weight: 700; color: var(--ink-2); background: var(--surface); cursor: pointer; }
.li-add:hover { border-color: var(--ink); }
.li-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.li-add.busy span { opacity: .5; }
.li-pick { width: auto !important; min-width: 0; padding: 8px 30px 8px 10px !important; font-size: .82rem !important; height: 40px; }
.li-hint { color: var(--muted); font-size: .78rem; }
@media (max-width: 600px) { #projectForm .rep-row.leist-row > .leist-fields { grid-column: 1 / 2; } #projectForm .rep-row.leist-row > .leist-imgs { grid-column: 1 / -1; } .li-pick { flex: 1 1 100%; } }

/* Mehrwertsteuer */
.total .vat-note { font-weight: 500; font-size: .78rem; color: var(--muted); margin-left: 4px; }
.vat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px 20px; padding: 0 20px 14px; }
.vat-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.vat-row small { font-size: .74rem; }
.vat-in { display: inline-flex; align-items: center; gap: 6px; }
.vat-in input { width: 70px !important; padding: 7px 9px !important; text-align: right; }
.vat-in input[readonly] { background: var(--sand-2); color: var(--muted); }
.vat-sum td { color: var(--muted); font-size: .88rem; }
@media (max-width: 700px) { .total .vat-note { display: block; margin: 2px 0 0; } }

/* Startseite: Icons im Abschnitt Sicherheit & Recht */
.trust-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--green); color: var(--mint); margin-bottom: 10px; box-shadow: 0 8px 18px rgba(31,61,43,.18); }
.trust-ic svg { width: 32px; height: 32px; }
.trust-c:hover .trust-ic { transform: translateY(-2px); transition: transform .2s; }

/* Startseite: alle Abschnitte so breit wie „Referenzen“ */
.home .wrap { max-width: 1320px; }
.faq-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.faq-split .section-head { position: sticky; top: 24px; }
.faq-split .faq-list details:first-child { padding-top: 0; }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; gap: 12px; } .faq-split .section-head { position: static; } }

/* Korrektur-Editor: Auswahl „Wofür gilt die Änderung?“ */
.scope-pick { position: relative; }
.scope-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 11px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2); font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; max-width: 220px; }
.scope-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scope-btn:hover, .scope-btn[aria-expanded="true"] { border-color: var(--ink-2); color: var(--ink); }
.scope-btn .chev { transition: transform .15s; flex-shrink: 0; }
.scope-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.scope-menu { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 20; min-width: 250px; max-height: 300px; overflow: auto; padding: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(19,22,19,.16); display: grid; gap: 2px; }
.scope-menu[hidden] { display: none; }
.scope-head { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 10px 4px; }
.scope-menu button { display: grid; gap: 1px; text-align: left; padding: 8px 10px 8px 32px; border: 0; border-radius: 10px; background: none; cursor: pointer; font: inherit; color: var(--ink); position: relative; }
.scope-menu button b { font-size: .9rem; font-weight: 600; }
.scope-menu button small { font-size: .76rem; color: var(--muted); }
.scope-menu button:hover { background: var(--sand-2); }
.scope-menu button[aria-selected="true"]::before { content: "✓"; position: absolute; left: 11px; top: 9px; font-size: .85rem; font-weight: 800; color: var(--green-2); }

/* Kontaktseite */
.contact-page { padding-block: 24px 64px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px; align-items: start; margin-top: 8px; }
.contact-info { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.contact-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.contact-card small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { display: block; font-size: 1.15rem; margin-top: 2px; word-break: break-word; }
.contact-ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: var(--green); color: var(--mint); display: grid; place-items: center; }
.contact-ic svg { width: 24px; height: 24px; }
.contact-more { display: grid; gap: 8px; justify-items: start; }
.contact-form { padding: 32px; }
.contact-form h2 { margin-bottom: 16px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-form { padding: 24px 20px; } }

/* Admin: E-Mails */
.mail-list { display: grid; gap: 10px; }
.mail-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.mail-item[open] { border-color: var(--ink-2); }
.mail-item > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 18px; }
.mail-item > summary::-webkit-details-marker { display: none; }
.mail-t { display: grid; gap: 2px; }
.mail-t small { color: var(--muted); font-size: .8rem; }
.mail-sub { color: var(--muted); font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-body { padding: 4px 18px 18px; display: grid; gap: 6px; }
.mail-body textarea { font-size: .9rem; line-height: 1.5; }
.mail-ph { margin: 2px 0 6px; }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #d6d3cb; transition: background .15s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 700px) { .mail-item > summary { grid-template-columns: auto 1fr; } .mail-sub { display: none; } }

/* Problem-Meldungen */
.tab-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--err); color: #fff; font-size: .72rem; font-weight: 700; }
.ticket { padding: 0; }
.ticket > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.ticket > summary::-webkit-details-marker { display: none; }
.ticket-no { font-weight: 800; color: var(--muted); min-width: 42px; }
.ticket-main { display: grid; gap: 2px; flex: 1; min-width: 0; }
.ticket-main small { color: var(--muted); }
.ticket-body { padding: 0 20px 20px; display: grid; gap: 12px; }
.ticket-cats .opt span { font-size: .84rem; }
.ticket-mine { padding: 10px 0; border-top: 1px solid var(--line); }
.ticket-mine:first-of-type { border-top: 0; }

/* Anleitung: Webseite online stellen */
.guide { padding-block: 8px 56px; }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.guide-video-card h2, .guide .card > h2 { font-size: 1.25rem; }
.guide-video { margin-top: 14px; aspect-ratio: 16 / 9; }
.guide-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: none; }
.guide-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.guide-steps li:first-child { border-top: 0; padding-top: 0; }
.guide-steps .num { width: 32px; height: 32px; font-size: .9rem; }
.guide-steps strong { font-size: 1.02rem; }
.guide-steps p { margin: 4px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.guide-tips ul { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink-2); }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .guide-video .hv-fallback span { display: none; } .guide-video .hv-note { font-size: .68rem; } .guide-video .hv-play { width: 58px; height: 58px; } }

/* Meine Webseiten: kleine Live-Vorschau der Webseite */
.site-thumb { position: relative; display: block; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 26px rgba(19,22,19,.10); text-decoration: none; }
.site-thumb-bar { position: absolute; top: 0; left: 0; right: 0; height: 22px; display: flex; gap: 5px; align-items: center; padding: 0 10px; background: #efede7; border-bottom: 1px solid var(--line); z-index: 2; }
.site-thumb-bar i { width: 7px; height: 7px; border-radius: 50%; background: #cfcbc1; }
.site-thumb-view { position: absolute; top: 22px; left: 0; right: 0; bottom: 0; overflow: hidden; }
.site-thumb-view iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 1600px; border: 0; transform-origin: 0 0; pointer-events: none; background: #fff; }
.site-thumb-cta { position: absolute; right: 10px; bottom: 10px; z-index: 3; padding: 6px 12px; border-radius: 999px; background: rgba(19,22,19,.82); color: #fff; font-size: .8rem; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.site-thumb:hover .site-thumb-cta, .site-thumb:focus-visible .site-thumb-cta { opacity: 1; transform: none; }

/* Admin: Mehrfachauswahl (z. B. Gutscheine) */
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 12px; border-radius: 12px; background: var(--sand-2); border: 1px solid var(--line); }
.bulk-bar.has-sel { border-color: var(--ink-2); background: #fff; }
.bulk-count { font-weight: 600; font-size: .9rem; }
.btn.danger { background: var(--err); border-color: var(--err); color: #fff; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.tbl input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--green); cursor: pointer; }

/* Admin: Schleifen schenken */
.rev-grant { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 260px; }
.rev-grant .rev-quick, .rev-grant .rev-custom { display: inline-flex; gap: 4px; align-items: center; }
.rev-grant input[type=number] { width: 92px; padding: 6px 8px; }
.rev-grant .check { margin: 0; flex-basis: 100%; }
.rev-grant .btn.sm { padding: 6px 10px; }
.admin-box { border: 1.5px dashed var(--ink-2); }

/* ---------- Auswertung & Vertrieb ---------- */
.rep-teaser { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; text-decoration: none; color: inherit; border: 1px solid var(--line); }
.rep-teaser > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.rep-teaser:hover { border-color: var(--green-2); }
.rep-filter { margin-bottom: 22px; padding: 18px 20px; }
.rep-periods { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.rep-periods a { padding: 7px 13px; border-radius: 999px; background: var(--sand); color: var(--ink-2); font-size: .86rem; font-weight: 600; text-decoration: none; }
.rep-periods a.on { background: var(--green); color: #fff; }
.rep-periods a:hover:not(.on) { background: var(--line); }
.rep-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; gap: 0 12px; align-items: end; }
.rep-fields label.f { margin-bottom: 0; font-size: .82rem; }
.rep-fields select, .rep-fields input { padding: 9px 10px; font-size: .9rem; }
.rep-actions { display: flex; gap: 8px; padding-bottom: 2px; }
.rep-title { margin-bottom: 10px; gap: 12px; flex-wrap: wrap; }
.rep-title h2 { margin: 0; }
.rep-kpis { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 12px; }
.rep-kpis .kpi strong { font-size: 1.3rem; white-space: nowrap; }
.rep-kpis .kpi i { display: block; font-style: normal; font-size: .78rem; margin-top: 2px; color: var(--muted); }
.rep-kpis .kpi.hi i, .rep-kpis .kpi.hi span { color: rgba(255,255,255,.75); }
.small-kpis .kpi { background: var(--sand-2); padding: 14px 16px; }
.small-kpis .kpi strong { font-size: 1.1rem; }
.small-kpis { margin-bottom: 24px; }
.delta { font-style: normal; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: rgba(0,0,0,.05); color: var(--ink-2); }
.delta.up { background: var(--ok-soft); color: var(--ok); }
.delta.down { background: var(--err-soft); color: var(--err); }
.kpi.hi .delta { background: rgba(255,255,255,.16); color: #fff; }
.rep-chart { width: 100%; height: 240px; display: block; }
.rep-chart .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rep-chart .zero { stroke: var(--muted); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rep-chart .net { fill: var(--mint); }
.rep-chart .res { fill: var(--green); }
.rep-chart .res.neg { fill: var(--err); }
.rep-chart rect:hover { opacity: .8; }
.rep-axis { display: flex; font-size: .72rem; color: var(--muted); margin-top: 4px; }
.rep-axis span { flex: 1 1 0; text-align: center; white-space: nowrap; overflow: visible; min-width: 0; }
.rep-legend { font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.rep-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 8px; }
.rep-legend .l-net { background: var(--mint); }
.rep-legend .l-res { background: var(--green); }
.rep-tbl td, .rep-tbl th { padding: 10px 12px; }
.rep-tbl tr.muted td { color: var(--muted); }
.rep-tbl tr.sum td { background: var(--sand); font-weight: 700; border-bottom: 0; }
.rep-tbl td.neg { color: var(--err); }
.rep-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-bottom: 24px; align-items: start; }
.rep-h { padding: 18px 18px 4px; font-size: 1.05rem; }
.rep-note { padding: 0 18px 14px; margin: 8px 0 0; }
.rep-orders tr.refunded td { opacity: .6; }
.rep-orders td { vertical-align: top; }
.mini-sel { padding: 6px 8px !important; font-size: .84rem !important; min-width: 120px; width: auto; }
.mini-in { width: 84px; padding: 6px 8px !important; font-size: .86rem !important; text-align: right; }
.row-menu { position: relative; }
.row-menu summary { list-style: none; cursor: pointer; }
.row-menu summary::-webkit-details-marker { display: none; }
.row-menu-in { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; gap: 6px; min-width: 220px; }
.row-menu-in .btn { width: 100%; justify-content: flex-start; }
.sales-new summary { cursor: pointer; }
.partner-card { padding: 22px 24px; }
.partner-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.partner-head h3 { margin: 0 0 2px; font-size: 1.2rem; }
.partner-stats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.partner-stats span { background: var(--sand-2); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; min-width: 0; }
.partner-stats small { font-size: .72rem; color: var(--muted); }
.partner-stats b { font-size: 1rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.partner-stats .due { background: var(--ok-soft); }
.partner-stats .due b { color: var(--ok); }
.partner-links { display: grid; gap: 8px; }
.copy-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--sand-2); border-radius: 12px; padding: 8px 8px 8px 14px; }
.copy-line small { flex-basis: 100%; font-size: .74rem; color: var(--muted); margin-bottom: -6px; }
.copy-line code { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; font-size: .84rem; }
.partner-vouchers { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.partner-more { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.partner-more > summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--green-2); }
.partner-more-in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 10px; }
.partner-more-in h4 { margin: 8px 0 0; }
.partner-more-in .grid2 { grid-template-columns: 1fr; }
.partner-portal { max-width: 1000px; }
.partner-portal .kpis { margin-bottom: 0; }
@media (max-width: 1100px) {
  .rep-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
  .rep-actions { grid-column: 1 / -1; margin-top: 10px; }
  .partner-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rep-split, .partner-more-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rep-fields { grid-template-columns: 1fr 1fr; }
  .rep-kpis { grid-template-columns: 1fr 1fr; }
  .partner-stats { grid-template-columns: 1fr 1fr; }
  .rep-chart { height: 180px; }
  .rep-teaser { flex-direction: column; align-items: flex-start; }
  .partner-card { padding: 18px; }
}
@media print {
  .topbar, .seg, .rep-filter, .rep-title .btn, .devbar, footer, .row-menu, .rep-orders form button { display: none !important; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}
.rep-orders th, .rep-orders td { padding: 10px 10px; }
.rep-orders .rep-cust { max-width: 200px; white-space: normal; overflow-wrap: anywhere; }
.tbl input.mini-in { width: 92px !important; min-width: 92px; flex: none; }
.rep-orders .rep-cust { min-width: 170px; max-width: 230px; }
.comm-tbl th, .comm-tbl td { padding: 10px 10px; }
.rep-split > * { min-width: 0; }
.partner-portal .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .partner-portal .kpis { grid-template-columns: 1fr 1fr; } }
.partner-vtbl { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; }
.partner-vtbl .tbl th, .partner-vtbl .tbl td { padding: 9px 12px; }
.partner-vtbl .mini-sel { min-width: 150px; }
.partner-more-in .span2 { grid-column: 1 / -1; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.booking-form { display: grid; grid-template-columns: 150px 130px 160px 1fr auto auto; gap: 0 12px; align-items: end; margin-top: 12px; }
.booking-form label.f { margin-bottom: 0; }
.booking-form .check { margin: 0 0 12px; white-space: nowrap; }
.booking-form > span { padding-bottom: 4px; }
@media (max-width: 900px) { .booking-form { grid-template-columns: 1fr 1fr; gap: 0 12px; } .booking-form .bf-note { grid-column: 1 / -1; } }
.portal-code { display: inline-block; font-size: .95rem; padding: 8px 14px; white-space: normal; max-width: 100%; line-height: 1.4; border-radius: 14px; }
.form .btn-block + p { margin: 22px 0 0; line-height: 1.6; }
.photo-pop button.sel { outline: 3px solid var(--mint); outline-offset: 1px; }
.photo-pop label.up { width: 76px; background: var(--surface); color: var(--ink); border: 1.5px dashed var(--line); grid-template-rows: auto auto; align-content: center; gap: 0; font-size: 1.1rem; }
.photo-pop label.up small { font-size: .66rem; font-weight: 600; color: var(--muted); }
.photo-pop label.up.busy { opacity: .6; pointer-events: none; }
.photo-pop label.up.busy span { animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.photo-hint, .photo-err { flex-basis: 100%; margin: 2px 2px 0; font-size: .76rem; color: var(--muted); }
.photo-err { color: var(--err); font-weight: 600; }
.inspo-need { margin: -2px 0 10px; font-size: .86rem; font-weight: 600; color: var(--err); }
.save-state { font-size: .82rem; color: var(--muted); align-self: center; white-space: nowrap; }
.save-state.ok { color: var(--ok); }
.save-state.busy { color: var(--muted); }
.save-state.err { color: var(--err); font-weight: 600; white-space: normal; }
@media (max-width: 700px) { .sticky-act .save-state { flex-basis: 100%; text-align: center; order: -1; } }
.start-box { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 24px; border: 1.5px solid var(--mint); padding: 32px; }
.start-box h2 { margin: 0; }
.start-box p { margin: 0; max-width: 640px; }
.start-check { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; }
@media (max-width: 640px) { .start-box { flex-direction: column; padding: 22px; } }
.font-pick { margin: 26px 0 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.font-combos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 16px; }
.font-combos .chip { font-size: .92rem; }
.font-combos .chip.on { background: var(--green); color: #fff; border-color: var(--green); }
.font-preview { border: 1.5px solid var(--line); border-radius: 16px; padding: 22px 24px; display: grid; gap: 10px; background: var(--sand-2); }
.font-preview .fp-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: var(--font); }
.font-preview strong { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.15; font-weight: 700; letter-spacing: 0; }
.font-preview p { margin: 0; font-size: 1.02rem; line-height: 1.65; max-width: 640px; }
.font-preview .fp-btn { justify-self: start; background: var(--ink); color: #fff; border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: .92rem; }
.shrinking { opacity: .6; pointer-events: none; cursor: progress; }

/* Rückfragen vor der Erstellung */
.rf-form .rf-q { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); display: grid; gap: 10px; }
.rf-form .rf-q textarea { width: 100%; min-height: 64px; }
.rf-opts .chip { font-size: .82rem; padding: 6px 12px; }
.rf-opts .chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.btn.is-wait { opacity: .75; pointer-events: none; }
.btn.is-wait::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: kmspin .8s linear infinite; vertical-align: -2px; }
@keyframes kmspin { to { transform: rotate(360deg); } }

/* Design-Stile (1 bis 3 wählen) */
.dstil-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .dstil-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dstil-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.dstil-opt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; min-width: 0; }
.dstil-opt:hover { border-color: var(--ink-3, #9aa09a); transform: translateY(-1px); }
.dstil-opt input { position: absolute; opacity: 0; pointer-events: none; }
.dstil-opt strong { font-size: .9rem; line-height: 1.25; margin-top: 6px; padding: 0 4px; }
.dstil-opt > span:last-child { font-size: .78rem; color: var(--ink-2); line-height: 1.35; padding: 0 4px; }
.dstil-img { position: relative; display: block; border-radius: 9px; overflow: hidden; border: 1px solid var(--line);
  --dp-bg: #ffffff; --dp-d: #2b302c; --dp-dd: #3a403b; --dp-m: #b9bdb8; --dp-l: #eceeea; --dp-a: #e0894a; --dp-la: #fbe7d8; --dp-p1: #9fb4c2; --dp-p2: #5f7b8c; }
.dstil-img svg { display: block; width: 100%; height: auto; }
.dstil-nr { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: .8rem; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.dstil-opt:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent); }
.dstil-opt:has(input:checked) .dstil-nr { display: flex; }
.dstil-opt:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.dstil-msg { color: var(--err); font-weight: 600; margin: 10px 0 0; }
.badge-rec { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: .74rem; font-weight: 700; vertical-align: 1px; }
.inspo-tip { margin: -2px 0 10px; font-size: .86rem; color: var(--ink-2); }

/* 3 Entwürfe: Angebot bei der Bestellung und Auswahl */
.drafts-offer { border: 1.5px dashed var(--green); }
.drafts-box { margin-bottom: 24px; }
.drafts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .drafts-grid { grid-template-columns: 1fr; } }
.draft-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; min-width: 0; }
.draft-frame { position: relative; height: 340px; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.draft-frame iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 1360px; border: 0; transform: scale(.25); transform-origin: 0 0; pointer-events: none; }
.draft-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 14px; }
.draft-foot strong { margin-right: auto; }

/* Warte-Ansicht: Überprüfung der Angaben */
.wait-overlay { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: 16px; background: color-mix(in srgb, var(--bg, #f6f5f1) 88%, transparent); backdrop-filter: blur(6px); animation: kmfade .25s ease; }
.wait-overlay[hidden] { display: none; }
@keyframes kmfade { from { opacity: 0; } to { opacity: 1; } }
.wait-card { width: 100%; max-width: 520px; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px 28px; box-shadow: 0 30px 80px rgba(0,0,0,.12); display: grid; gap: 14px; text-align: center; }
.wait-card h2 { margin: 4px 0 0; }
.wait-orb { position: relative; width: 74px; height: 74px; margin: 0 auto 4px; }
.wait-orb span { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--green); animation: kmspin 1.4s cubic-bezier(.5,.1,.5,.9) infinite; }
.wait-orb span:nth-child(2) { inset: 10px; border-top-color: var(--accent, #e0894a); animation-duration: 1.9s; animation-direction: reverse; }
.wait-orb span:nth-child(3) { inset: 22px; background: var(--green); border: 0; opacity: .15; animation: kmpulse 1.6s ease-in-out infinite; }
@keyframes kmpulse { 50% { transform: scale(1.35); opacity: .3; } }
.wait-steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.wait-steps li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-3, #9aa09a); transition: color .3s; }
.wait-steps li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; transition: all .3s; }
.wait-steps li.on { color: var(--ink); font-weight: 600; }
.wait-steps li.on::before { border-color: var(--green); border-right-color: transparent; animation: kmspin .8s linear infinite; }
.wait-steps li.done { color: var(--ink-2); }
.wait-steps li.done::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--green); }
.wait-bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 4px; }
.wait-bar i { display: block; height: 100%; width: 0; background: var(--green); border-radius: inherit; transition: width .6s ease; }
button.draft-frame { display: block; width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--line); cursor: zoom-in; font: inherit; }
.draft-view { position: fixed; inset: 0; z-index: 950; background: var(--bg, #f6f5f1); display: flex; flex-direction: column; animation: kmfade .2s ease; }
.draft-view[hidden] { display: none; }
.draft-view-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; background: var(--surface, #fff); border-bottom: 1px solid var(--line); }
.draft-view-bar strong { margin-right: auto; font-size: 1.05rem; }
.draft-view-nav { display: inline-flex; gap: 6px; }
.draft-view-frame { flex: 1; min-height: 0; display: flex; justify-content: center; padding: 12px; overflow: auto; }
.draft-view-frame iframe { width: 100%; height: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: width .25s; }
@media (max-width: 640px) { .draft-view-bar strong { order: -1; width: 100%; } .draft-view-frame { padding: 0; } .draft-view-frame iframe { border-radius: 0; border: 0; } }
body.no-scroll { overflow: hidden; }

/* Bildquellen (Mehrfachauswahl) */
.bq-grid { margin-bottom: 22px; }
#projectForm .bq-opt, .bq-opt { padding-left: 50px; }
.bq-check { position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); background: var(--surface); }
.bq-opt:has(input:checked) .bq-check { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; border-color: var(--ink); }
@media (max-width: 760px) { .opt-grid.c3.bq-grid { grid-template-columns: 1fr; } }

/* Finalisieren vor dem Download */
.wait-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 24px 0; }
.wait-page .wait-card { box-shadow: 0 20px 60px rgba(0,0,0,.08); }
.done-check { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--green); color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; }

/* Admin: Löschen */
.danger-zone { border-color: color-mix(in srgb, var(--err) 35%, var(--line)); }

/* Automatisch gemeldetes Problem */
.problem-box { border-color: var(--mint); }
.problem-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; }

/* Aufpreis-Hinweis im Formular */
.price-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--sand-2, #efece4); color: var(--ink); font-size: .74rem; font-weight: 700; vertical-align: 1px; white-space: nowrap; }
/* Schalter (Admin › Formular) */
.switch { position: relative; display: inline-block; width: 44px; height: 24px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.form-cfg td { vertical-align: middle; }
