/* f3dprint – Seite „Schriftzüge“ (alle Klassen mit sz- vorne, damit nichts mit dem Rest der Seite kollidiert) */
.sz { --sz-ink: #0f172a; --sz-ink2: #334155; --sz-muted: #64748b; --sz-line: #e2e8f0; --sz-card: #ffffff; --sz-soft: #f1f5f9; --sz-accent: #4f46e5; }
html[data-theme="dark"] .sz { --sz-ink: #f1f5f9; --sz-ink2: #cbd5e1; --sz-muted: #94a3b8; --sz-line: #1e293b; --sz-card: #111a2e; --sz-soft: #0f172a; --sz-accent: #a5b4fc; }
.sz { color: var(--sz-ink2); }
.sz h1, .sz h2, .sz h3 { color: var(--sz-ink); }
.sz a { color: var(--sz-accent); }
.sz section { margin-bottom: 64px; }
.sz-h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.04em; line-height: 1; margin: 0 0 12px; }

/* Kopf */
.sz-hero { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; text-align: left; }
@media (min-width: 900px) { .sz-hero { grid-template-columns: 1.15fr 1fr; gap: 56px; } }
.sz-kicker { font-size: 11px; font-weight: 900; letter-spacing: .3em; text-transform: uppercase; color: var(--sz-accent); margin: 0 0 14px; }
.sz-lead { font-size: 1.15rem; line-height: 1.6; max-width: 34em; margin: 18px 0 26px; }
.sz-hero-bild { margin: 0; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sz-soft); }
.sz-hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; display: block; }
.sz-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 16px;
  background: #0f172a; color: #fff !important; font: inherit; font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s;
}
.sz-knopf:hover { background: #4f46e5; }
.sz-knopf:disabled { background: #94a3b8; cursor: not-allowed; }
html[data-theme="dark"] .sz-knopf { background: #4f46e5; }
.sz-link { background: none; border: 0; padding: 8px 0; font: inherit; font-size: .9rem; color: var(--sz-accent); text-decoration: underline; cursor: pointer; }

/* Art-Karten */
.sz-arten { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.sz-art-karte {
  display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 12px 12px 18px; border-radius: 24px;
  background: var(--sz-card); border: 1px solid var(--sz-line); font: inherit; color: var(--sz-ink); cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.sz-art-karte:hover { transform: translateY(-4px); border-color: #c7d2fe; box-shadow: 0 18px 36px -14px rgba(79, 70, 229, .25); }
.sz-art-karte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; margin-bottom: 8px; background: #ebe5dc; }
.sz-art-karte strong { font-size: 1.1rem; font-weight: 900; }
.sz-art-karte span { color: var(--sz-muted); font-size: .95rem; }
@media (max-width: 640px) {
  .sz-art-karte { display: grid; grid-template-columns: 92px 1fr; column-gap: 14px; align-items: center; padding: 10px; }
  .sz-art-karte img { grid-row: 1 / 3; aspect-ratio: 1; margin: 0; object-fit: contain; }
  .sz-art-karte strong { align-self: end; }
  .sz-art-karte span { align-self: start; font-size: .9rem; }
}

/* Konfigurator */
.sz-konf { scroll-margin-top: 110px; }
.sz-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
.sz-tabs button { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--sz-line); background: var(--sz-card); font: inherit; font-weight: 800; color: var(--sz-ink2); cursor: pointer; }
.sz-tabs button[aria-selected="true"] { background: #0f172a; border-color: #0f172a; color: #fff; }
html[data-theme="dark"] .sz-tabs button[aria-selected="true"] { background: #4f46e5; border-color: #4f46e5; }
.sz-art-kurz { color: var(--sz-muted); margin: 0 0 20px; }
.sz-raster { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .sz-raster { grid-template-columns: 1.2fr 1fr; align-items: start; } .sz-vorschau-spalte { position: sticky; top: 110px; } }

.sz-vorschau { position: relative; border-radius: 28px; overflow: hidden; background: #f8fafc; border: 1px solid var(--sz-line); aspect-ratio: 4 / 3; }
.sz-vorschau #sz-viewer { position: absolute; inset: 0; }
.sz-masse { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: #0f172a; font-size: .82rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; pointer-events: none; }
.sz-ansicht { position: absolute; right: 12px; top: 10px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(255,255,255,.92); color: #0f172a; font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
.sz-dreh { position: absolute; left: 12px; top: 12px; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: #94a3b8; pointer-events: none; }
.sz-lade { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(248,250,252,.8); font-weight: 800; color: #475569; }
.sz-lade[hidden] { display: none; }
.sz-hinweise { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: .92rem; }
.sz-hinweise li { padding: 9px 13px; border-radius: 14px; background: #fff7ed; color: #7c2d12; }
.sz-hinweise li.info { background: #eef2ff; color: #312e81; }
.sz-hinweise li.fehler { background: #fef2f2; color: #b91c1c; font-weight: 700; }
.sz-hinweise a { color: inherit; }

.sz-optionen { display: grid; gap: 22px; }
.sz-feld { display: grid; gap: 8px; }
.sz-label { font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: var(--sz-muted); }
.sz-label em { font-style: normal; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--sz-ink2); margin-left: 6px; }
.sz textarea, .sz input[type=number] { width: 100%; font: inherit; color: var(--sz-ink); background: var(--sz-card); border: 2px solid var(--sz-line); border-radius: 16px; padding: 12px 14px; }
#sz-text { font-size: 1.35rem; font-weight: 800; resize: none; }
.sz textarea:focus, .sz input:focus { outline: none; border-color: #6366f1; }
.sz-tipp { color: var(--sz-muted); font-size: .86rem; }

.sz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sz-chips button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--sz-line); background: var(--sz-card); color: var(--sz-ink); font: inherit; font-weight: 700; cursor: pointer; white-space: pre; }
.sz-chips button:hover { border-color: #6366f1; }

.sz-schriften { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.sz-schriften button {
  min-height: 70px; padding: 8px 10px; border: 1px solid var(--sz-line); border-radius: 16px; background: var(--sz-card); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--sz-ink);
}
.sz-probe { font-size: 1.45rem; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sz-schriften small { font: 700 .72rem/1.2 Inter, system-ui, sans-serif; color: var(--sz-muted); }
.sz-schriften button[aria-pressed="true"], .sz-chips button[aria-pressed="true"] { border-color: #4f46e5; box-shadow: inset 0 0 0 1px #4f46e5; }

.sz-farben { display: flex; flex-wrap: wrap; gap: 10px; }
.sz-farben button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(15, 23, 42, .15); cursor: pointer; position: relative; }
.sz-farben button[aria-pressed="true"]::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid #4f46e5; }

.sz-mehr { border: 1px solid var(--sz-line); border-radius: 20px; padding: 0 16px; background: var(--sz-card); }
.sz-mehr summary { min-height: 54px; display: flex; align-items: center; font-weight: 900; color: var(--sz-ink); cursor: pointer; }
.sz-mehr[open] { padding-bottom: 14px; }
.sz-regler { display: grid; gap: 2px; margin: 10px 0; }
.sz-regler label { display: flex; justify-content: space-between; font-weight: 700; font-size: .95rem; color: var(--sz-ink); }
.sz-regler output { color: var(--sz-muted); font-variant-numeric: tabular-nums; }
.sz input[type=range] { width: 100%; accent-color: #4f46e5; min-height: 32px; }
.sz-schalter { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; padding: 8px 0; cursor: pointer; }
.sz-schalter input { width: 20px; height: 20px; margin-top: 2px; accent-color: #4f46e5; flex: none; }

.sz-kauf { display: grid; gap: 14px; padding: 20px; border-radius: 24px; background: var(--sz-card); border: 1px solid var(--sz-line); box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .25); }
.sz-kauf-zeile { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.sz-preis { font-size: 2.1rem; font-weight: 900; letter-spacing: -0.03em; color: var(--sz-ink); font-variant-numeric: tabular-nums; line-height: 1; }
.sz-preis-info { color: var(--sz-muted); font-size: .82rem; margin-top: 4px; }
.sz-menge { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.sz-menge input { width: 84px !important; padding: 10px 12px !important; }
.sz-preis-regel { margin: 0; color: var(--sz-muted); font-size: .82rem; }
.sz-hinweise .sz-link { color: inherit; font-weight: 800; padding: 2px 0; text-align: left; }
.sz-meldung { margin: 0; font-weight: 700; font-size: .92rem; }
.sz-meldung.ok { color: #15803d; }
.sz-meldung.fehler { color: #b91c1c; }

/* Info-Bereiche */
.sz-schritte { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.sz-schritte li { counter-increment: s; background: var(--sz-card); border: 1px solid var(--sz-line); border-radius: 24px; padding: 22px; }
.sz-schritte li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #4f46e5; color: #fff; font-weight: 900; margin-bottom: 12px; }
.sz-schritte strong { display: block; color: var(--sz-ink); font-size: 1.1rem; font-weight: 900; margin-bottom: 4px; }
.sz-kita { background: #0f172a; color: #cbd5e1; border-radius: 32px; padding: 36px 24px; }
.sz-kita h2 { color: #fff !important; }
.sz-kita a { color: #c7d2fe !important; }
@media (min-width: 768px) { .sz-kita { padding: 48px; } }
.sz-faq details { border-bottom: 1px solid var(--sz-line); }
.sz-faq summary { min-height: 54px; display: flex; align-items: center; font-weight: 800; color: var(--sz-ink); cursor: pointer; }
.sz-faq p { margin: 0 0 16px; }

.sz-update-fehler { background: #fef2f2; color: #b91c1c; border: 2px solid #fca5a5; border-radius: 16px; padding: 14px 16px; font-weight: 800; margin: 0 0 16px; }

.sz-textfarben { font-size: 1.35rem; font-weight: 900; line-height: 1.3; padding: 10px 14px; border-radius: 14px; background: #e2e8f0; letter-spacing: .02em; word-break: break-word; }
.sz-farbe-fuer { margin: 0; font-weight: 800; font-size: .9rem; color: #4f46e5; }

.sz-farbziel button { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.sz-farb-hinweis { margin: 0; padding: 8px 12px; border-radius: 12px; background: #fef2f2; color: #b91c1c; font-weight: 700; font-size: .9rem; }
.sz-bearbeiten { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: #eef2ff; color: #312e81; font-weight: 700; }
