/* =========================================================
   SnapThis – UI im Apple-Stil
   ========================================================= */

/* ---------- Schriften (lokal gehostet, keine Google-Server → DSGVO) ---------- */
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfair-display-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfair-display-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfair-display-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Great Vibes"; src: url(../fonts/great-vibes-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url(../fonts/dancing-script-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url(../fonts/dancing-script-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url(../fonts/dm-serif-display-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --bg: #f5f5f7;
  --bg-elev: #fbfbfd;
  --surface: #ffffff;
  --surface-2: #f2f2f5;
  --text: #1d1d1f;
  --text-2: #424245;
  --muted: #6e6e73;
  --faint: #a1a1a6;
  --line: rgba(0, 0, 0, .08);
  --line-strong: rgba(0, 0, 0, .14);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: rgba(0, 113, 227, .1);
  --rose: #c8796b;
  --green: #28a745;
  --red: #e5484d;
  --orange: #f5a524;
  --glass: rgba(251, 251, 253, .72);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 1px 1px rgba(0,0,0,.03);
  --shadow: 0 2px 6px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.08), 0 30px 80px rgba(0,0,0,.12);
  --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-xl: 30px;
  --ease: cubic-bezier(.25, .9, .3, 1);
  --spring: linear(0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --bg-elev: #0b0b0d; --surface: #1c1c1e; --surface-2: #2c2c2e;
    --text: #f5f5f7; --text-2: #d2d2d7; --muted: #98989d; --faint: #636366;
    --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.16);
    --accent: #2997ff; --accent-hover: #44a5ff; --accent-soft: rgba(41,151,255,.16);
    --glass: rgba(22, 22, 24, .72);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow: 0 10px 30px rgba(0,0,0,.4); --shadow-lg: 0 30px 80px rgba(0,0,0,.6);
  }
}

/* ---------- Basis ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: var(--ease); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.47; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, video, canvas { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 .4em; font-weight: 700; }
h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.2vw, 32px); }
h3 { font-size: 21px; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.ic { flex: none; }
:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; border-radius: 8px; }
::selection { background: var(--accent-soft); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 720px; }
.container.wide { max-width: 1400px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 14px; }
.grow { flex: 1; min-width: 0; }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

/* ---------- Animationen ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--rot, 0deg)); } }
@keyframes shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }

.anim > * { animation: fadeUp .7s var(--ease) both; }
.anim > *:nth-child(2) { animation-delay: .06s; }
.anim > *:nth-child(3) { animation-delay: .12s; }
.anim > *:nth-child(4) { animation-delay: .18s; }
.anim > *:nth-child(5) { animation-delay: .24s; }
.anim > *:nth-child(n+6) { animation-delay: .3s; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: 56px;
  background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .container { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #ff8a7a, #c86bfa 55%, #5e8bff); box-shadow: 0 4px 12px rgba(200,107,250,.35); }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a, .nav-links button.link { color: var(--text-2); font-size: 14px; padding: 7px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links button.link:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--text); font-weight: 600; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #8e9eff, #c86bfa); flex: none; }
.avatar.lg { width: 56px; height: 56px; font-size: 20px; }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  --h: 44px;
  appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 20px;
  border-radius: 999px; background: var(--text); color: var(--bg); text-decoration: none !important; white-space: nowrap;
  transition: transform .35s var(--spring), background .2s, box-shadow .2s, opacity .2s; user-select: none; -webkit-tap-highlight-color: transparent;
}
.btn:hover { box-shadow: 0 6px 20px rgba(0,0,0,.14); }
.btn:active { transform: scale(.96); }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn.blue { background: var(--accent); color: #fff; }
.btn.blue:hover { background: var(--accent-hover); box-shadow: 0 6px 20px rgba(0,113,227,.3); }
.btn.ghost { background: var(--surface-2); color: var(--text); }
.btn.ghost:hover { box-shadow: none; background: var(--line-strong); }
.btn.outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.outline:hover { background: var(--surface-2); }
.btn.danger { background: rgba(229,72,77,.1); color: var(--red); }
.btn.danger:hover { background: rgba(229,72,77,.18); box-shadow: none; }
.btn.danger.solid { background: var(--red); color: #fff; }
.btn.sm { --h: 34px; padding: 0 14px; font-size: 13px; }
.btn.lg { --h: 54px; padding: 0 30px; font-size: 17px; }
.btn.block { width: 100%; }
.btn.icon { width: var(--h); padding: 0; }
.btn .spinner { display: none; }
.btn.is-loading .spinner { display: block; }
.spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
button.link { background: none; border: 0; font: inherit; color: var(--accent); cursor: pointer; padding: 0; }

/* ---------- Karten / Flächen ---------- */
.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 28px; border: 1px solid var(--line); }
.card.flat { box-shadow: none; }
.card.pad-lg { padding: 40px; }
.card h3 { margin-bottom: 6px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-head h3 { margin: 0; }
.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.section { padding: 48px 0; }
.page-head { padding: 44px 0 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.page-head p { margin: 6px 0 0; color: var(--muted); }

/* ---------- Formulare ---------- */
.field { display: block; margin-bottom: 18px; }
.field > span, .label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin: 0 0 7px 2px; }
.field small, .hint { display: block; font-size: 13px; color: var(--muted); margin: 6px 2px 0; }
.input, select.input, textarea.input {
  width: 100%; height: 48px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--text);
  background: var(--surface-2); border: 1px solid transparent; border-radius: 12px; outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s; appearance: none;
}
textarea.input { height: auto; min-height: 96px; padding: 13px 16px; resize: vertical; line-height: 1.45; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2386868b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input:hover { background-color: var(--line); }
.input:focus { background-color: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input::placeholder { color: var(--faint); }
.input-group { position: relative; }
.input-group .ic { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.input-group .input { padding-left: 44px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; line-height: 1.4; }
.check input { margin-top: 2px; width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* iOS-Schalter */
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.switch:last-child { border-bottom: 0; }
.switch .t { font-weight: 500; }
.switch .d { font-size: 13px; color: var(--muted); margin-top: 2px; }
.switch input { appearance: none; flex: none; width: 51px; height: 31px; border-radius: 999px; background: var(--line-strong); position: relative; cursor: pointer; transition: background .25s var(--ease); margin: 0; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 1px 1px rgba(0,0,0,.16); transition: transform .35s var(--spring); }
.switch input:checked { background: #34c759; }
.switch input:checked::after { transform: translateX(20px); }

/* Segmented Control */
.seg { display: inline-flex; background: var(--surface-2); border-radius: 11px; padding: 3px; gap: 2px; position: relative; }
.seg a, .seg button, .seg label {
  border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 500; color: var(--text-2); cursor: pointer;
  padding: 7px 16px; border-radius: 9px; transition: background .25s var(--ease), color .2s, box-shadow .25s; text-decoration: none !important; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
}
.seg .on, .seg input:checked + span { background: var(--surface); color: var(--text); box-shadow: 0 3px 8px rgba(0,0,0,.08), 0 1px 1px rgba(0,0,0,.04); }
.seg label { padding: 0; }
.seg label span { padding: 7px 14px; border-radius: 9px; display: block; transition: inherit; }
.seg input { display: none; }

/* ---------- Hinweise / Toasts ---------- */
.toasts { position: fixed; top: 68px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 460px); pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; gap: 12px; align-items: center; padding: 13px 18px; border-radius: 16px; font-size: 15px;
  background: var(--glass); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: slideDown .5s var(--spring) both;
}
.toast.out { animation: fadeIn .25s reverse both; }
.toast .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; background: var(--green); }
.toast.error .dot { background: var(--red); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; background: var(--accent-soft); color: var(--text); font-size: 14px; margin-bottom: 20px; }
.notice.warn { background: rgba(245,165,36,.14); }
.notice.dev { background: rgba(200,107,250,.12); word-break: break-all; }
.notice .ic { color: var(--accent); margin-top: 1px; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.badge.green { background: rgba(52,199,89,.14); color: #1f8a3a; }
.badge.red { background: rgba(229,72,77,.12); color: var(--red); }
.badge.blue { background: var(--accent-soft); color: var(--accent); }
.badge.orange { background: rgba(245,165,36,.16); color: #b26b00; }
@media (prefers-color-scheme: dark) { .badge.green { color: #4cd964; } .badge.orange { color: #ffb340; } }

/* ---------- Modal (dialog) ---------- */
dialog.sheet {
  border: 0; padding: 0; border-radius: var(--r-xl); background: var(--surface); color: var(--text); width: min(94vw, 480px);
  box-shadow: var(--shadow-lg); max-height: 90vh; overflow: auto;
}
dialog.sheet[open] { animation: scaleIn .45s var(--spring) both; }
dialog.sheet::backdrop { background: rgba(0,0,0,.32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn .3s both; }
dialog.sheet .sheet-body { padding: 30px; }
dialog.sheet .sheet-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 13px; color: var(--muted); margin-top: 60px; }
.footer .container { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
.footer a { color: var(--muted); }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* =========================================================
   Landingpage
   ========================================================= */
.hero { position: relative; padding: 80px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 120%; z-index: -1; filter: blur(80px); opacity: .55;
  background: radial-gradient(40% 40% at 25% 35%, #ffd1c7, transparent 70%), radial-gradient(35% 35% at 75% 30%, #e3d1ff, transparent 70%), radial-gradient(30% 30% at 55% 70%, #cfe3ff, transparent 70%);
}
@media (prefers-color-scheme: dark) { .hero::before { opacity: .25; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero-cta { justify-content: center; } }
.hero h1 { font-size: clamp(42px, 7vw, 76px); letter-spacing: -.045em; line-height: 1.02; margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(100deg, #ff7a6b, #c86bfa 50%, #5e8bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(19px, 2.2vw, 23px); color: var(--muted); line-height: 1.4; max-width: 34ch; margin-bottom: 30px; letter-spacing: -.015em; }
@media (max-width: 900px) { .hero .lead { margin-inline: auto; } }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; height: 520px; perspective: 1200px; }
.mock-card {
  position: absolute; width: 250px; aspect-ratio: 105/148; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.18), 0 8px 18px rgba(0,0,0,.08);
  animation: float 7s ease-in-out infinite; overflow: hidden; background: #fbf8f3;
}
.mock-card canvas { width: 100%; height: 100%; }
.mock-card.c1 { left: 6%; top: 40px; --rot: -8deg; }
.mock-card.c2 { left: 34%; top: 0; --rot: 4deg; animation-delay: -2.4s; z-index: 2; }
.mock-card.c3 { left: 56%; top: 120px; --rot: 10deg; animation-delay: -4.6s; }
@media (max-width: 900px) { .hero-visual { height: 420px; } .mock-card { width: 200px; } }
@media (max-width: 520px) { .hero-visual { height: 340px; } .mock-card { width: 160px; } .mock-card.c3 { left: 50%; } }
.phone {
  position: absolute; right: 2%; bottom: 0; width: 190px; height: 390px; border-radius: 38px; background: #111; padding: 9px; z-index: 3;
  box-shadow: 0 40px 80px rgba(0,0,0,.3); animation: float 8s ease-in-out infinite; animation-delay: -1s;
}
.phone-screen { width: 100%; height: 100%; border-radius: 30px; background: #fff; overflow: hidden; display: flex; flex-direction: column; padding: 34px 14px 14px; gap: 8px; color: #1d1d1f; }
.phone-screen .ph-title { font-family: "Great Vibes"; font-size: 28px; text-align: center; line-height: 1; }
.phone-screen .ph-sub { font-size: 9px; text-align: center; color: #6e6e73; letter-spacing: .1em; text-transform: uppercase; }
.phone-screen .ph-btn { margin-top: 6px; background: #1d1d1f; color: #fff; border-radius: 999px; text-align: center; padding: 9px; font-size: 11px; font-weight: 600; }
.phone-screen .ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 6px; }
.phone-screen .ph-grid i { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(135deg, var(--a), var(--b)); animation: fadeIn 1s both; }
@media (max-width: 520px) { .phone { width: 140px; height: 290px; border-radius: 30px; } .phone-screen { border-radius: 23px; padding-top: 24px; } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feature { background: var(--surface); border-radius: var(--r-xl); padding: 32px; border: 1px solid var(--line); transition: transform .5s var(--spring), box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .fi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; background: var(--g, linear-gradient(135deg, #5e8bff, #8e6bff)); }
.feature h3 { font-size: 20px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--text); color: var(--bg); }
.step p { color: var(--muted); }
.big-cta { text-align: center; padding: 70px 30px; border-radius: 36px; background: linear-gradient(135deg, #1d1d1f, #3a2f4a); color: #fff; }
.big-cta h2 { font-size: clamp(30px, 4.5vw, 46px); }
.big-cta p { color: rgba(255,255,255,.7); font-size: 19px; }
.big-cta .btn { background: #fff; color: #1d1d1f; }
.types-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.types-row span { display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }

/* =========================================================
   Auth
   ========================================================= */
.auth-wrap { min-height: calc(100vh - 56px - 120px); display: grid; place-items: center; padding: 40px 18px; }
.auth-card { width: 100%; max-width: 420px; animation: fadeUp .6s var(--ease) both; }
.auth-card h1 { font-size: 34px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); margin-bottom: 28px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 13px; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.passkey-btn { gap: 10px; }
.tabs-mini { display: flex; justify-content: center; margin-bottom: 22px; }

/* =========================================================
   Dashboard & Events
   ========================================================= */
.event-card {
  position: relative; display: block; background: var(--surface); border-radius: var(--r-xl); overflow: hidden; color: inherit; border: 1px solid var(--line);
  transition: transform .5s var(--spring), box-shadow .3s; text-decoration: none !important;
}
.event-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-lg); }
.event-card .cover { aspect-ratio: 16/10; background: linear-gradient(135deg, #ffe1d9, #e9dcff 60%, #d6e6ff); position: relative; overflow: hidden; }
@media (prefers-color-scheme: dark) { .event-card .cover { background: linear-gradient(135deg, #3a2a2a, #2d2540 60%, #1f2a3d); } }
.event-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.event-card:hover .cover img { transform: scale(1.05); }
.event-card .cover .ic-big { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(0,0,0,.25); }
.event-card .cover .type { position: absolute; top: 14px; left: 14px; }
.event-card .body { padding: 18px 22px 22px; }
.event-card h3 { margin: 0 0 4px; font-size: 19px; }
.event-card .meta { font-size: 14px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.new-card { display: grid; place-items: center; min-height: 290px; border: 2px dashed var(--line-strong); border-radius: var(--r-xl); color: var(--muted); font-weight: 500; transition: all .3s var(--ease); text-decoration: none !important; }
.new-card:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.new-card .plus { width: 56px; height: 56px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; margin: 0 auto 12px; transition: transform .5s var(--spring); }
.new-card:hover .plus { transform: rotate(90deg) scale(1.1); background: var(--surface); }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty .ic { margin: 0 auto 14px; color: var(--faint); }

.ev-head { padding: 36px 0 0; }
.ev-head .row.top { align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.ev-head h1 { margin: 4px 0 6px; }
.ev-head .meta { display: flex; gap: 18px; color: var(--muted); font-size: 15px; flex-wrap: wrap; }
.ev-head .meta span { display: inline-flex; gap: 6px; align-items: center; }
.ev-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-top: 26px; overflow-x: auto; scrollbar-width: none; }
.ev-tabs a { padding: 12px 16px; color: var(--muted); font-weight: 500; font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; transition: color .2s, border-color .3s; }
.ev-tabs a:hover { color: var(--text); text-decoration: none; }
.ev-tabs a.on { color: var(--text); border-color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 24px 0; }
.stat { background: var(--surface); border-radius: var(--r-lg); padding: 18px 20px; border: 1px solid var(--line); }
.stat .n { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-family: var(--font-display); }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 2px; }
.share-box { display: flex; gap: 18px; align-items: center; background: var(--surface); border-radius: var(--r-xl); padding: 18px; border: 1px solid var(--line); }
.share-box .qr-mini { width: 92px; height: 92px; flex: none; border-radius: 12px; background: #fff; padding: 6px; }
.share-box .qr-mini canvas, .share-box .qr-mini svg { width: 100%; height: 100%; }
.share-box .url { font-size: 14px; color: var(--muted); word-break: break-all; }

/* Galerie */
.toolbar { position: sticky; top: 56px; z-index: 20; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 0; background: linear-gradient(var(--bg) 70%, transparent); }
.toolbar .input { height: 36px; font-size: 14px; border-radius: 10px; width: auto; padding-right: 36px; }
.masonry { columns: 4 240px; column-gap: 12px; }
.tile {
  break-inside: avoid; margin-bottom: 12px; position: relative; border-radius: 14px; overflow: hidden; background: var(--surface-2); cursor: zoom-in;
  animation: fadeUp .6s var(--ease) both; transform: translateZ(0); transition: transform .4s var(--spring), box-shadow .3s;
}
.tile:hover { box-shadow: var(--shadow); }
.tile img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .3s; min-height: 80px; }
.tile:hover img { transform: scale(1.04); }
.tile .ov { position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.55)); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover .ov { opacity: 1; }
.tile .who { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: 12px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: all .3s var(--ease); pointer-events: none; }
.tile:hover .who { opacity: 1; transform: none; }
.tile .vbadge { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; border-radius: 999px; padding: 4px 9px 4px 7px; font-size: 12px; display: flex; gap: 4px; align-items: center; }
.tile .fav { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(0,0,0,.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; opacity: 0; transition: opacity .2s, transform .3s var(--spring); }
.tile:hover .fav, .tile .fav.on { opacity: 1; }
.tile .fav.on { color: #ff375f; background: rgba(255,255,255,.9); }
.tile .fav.on svg { fill: currentColor; animation: pop .4s var(--spring); }
.tile.hidden-media img { filter: grayscale(1) opacity(.45); }
.tile .state { position: absolute; bottom: 10px; right: 10px; }
.tile .sel { position: absolute; top: 10px; left: 10px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.2); display: none; place-items: center; color: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.selecting .tile { cursor: pointer; }
.selecting .tile .sel { display: grid; }
.selecting .tile .fav, .selecting .tile .vbadge { display: none; }
.tile.selected { transform: scale(.94); }
.tile.selected .sel { background: var(--accent); border-color: var(--accent); }
.tile.selected img { filter: brightness(.85); }
.tile .noimg { aspect-ratio: 4/3; display: grid; place-items: center; color: var(--faint); }
.selbar {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; z-index: 60; display: flex; gap: 8px; align-items: center;
  padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--glass); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); transition: transform .5s var(--spring), visibility .5s; white-space: nowrap; max-width: 96vw; overflow-x: auto;
}
.selbar.show { transform: translate(-50%, 0); visibility: visible; }
.selbar .count { font-weight: 600; font-size: 14px; margin-right: 6px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.94); display: none; flex-direction: column; animation: fadeIn .25s both; touch-action: pan-y; }
.lightbox.open { display: flex; }
.lb-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; color: #fff; }
.lb-top .info { flex: 1; font-size: 14px; color: rgba(255,255,255,.75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .3s var(--spring); text-decoration: none !important; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn:active { transform: scale(.92); }
.lb-btn.on { color: #ff375f; }
.lb-btn.on svg { fill: currentColor; }
.lb-stage { flex: 1; display: grid; place-items: center; position: relative; min-height: 0; padding: 0 60px 30px; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 6px; animation: scaleIn .35s var(--ease) both; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
@media (max-width: 640px) { .lb-stage { padding: 0 0 20px; } .lb-nav { display: none; } }

/* Designs-Übersicht */
.design-card { background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--spring), box-shadow .3s; display: flex; flex-direction: column; }
.design-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.design-card .pv { aspect-ratio: 4/3; background: var(--surface-2); display: grid; place-items: center; padding: 22px; }
.design-card .pv img { max-height: 100%; width: auto; box-shadow: 0 10px 30px rgba(0,0,0,.15); border-radius: 3px; }
.design-card .body { padding: 16px 20px; display: flex; align-items: center; gap: 10px; }

/* =========================================================
   Designer
   ========================================================= */
.designer-page .footer { display: none; }
.designer { display: grid; grid-template-columns: 380px 1fr; height: calc(100vh - 56px); }
.designer > * { min-width: 0; }
.dz-side { background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.dz-top { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.dz-top .name { flex: 1; font-weight: 600; border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--text); padding: 6px 8px; border-radius: 8px; min-width: 0; }
.dz-top .name:hover, .dz-top .name:focus { background: var(--surface-2); outline: none; }
.dz-save { font-size: 12px; color: var(--muted); white-space: nowrap; display: flex; gap: 5px; align-items: center; }
.dz-tabs { display: flex; padding: 8px 10px; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.dz-tabs button { flex: 1; border: 0; background: transparent; font: inherit; font-size: 11px; font-weight: 500; color: var(--muted); padding: 8px 4px 6px; border-radius: 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 52px; transition: all .2s; }
.dz-tabs button:hover { background: var(--surface-2); color: var(--text); }
.dz-tabs button.on { color: var(--accent); background: var(--accent-soft); }
.dz-panels { flex: 1; overflow-y: auto; padding: 20px 18px 40px; }
.dz-panel { display: none; animation: fadeUp .35s var(--ease) both; }
.dz-panel.on { display: block; }
.dz-panel h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 22px 0 10px; font-weight: 600; }
.dz-panel h4:first-child { margin-top: 0; }
.dz-stage { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 40%, var(--bg-elev), var(--bg)); padding: 40px; }
.dz-stage .canvas-wrap { position: relative; transition: transform .6s var(--spring); }
.dz-stage canvas { box-shadow: 0 2px 6px rgba(0,0,0,.06), 0 30px 70px rgba(0,0,0,.16); border-radius: 2px; background: #fff; }
.dz-stage .canvas-wrap.bump { animation: pop .45s var(--spring); }
.dz-stage .size-label { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--muted); background: var(--surface); padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.dz-stage .warn-label { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font-size: 13px; background: rgba(245,165,36,.95); color: #1d1d1f; padding: 8px 14px; border-radius: 999px; display: none; gap: 8px; align-items: center; animation: slideDown .4s var(--spring); max-width: 90%; }
.dz-stage .warn-label.show { display: flex; }
.dz-pager { display: flex; gap: 6px; align-items: center; }
.dz-pager button { border: 0; background: var(--surface-2); width: 24px; height: 24px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--text); }
@media (max-width: 900px) {
  .designer { grid-template-columns: 1fr; grid-template-rows: 46vh 1fr; height: auto; min-height: calc(100vh - 56px); }
  .dz-stage { order: -1; padding: 20px; }
  .dz-side { border-right: 0; border-top: 1px solid var(--line); }
  .dz-panels { overflow: visible; }
}
.tpl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tpl { border: 0; padding: 0; background: var(--surface-2); border-radius: 14px; cursor: pointer; overflow: hidden; text-align: left; font: inherit; color: inherit; transition: transform .4s var(--spring), box-shadow .3s; position: relative; }
.tpl:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tpl.on { box-shadow: 0 0 0 3px var(--accent); }
.tpl .tv { aspect-ratio: 3/4; display: grid; place-items: center; padding: 12px; }
.tpl canvas { max-height: 100%; width: auto; box-shadow: 0 6px 16px rgba(0,0,0,.14); border-radius: 2px; }
.tpl .tn { font-size: 12px; font-weight: 600; padding: 8px 10px 10px; display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.tpl .tn .badge { height: 18px; font-size: 10px; padding: 0 6px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: transform .3s var(--spring); position: relative; }
.swatch:hover { transform: scale(1.12); }
.swatch.on::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); }
.color-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.color-row .lbl { flex: 1; font-size: 14px; }
.color-pick { position: relative; width: 36px; height: 36px; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; flex: none; }
.color-pick input { position: absolute; inset: -10px; width: 60px; height: 60px; border: 0; padding: 0; cursor: pointer; }
.range-row { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.range-row .lbl { width: 90px; font-size: 14px; flex: none; }
.range-row .v { width: 44px; text-align: right; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
input[type=range] { flex: 1; appearance: none; height: 4px; border-radius: 999px; background: var(--line-strong); outline: none; }
input[type=range]::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2), 0 0 0 .5px rgba(0,0,0,.1); cursor: pointer; transition: transform .3s var(--spring); }
input[type=range]::-webkit-slider-thumb:active { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opt-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.opt-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.opt {
  border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px 6px; cursor: pointer; font: inherit; font-size: 12px; color: var(--text-2);
  display: flex; flex-direction: column; align-items: center; gap: 6px; transition: all .25s var(--ease); text-align: center; line-height: 1.2;
}
.opt:hover { border-color: var(--line-strong); background: var(--surface-2); }
.opt.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.opt svg.pv { width: 34px; height: 34px; }
.opt .fs { font-size: 20px; line-height: 1; color: var(--text); }
.photo-drop { border: 2px dashed var(--line-strong); border-radius: 16px; padding: 22px; text-align: center; cursor: pointer; transition: all .25s; color: var(--muted); font-size: 14px; display: block; }
.photo-drop:hover, .photo-drop.drag { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.photo-drop img { max-height: 120px; margin: 0 auto 10px; border-radius: 8px; }
.gal-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.gal-pick button { border: 0; padding: 0; aspect-ratio: 1; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--surface-2); }
.gal-pick img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gal-pick button:hover img { transform: scale(1.08); }
.tables-list textarea { font-family: inherit; min-height: 160px; }
.export-list .btn { justify-content: flex-start; margin-bottom: 8px; }
.export-list .btn small { margin-left: auto; color: var(--muted); font-weight: 400; }

/* =========================================================
   Gäste-Seiten
   ========================================================= */
body.guest { background: var(--bg); }
.g-wrap { max-width: 520px; margin: 0 auto; padding: 0 20px 60px; }
.g-hero { text-align: center; padding: 54px 10px 26px; position: relative; }
.g-hero::before { content: ""; position: absolute; inset: 0 -40% auto; height: 340px; z-index: -1; filter: blur(70px); opacity: .5;
  background: radial-gradient(40% 50% at 30% 40%, #ffd8cf, transparent 70%), radial-gradient(40% 50% at 70% 40%, #e6d6ff, transparent 70%); }
@media (prefers-color-scheme: dark) { .g-hero::before { opacity: .18; } }
.g-hero .eyebrow { margin-bottom: 10px; }
.g-hero h1 { font-family: "Great Vibes", cursive; font-weight: 400; font-size: clamp(48px, 14vw, 68px); letter-spacing: 0; line-height: 1.05; margin-bottom: 10px; }
.g-hero h1.plain { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 9vw, 44px); letter-spacing: -.03em; }
.g-hero .when { color: var(--muted); font-size: 15px; }
.g-hero .welcome { margin-top: 16px; color: var(--text-2); font-size: 16px; }
.g-card { background: var(--surface); border-radius: 26px; padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); animation: fadeUp .7s .1s var(--ease) both; }
.g-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.g-pick label.btn { cursor: pointer; }
.g-pick label.btn.main { grid-column: 1 / -1; --h: 60px; font-size: 17px; }
.g-pick input { display: none; }
.queue { margin-top: 18px; display: grid; gap: 8px; }
.q-item { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: var(--surface-2); animation: fadeUp .4s var(--ease) both; }
.q-item .th { width: 48px; height: 48px; border-radius: 10px; background: var(--line) center/cover; flex: none; display: grid; place-items: center; color: var(--muted); overflow: hidden; }
.q-item .th img { width: 100%; height: 100%; object-fit: cover; }
.q-item .nm { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-item .st { font-size: 12px; color: var(--muted); }
.q-item .bar { height: 4px; border-radius: 999px; background: var(--line); margin-top: 6px; overflow: hidden; }
.q-item .bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .3s var(--ease); }
.q-item.done .bar i { background: #34c759; }
.q-item.err .bar i { background: var(--red); }
.q-item .ok { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.q-item.done .ok { background: #34c759; color: #fff; animation: pop .45s var(--spring); }
.q-item.err .ok { background: var(--red); color: #fff; }
.g-done { text-align: center; padding: 30px 10px 10px; display: none; }
.g-done.show { display: block; animation: scaleIn .6s var(--spring) both; }
.g-done .big { width: 76px; height: 76px; border-radius: 50%; background: #34c759; color: #fff; display: grid; place-items: center; margin: 0 auto 16px; box-shadow: 0 12px 30px rgba(52,199,89,.35); }
.g-total { margin-top: 14px; display: none; }
.g-total.show { display: block; }
.g-total .bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.g-total .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #5e8bff, #c86bfa); transition: width .4s var(--ease); }
.g-footer { text-align: center; font-size: 12px; color: var(--muted); margin-top: 30px; line-height: 1.6; }
.g-footer a { color: var(--muted); text-decoration: underline; }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; pointer-events: none; z-index: 400; }
.pin-input { text-align: center; font-size: 30px; letter-spacing: .5em; height: 64px; font-variant-numeric: tabular-nums; }

/* =========================================================
   Admin
   ========================================================= */
.admin-nav { display: inline-flex; gap: 6px; margin: 24px 0 8px; flex-wrap: wrap; }
.table-wrap { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--bg-elev); position: sticky; top: 0; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl tr.click { cursor: pointer; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .nowrap { white-space: nowrap; }
.user-cell { display: flex; gap: 12px; align-items: center; min-width: 220px; }
.user-cell .avatar { width: 34px; height: 34px; }
.user-cell .em { font-size: 13px; color: var(--muted); }
.chart { display: flex; align-items: flex-end; gap: 4px; height: 140px; padding-top: 10px; }
.chart .b { flex: 1; background: linear-gradient(to top, var(--accent), #8e6bff); border-radius: 4px 4px 1px 1px; min-height: 2px; position: relative; transform-origin: bottom; animation: growUp .9s var(--ease) both; }
.chart .b.alt { background: linear-gradient(to top, #ff7a6b, #ffb36b); }
.chart .b:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg); font-size: 11px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; z-index: 2; }
@keyframes growUp { from { transform: scaleY(0); } }
.chart-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); margin-top: 6px; }
.hbar { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 0; }
.hbar .n { width: 130px; flex: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .t { flex: 1; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.hbar .t i { display: block; height: 100%; background: var(--accent); border-radius: inherit; animation: growX 1s var(--ease) both; transform-origin: left; }
.hbar .c { width: 40px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes growX { from { transform: scaleX(0); } }
.thumbs-row { display: flex; gap: 6px; }
.thumbs-row img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 10px 18px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 10px; } }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 20px; }

/* Rechtstexte */
.legal { padding: 50px 0; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal h3 { font-size: 17px; margin-top: 22px; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal .notice { margin-top: 20px; }

/* Diashow */
body.slideshow { background: #000; overflow: hidden; }
.ss { position: fixed; inset: 0; display: grid; place-items: center; }
.ss .slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity 1.4s ease; }
.ss .slide.on { opacity: 1; }
.ss .slide img, .ss .slide video { max-width: 100vw; max-height: 100vh; object-fit: contain; }
.ss .slide img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.ss .bg { position: absolute; inset: -60px; background-size: cover; background-position: center; filter: blur(50px) brightness(.45); z-index: -1; }
.ss .cap { position: fixed; bottom: 30px; left: 40px; color: #fff; font-size: 20px; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.ss .cap .t { font-family: "Great Vibes"; font-size: 44px; line-height: 1; }
.ss .qr { position: fixed; bottom: 30px; right: 30px; background: #fff; padding: 12px; border-radius: 18px; text-align: center; font-size: 13px; color: #1d1d1f; font-weight: 600; }
.ss .qr canvas, .ss .qr svg { width: 130px; height: 130px; display: block; }
.ss .ctrl { position: fixed; top: 20px; right: 20px; opacity: 0; transition: opacity .3s; display: flex; gap: 8px; }
.ss:hover .ctrl { opacity: 1; }
.ss .empty-ss { color: rgba(255,255,255,.7); text-align: center; font-size: 22px; }

/* =========================================================
   Mobile-, Touch- und Stabilitäts-Optimierungen
   ========================================================= */
html { -webkit-tap-highlight-color: transparent; }
body { overflow-x: hidden; }
img { -webkit-user-drag: none; }
@supports (height: 100dvh) {
  body { min-height: 100dvh; }
  .designer { height: calc(100dvh - 56px); }
  .lb-stage img, .lb-stage video { max-height: calc(100dvh - 110px); }
}
.nav { padding-top: env(safe-area-inset-top); height: calc(56px + env(safe-area-inset-top)); }
.nav .container { padding-left: max(22px, env(safe-area-inset-left)); padding-right: max(22px, env(safe-area-inset-right)); }
.nav-links a { display: inline-flex; align-items: center; gap: 6px; }
.selbar { bottom: calc(24px + env(safe-area-inset-bottom)); }
.lightbox { padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
.lb-stage img { touch-action: pinch-zoom; }
.toasts { top: calc(68px + env(safe-area-inset-top)); }
body.guest .toasts { top: calc(16px + env(safe-area-inset-top)); }
.g-wrap { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }

/* Hover-Effekte nur auf Geräten mit Maus – auf Touch blieben sie sonst „hängen“ */
@media (hover: none) {
  .btn:hover, .btn.blue:hover { box-shadow: none; }
  .event-card:hover, .feature:hover, .design-card:hover, .tpl:hover { transform: none; box-shadow: none; }
  .event-card:hover .cover img, .tile:hover img { transform: none; }
  .tile .fav { opacity: 1; background: rgba(0,0,0,.28); }
  .tile .who { opacity: 1; transform: none; }
  .tile .ov { opacity: .85; }
  .swatch:hover, .new-card:hover .plus { transform: none; }
  .event-card:active, .design-card:active, .tile:active { transform: scale(.98); transition-duration: .15s; }
}

/* Weniger Bewegung bei Seitenwechseln, wenn gewünscht */
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* iOS zoomt bei Eingabefeldern unter 16px automatisch hinein → verhindern */
@media (max-width: 760px) {
  .toolbar .input, select.input, .input { font-size: 16px; }
}

/* Telefon */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav .container { gap: 10px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .nav-links .lbl { display: none; }
  .nav-links a { padding: 8px; }
  .brand { font-size: 17px; }
  .card, .card.pad-lg { padding: 22px 18px; border-radius: 20px; }
  .page-head { padding: 28px 0 18px; }
  .page-head .btn { width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
  .stat { padding: 14px 16px; }
  .stat .n { font-size: 24px; }
  .ev-head { padding-top: 22px; }
  .ev-head .row.top > .row { width: 100%; }
  .ev-head .row.top > .row .btn { flex: 1; }
  .ev-tabs { margin-top: 18px; margin-inline: -16px; padding-inline: 10px; }
  .ev-tabs a { padding: 12px 10px; font-size: 14px; }
  .share-box { flex-direction: column; align-items: flex-start; text-align: left; }
  .share-box .row .btn { flex: 1; }
  .masonry { columns: 2; column-gap: 6px; }
  .tile { margin-bottom: 6px; border-radius: 10px; }
  .tile .fav { width: 30px; height: 30px; top: 6px; right: 6px; }
  .tile .vbadge { font-size: 11px; top: 6px; left: 6px; }
  .tile .who { display: none; }
  .toolbar { top: calc(56px + env(safe-area-inset-top)); gap: 8px; padding: 10px 0; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .toolbar::-webkit-scrollbar { display: none; }
  .toolbar > * { flex: none; }
  .toolbar .grow { display: none; }
  .seg button, .seg a { padding: 7px 12px; }
  .selbar { left: 12px; right: 12px; transform: translateY(calc(100% + 40px)); justify-content: space-between; padding: 8px; }
  .selbar.show { transform: none; }
  .selbar .count { margin-left: 8px; }
  .lb-top { padding: 10px 12px; gap: 6px; }
  .lb-top .info { font-size: 12px; }
  .lb-btn { width: 38px; height: 38px; }
  .hero { padding: 40px 0 20px; }
  .hero-cta .btn { flex: 1; }
  .section { padding: 34px 0; }
  .feature { padding: 24px; }
  .big-cta { padding: 50px 22px; border-radius: 26px; }
  .footer { margin-top: 30px; padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
  .auth-wrap { padding: 20px 14px; align-items: start; }
  .auth-card h1 { font-size: 28px; }
  .table-wrap { margin-inline: -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .g-hero { padding-top: 40px; }
  .g-card { padding: 20px 16px; border-radius: 22px; }
  dialog.sheet { width: calc(100vw - 24px); }
  dialog.sheet .sheet-actions .btn { flex: 1; }
}
@media (max-width: 900px) {
  .dz-stage .size-label { bottom: 8px; font-size: 11px; padding: 4px 10px; }
  .dz-tabs { position: sticky; top: calc(56px + env(safe-area-inset-top)); background: var(--surface); z-index: 5; }
  .dz-top { padding: 10px 14px; }
  .dz-panels { padding: 16px 14px calc(40px + env(safe-area-inset-bottom)); }
}

/* Upload-Liste: Wiederholen-Knopf */
.q-item .ok .retry { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.q-item.err .ok { background: transparent; }
.q-item.err .ok:not(:has(button)) { background: var(--red); }
.q-item .th { font-size: 22px; }
.g-pick .span2 { grid-column: 1 / -1; }

/* Pakete */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px 26px; display: flex; flex-direction: column; }
.price-card.hl { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.price-card .ribbon { position: absolute; top: 18px; right: 18px; }
.price-card h3 { font-size: 22px; margin-bottom: 4px; }
.price-card .price { font-size: 42px; font-weight: 700; letter-spacing: -.03em; margin: 14px 0 6px; font-family: var(--font-display); }
.price-card .price span { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card .features-list { flex: 1; margin-bottom: 22px; }
.features-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 9px; font-size: 15px; }
.features-list li { display: flex; gap: 10px; align-items: flex-start; }
.features-list li .ic { color: var(--green); margin-top: 3px; }
.features-list li.off { color: var(--faint); }
.features-list li.off .ic { color: var(--faint); }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
.nav-links a.btn, .nav-links a.btn:hover { color: var(--bg); background: var(--text); padding: 0 14px; }
figure { margin: 0; }
.tile { margin: 0 0 12px; }
@media (max-width: 640px) { .tile { margin: 0 0 6px; } }
/* Deko-Verläufe dürfen die Seite auf dem Handy nicht verbreitern */
html, body { overflow-x: clip; }
.g-wrap, .hero, main { overflow-x: clip; }

/* =========================================================
   Erweiterungen: Kasse, Klappkarte, Freigabe, Sprachen
   ========================================================= */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; position: relative; }
.lang-switch select { appearance: none; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); font: inherit; font-size: 13px; padding: 6px 26px 6px 10px; border-radius: 999px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%2386868b' stroke-width='1.6'%3E%3Cpath d='m1 1 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.lang-switch .lang-ic { color: var(--muted); display: inline-flex; }
.g-top { display: flex; justify-content: flex-end; padding-top: calc(14px + env(safe-area-inset-top)); }
.ev-logo { max-height: 56px; max-width: 200px; margin: 0 auto 14px; object-fit: contain; }
.privacy-box { margin-top: 14px; background: var(--surface-2); border-radius: 14px; padding: 12px 14px; font-size: 13px; color: var(--text-2); }
.privacy-box summary { cursor: pointer; font-weight: 600; display: flex; gap: 6px; align-items: center; color: var(--text); }
.privacy-box ul { margin: 10px 0 8px; padding-left: 18px; display: grid; gap: 5px; }
.privacy-box a { font-size: 12px; }

.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sum-row:last-of-type { border-bottom: 0; }
.sum-row.total { font-weight: 700; font-size: 18px; border-top: 2px solid var(--text); border-bottom: 0; margin-top: 4px; padding-top: 12px; }
.print-preview { background: var(--surface-2); border-radius: 14px; padding: 18px; margin: 6px 0 14px; display: grid; place-items: center; }
.print-preview img { max-height: 340px; width: auto; box-shadow: 0 10px 30px rgba(0,0,0,.18); border-radius: 2px; }
.check.approve { background: rgba(245,165,36,.12); padding: 14px; border-radius: 12px; margin-top: 16px; }
.check.waiver { background: var(--surface-2); padding: 12px 14px; border-radius: 12px; }
.order-row { padding: 12px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none !important; gap: 12px; }
.order-row:hover { background: var(--surface-2); }

.settings-jump { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; position: sticky; top: calc(56px + env(safe-area-inset-top)); z-index: 10; padding: 8px 0; background: linear-gradient(var(--bg) 75%, transparent); }
.settings-jump a { white-space: nowrap; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); text-decoration: none !important; }
.settings-jump a:hover { color: var(--text); border-color: var(--line-strong); }
.card[id] { scroll-margin-top: 120px; }
.share-inline { display: flex; gap: 10px; align-items: center; background: var(--surface-2); border-radius: 12px; padding: 10px 12px; margin-top: 12px; word-break: break-all; }
.share-inline .mono { flex: 1; }
.qr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-top: 18px; }
.qr-item { background: var(--surface-2); border-radius: 14px; padding: 12px; text-align: center; display: grid; gap: 8px; justify-items: center; }
.qr-item .qr-img { width: 100px; height: 100px; background: #fff; padding: 6px; border-radius: 10px; }
.qr-item .qr-img canvas { width: 100%; height: 100%; }
.qr-item .qr-l { font-size: 13px; font-weight: 600; }

.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.wall-item { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--surface-2); transition: transform .3s var(--spring), opacity .3s; }
.wall-item img { width: 100%; height: 100%; object-fit: cover; }
.wall-item.new { animation: scaleIn .5s var(--spring) both; }
.wall-item.w-1 { opacity: .35; }
.wall-item.w1 { box-shadow: 0 0 0 3px #34c759; }
.wall-act { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; padding: 8px; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.wall-act button { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 18px; transition: transform .25s var(--spring); }
.wall-act button:active { transform: scale(.88); }
.wall-item.w1 .w-yes { background: #34c759; }
.wall-item.w-1 .w-no { background: var(--red); }

/* Designer: Ansicht, Hilfslinien, 3D-Klappkarte */
.view-seg { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 3; box-shadow: var(--shadow-sm); }
.guide-toggle { position: absolute; top: 16px; right: 16px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.guide-toggle.on { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.tent-wrap { position: relative; display: grid; place-items: center; width: 100%; height: 100%; perspective: 1400px; }
.tent { --w: 260px; --h: 360px; --ry: -24deg; position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: rotateX(-18deg) rotateY(var(--ry)); transition: transform .08s linear; cursor: grab; touch-action: none; }
.tent:active { cursor: grabbing; }
.tent-face { position: absolute; inset: 0; transform-origin: 50% 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.tent-face img { width: 100%; height: 100%; display: block; }
.tent-face.front { transform: translateZ(0) rotateX(24deg); }
.tent-face.back { transform: rotateY(180deg) rotateX(24deg); }
.tent-face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,.18), rgba(0,0,0,.06)); pointer-events: none; }
.tent-shadow { position: absolute; bottom: 14%; width: 60%; height: 26px; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.28), transparent 70%); filter: blur(6px); z-index: -1; }
.tent-hint { position: absolute; bottom: 64px; }
@media (max-width: 900px) { .view-seg { top: 8px; } .view-seg button { padding: 6px 10px; font-size: 12px; } .guide-toggle { top: 8px; right: 8px; } }

/* Admin */
.print-job .pj-prev { width: 120px; border-radius: 6px; box-shadow: var(--shadow-sm); }
.print-job .pj-form { display: grid; gap: 8px; min-width: 260px; }
.print-job .pj-form .input { height: 38px; font-size: 14px; }
@media (max-width: 640px) { .print-job .pj-form { min-width: 0; width: 100%; } }

/* =========================================================
   Gäste-Upload (mobil zuerst)
   ========================================================= */
.g-hero { padding: 28px 10px 22px; }
.g-hero h1 { font-size: clamp(44px, 13vw, 64px); }
.g-hero .welcome { margin: 12px auto 0; max-width: 36ch; }
.up-card { padding: 14px; display: grid; gap: 12px; }
.drop-zone {
  position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; cursor: pointer;
  padding: 30px 18px 26px; border-radius: 20px; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #0a84ff, #6e5bff 55%, #c86bfa);
  box-shadow: 0 14px 34px rgba(94, 91, 255, .32); transition: transform .4s var(--spring), box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.drop-zone::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 20% 0%, rgba(255,255,255,.35), transparent 60%); }
.drop-zone:active { transform: scale(.97); }
.drop-zone.drag { box-shadow: 0 0 0 4px rgba(255,255,255,.7) inset, 0 14px 34px rgba(94,91,255,.4); }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop-zone .dz-ic { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); margin-bottom: 6px; animation: floatUp 2.6s ease-in-out infinite; }
@keyframes floatUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.drop-zone .dz-t { font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.drop-zone .dz-s { font-size: 14px; opacity: .88; max-width: 28ch; line-height: 1.35; }
.cam-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cam-row.one { grid-template-columns: 1fr; }
.cam-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 10px 12px; border-radius: 16px; cursor: pointer;
  background: var(--surface-2); color: var(--text); font-weight: 600; font-size: 15px; line-height: 1.2; text-align: left;
  transition: transform .35s var(--spring), background .2s; -webkit-tap-highlight-color: transparent;
}
.cam-btn:active { transform: scale(.96); background: var(--line-strong); }
.cam-btn input { display: none; }
.cam-btn .ic { color: var(--accent); }
.name-field .input { height: 50px; border-radius: 14px; }
.table-chip { display: inline-flex; gap: 6px; align-items: center; justify-self: start; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.check.consent { font-size: 13px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); margin: 0; transition: box-shadow .3s; }
.check.consent:has(input:checked) { background: rgba(52,199,89,.1); }
.check.consent input { width: 22px; height: 22px; margin-top: 0; }
.privacy-box { margin: 0; background: transparent; padding: 0 4px; }
.privacy-box summary { font-size: 13px; color: var(--muted); font-weight: 500; padding: 4px 0; }
.privacy-box summary .chev { margin-left: auto; transition: transform .3s var(--ease); display: inline-flex; }
.privacy-box[open] summary .chev { transform: rotate(90deg); }
.privacy-box[open] { background: var(--surface-2); padding: 10px 14px; border-radius: 14px; }

.queue-head { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 4px 10px; font-weight: 700; font-size: 17px; }
.queue { margin-top: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 480px) { .queue { grid-template-columns: repeat(4, 1fr); } }
.q-item { --p: 0; position: relative; display: block; padding: 0; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--surface-2); animation: scaleIn .45s var(--spring) both; }
.q-item .th { position: absolute; inset: 0; width: auto; height: auto; border-radius: 0; background: var(--surface-2); display: grid; place-items: center; color: var(--faint); }
.q-item .th img { width: 100%; height: 100%; object-fit: cover; transition: filter .4s, transform .6s var(--ease); filter: brightness(.6) saturate(.8); transform: scale(1.04); }
.q-item.done .th img { filter: none; transform: none; }
.q-item .vmark { position: absolute; left: 8px; bottom: 7px; font-size: 11px; color: #fff; background: rgba(0,0,0,.4); border-radius: 999px; padding: 2px 7px; }
.q-item .ring { filter: drop-shadow(0 1px 4px rgba(0,0,0,.45)); position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: conic-gradient(#fff calc(var(--p) * 1%), rgba(255,255,255,.28) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); transition: opacity .3s; }
.q-item:not(:has(img)) .ring { background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--line-strong) 0); }
.q-item.done .ring, .q-item.err .ring { opacity: 0; }
.q-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; background: linear-gradient(transparent, rgba(0,0,0,.55)); color: #fff; pointer-events: none; }
.q-item .nm { display: none; }
.q-item .st { font-size: 11px; color: rgba(255,255,255,.92); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.q-item.done .cap { opacity: 0; transition: opacity .4s .6s; }
.q-item .bar { display: none; }
.q-item .ok { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; }
.q-item.done .ok { box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.q-item.err { box-shadow: inset 0 0 0 2px var(--red); }
.q-item.err .cap { background: linear-gradient(transparent, rgba(160,20,30,.75)); }
.q-item .ok .retry { width: 30px; height: 30px; }
.q-item.err .ok:has(button) { inset: 0; width: auto; height: auto; display: grid; place-items: center; }
.q-item.err .ok .retry { width: 46px; height: 46px; box-shadow: 0 6px 18px rgba(0,0,0,.3); }

/* Fortschritt als feste Leiste unten */
.g-total { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70; margin: 0 auto; max-width: 496px;
  background: var(--glass); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 12px 14px 0; overflow: hidden;
  display: block; transform: translateY(calc(100% + 40px)); transition: transform .55s var(--spring); }
.g-total.show { transform: none; }
.gt-in { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; }
.gt-ring { position: relative; width: 46px; height: 46px; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gt-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.gt-ring circle { fill: none; stroke: var(--line-strong); stroke-width: 3.5; }
.gt-ring circle.p { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .4s var(--ease); }
.gt-t { font-weight: 600; font-size: 15px; }
.gt-s { font-size: 12px; color: var(--muted); line-height: 1.3; }
.g-total .bar { height: 3px; margin: 0 -14px; border-radius: 0; background: transparent; }
body.uploading .g-wrap { padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
.g-done { padding: 22px 6px 8px; }
.up-card:has(.g-done.show) > :not(.g-done) { display: none; }
@media (hover: hover) { .drop-zone:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(94,91,255,.38); } .cam-btn:hover { background: var(--line-strong); } }
.check.consent.attn { box-shadow: 0 0 0 2px var(--orange); background: rgba(245,165,36,.12); }

/* =========================================================
   Startseite v2
   ========================================================= */
.pill-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--text-2); margin-bottom: 22px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 0 rgba(52,199,89,.6); animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(52,199,89,.5); } 70% { box-shadow: 0 0 0 9px rgba(52,199,89,0); } 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); } }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--text-2); }
.trust li { display: inline-flex; gap: 6px; align-items: center; }
.trust .ic { color: var(--green); }
@media (max-width: 900px) { .trust { justify-content: center; } }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.sec-head .eyebrow { color: var(--accent); margin-bottom: 8px; }
.sec-head h2 { font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -.035em; }
.sec-head p { font-size: 19px; margin: 0; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.how-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px 26px; }
.how-n { position: absolute; top: 22px; right: 24px; font-size: 54px; font-weight: 800; line-height: 1; color: var(--line-strong); font-family: var(--font-display); letter-spacing: -.05em; }
.how-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--g); margin-bottom: 18px; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.how-step h3 { font-size: 20px; }
.how-step p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } }

.studio-show { overflow: hidden; }
.studio-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.studio-grid h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.035em; }
.studio-grid .eyebrow { color: var(--accent); margin-bottom: 8px; }
.lead-s { font-size: 18px; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.check-list .ic { color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 2px; }
.tpl-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; transform: rotate(-4deg) scale(1.05); }
.tpl-mini { aspect-ratio: 105/148; border-radius: 6px; overflow: hidden; background: var(--surface-2); box-shadow: 0 12px 28px rgba(0,0,0,.14); transform: translateY(calc(var(--i) * 0px)); animation: float 8s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
.tpl-mini:nth-child(even) { margin-top: 26px; }
.tpl-mini canvas { width: 100%; height: 100%; }
@media (max-width: 900px) { .studio-grid { grid-template-columns: 1fr; gap: 30px; } .tpl-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; transform: none; padding: 10px 2px 30px; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; } .tpl-mini { scroll-snap-align: center; animation: none; } .tpl-mini:nth-child(even) { margin-top: 0; } }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento .feature.big { grid-row: span 2; display: flex; flex-direction: column; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .bento .feature.big { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }
.mini-phone { margin: 22px auto 0; width: 210px; border-radius: 28px; background: #111; padding: 8px; box-shadow: var(--shadow-lg); flex: none; }
.mini-phone > * { background: #fff; }
.mp-zone { border-radius: 20px 20px 6px 6px; padding: 26px 12px; text-align: center; color: #fff !important; font-weight: 700; font-size: 13px; background: linear-gradient(135deg, #0a84ff, #6e5bff 55%, #c86bfa) !important; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 6px; border-radius: 6px 6px 20px 20px; }
.mp-grid i { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(135deg, #ffd1c7, #b18cff); animation: fadeIn 1.2s both; }
.mp-grid i:nth-child(2) { background: linear-gradient(135deg, #cfe3ff, #7fb0ff); animation-delay: .2s; }
.mp-grid i:nth-child(3) { background: linear-gradient(135deg, #d7f5e3, #7fd6a5); animation-delay: .4s; }
.mp-grid i:nth-child(4) { background: linear-gradient(135deg, #fff0c7, #ffcf6b); animation-delay: .6s; }
.mp-grid i:nth-child(5) { background: linear-gradient(135deg, #ffd6ec, #ff8fc8); animation-delay: .8s; }
.mp-grid i:nth-child(6) { background: linear-gradient(135deg, #e3d1ff, #8e6bff); animation-delay: 1s; }

/* Paket-Finder & Preise */
.finder { max-width: 760px; margin: 0 auto 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 18px 22px; box-shadow: var(--shadow-sm); display: grid; gap: 12px; }
.finder-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.finder-head .ic { color: var(--accent); }
.finder-q { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.fq-l { font-size: 15px; font-weight: 500; color: var(--text-2); }
.finder-out { margin: 0; font-size: 15px; font-weight: 600; color: var(--accent); }
.finder-out.pop { animation: fadeUp .45s var(--ease) both; }
.pricing2 .price-card { transition: transform .5s var(--spring), box-shadow .3s, border-color .3s; padding-top: 34px; }
.pricing2 .price-card .ribbon { top: 14px; right: 16px; }
.pricing2 .rec-badge { display: none; }
.pricing2 .price-card.rec { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg); transform: translateY(-6px); }
.pricing2 .price-card.rec .rec-badge { display: inline-flex; animation: scaleIn .4s var(--spring) both; }
.pricing2 .price-card.rec .pop-badge { display: none; }
.pricing2 .price-card.hl:not(.rec) { box-shadow: var(--shadow-sm); border-color: var(--line); }
.pricing2 .price { margin: 12px 0 2px; }
.pc-for { color: var(--muted); font-size: 14px; margin: 0; }
.price-note { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.pricing2 .btn.block { margin-bottom: 18px; }
.pricing2 .features-list { margin-top: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.compare { margin-top: 26px; }
.compare summary { cursor: pointer; display: flex; justify-content: center; gap: 6px; align-items: center; font-weight: 600; color: var(--accent); padding: 10px; }
.compare summary .ic { transition: transform .3s var(--ease); }
.compare[open] summary .ic { transform: rotate(90deg); }
.compare .table-wrap { margin-top: 10px; }
.tbl.cmp td, .tbl.cmp th { text-align: center; }
.tbl.cmp td:first-child, .tbl.cmp th:first-child { text-align: left; }
.tbl.cmp th { position: static; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--text); }
.cmp-y .ic { color: var(--green); }
.cmp-n { color: var(--faint); }
@media (max-width: 640px) { .tbl.cmp td, .tbl.cmp th { padding: 10px 8px; font-size: 13px; } .tbl.cmp td:first-child { min-width: 130px; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq-ic { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; flex: none; transition: transform .35s var(--spring); }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-item p { color: var(--muted); margin: -4px 0 18px; }

@media (max-width: 640px) {
  .hero2 { padding-top: 28px; }
  .hero2 h1 { font-size: 44px; }
  .hero2 .lead { font-size: 18px; margin-bottom: 22px; }
  .hero2 .hero-cta { flex-direction: column; }
  .hero2 .hero-visual { height: 300px; margin-top: 6px; }
  .pill-note { font-size: 12px; margin-bottom: 16px; }
  .sec-head { margin-bottom: 24px; }
  .sec-head p { font-size: 16px; }
  .how-step { padding: 22px 20px; }
  .finder { padding: 16px; }
  .finder-q { flex-direction: column; align-items: stretch; }
  .finder-q .seg { display: grid; grid-template-columns: 1fr 1fr; }
  .finder-q .seg button { white-space: normal; justify-content: center; text-align: center; line-height: 1.2; padding: 8px; }
  .pricing2 .price-card.rec { transform: none; }
}
@media (max-width: 420px) { .nav-links a.nav-price { display: none; } .nav .container { gap: 8px; } .nav-links a { padding: 7px 9px; } }
@media (max-width: 640px) { .pricing2 .price-card.rec { order: -1; } }

/* =========================================================
   Karten-Studio v2
   ========================================================= */
.dz-top .btn.icon[disabled] { opacity: .35; }
.dz-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 12px 0; }
.dz-steps button { border: 0; background: transparent; font: inherit; cursor: pointer; display: flex; align-items: center; gap: 7px; padding: 8px 8px; border-radius: 12px; color: var(--muted); font-size: 12px; font-weight: 600; text-align: left; line-height: 1.15; transition: background .2s, color .2s; }
.dz-steps button b { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); font-size: 12px; transition: all .3s var(--spring); }
.dz-steps button.on { color: var(--text); background: var(--surface-2); }
.dz-steps button.on b { background: var(--accent); color: #fff; transform: scale(1.08); }
.dz-tabs button { position: relative; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 14px; }
.chips button { border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font: inherit; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.chips button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.tpl-grid .tpl.hide { display: none; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 18px; align-items: center; }
.suggest .sg { border: 1px dashed var(--line-strong); background: transparent; color: var(--text-2); font: inherit; font-size: 12px; padding: 5px 10px; border-radius: 10px; cursor: pointer; text-align: left; line-height: 1.3; transition: all .2s; }
.suggest .sg:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn.surprise { background: linear-gradient(135deg, #ff8a7a, #c86bfa 55%, #5e8bff); color: #fff; margin-bottom: 4px; }
.dz-next { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); }
.dz-next:empty { display: none; }
.dz-next .btn { justify-content: space-between; }
.pcheck { background: var(--surface-2); border-radius: 14px; padding: 14px 16px; margin-bottom: 8px; }
.pcheck h4 { margin-top: 0 !important; }
.pcheck ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.pcheck li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.35; }
.pcheck li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; margin-top: -1px; background: #34c759 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.pcheck li.warn::before { background: var(--orange) 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.4' stroke-linecap='round'%3E%3Cpath d='M12 6v7M12 17.5v.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.pcheck li.info::before { background: var(--accent) 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.4' stroke-linecap='round'%3E%3Cpath d='M12 11v7M12 6v.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.opt-grid[data-opt="ornament"] { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .designer { grid-template-rows: auto 1fr; }
  .dz-stage { position: sticky; top: calc(56px + env(safe-area-inset-top)); z-index: 6; height: 38vh; height: 38dvh; padding: 44px 12px 30px; border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(0,0,0,.05); }
  .dz-steps { position: sticky; top: calc(56px + env(safe-area-inset-top) + 38dvh); z-index: 5; background: var(--surface); padding-bottom: 6px; }
  .dz-tabs { top: calc(56px + env(safe-area-inset-top) + 38dvh + 46px); }
  .dz-top { order: 0; }
  .opt-grid[data-opt="ornament"] { grid-template-columns: repeat(3, 1fr); }
}
.dz-top, .dz-steps, .dz-tabs { flex: none; }
@media (max-width: 900px) {
  .designer { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .dz-stage { order: -1; flex: none; }
  .dz-side { flex: none; min-height: 0; }
}

/* Admin: Speicherziele & Zahlung */
.pool-list { display: grid; }
.pool { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pool:first-child { border-top: 0; }
.pool .grow { min-width: 220px; }
.pool-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, #8e9eff, #5e8bff); }
.pool-ic.t-r2 { background: linear-gradient(135deg, #ffb340, #ff7a3d); }
.pool-ic.t-local { background: linear-gradient(135deg, #58585d, #1d1d1f); }
.pool-ic.t-path { background: linear-gradient(135deg, #34c759, #30d0a0); }
.pool-ic.t-webdav { background: linear-gradient(135deg, #c86bfa, #8e6bff); }
.usage { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: 6px; max-width: 360px; }
.usage i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.usage i.hot { background: var(--red); }
.pool-form { background: var(--surface-2); border-radius: 16px; padding: 18px; margin: 4px 0 14px; }
.pool-form .input { background: var(--surface); }
.keybox { border: 1px solid var(--line); border-radius: 14px; padding: 6px 16px 10px; margin: 0 0 12px; }
.keybox legend { font-size: 13px; font-weight: 700; padding: 0 6px; }
.keybox.live legend { color: var(--green); }
.keybox.test legend { color: #b26b00; }
.howto { padding-left: 20px; display: grid; gap: 10px; font-size: 14px; margin: 0 0 12px; }
.check-out .ck { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; padding: 5px 0; }
.check-out .ck::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff; background: var(--green); }
.check-out .ck.bad::before { content: "✗"; background: var(--red); }
.check-out .ck.warn::before { content: "!"; background: var(--orange); }
.admin-nav { overflow-x: auto; max-width: 100%; flex-wrap: nowrap; scrollbar-width: none; }
@media (max-width: 640px) { .admin-nav { margin-inline: -16px; border-radius: 0; padding-inline: 10px; } .pool { align-items: flex-start; } }

/* Kasse v2 */
.addon { display: flex; gap: 12px; align-items: flex-start; padding: 14px; margin: 12px 0 6px; border-radius: 14px; border: 1.5px dashed var(--accent); background: var(--accent-soft); cursor: pointer; font-size: 14px; }
.addon input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; margin-top: 1px; }
.addon:has(input:checked) { border-style: solid; }
.print-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.print-choice > div { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; font-size: 14px; }
.print-choice .ic { color: var(--accent); }
.print-choice small { color: var(--muted); font-size: 12px; line-height: 1.35; }
@media (max-width: 520px) { .print-choice { grid-template-columns: 1fr; } }

/* Partner & Empfehlungen */
.qr-big { width: 180px; height: 180px; background: #fff; border-radius: 16px; padding: 8px; box-shadow: var(--shadow-sm); flex: none; }
.qr-big canvas { width: 100% !important; height: 100% !important; }
.mat { padding: 10px 0; border-top: 1px solid var(--line); }
.mat p { margin: 4px 0 0; }
.coll { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.coll-item { position: relative; display: grid; gap: 4px; font-size: 11px; text-align: center; cursor: pointer; }
.coll-item canvas { width: 100%; height: auto; border-radius: 4px; box-shadow: var(--shadow-sm); }
.coll-item input { position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.coll-item:has(input:checked) canvas { outline: 3px solid var(--accent); }
.coll-show { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }

/* =========================================================
   Studio v3: 5 Schritte, Ansichten, Tisch-Szenen
   ========================================================= */
.dz-steps.five { grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 10px 10px 0; }
.dz-steps.five button { flex-direction: column; gap: 4px; padding: 7px 2px; text-align: center; font-size: 11px; }
.view-bar { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: calc(100% - 80px); }
.view-bar .seg { box-shadow: var(--shadow-sm); flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.view-bar .seg.sm button { font-size: 12px; padding: 5px 10px; }
.notice.restore { flex-wrap: wrap; align-items: center; }
.notice.restore span { flex: 1 1 200px; }

.scene { position: absolute; inset: 0; overflow: hidden; --ar: .71; --cw: min(30vw, 260px); }
.scene > * { position: absolute; }
.sc-room { inset: 0; background: linear-gradient(#efe8df, #e6ddd1 60%, #d9cdbf); }
.sc-cloth { left: -10%; right: -10%; top: 46%; bottom: -10%; background:
  repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 2px, transparent 2px 7px), linear-gradient(#fbf9f6, #f0ebe4); transform: perspective(700px) rotateX(38deg); transform-origin: top; box-shadow: 0 -10px 40px rgba(0,0,0,.08); }
.sc-plate { width: 34%; aspect-ratio: 2.4; left: 8%; top: 64%; border-radius: 50%; background: radial-gradient(closest-side, #fff 62%, #ececec 64%, #fff 70%, #f3f1ee 98%); box-shadow: 0 10px 18px rgba(0,0,0,.12); }
.sc-plate i { position: absolute; inset: 22% 26%; border-radius: 50%; background: radial-gradient(closest-side, #f6f2ec, #eae4db); }
.sc-glass { width: 6%; aspect-ratio: .55; left: 45%; top: 47%; border-radius: 40% 40% 12% 12%; background: linear-gradient(90deg, rgba(255,255,255,.75), rgba(200,215,225,.35) 45%, rgba(255,255,255,.8)); box-shadow: inset 0 0 0 1px rgba(150,170,185,.35), 0 8px 12px rgba(0,0,0,.06); }
.sc-glass.two { left: 52%; top: 49%; width: 5%; }
.sc-fork, .sc-knife { width: 1.4%; height: 22%; top: 60%; border-radius: 6px; background: linear-gradient(90deg, #b9b9bd, #f4f4f6, #a8a8ad); transform: perspective(700px) rotateX(38deg); }
.sc-fork { left: 5%; } .sc-knife { left: 44%; }
.sc-flowers { left: 70%; top: 30%; width: 22%; height: 30%; }
.sc-flowers i { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff, #f3d4d0 60%, #e8b8b2); box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.sc-flowers i:nth-child(1) { left: 0; top: 30%; } .sc-flowers i:nth-child(2) { left: 30%; top: 5%; background: radial-gradient(circle at 40% 40%, #fff, #e9eee2 60%, #c9d6bc); }
.sc-flowers i:nth-child(3) { left: 55%; top: 35%; } .sc-flowers i:nth-child(4) { left: 25%; top: 50%; width: 26%; background: radial-gradient(circle, #9db08a, #7e9470); }
.sc-flowers i:nth-child(5) { left: 66%; top: 0; width: 24%; background: radial-gradient(circle, #a9bb98, #879c77); }
.sc-candle { left: 63%; top: 50%; width: 3%; height: 12%; border-radius: 3px; background: linear-gradient(90deg, #f6efe4, #fffaf2, #efe5d6); box-shadow: 0 -10px 14px -2px rgba(255,190,90,.6); }
.sc-card { width: var(--cw); aspect-ratio: var(--ar); left: 50%; top: 50%; transform: translate(-10%, -62%) perspective(900px) rotateX(10deg) rotateY(-14deg); transform-origin: bottom; }
.sc-card img { width: 100%; height: 100%; display: block; border-radius: 2px; box-shadow: 0 30px 40px -10px rgba(0,0,0,.35), 0 2px 4px rgba(0,0,0,.15); }
.sc-stand { position: absolute; left: 30%; right: 30%; bottom: -6%; height: 6%; border-radius: 4px; background: linear-gradient(#c9a77a, #a8865a); box-shadow: 0 6px 10px rgba(0,0,0,.2); }
.sc-tent, .sc-easel, .sc-plant, .sc-note { display: none; }
.sc-note { display: block; left: 0; right: 0; bottom: 8px; text-align: center; color: rgba(0,0,0,.45); }
/* Szene 2: Klappkarte neben dem Teller */
.scene[data-scene="plate"] .sc-room { background: linear-gradient(#ebe3d8, #ddd2c3); }
.scene[data-scene="plate"] .sc-cloth { top: 36%; background: repeating-linear-gradient(90deg, #a77e57 0 40px, #9a7350 40px 42px, #b08860 42px 90px); }
.scene[data-scene="plate"] .sc-plate { left: 6%; top: 54%; width: 44%; }
.scene[data-scene="plate"] .sc-fork { left: 3%; top: 50%; } .scene[data-scene="plate"] .sc-knife { left: 51%; top: 50%; }
.scene[data-scene="plate"] .sc-glass { left: 40%; top: 36%; } .scene[data-scene="plate"] .sc-glass.two, .scene[data-scene="plate"] .sc-flowers { display: none; }
.scene[data-scene="plate"] .sc-candle { left: 86%; top: 30%; }
.scene[data-scene="plate"][data-fold="1"] .sc-card { display: none; }
.scene[data-scene="plate"][data-fold="1"] .sc-tent { display: block; width: calc(var(--cw) * .8); aspect-ratio: var(--ar); left: 58%; top: 26%; transform-style: preserve-3d; transform: perspective(1000px) rotateX(-12deg) rotateY(-28deg); }
.scene[data-scene="plate"][data-fold="0"] .sc-card { left: 60%; top: 44%; width: calc(var(--cw) * .8); transform: translate(0, -50%) perspective(900px) rotateX(8deg) rotateY(-22deg); }
.sc-tent .t-face { position: absolute; inset: 0; transform-origin: 50% 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.sc-tent .t-face img { width: 100%; height: 100%; display: block; box-shadow: 0 20px 30px -10px rgba(0,0,0,.35); }
.sc-tent .t-face.f { transform: rotateX(20deg); } .sc-tent .t-face.b { transform: rotateY(180deg) rotateX(20deg); }
/* Szene 3: Aufsteller am Empfang */
.scene[data-scene="welcome"] .sc-room { background: radial-gradient(70% 60% at 50% 30%, #f7f3ee, #e3dbd0); }
.scene[data-scene="welcome"] .sc-cloth, .scene[data-scene="welcome"] .sc-plate, .scene[data-scene="welcome"] .sc-glass, .scene[data-scene="welcome"] .sc-fork, .scene[data-scene="welcome"] .sc-knife, .scene[data-scene="welcome"] .sc-candle { display: none; }
.scene[data-scene="welcome"] .sc-flowers { left: 4%; top: 52%; width: 26%; height: 40%; }
.scene[data-scene="welcome"] .sc-card { width: calc(var(--cw) * 1.1); left: 50%; top: 44%; transform: translate(-50%, -50%) perspective(1000px) rotateY(-8deg); }
.scene[data-scene="welcome"] .sc-stand { display: none; }
.scene[data-scene="welcome"] .sc-easel { display: block; left: 50%; top: 44%; width: calc(var(--cw) * 1.1); height: 70%; transform: translate(-50%, 0); z-index: -0; }
.sc-easel i { position: absolute; width: 4%; background: linear-gradient(90deg, #8a6440, #b48a5e, #8a6440); border-radius: 3px; }
.sc-easel i:nth-child(1) { left: 12%; top: -55%; height: 120%; transform: rotate(6deg); } .sc-easel i:nth-child(2) { right: 12%; top: -55%; height: 120%; transform: rotate(-6deg); } .sc-easel i:nth-child(3) { left: 48%; top: -60%; height: 110%; transform: rotate(-2deg); opacity: .7; }
.scene[data-scene="welcome"] .sc-card { z-index: 2; }
.scene[data-scene="welcome"] .sc-plant { display: block; right: 6%; bottom: 0; width: 18%; height: 55%; background: radial-gradient(ellipse at 50% 35%, #7f9a6e 0 30%, transparent 31%), radial-gradient(ellipse at 30% 50%, #6d8a5d 0 26%, transparent 27%), radial-gradient(ellipse at 70% 55%, #8eaa7c 0 26%, transparent 27%), linear-gradient(transparent 70%, #c7b8a6 70%); }
@media (max-width: 900px) { .scene { --cw: 36vw; } .view-bar { top: 6px; max-width: calc(100% - 56px); } .view-bar .seg button { padding: 6px 10px; font-size: 12px; } }
.ai-props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.ai-props .tpl .tn { font-size: 11px; }
.g-wrap.themed .drop-zone { background: linear-gradient(135deg, var(--ta), var(--ta2)); box-shadow: 0 14px 34px color-mix(in srgb, var(--ta) 35%, transparent); } .g-wrap.themed .cam-btn .ic { color: var(--ta); }
.tasks { display: grid; gap: 8px; }
.tasks .chips { margin: 0; }
.chips button { -webkit-tap-highlight-color: transparent; min-height: 36px; }
.g-card.capsule { margin-top: 14px; }
.cap-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, #ffb340, #ff7a3d); }

/* Erinnerungen */
.capsule-box { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.cap-msg { margin: 0 0 10px; padding: 12px 14px; background: var(--surface-2); border-radius: 14px; }
.cap-msg p { margin: 0 0 6px; }
.cap-msg cite { font-size: 12px; color: var(--muted); font-style: normal; }
.recap-ch { display: grid; gap: 14px; margin: 10px 0 14px; }
.recap-ch .ch { padding: 14px; border-radius: 16px; background: var(--surface-2); }
.recap-ch .ch .input { background: var(--surface); }
.ch-pics { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-pics img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; cursor: pointer; }
.ch-add { width: 64px; height: 64px; border-radius: 10px; border: 2px dashed var(--line-strong); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; max-height: 55vh; overflow: auto; }
.pick-grid button { border: 0; padding: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; cursor: pointer; position: relative; }
.pick-grid img { width: 100%; height: 100%; object-fit: cover; }
.pick-grid button.on { outline: 3px solid var(--accent); outline-offset: -3px; }
.pick-grid button.on::after { content: "✓"; position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; display: grid; place-items: center; }
dialog.sheet:has(.pick-grid) { width: min(94vw, 720px); }
.recap .rc-ch { margin: 34px 0; }
.rc-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); font-weight: 700; margin-bottom: 10px; }
.rc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.rc-grid a { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.rc-grid a.big { grid-column: span 2; grid-row: span 2; }
.rc-grid img { width: 100%; height: 100%; object-fit: cover; }
.g-wrap.recap { max-width: 720px; }

/* Wachstum */
.ref-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.ref-card { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none !important; transition: transform .4s var(--spring), box-shadow .3s; }
.ref-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ref-card > .ic { color: var(--accent); flex: none; }
.ref-card strong { display: block; font-size: 15px; }
.ref-card span { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .ref-strip { grid-template-columns: 1fr; } }
.g-done .invite { margin-top: 16px; }
.demo-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.demo-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px; position: relative; text-align: center; }
.demo-n { position: absolute; top: 14px; left: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.demo-card { width: 62%; margin: 8px auto 16px; animation: none; }
.demo-phone { width: 66%; margin: 8px auto 16px; border-radius: 22px; background: #111; padding: 6px; }
.demo-phone > * { background: #fff; }
.demo-scan { aspect-ratio: 1; border-radius: 6px 6px 16px 16px; display: grid; place-items: center; position: relative; overflow: hidden; background: repeating-conic-gradient(#1d1d1f 0 25%, #fff 0 50%) 0 0/18px 18px; }
.demo-scan i { position: absolute; left: 8%; right: 8%; height: 3px; background: #34c759; box-shadow: 0 0 12px #34c759; animation: scanLine 2.2s ease-in-out infinite; }
@keyframes scanLine { 0%, 100% { top: 10%; } 50% { top: 88%; } }
.demo-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 80%; margin: 8px auto 16px; }
.demo-gal i { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(135deg, hsl(var(--h) 70% 82%), hsl(calc(var(--h) + 40) 60% 62%)); }
@media (max-width: 900px) { .demo-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .demo-flow { grid-template-columns: 1fr; } }
.seo .lead { font-size: 19px; color: var(--muted); }
.sc-note { bottom: 44px !important; padding: 0 12px; }

/* =========================================================
   Karten-Studio auf dem Handy: eigener Aufbau
   Karte oben, Werkzeuge im Bottom-Sheet, Schrittleiste unten
   ========================================================= */
.designer.mobile {
  position: fixed; left: 0; right: 0; top: calc(56px + env(safe-area-inset-top)); bottom: var(--kb, 0px);
  display: grid; grid-template-columns: 100%; grid-template-rows: auto minmax(0, 1fr) 0 auto; height: auto; min-height: 0;
  transition: grid-template-rows .35s var(--ease); background: var(--bg); z-index: 20;
}
.designer.mobile.sheet-open { grid-template-rows: auto minmax(120px, 1fr) 52% auto; }
.designer.mobile.sheet-open.sheet-full { grid-template-rows: auto 120px minmax(0, 1fr) auto; }
.designer.mobile.kb-open.sheet-open { grid-template-rows: auto 0 minmax(0, 1fr) 0; }
.designer.mobile.kb-open .dz-stage { visibility: hidden; }
.designer.mobile .dz-side { grid-row: 1; border: 0; border-bottom: 1px solid var(--line); display: block; min-height: 0; }
.designer.mobile .dz-top { padding: 6px 10px; gap: 6px; }
.designer.mobile .dz-top .btn.icon { --h: 40px; }
.designer.mobile .dz-top .name { font-size: 15px; }
.designer.mobile .dz-save { font-size: 11px; max-width: 34vw; overflow: hidden; text-overflow: ellipsis; }
.designer.mobile .dz-stage { grid-row: 2; position: relative; top: auto; height: auto; min-height: 0; padding: 50px 10px 34px; border: 0; box-shadow: none; order: 0; }
.designer.mobile .dz-sheet { grid-row: 3; min-height: 0; display: flex; flex-direction: column; background: var(--surface); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px rgba(0,0,0,.12); overflow: hidden; }
.designer.mobile:not(.sheet-open) .dz-sheet { visibility: hidden; }
.dz-sheet .sh-handle { border: 0; background: transparent; padding: 8px 0 2px; cursor: pointer; display: grid; place-items: center; flex: none; }
.dz-sheet .sh-handle i { width: 42px; height: 5px; border-radius: 3px; background: var(--line-strong); }
.dz-sheet .sh-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 16px 6px; flex: none; }
.dz-sheet .sh-title { font-size: 17px; }
.designer.mobile .dz-sheet .dz-tabs { position: static; flex: none; padding: 4px 12px 8px; gap: 6px; border: 0; }
.designer.mobile .dz-sheet .dz-tabs.single { display: none; }
.designer.mobile .dz-sheet .dz-tabs button { flex: none; flex-direction: row; gap: 6px; font-size: 13px; padding: 8px 12px; min-width: 0; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.designer.mobile .dz-sheet .dz-tabs button.on { background: var(--text); color: var(--bg); }
.designer.mobile .dz-sheet .dz-tabs button.m-hide { display: none; }
.designer.mobile .dz-sheet .dz-tabs svg { width: 16px; height: 16px; }
.designer.mobile .dz-panels { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 6px 16px calc(24px + env(safe-area-inset-bottom)); }
.designer.mobile .dz-steps.five { grid-row: 4; position: static; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid var(--line); }
.designer.mobile .dz-steps.five button { min-height: 54px; font-size: 11px; border-radius: 12px; }
.designer.mobile .dz-steps.five button b { width: 26px; height: 26px; font-size: 13px; }
/* Große Touchflächen in den Werkzeugen */
.designer.mobile .opt { min-height: 48px; font-size: 13px; }
.designer.mobile .input { min-height: 48px; }
.designer.mobile input[type=range] { height: 6px; }
.designer.mobile input[type=range]::-webkit-slider-thumb { width: 28px; height: 28px; }
.designer.mobile .range-row { padding: 10px 0; }
.designer.mobile .swatch { width: 40px; height: 40px; }
.designer.mobile .view-bar { top: 6px; }
.designer.mobile .guide-toggle { top: 6px; right: 6px; }
.designer.mobile .size-label { bottom: 6px; }
.designer.mobile .sc-note { display: none; }
body.designer-page:has(.designer.mobile) { overflow: hidden; }
.align-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
details.adv { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
details.adv > summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--accent); padding: 6px 0; }
@media (max-width: 900px) { .designer:not(.mobile) .dz-steps { display: none; } }
.designer.mobile .view-bar { left: 8px; right: 52px; transform: none; align-items: flex-start; max-width: none; }
.designer.mobile.sheet-open .view-bar, .designer.mobile.sheet-open .guide-toggle, .designer.mobile.sheet-open .size-label, .designer.mobile.sheet-open .warn-label { display: none; }
.designer.mobile.sheet-open .dz-stage { padding: 10px; }
@media (max-width: 360px) { .designer.mobile .dz-save { max-width: 22vw; } .designer.mobile .dz-top .btn.icon { --h: 36px; } }

/* Paketwahl beim Anlegen eines Events */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.pkg { display: block; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.pkg:hover { border-color: var(--line-strong); }
.pkg.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pkg:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pkg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.pkg-top strong { font-size: 16px; }
.pkg-price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.pkg-price small { font-weight: 500; color: var(--text-2); font-size: 12px; }
.pkg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pkg li { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--text-2); border-top: 1px solid var(--line); padding-top: 4px; }
.pkg li b { color: var(--text); font-weight: 600; text-align: right; }
.pkg-note { margin: 0 0 18px; }
.pkg-pending { margin-top: 14px; }
.event-card .cover .badge.pending { position: absolute; top: 14px; right: 14px; }
.pkg-note[hidden], [data-pkg-btn][hidden], .totp-qr[hidden] { display: none !important; }

/* Realistische Mockup-Szene im Studio */
.scene.mock { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 56px 16px 40px; background: var(--bg); }
.scene.mock > * { position: static; }
.scene.mock img { max-width: 100%; max-height: calc(100% - 50px); width: auto; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.25); background: #2c2520; transition: opacity .25s; }
.scene.mock img:not([src]) { width: min(100%, 900px); }
.scene.mock.busy img { opacity: .55; }
.scene.mock .sc-busy { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px; display: none; }
.scene.mock.busy .sc-busy { display: block; }
.scene.mock .sc-foot { display: flex; gap: 12px; align-items: center; justify-content: space-between; width: min(100%, 900px); color: var(--text-2); }
@media (max-width: 900px) { .scene.mock { padding: 50px 8px 30px; } .scene.mock .sc-foot { flex-direction: column; align-items: stretch; text-align: center; gap: 6px; } }

/* Ratgeber: verwandte Themen */
.topic-links { margin-top: 34px; }
.topic-links ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.topic-links li { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--surface); display: grid; gap: 4px; }
.topic-links li a { font-weight: 600; text-decoration: none; color: var(--text); }
.topic-links li a:hover { color: var(--accent); }
.topic-links li span { font-size: 13px; color: var(--text-2); }
.seo ol, .seo ul:not(.topic-links ul) { line-height: 1.65; }
