/* BlogWebkatalog – Stylesheet */
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #f0eee8;
  --text: #1d1c1a;
  --muted: #6b6860;
  --line: #e3e0d8;
  --brand: #c2410c;
  --brand-ink: #9a3412;
  --brand-soft: #fff1e8;
  --ink: #1f2a44;
  --ok: #15803d;
  --ok-soft: #e8f6ec;
  --warn: #a16207;
  --warn-soft: #fdf6e3;
  --err: #b91c1c;
  --err-soft: #fdecec;
  --info-soft: #eaf1fb;
  --star: #f59e0b;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 18, 12, .06), 0 4px 16px rgba(20, 18, 12, .05);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15140f;
    --surface: #1e1d18;
    --surface-2: #27261f;
    --text: #ece9e1;
    --muted: #a39f94;
    --line: #34322a;
    --brand: #fb923c;
    --brand-ink: #fdba74;
    --brand-soft: #2c1d12;
    --ink: #c7d2fe;
    --ok-soft: #13261a;
    --warn-soft: #2a2312;
    --err-soft: #2c1515;
    --info-soft: #172131;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
/* <picture> nur als Hülle für WebP-Varianten – das <img> darin wird wie bisher gestaltet */
picture { display: contents; }
a { color: var(--brand-ink); text-underline-offset: .15em; }
a:hover { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); font-family: var(--font-serif); font-weight: 700; }
h2 { font-size: 1.35rem; }
h3, .h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-size: 1.15rem; }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #fff; font: 700 1.1rem/1 var(--font-serif); }
.logo-text strong { color: var(--brand); }
.logo small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.search { flex: 1 1 260px; display: flex; max-width: 460px; position: relative; }
.search-field { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; }
.search input { flex: 1; min-width: 0; padding: 9px 64px 9px 12px; border: 1px solid var(--line); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--bg); color: var(--text); font: inherit; transition: border-color .15s, background .15s, box-shadow .15s; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search input:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 3px var(--brand-soft); }
.search-kbd { display: none; }
.js .search-kbd { display: block; }
.js .search:focus-within .search-kbd, .js .search.has-value .search-kbd { display: none; }
.search > button[type="submit"] { border: 1px solid var(--line); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--surface-2); color: var(--text); padding: 0 12px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.search > button[type="submit"]:hover, .search:focus-within > button[type="submit"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.search-kbd { position: absolute; right: 10px; padding: 0 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; font: 600 .75rem/1.5 var(--font); color: var(--muted); background: var(--surface); pointer-events: none; }
.search-clear { position: absolute; right: 6px; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.search-clear:hover { background: var(--surface-2); color: var(--text); }
.search-clear[hidden], .search-kbd[hidden] { display: none; }
.search-spinner { position: absolute; right: 38px; width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%; opacity: 0; pointer-events: none; }
.search.is-loading .search-spinner { opacity: 1; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Live-Suche: Vorschlagsliste */
.search-panel { position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: min(520px, calc(100vw - 32px)); max-height: min(72vh, 620px); overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(20, 18, 12, .16); z-index: 30; padding: 6px; animation: panel-in .12s ease-out; }
.search-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(-4px); } }
.sp-group + .sp-group { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.sp-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px 4px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sp-head button { border: 0; background: none; color: var(--muted); font: 500 .78rem var(--font); text-transform: none; letter-spacing: 0; cursor: pointer; padding: 0; }
.sp-head button:hover { color: var(--brand-ink); text-decoration: underline; }
.sp-opt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; cursor: pointer; }
.sp-opt:hover { color: var(--text); }
.sp-opt.is-active { background: var(--brand-soft); color: var(--text); }
.sp-opt mark { background: none; color: var(--brand-ink); font-weight: 700; }
.sp-ico { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--surface-2); color: var(--muted); }
.sp-opt.is-active .sp-ico { background: var(--surface); color: var(--brand); }
.sp-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-count { flex: none; font-size: .8rem; color: var(--muted); }
.sp-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 10px 8px; }
.sp-chip { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .86rem; gap: 6px; }
.sp-chip.is-active { border-color: var(--brand); }
.sp-chip .sp-count { font-size: .75rem; }
.sp-blog { align-items: flex-start; }
.sp-thumb { flex: none; width: 64px; height: 48px; border-radius: 6px; object-fit: cover; object-position: top; background: var(--surface-2); border: 1px solid var(--line); }
.sp-blog-body { flex: 1; min-width: 0; line-height: 1.35; }
.sp-blog-title { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-blog-meta { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: .8rem; color: var(--muted); }
.sp-blog-meta .sp-star { color: var(--star); }
.sp-blog-text { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: .85rem; color: var(--muted); }
.sp-all { justify-content: center; font-weight: 600; color: var(--brand-ink); margin-top: 2px; }
.sp-all:hover { color: var(--brand-ink); }
.sp-empty { padding: 14px 10px 6px; color: var(--muted); font-size: .92rem; }
.sp-empty strong { color: var(--text); }
.sp-foot { display: flex; gap: 14px; justify-content: flex-end; padding: 8px 10px 4px; border-top: 1px solid var(--line); margin-top: 4px; font-size: .75rem; color: var(--muted); }
.sp-foot kbd { padding: 0 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; font: 600 .7rem/1.5 var(--font); background: var(--bg); }
.search-empty .tag-cloud { margin-top: 12px; justify-content: center; }
.main-nav { display: flex; align-items: center; gap: 4px 18px; margin-left: auto; flex-wrap: wrap; }
.main-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; }
.main-nav a:not(.btn):hover { color: var(--brand); }
.main-nav form { margin: 0; }
.nav-toggle { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: var(--radius-sm); border: 1px solid transparent; font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-secondary { background: var(--ink); color: var(--surface); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.btn-danger { background: var(--err); color: #fff; }
.btn-lg { padding: 12px 22px; font-size: 1.02rem; }
.btn-sm { padding: 5px 10px; font-size: .85rem; }
.btn-block { width: 100%; }

/* Layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; padding-top: 28px; padding-bottom: 48px; }
.content { min-width: 0; }
.layout-focus { grid-template-columns: minmax(0, 860px); justify-content: center; }
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.box-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.box-cta { background: var(--brand-soft); border-color: transparent; }
.box-cta p { font-size: .93rem; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; margin: 0 -8px; border-radius: 6px; color: var(--text); text-decoration: none; }
.cat-list a:hover, .cat-list a[aria-current] { background: var(--surface-2); color: var(--brand-ink); }
.cat-list .count { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }

.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs a { color: var(--muted); }
.page-head { margin-bottom: 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: .5em; }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.section { margin: 36px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head a { font-size: .92rem; white-space: nowrap; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.5em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }

/* Hero */
.hero { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 2.9rem); max-width: 18ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { color: var(--muted); font-size: .85rem; }
.stats dd { margin: 0; font: 700 1.6rem/1.1 var(--font-serif); font-variant-numeric: tabular-nums; }

/* Karten */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.grid-small { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.grid-ad { grid-column: 1 / -1; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card-body { padding: 14px 16px 16px; }
.card-title { font-size: 1.02rem; margin: 0 0 4px; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--brand); }
.card-meta { font-size: .84rem; color: var(--muted); margin: 0 0 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.card-meta a { color: var(--muted); }
.card-text { font-size: .9rem; margin: 0; color: var(--text); opacity: .88; }
.dot { margin: 0 2px; }

.stars { display: inline-flex; gap: 1px; line-height: 1; vertical-align: -1px; }
.star { color: var(--line); }
.star.s-full { color: var(--star); }
.star.s-half { background: linear-gradient(90deg, var(--star) 50%, var(--line) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 10px; }
.cat-tiles a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.cat-tiles a:hover { border-color: var(--brand); }
.cat-tiles span { font-size: .82rem; color: var(--muted); }

.rank-list, .article-list, .plain-list { list-style: none; margin: 0; padding: 0; }
.rank-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rank-list a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); font-weight: 700; font-size: .85rem; }
.rank-lg { min-width: 38px; height: 38px; font-size: 1rem; background: var(--brand-soft); color: var(--brand-ink); }
.article-list li { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.article-list .muted { font-size: .84rem; }
.article-list-lg a:first-child { font-weight: 600; }
.plain-list li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { padding: 4px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .88rem; }
.tag-cloud a:hover { border-color: var(--brand); color: var(--brand-ink); }

.letters { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; }
.letters a { min-width: 34px; padding: 5px 8px; text-align: center; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; }
.letters a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.index-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.index-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.index-list li:last-child { border: 0; }
.index-list .index-desc { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); }

.top-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.top-item { display: grid; grid-template-columns: auto 140px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.top-thumb img { border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }

.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; justify-content: center; }
.pager a, .pager span { padding: 7px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); font-variant-numeric: tabular-nums; }
.pager [aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .gap { border: 0; background: none; }

/* Detailseite */
.blog-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px 24px; align-items: start; }
.blog-shot { grid-row: span 2; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow); }
.blog-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.facts { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 0; word-break: break-word; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--surface-2); color: var(--muted); vertical-align: middle; }
.badge-warn, .badge-awaiting_payment, .badge-bl-missing { background: var(--warn-soft); color: var(--warn); }
.badge-active, .badge-bl-ok { background: var(--ok-soft); color: var(--ok); }
.badge-pending_review { background: var(--info-soft); color: var(--ink); }
.badge-rejected, .badge-disabled, .badge-bl-error { background: var(--err-soft); color: var(--err); }

.vote-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.vote-form fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.vote-form legend { margin-bottom: 6px; color: var(--muted); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2.1rem; line-height: 1; color: var(--line); cursor: pointer; padding: 0 2px; transition: color .1s, transform .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--star); }
.star-input input:focus-visible + label { outline: 3px solid var(--brand); border-radius: 4px; }
.vote-result { margin: 10px 0 0; font-weight: 600; }
.vote-owner { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.vote-owner img { flex: none; }

/* Hinweise */
.notice { padding: 12px 16px; border-radius: var(--radius-sm); margin: 0 0 18px; border: 1px solid transparent; }
.notice-success { background: var(--ok-soft); color: var(--ok); }
.notice-error { background: var(--err-soft); color: var(--err); }
.notice-info { background: var(--info-soft); }
.info-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 20px; }
.info-box summary { cursor: pointer; font-weight: 600; }
.info-box p { margin: 10px 0 0; }

/* Formulare */
.steps { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: s; }
.steps li { flex: 1 1 150px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.steps li strong { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); margin-right: 6px; font-size: .8rem; color: var(--text); }
.steps li.is-active { border-color: var(--brand); color: var(--text); }
.steps li.is-active strong { background: var(--brand); color: #fff; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px 20px 6px; margin: 0 0 20px; }
.form legend { font-weight: 700; padding: 0 6px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 5px; }
.field input, .field select, .field textarea, .filter-bar input, .filter-bar select, textarea[data-select] {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font: inherit;
}
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--err); }
.field-error { color: var(--err); font-size: .88rem; margin: 5px 0 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-sm { max-width: 140px; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; }
.field-check input { width: 18px; height: 18px; margin-top: 4px; }
.field-check label { font-weight: 400; }
.field-check .field-error { grid-column: 2; }
.optional { font-weight: 400; color: var(--muted); font-size: .85rem; }
.hint { font-size: .86rem; color: var(--muted); margin: 5px 0 0; }
.char-count { font-size: .8rem; color: var(--muted); text-align: right; margin-top: 3px; font-variant-numeric: tabular-nums; }
.char-count.is-low { color: var(--warn); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.code-snippet { background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 12px; overflow-x: auto; font-size: .85rem; }
.code-snippet code { background: none; padding: 0; }

.result-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); max-width: 760px; }
.result-card.narrow { max-width: 420px; margin: 40px auto; }
.result-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.6rem; margin-bottom: 14px; }
.pay-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 22px; }
.pay-option { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.pay-option h2 { font-size: 1.05rem; }
.bank { margin: 0; display: grid; gap: 8px; }
.bank div { display: grid; grid-template-columns: 130px 1fr; gap: 8px; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; word-break: break-all; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 10px 0 0; }
.timeline { list-style: none; padding: 0; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 14px 18px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.timeline time { display: block; font-weight: 700; font-size: .9rem; }
.embed { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
textarea[data-select] { font: .85rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }

/* Werbung */
.ad { margin: 28px 0; text-align: center; min-height: 90px; }
.ad-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.ad-sidebar { margin: 0; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 36px 0 20px; font-size: .93rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.site-footer nav a { display: block; color: var(--text); text-decoration: none; padding: 3px 0; }
.site-footer nav a:hover { color: var(--brand); }
.logo-small { font-size: 1rem; margin-bottom: 8px; }
.footer-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; }

/* Admin */
.admin-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.admin-main { padding-top: 24px; padding-bottom: 60px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0 8px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--muted); font-size: .9rem; }
.kpi span { display: block; font: 700 1.8rem/1.1 var(--font-serif); color: var(--text); }
.kpi-hot { border-color: var(--brand); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface-2); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.filter-bar input { flex: 1 1 240px; width: auto; }
.filter-bar select { width: auto; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.admin-actions form { margin: 0; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.admin-shot { border-radius: var(--radius-sm); border: 1px solid var(--line); margin-bottom: 8px; }
.admin-upload { display: grid; gap: 6px; margin-bottom: 16px; }
.admin-upload input[type="file"] { font-size: .85rem; max-width: 100%; }
.admin-upload .btn { justify-self: start; }

/* Responsiv */
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-inner { padding-top: 8px; padding-bottom: 8px; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search-kbd, .sp-foot { display: none; }
  .search-panel { min-width: 0; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); }
  .sp-opt { padding: 10px; }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; content: ""; }
  .bars::before { position: absolute; top: -6px; }
  .bars::after { position: absolute; top: 6px; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; }
  .main-nav { order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .main-nav a:not(.btn) { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .main-nav .btn { margin-top: 10px; }
  .two-col, .blog-hero, .footer-inner, .field-row { grid-template-columns: 1fr; }
  .blog-shot { grid-row: auto; }
  .top-item { grid-template-columns: auto minmax(0, 1fr); }
  .top-thumb { display: none; }
  .embed { grid-template-columns: 1fr; }
  .bank div { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
