@font-face { font-family: "LZ Poppins"; font-weight: 400; font-display: swap; src: url(assets/Poppins-Regular.woff) format("woff"); }
@font-face { font-family: "LZ Poppins"; font-weight: 500; font-display: swap; src: url(assets/Poppins-Medium.woff) format("woff"); }
@font-face { font-family: "LZ Poppins"; font-weight: 700; font-display: swap; src: url(assets/Poppins-Bold.woff) format("woff"); }

:root {
  --bg: #F2F6F9; --surface: #FFFFFF; --surface-2: #F7FAFC; --sunken: #EDF2F6;
  --ink: #0E1A2B; --ink-2: #475467; --ink-3: #5B6778; --line: #E2E8EF; --line-2: #D2DBE5;
  --teal: #08806A; --teal-hover: #066B58; --teal-bright: #12B08B; --teal-soft: #E2F5EF; --teal-ink: #07705C; --on-teal: #FFFFFF;
  --yellow: #FBA60A; --yellow-soft: #FFF3D6; --yellow-ink: #875600;
  --blue: #0B76E8; --blue-soft: #E6F0FD; --blue-ink: #0A58B0;
  --coral: #F2604F; --coral-soft: #FDEBE8; --coral-ink: #B1382A;
  --navy: #0B1A2C; --focus: #0B76E8;
  --shadow-1: 0 1px 2px rgba(14, 26, 43, .05), 0 1px 3px rgba(14, 26, 43, .05);
  --shadow-2: 0 18px 40px -20px rgba(14, 26, 43, .28), 0 4px 10px -4px rgba(14, 26, 43, .08);
  --shadow-btn: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 2px 0 #055646;
  --r-lg: 22px; --r: 16px; --r-sm: 11px;
  --font: "LZ Poppins", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #09111C; --surface: #101A28; --surface-2: #142033; --sunken: #0C1520;
    --ink: #E9EEF5; --ink-2: #B0BBCA; --ink-3: #8C98AA; --line: #1E2A3C; --line-2: #2A394F;
    --teal: #1FB892; --teal-hover: #33C9A3; --teal-bright: #2BD3A6; --teal-soft: #0E2C26; --teal-ink: #5FE0BD; --on-teal: #04150F;
    --yellow-soft: #33270B; --yellow-ink: #FFC95A; --blue-soft: #0E2340; --blue-ink: #7DB5FF;
    --coral-soft: #3A1815; --coral-ink: #FF998B; --navy: #050B14;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .3); --shadow-2: 0 20px 44px -20px rgba(0, 0, 0, .7);
    --shadow-btn: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 2px 0 #0B7A60;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15.5px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
svg.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px 80px; }
main:focus { outline: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal); color: var(--on-teal); padding: 10px 16px; border-radius: 10px; font-weight: 500; text-decoration: none; transition: top .15s; }
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.optional { font-weight: 400; color: var(--ink-3); }
::placeholder { color: var(--ink-3); opacity: 1; }

/* ---------- Kopfzeile ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.topbar-inner { max-width: 1080px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.logo-img { display: block; flex: none; background: url(assets/icon192.webp) center / contain no-repeat; }
.brand-icon { width: 40px; height: 40px; }
.wordmark { display: block; width: 116px; height: 25px; background: var(--ink); -webkit-mask: url(assets/wordmark.png) no-repeat left center / contain; mask: url(assets/wordmark.png) no-repeat left center / contain; }
.brand-divider { width: 1.5px; height: 22px; background: var(--line-2); margin: 0 4px; }
.tool-name { font-weight: 500; font-size: 17px; color: var(--teal-ink); letter-spacing: -.01em; }
.top-nav { display: flex; gap: 4px; }
.nav-link { background: none; border: 0; color: var(--ink-2); padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; text-decoration: none; }
.nav-link:hover { background: var(--sunken); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 60px 0 30px; max-width: 800px; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.3rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 700; margin: 0 0 18px; }
.marker { position: relative; white-space: nowrap; color: var(--teal-ink); }
.marker::after { content: ""; position: absolute; left: -2%; right: -3%; bottom: .06em; height: .26em; z-index: -1; background: var(--yellow); opacity: .55; border-radius: .2em .5em .3em .6em; transform: rotate(-1.2deg); }
.hero-sub { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; margin: 0 0 24px; }
.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 0; }
.badges li { display: flex; align-items: center; gap: 9px; font-weight: 500; padding: 0 18px; border-left: 1.5px solid var(--line-2); }
.badges li:first-child { padding-left: 0; border-left: 0; }
.badge-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--teal-soft); color: var(--teal-ink); }
.badges li:nth-child(2) .badge-ico { background: var(--blue-soft); color: var(--blue-ink); }
.badges li:nth-child(3) .badge-ico { background: var(--yellow-soft); color: var(--yellow-ink); }

/* ---------- Karten, Knöpfe ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-sm); border: 1.5px solid transparent; padding: 10px 16px; font-weight: 500; font-size: 15px; line-height: 1.2; white-space: nowrap; text-decoration: none; transition: background-color .15s, border-color .15s, transform .1s; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--teal); color: var(--on-teal); box-shadow: var(--shadow-btn); }
.btn-primary:hover:not(:disabled) { background: var(--teal-hover); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover:not(:disabled) { border-color: var(--teal); color: var(--teal-ink); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover:not(:disabled) { background: var(--sunken); color: var(--ink); }
.btn-danger:hover:not(:disabled) { border-color: var(--coral); color: var(--coral-ink); }
.btn-lg { padding: 14px 26px; font-size: 16.5px; border-radius: 14px; }
.btn-sm { padding: 7px 12px; font-size: 14px; border-radius: 10px; gap: 6px; }
.inline-link { background: none; border: 0; padding: 0; color: var(--teal-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: var(--ink-2); }
.icon-btn:hover { background: var(--sunken); color: var(--ink); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }

/* ---------- Formular ---------- */
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-label { display: block; font-weight: 500; font-size: 14px; }
.hint { display: block; color: var(--ink-3); font-size: 13px; line-height: 1.5; margin: 0; }
.input, select, textarea {
  width: 100%; background: var(--surface-2); border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  padding: 12px 14px; font-size: 16px; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 15%, transparent); }
.input.is-bad { border-color: var(--coral); }
select { appearance: none; padding-right: 40px; font-weight: 500; }
.select-wrap { position: relative; display: block; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
textarea { resize: vertical; min-height: 80px; }
.field-error { color: var(--coral-ink); font-size: 13.5px; font-weight: 500; margin: 0; }
.honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Ersteller (Herzstück) ---------- */
.composer { padding: 28px; display: grid; gap: 22px; position: relative; }
.preview {
  border-radius: 18px; padding: 22px 24px 20px; background: var(--navy); color: #fff;
  box-shadow: 0 18px 40px -22px rgba(5, 16, 30, .7); position: relative; overflow: hidden;
}
.preview::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 160px at 85% -20%, rgba(43, 211, 166, .28), transparent 70%); pointer-events: none; }
.preview-label { position: relative; font-size: 13px; color: rgba(255, 255, 255, .62); margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.preview-url { position: relative; margin: 0; font-size: clamp(1.35rem, 3.6vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; }
.preview-url .dom { color: rgba(255, 255, 255, .55); font-weight: 500; }
.preview-url .slug { color: #2BD3A6; }
.preview-url .slug.is-empty { color: rgba(255, 255, 255, .5); font-style: italic; font-weight: 500; }
.preview-url .caret { display: inline-block; width: 3px; height: .95em; margin-left: 2px; vertical-align: -.1em; background: #FBA60A; border-radius: 2px; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.preview-target { position: relative; margin: 10px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .62); display: flex; gap: 8px; align-items: center; min-width: 0; }
.preview-target span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.slug-row { display: flex; align-items: stretch; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface-2); transition: border-color .15s, box-shadow .15s, background-color .15s; }
.slug-row:focus-within { border-color: var(--teal); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 15%, transparent); }
.slug-row.is-bad { border-color: var(--coral); }
.slug-row.is-good { border-color: var(--teal); }
.slug-prefix { display: flex; align-items: center; padding: 0 4px 0 14px; color: var(--ink-3); font-weight: 500; white-space: nowrap; user-select: none; }
.slug-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 6px; font-size: 16px; font-weight: 500; outline: none; }
.slug-row .icon-btn { margin: 4px; width: auto; padding: 0 12px; gap: 6px; display: flex; font-size: 14px; font-weight: 500; }
.slug-state { display: flex; align-items: center; gap: 8px; min-height: 22px; font-size: 13.5px; font-weight: 500; margin: 0; color: var(--ink-3); }
.slug-state.is-good { color: var(--teal-ink); }
.slug-state.is-bad { color: var(--coral-ink); }
.slug-state .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.slug-state.is-checking .dot { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 8px 13px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--surface-2); font-size: 14px; font-weight: 500; cursor: pointer; }
.seg input:checked + span { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-ink); box-shadow: inset 0 0 0 1px var(--teal); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); flex: none; cursor: pointer; }
.check label { cursor: pointer; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding-top: 6px; border-top: 1px solid var(--line); }
.submit-row .check { flex: 1 1 320px; padding-top: 16px; }
.submit-row .btn { margin-top: 16px; }

/* ---------- Ergebnis ---------- */
.result { padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 32px; align-items: center; margin-top: 20px; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 12%, transparent), var(--shadow-2); animation: pop .4s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.result-kicker { display: flex; align-items: center; gap: 8px; color: var(--teal-ink); font-weight: 500; font-size: 1rem; margin: 0 0 6px; }
.result-url { font-size: clamp(1.4rem, 3.4vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
.result-url a { text-decoration: none; }
.result-url a:hover { text-decoration: underline; text-underline-offset: 4px; }
.result-meta { color: var(--ink-3); font-size: 13.5px; margin: 6px 0 0; overflow-wrap: anywhere; }
.result .row { margin-top: 18px; }
.qr-box { display: grid; justify-items: center; gap: 10px; }
.qr { width: 168px; height: 168px; padding: 10px; background: #fff; border-radius: 16px; border: 1px solid var(--line); }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-dl { display: flex; gap: 6px; }

/* ---------- Meine Links ---------- */
.mine { margin-top: 28px; padding: 22px 24px; }
.mine-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.mine-head h2 { font-size: 1.15rem; margin: 0; display: flex; gap: 10px; align-items: center; }
.count { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--sunken); color: var(--ink-2); font-size: 12.5px; font-weight: 500; }
.mine-list { list-style: none; padding: 0; margin: 0; }
.mine-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.mine-item:first-child { border-top: 0; }
.mine-short { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; text-decoration: none; }
.mine-short:hover { color: var(--teal-ink); }
.mine-target { color: var(--ink-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 1px 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 500; background: var(--sunken); color: var(--ink-2); }
.chip[data-tone="teal"] { background: var(--teal-soft); color: var(--teal-ink); }
.chip[data-tone="yellow"] { background: var(--yellow-soft); color: var(--yellow-ink); }
.chip[data-tone="coral"] { background: var(--coral-soft); color: var(--coral-ink); }
.chip[data-tone="blue"] { background: var(--blue-soft); color: var(--blue-ink); }
.mine-actions { display: flex; gap: 4px; }
.mine-empty { color: var(--ink-3); margin: 6px 0 0; }

/* ---------- Hinweise ---------- */
.notice { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 16px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.notice p { margin: 0; }
.notice strong { color: var(--ink); font-weight: 500; }
.notice-ico { color: var(--teal-ink); margin-top: 2px; }
.notice.is-error { border-color: var(--coral); background: var(--coral-soft); color: var(--coral-ink); }
.notice.is-error .notice-ico { color: var(--coral-ink); }
code, .mono { font-family: var(--mono); font-size: .92em; background: var(--sunken); padding: 1px 6px; border-radius: 6px; }

.footer { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links .inline-link { color: var(--ink-2); font-size: 13px; text-decoration-color: var(--line-2); }

/* ---------- Meldungen ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.toast { pointer-events: auto; cursor: pointer; display: flex; align-items: flex-start; gap: 10px; max-width: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-2); font-size: 14px; animation: pop .3s ease; }
.toast .i { margin-top: 2px; color: var(--teal-ink); }
.toast.is-error .i { color: var(--coral-ink); }
.toast.is-warn .i { color: var(--yellow-ink); }
.toast p { margin: 0; }
.toast small { display: block; color: var(--ink-3); font-size: 12.5px; }

/* ---------- Dialoge ---------- */
.dlg { border: 0; padding: 0; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(5, 16, 30, .6); max-height: calc(100vh - 32px); }
.dlg::backdrop { background: rgba(9, 20, 35, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.dlg[open] { animation: pop .3s ease; }
.dlg-legal { width: min(760px, calc(100% - 24px)); height: min(760px, calc(100vh - 32px)); display: none; }
.dlg-legal[open] { display: flex; flex-direction: column; }
.dlg-qr { width: min(420px, calc(100% - 24px)); }
.dlg-qr .dlg-body { padding: 26px; display: grid; gap: 16px; justify-items: center; text-align: center; }
.dlg-qr .qr { width: 280px; height: 280px; }
.legal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 8px 28px; }
.legal-head h2 { margin: 0; font-size: 1.6rem; letter-spacing: -.02em; }
.legal-tabs { display: flex; gap: 6px; padding: 6px 24px 14px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.legal-tabs button { border: 0; background: var(--sunken); color: var(--ink-2); padding: 8px 14px; border-radius: 99px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.legal-tabs button[aria-selected="true"] { background: var(--teal); color: var(--on-teal); }
.legal-body { overflow-y: auto; padding: 8px 28px 28px; }
.legal-body h3 { font-size: 1.02rem; margin: 22px 0 6px; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }
.legal-body p { margin: 0 0 10px; }
.legal-body ul { padding-left: 20px; margin: 0 0 10px; }
.fill-missing { color: var(--coral-ink); font-style: normal; font-weight: 500; }

/* ---------- Einfache Seiten (Weiterleitung, Vorschau) ---------- */
body.simple .wrap { max-width: 760px; padding-top: 48px; }
.page-card { padding: 34px; }
.page-card h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -.025em; line-height: 1.15; margin: 0 0 14px; overflow-wrap: anywhere; }
.page-card h2 { font-size: 1.15rem; margin: 0 0 4px; }
.page-card p { color: var(--ink-2); margin: 0 0 10px; }
.page-card .note { font-size: 13.5px; color: var(--ink-3); }
.target { font-family: var(--mono); font-size: 14.5px; background: var(--sunken); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 6px 0 12px; overflow-wrap: anywhere; color: var(--ink); }
.report { display: grid; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.report .btn { justify-self: start; }
.msg { font-weight: 500; color: var(--teal-ink); margin: 0; }

/* ---------- Verwaltung ---------- */
.admin-login { max-width: 440px; margin: 60px auto 0; padding: 30px; display: grid; gap: 16px; }
.admin-login h1 { margin: 0; font-size: 1.6rem; letter-spacing: -.02em; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 18px; }
.stat { padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); min-width: 120px; }
.stat b { display: block; font-size: 1.4rem; line-height: 1.2; }
.stat span { font-size: 12.5px; color: var(--ink-3); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.toolbar .input { max-width: 320px; padding: 9px 12px; font-size: 14.5px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink-2); padding: 7px 13px; border-radius: 99px; font-size: 13.5px; font-weight: 500; }
.tabs button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.alist { list-style: none; margin: 0; padding: 0; }
.aitem { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 16px 20px; border-top: 1px solid var(--line); }
.aitem:first-child { border-top: 0; }
.aitem .reports { grid-column: 1 / -1; margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--coral-soft); color: var(--coral-ink); font-size: 13px; }
.aitem .reports li { margin-left: 16px; }
.aactions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; align-items: flex-start; }
.block-card { padding: 22px 24px; margin-top: 22px; display: grid; gap: 12px; }
.block-card textarea { font-family: var(--mono); font-size: 13.5px; min-height: 140px; }

@media (max-width: 760px) {
  .wrap { padding: 0 14px 60px; }
  .topbar-inner { padding: 10px 14px; }
  .top-nav { display: none; }
  .wordmark { width: 96px; height: 21px; }
  .brand-icon { width: 34px; height: 34px; }
  .hero { padding: 34px 0 22px; }
  .badges { gap: 10px 16px; }
  .badges li { padding: 0; border-left: 0; font-size: 14px; }
  .composer, .result { padding: 20px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .result { grid-template-columns: minmax(0, 1fr); }
  .qr-box { justify-items: start; }
  .slug-prefix { padding-left: 12px; font-size: 14px; }
  .preview-url .dom { display: block; font-size: .62em; }
  .slug-row .icon-btn span { display: none; }
  .mine-item, .aitem { grid-template-columns: minmax(0, 1fr); }
  .aactions { justify-content: flex-start; }
  .page-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* ---------- Rechtsseiten und Verwaltung ---------- */
.legal-page { max-width: 820px; margin: 44px auto 0; padding: 36px 40px 30px; }
.legal-page h1 { font-size: clamp(1.8rem, 4.4vw, 2.5rem); letter-spacing: -.025em; line-height: 1.15; margin: 0 0 18px; }
.legal-page h2 { font-size: 1.08rem; margin: 26px 0 6px; }
.legal-page p, .legal-page li { color: var(--ink-2); line-height: 1.7; }
.legal-page p { margin: 0 0 10px; }
.legal-page ul { padding-left: 22px; margin: 0 0 10px; }
.legal-page .lead { font-size: 1.05rem; color: var(--ink); padding: 14px 18px; border-radius: 14px; background: var(--teal-soft); }
.legal-page .note { margin-top: 26px; font-size: 13.5px; color: var(--ink-3); }
.dlg-title { margin: 0; font-size: 1.25rem; overflow-wrap: anywhere; }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 34px; }
.dash-title { margin: 0; font-size: 1.7rem; letter-spacing: -.02em; }
.block-title { margin: 0; font-size: 1.1rem; }
.empty-hint { margin-top: 12px; }
@media (max-width: 760px) { .legal-page { margin-top: 24px; padding: 24px 20px; } }
