/* =========================================================
   Wagenherz – Designsystem „Elfenbein & Onyx“
   ========================================================= */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/geist-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/geist-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #0B0B0C;
  --ink-2: #141416;
  --ink-3: #1C1C1F;
  --ivory: #F4F1EA;
  --ivory-2: #EFEBE2;
  --paper: #FFFFFF;
  --paper-2: #FAF8F4;
  --champ: #D9B77E;
  --gold: #C9A061;
  --bronze: #7D5F2E;
  --bronze-ink: #5E4520;
  --text: #0B0B0C;
  --text-2: #3A3835;
  --text-3: #4A4843;
  --muted: #6B6862;
  --muted-dark: #9B9893;
  --on-dark: #F2EFE9;
  --on-dark-2: #C8C4BC;
  --line: rgba(11, 11, 12, .08);
  --line-2: rgba(11, 11, 12, .16);
  --line-dark: rgba(242, 239, 233, .12);
  --good: #2F5E8A;
  --good-soft: rgba(47, 94, 138, .1);
  --good-dark: #A9C4E0;
  --fair: #7A5B2A;
  --fair-soft: rgba(201, 160, 97, .18);
  --over: #A4521C;
  --over-soft: rgba(164, 82, 28, .1);
  --over-dark: #E39A5B;
  --ok: #2E7D5B;
  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r-sm: 12px; --r: 18px; --r-lg: 24px; --r-xl: 30px; --r-2xl: 40px;
  --glide: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1360px;
  --gutter: clamp(16px, 3vw, 32px);
  --shadow: 0 28px 50px -26px rgba(11, 11, 12, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ivory); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bronze); }
::selection { background: var(--champ); color: var(--ink); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .on-dark :focus-visible { outline-color: var(--champ); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

.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; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; color: var(--on-dark); }

/* ---------- Typografie ---------- */
.serif { font-family: var(--serif); font-weight: 400; }
.italic, em.serif-i { font-style: italic; }
.mono { font-family: var(--mono); }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.dark .kicker, .on-dark .kicker, .panel-dark .kicker, .success-box .kicker { color: var(--champ); }
.panel-dark .lead, .panel-dark .muted { color: var(--on-dark-2); }
.display { font-family: var(--serif); font-size: clamp(52px, 7.6vw, 112px); line-height: .94; letter-spacing: -.02em; }
.h1 { font-family: var(--serif); font-size: clamp(38px, 4.6vw, 64px); line-height: 1; letter-spacing: -.02em; }
.h2 { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 48px); line-height: 1.04; letter-spacing: -.015em; }
.h3 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; }
.h4 { font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.accent { color: var(--champ); font-style: italic; }
.accent-b { color: var(--bronze); font-style: italic; }
.lead { font-size: clamp(17px, 1.4vw, 19px); font-weight: 300; color: var(--text-3); max-width: 620px; }
.dark .lead, .on-dark .lead { color: var(--on-dark-2); }
.muted { color: var(--muted); }
.dark .muted, .on-dark .muted { color: var(--muted-dark); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: 1100px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-text { max-width: 760px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section-sm { padding-block: clamp(40px, 5vw, 70px); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark a:not(.btn):not(.chip) { color: var(--on-dark); }
.dark a:not(.btn):not(.chip):hover { color: var(--champ); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; }
.items-center { align-items: center; } .items-end { align-items: flex-end; } .items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; } .justify-center { justify-content: center; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-48 { gap: 48px; } .gap-64 { gap: 64px; }
.grow { flex: 1 1 auto; min-width: 0; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.center, .table .center { text-align: center; }
.grid { display: grid; gap: 16px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split > * { flex: 1 1 400px; min-width: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; background: var(--ink); color: var(--ivory); font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--glide), background-color .25s, color .25s, border-color .25s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); color: var(--ivory); }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn[aria-disabled="true"] { background: rgba(11, 11, 12, .08); color: var(--muted); cursor: not-allowed; transform: none; border-color: transparent; }
.btn-gold { background: var(--champ); color: var(--ink); }
.btn-gold:hover { color: var(--ink); background: #E3C38E; }
.btn-line { background: transparent; color: var(--ink); border-color: rgba(11, 11, 12, .25); font-weight: 500; }
.btn-line:hover { color: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: inherit; font-weight: 500; padding: 0 12px; }
.btn-ghost:hover { color: var(--bronze); }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { color: var(--ink); background: #fff; }
.dark .btn-line, .on-dark .btn-line { color: var(--on-dark); border-color: rgba(242, 239, 233, .25); }
.dark .btn-line:hover, .on-dark .btn-line:hover { border-color: var(--on-dark); color: var(--on-dark); }
.btn-danger { background: transparent; color: var(--over); border-color: rgba(164, 82, 28, .4); font-weight: 500; }
.btn-danger:hover { background: var(--over); color: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; background: transparent; color: inherit; border: 1px solid var(--line-2); }
.btn-icon:hover { color: inherit; border-color: var(--ink); }
.dark .btn-icon { border-color: rgba(242, 239, 233, .2); }
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--bronze); font: inherit; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }

/* ---------- Formulare ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .label { font-size: 13px; color: var(--text-3); }
.dark .field > label, .on-dark .field > label { color: var(--on-dark-2); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1px solid rgba(11, 11, 12, .18); background: var(--paper); color: var(--ink); font: 400 15px var(--sans); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.textarea { padding: 12px 14px; min-height: 110px; resize: vertical; line-height: 1.5; }
.select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201, 160, 97, .25); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--over); }
.input-lg { min-height: 62px; font-size: 26px; font-family: var(--mono); }
.dark .input, .dark .select, .dark .textarea { background: var(--ink-2); color: var(--on-dark); border-color: rgba(242, 239, 233, .2); }
.field-error { font-size: 12px; color: var(--over); min-height: 0; }
.field-hint { font-size: 12px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: 40px; cursor: pointer; font-size: 14px; padding-top: 8px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font: 500 13px var(--sans); cursor: pointer; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip.on, input:checked + .chip { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip-x { min-height: 34px; padding: 0 10px 0 14px; background: var(--ink); color: var(--ivory); border-color: var(--ink); font-size: 12px; }
.chip-x:hover { color: var(--champ); }
.chip-input { position: absolute; opacity: 0; pointer-events: none; }
.chip-input:focus-visible + .chip { outline: 2px solid var(--bronze); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 12px; background: var(--ivory); }
.seg label, .seg button, .seg a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; font: 500 13px var(--sans); color: var(--ink); cursor: pointer; text-decoration: none; white-space: nowrap; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 0; }
.seg label > span { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 38px; padding: 0 10px; border-radius: 9px; transition: background-color .25s, box-shadow .25s; }
.seg input:checked + span, .seg [aria-pressed="true"], .seg .on { background: var(--paper); box-shadow: 0 1px 3px rgba(11, 11, 12, .15); }
.dark .seg { background: rgba(242, 239, 233, .08); }
.dark .seg label, .dark .seg button { color: var(--on-dark); }
.dark .seg input:checked + span { background: var(--on-dark); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--bronze); }
.pill-toggle { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); }
.pill-toggle a, .pill-toggle button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; display: inline-flex; align-items: center; font: 500 14px var(--sans); color: var(--ink); text-decoration: none; cursor: pointer; transition: background-color .3s, color .3s; }
.pill-toggle .on, .pill-toggle [aria-pressed="true"], .pill-toggle [aria-selected="true"] { background: var(--ink); color: var(--ivory); }
.dark .pill-toggle { background: transparent; border-color: rgba(242, 239, 233, .18); }
.dark .pill-toggle a, .dark .pill-toggle button { color: var(--on-dark); }
.dark .pill-toggle .on, .dark .pill-toggle [aria-selected="true"], .dark .pill-toggle a.on, .dark .pill-toggle a[aria-selected="true"] { background: var(--on-dark); color: var(--ink); }
input[type=range] { width: 100%; accent-color: var(--bronze); height: 28px; margin: 0; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 42px; height: 24px; border-radius: 12px; background: rgba(11, 11, 12, .18); position: relative; transition: background-color .3s; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .3s var(--glide); }
.switch input:checked + .track { background: var(--ink); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--bronze); outline-offset: 2px; }

/* ---------- Kopf & Navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 241, 234, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header.on-dark { position: relative; background: var(--ink); color: var(--on-dark); border-bottom: 0; backdrop-filter: none; }
.site-header .wrap { min-height: 76px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; }
.logo { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: inherit; }
.logo .serif { font-size: 30px; line-height: 1; }
.logo .mono { font-size: 10px; letter-spacing: .2em; color: var(--bronze); }
.on-dark .logo .mono { color: var(--champ); }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 14px; }
.main-nav a { text-decoration: none; padding: 6px 0; }
.main-nav a[aria-current="page"] { font-weight: 600; }
.on-dark .main-nav a[aria-current="page"] { color: var(--champ); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-actions .count { font-family: var(--mono); font-size: 11px; }
.icon-link { position: relative; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: inherit; text-decoration: none; }
.icon-link:hover { background: rgba(11, 11, 12, .06); }
.on-dark .icon-link:hover { background: rgba(242, 239, 233, .08); }
.badge-dot { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--champ); color: var(--ink); font: 500 10px/18px var(--mono); text-align: center; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu .menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; padding: 8px; border-radius: 18px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 60; display: flex; flex-direction: column; }
.user-menu .menu a, .user-menu .menu button { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 0 12px; border-radius: 10px; text-decoration: none; background: none; border: 0; width: 100%; text-align: left; cursor: pointer; font: 400 14px var(--sans); color: var(--ink); }
.user-menu .menu a:hover, .user-menu .menu button:hover { background: var(--ivory); color: var(--ink); }
.user-menu .menu .sep { height: 1px; background: var(--line); margin: 6px 4px; }
.nav-toggle { display: none; }
.show-sm { display: none; }
@media (max-width: 860px) {
  .site-header .wrap { gap: 8px 10px; min-height: 64px; flex-wrap: wrap; }
  .site-header .logo { order: 1; }
  .header-actions { order: 2; gap: 2px; }
  .nav-toggle { display: inline-flex; order: 3; }
  .show-sm { display: block; }
  .main-nav { order: 10; flex-basis: 100%; display: none; flex-direction: column; gap: 0; padding: 4px 0 14px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .on-dark .main-nav a { border-color: var(--line-dark); }
  .header-actions .hide-sm { display: none; }
}

/* ---------- Flash-Meldungen & Toasts ---------- */
.flashes { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 0; }
.flash { padding: 14px 18px; border-radius: 14px; font-size: 14px; background: var(--ink); color: var(--on-dark); display: flex; gap: 12px; align-items: flex-start; }
.flash.error { background: var(--over-soft); color: #8A3F12; border: 1px solid rgba(164, 82, 28, .25); }
.flash.info { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.flash.success { background: var(--ink); color: var(--on-dark); }
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(560px, calc(100vw - 24px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 8px 8px 8px 20px; min-height: 52px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 14px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); animation: toastIn .35s var(--glide) both; }
.toast.warn { background: #3A1E0C; }
.toast .btn { min-height: 38px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(110px, 12vw, 160px); display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 1; }
.hero-visual { flex: 0 1 380px; max-width: 100%; position: relative; min-height: 440px; z-index: 1; }
.hero-line { position: absolute; left: 34%; bottom: -10px; width: 78%; opacity: .5; pointer-events: none; }
.live-dot { position: relative; width: 8px; height: 8px; display: inline-block; }
.live-dot::before, .live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--champ); }
.live-dot::before { animation: ping 2.2s var(--glide) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
.w { display: inline-block; opacity: 0; animation: rise 1s var(--glide) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(.55em); } to { opacity: 1; transform: none; } }
.fade-in { opacity: 0; animation: fade 1.2s ease forwards; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.4s cubic-bezier(.6, .05, .2, 1) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.float { animation: float 7s ease-in-out infinite; }
.float2 { animation: float 8s ease-in-out infinite 1.2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.nl-search { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.nl-box { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; border-radius: 26px; background: rgba(242, 239, 233, .06); border: 1px solid rgba(242, 239, 233, .16); transition: border-color .3s, background-color .3s; }
.nl-box:focus-within { border-color: var(--champ); background: rgba(242, 239, 233, .09); outline: 2px solid var(--champ); outline-offset: 3px; }
.nl-box .grow { display: flex; align-items: center; gap: 12px; padding: 0 14px; flex: 1 1 340px; }
.nl-box input { flex: 1; min-width: 0; min-height: 56px; border: 0; background: transparent; color: var(--on-dark); font: 400 17px var(--sans); outline: none; }
.nl-box input::placeholder { color: #8f8b84; }
.nl-chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
.nl-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; background: rgba(217, 183, 126, .14); color: var(--champ); font: 400 12px var(--mono); animation: toastIn .3s var(--glide) both; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.examples button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(242, 239, 233, .18); background: transparent; color: var(--on-dark); cursor: pointer; font: 400 13px var(--sans); transition: border-color .2s, color .2s; }
.examples button:hover { border-color: var(--champ); color: var(--champ); }

.promise-bar { border-bottom: 1px solid var(--line); }
.promise-bar .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; font-size: 14px; }
.promise-bar span .mono { font-size: 11px; color: var(--bronze); margin-right: 10px; }

/* ---------- Karten ---------- */
.panel { border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 28px); }
.panel-lg { border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 40px); }
.panel-dark { border-radius: var(--r-xl); background: var(--ink); color: var(--on-dark); padding: clamp(22px, 3.4vw, 40px); }
.panel-soft { border-radius: var(--r); background: var(--paper-2); padding: 16px; }
.panel-dashed { border-radius: var(--r-lg); border: 1px dashed rgba(11, 11, 12, .22); background: var(--ivory-2); padding: 22px; }
.lift { transition: transform .5s var(--glide), box-shadow .5s, border-color .5s; }
.lift:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.car-card { position: relative; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--glide), box-shadow .5s, border-color .5s; }
.car-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.car-card.is-highlight { border: 1.5px solid rgba(201, 160, 97, .75); box-shadow: 0 0 0 4px rgba(201, 160, 97, .12); }
.car-card.is-sponsored { border: 1.5px solid rgba(201, 160, 97, .75); }
.car-media { position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: radial-gradient(110% 90% at 50% 40%, #F1EEE7, #DEDAD1 80%); overflow: hidden; }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--glide); }
.car-card:hover .car-media img { transform: scale(1.04); }
.car-media .sil { width: 84%; height: auto; overflow: visible; }
.car-media .photo-count { position: absolute; bottom: 10px; right: 12px; padding: 3px 8px; border-radius: 8px; background: rgba(11, 11, 12, .55); color: #fff; font: 400 11px var(--mono); }
.badge-top { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--champ); font: 400 10px var(--mono); letter-spacing: .14em; z-index: 1; }
.badge-status { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 11px var(--sans); z-index: 1; }
.check-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 400 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.check-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.check-good { background: var(--good-soft); color: var(--good); }
.check-fair { background: var(--fair-soft); color: var(--fair); }
.check-fair::before { background: var(--gold); }
.check-over { background: var(--over-soft); color: var(--over); }
.check-none { background: rgba(11, 11, 12, .06); color: var(--muted); }
.car-media .check-pill { position: absolute; bottom: 10px; left: 12px; background: rgba(255, 255, 255, .9); }
.dark .check-good { color: var(--good-dark); background: rgba(169, 196, 224, .12); }
.dark .check-fair { color: var(--champ); background: rgba(217, 183, 126, .14); }
.dark .check-over { color: var(--over-dark); background: rgba(227, 154, 91, .14); }
.dark .check-none { color: var(--muted-dark); background: rgba(242, 239, 233, .08); }
.fav-btn { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); transition: transform .25s var(--glide); }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn svg { fill: none; stroke: var(--ink); stroke-width: 1.6; transition: fill .2s; }
.fav-btn[aria-pressed="true"] svg { fill: var(--ink); }
.fav-btn.pop svg { animation: pop .45s var(--glide); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.car-body { padding: 16px 18px 12px; display: flex; flex-direction: column; gap: 5px; text-decoration: none; color: var(--ink); flex: 1; }
.car-body:hover { color: var(--ink); }
.car-body::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.car-title { font-family: var(--serif); font-size: 22px; line-height: 1.1; }
.car-sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-specs { font: 400 11px var(--mono); color: var(--muted); letter-spacing: .02em; }
.car-price { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 8px; }
.car-price .num { font-size: 20px; }
.car-foot { position: relative; z-index: 1; padding: 10px 18px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid rgba(11, 11, 12, .07); font-size: 12px; color: var(--muted); }
.car-foot .check { padding-top: 0; min-height: 36px; align-items: center; font-size: 12px; color: var(--ink); }
.verified { display: inline-flex; align-items: center; gap: 4px; }
.verified svg { flex: none; }

.car-row { display: flex; flex-wrap: wrap; position: relative; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .4s, border-color .4s; }
.car-row:hover { box-shadow: var(--shadow); }
.car-row.is-highlight, .car-row.is-sponsored { border: 1.5px solid rgba(201, 160, 97, .75); }
.car-row .car-media { flex: 0 1 300px; aspect-ratio: auto; min-height: 200px; }
.car-row .row-main { flex: 999 1 320px; min-width: 0; padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 16px 24px; }
.spec-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 460px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-strip > span { padding: 7px 0 7px 10px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.spec-strip > span:first-child { border-left: 0; padding-left: 0; }
.spec-strip small { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.spec-strip b { font: 400 13px var(--mono); }

.body-tile { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .5s var(--glide), background-color .4s, color .4s; }
.body-tile svg path, .body-tile svg circle { stroke: var(--ink); transition: stroke .4s; }
.body-tile:hover { transform: translateY(-4px); background: var(--ink); color: var(--ivory); }
.body-tile:hover svg path, .body-tile:hover svg circle { stroke: var(--champ); }
.body-tile .serif { font-size: 26px; }

.rail { display: flex; gap: 16px; overflow-x: auto; padding: 6px 2px 28px; margin: 0 -2px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: none; width: 300px; scroll-snap-align: start; }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line-2); white-space: nowrap; }
.tag-dark { background: var(--ink); color: var(--champ); border-color: var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.tag-ok { color: var(--ok); border-color: rgba(46, 125, 91, .35); }
.tag-warn { color: var(--over); border-color: rgba(164, 82, 28, .35); }
.tag-gold { color: var(--fair); background: var(--fair-soft); border-color: transparent; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--muted); }
.dot-ok { background: var(--ok); } .dot-gold { background: var(--gold); } .dot-warn { background: var(--over); }

/* ---------- Suche ---------- */
.search-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.filters { flex: 1 1 280px; max-width: 320px; min-width: 0; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: thin; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.filters legend { padding: 0; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.results { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.filter-toggle { display: none; }
@media (max-width: 960px) {
  .filters { position: static; max-width: none; max-height: none; display: none; }
  .filters.open { display: flex; }
  .filter-toggle { display: inline-flex; }
}
.region-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; font-size: 14px; cursor: pointer; }
.region-row span:first-child { display: flex; align-items: center; gap: 10px; }
.region-row input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding-top: 12px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font: 500 14px var(--mono); border: 1px solid var(--line); background: var(--paper); }
.pager .on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.ad-card { border-radius: 22px; border: 1px dashed rgba(11, 11, 12, .22); background: var(--ivory-2); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; text-decoration: none; color: var(--ink); min-height: 300px; }
.ad-card:hover { color: var(--ink); border-color: var(--bronze); }
.ad-card img { border-radius: 14px; max-height: 160px; object-fit: cover; width: 100%; }
.ad-label { font: 400 10px var(--mono); letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.compare-bar { position: sticky; bottom: 16px; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 12px 12px 12px 22px; border-radius: 22px; background: var(--ink); color: var(--on-dark); box-shadow: 0 30px 60px -20px rgba(11, 11, 12, .6); animation: toastIn .4s var(--glide) both; }
.compare-bar .chip { background: transparent; color: var(--on-dark); border-color: rgba(242, 239, 233, .2); }

/* ---------- Entdecken (Swipe) ---------- */
.deck-wrap { border-radius: var(--r-xl); background: var(--ink); color: var(--on-dark); padding: 26px clamp(16px, 3vw, 28px); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.deck { position: relative; width: 100%; max-width: 420px; height: min(560px, 72vh); border-radius: 30px; outline-offset: 6px; touch-action: pan-y; }
.deck-card { position: absolute; inset: 0; border-radius: 28px; background: #18181B; border: 1px solid rgba(242, 239, 233, .12); overflow: hidden; display: flex; flex-direction: column; touch-action: none; cursor: grab; box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .9); user-select: none; -webkit-user-select: none; will-change: transform; }
.deck-card.back { cursor: default; box-shadow: none; }
.deck-card .dc-media { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 80% at 50% 38%, #2E2E34 0%, #18181B 72%); overflow: hidden; }
.deck-card .dc-media img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.deck-card .dc-body { padding: 18px 20px 20px; border-top: 1px solid rgba(242, 239, 233, .08); display: flex; flex-direction: column; gap: 6px; }
.stamp { position: absolute; padding: 5px 12px; border: 2px solid var(--champ); border-radius: 8px; color: var(--champ); font: 500 18px var(--mono); letter-spacing: .16em; opacity: 0; pointer-events: none; background: rgba(11, 11, 12, .35); }
.stamp-like { top: 60px; left: 20px; transform: rotate(-12deg); }
.stamp-nope { top: 60px; right: 20px; transform: rotate(12deg); border-color: var(--on-dark); color: var(--on-dark); }
.stamp-up { bottom: 26px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.deck-actions { display: flex; align-items: center; gap: 14px; }
.deck-btn { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(242, 239, 233, .22); background: #151517; color: var(--on-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .2s var(--glide); }
.deck-btn:active { transform: scale(.92); }
.deck-btn.sm { width: 48px; height: 48px; background: transparent; border-color: rgba(242, 239, 233, .16); }
.deck-btn.up { width: 56px; height: 56px; border-color: var(--champ); color: var(--champ); }
.deck-btn.like { background: var(--champ); color: var(--ink); border: 0; }
.deck-btn[aria-disabled="true"] { opacity: .35; }
.burst { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.burst svg { animation: burst .8s var(--glide) forwards; }
@keyframes burst { 0% { transform: scale(.3); opacity: 0; } 30% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.deck-empty { position: absolute; inset: 0; border-radius: 28px; border: 1px dashed rgba(242, 239, 233, .2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px; text-align: center; }

/* ---------- Fahrzeugseite ---------- */
.vehicle-top { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.gallery { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.stage { position: relative; aspect-ratio: 16 / 10; border-radius: 30px; overflow: hidden; background: radial-gradient(100% 85% at 50% 42%, #2E2E34 0%, #0F0F11 75%); display: flex; align-items: center; justify-content: center; }
.stage img { width: 100%; height: 100%; object-fit: contain; animation: fade .4s ease both; }
.stage .sil { width: 82%; }
.stage .nav { position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(242, 239, 233, .16); color: var(--on-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(6px); }
.stage .nav:hover { background: rgba(242, 239, 233, .28); }
.stage .prev { left: 14px; } .stage .next { right: 14px; }
.stage .pos { position: absolute; top: 18px; left: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 11, 12, .6); color: var(--on-dark); font: 400 11px var(--mono); letter-spacing: .12em; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.thumbs button { aspect-ratio: 4 / 3; border-radius: 14px; border: 2px solid transparent; padding: 0; overflow: hidden; background: #1A1A1D; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { flex: 1 1 380px; max-width: 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 92px; }
@media (max-width: 1080px) { .buybox { position: static; max-width: none; } }
.price-big { font: 400 36px/1 var(--mono); }
.spec-grid { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1px; border-radius: 22px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.spec-grid > div { background: var(--paper); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.spec-grid dt { font-size: 12px; color: var(--muted); }
.spec-grid dd { margin: 0; font: 400 16px var(--mono); }
.gauge { width: 100%; height: auto; overflow: visible; }
.gauge .track { fill: none; stroke: rgba(11, 11, 12, .1); stroke-width: 5; stroke-linecap: round; }
.dark .gauge .track, .panel-dark .gauge .track { stroke: rgba(242, 239, 233, .14); }
.gauge .band { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; }
.gauge .needle { transition: transform .6s cubic-bezier(.3, 1.4, .4, 1); transform-origin: 100px 100px; }
.gauge .needle line { stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.dark .gauge .needle line, .panel-dark .gauge .needle line { stroke: var(--on-dark); }
.gauge .hub { fill: var(--ink); }
.dark .gauge .hub, .panel-dark .gauge .hub { fill: var(--on-dark); }
.gauge text { font: 400 6px var(--mono); fill: var(--muted); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot { min-height: 64px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot:has(input:checked) { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.slot:has(input:focus-visible) { outline: 2px solid var(--bronze); outline-offset: 2px; }
.slot small { font-size: 12px; }
.slot b { font: 400 15px var(--mono); }
.time-slot { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); display: inline-flex; align-items: center; font: 500 14px var(--mono); cursor: pointer; position: relative; }
.time-slot input { position: absolute; opacity: 0; pointer-events: none; }
.time-slot:has(input:checked) { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.time-slot:has(input:focus-visible) { outline: 2px solid var(--bronze); outline-offset: 2px; }
.success-box { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; padding: 26px; border-radius: 22px; background: var(--ink); color: var(--on-dark); }
.check-anim circle, .check-anim path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s cubic-bezier(.6, .05, .2, 1) .1s forwards; }
.check-anim path { animation-delay: .6s; }

/* ---------- Ablauf / Stepper ---------- */
.steps-list { display: flex; flex-direction: column; }
.step-btn { position: relative; text-align: left; background: transparent; border: 0; border-top: 1px solid rgba(11, 11, 12, .14); padding: 22px 0 24px; cursor: pointer; display: flex; gap: 24px; align-items: baseline; color: var(--ink); opacity: .42; transition: opacity .4s; width: 100%; }
.step-btn[aria-selected="true"] { opacity: 1; }
.step-btn .bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.step-btn .bar span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.step-btn[aria-selected="true"] .bar span.run { animation: prog 5.2s linear forwards; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.wizard { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.wizard-nav { flex: 1 1 210px; max-width: 240px; min-width: 0; position: sticky; top: 92px; }
.wizard-nav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.wizard-nav button { width: 100%; min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-radius: 16px; border: 0; background: transparent; text-align: left; font: 500 14px var(--sans); cursor: pointer; color: var(--ink); }
.wizard-nav button[aria-current="step"] { background: var(--paper); }
.wizard-nav button[disabled] { opacity: .45; cursor: not-allowed; }
.wizard-nav .dot-n { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(11, 11, 12, .25); display: flex; align-items: center; justify-content: center; font: 400 12px var(--mono); transition: background-color .4s, color .4s, border-color .4s; }
.wizard-nav [aria-current="step"] .dot-n { background: var(--gold); border-color: transparent; }
.wizard-nav .done .dot-n { background: var(--ink); color: var(--champ); border-color: transparent; }
.wizard-main { flex: 999 1 520px; min-width: 0; }
.wizard-side { flex: 1 1 300px; max-width: 340px; min-width: 0; position: sticky; top: 92px; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 1100px) { .wizard-side { position: static; max-width: none; } .wizard-nav { position: static; max-width: none; } .wizard-nav ol { flex-direction: row; flex-wrap: wrap; } .wizard-nav li { flex: 1 1 140px; } }
.wz-step { display: none; flex-direction: column; gap: 22px; animation: toastIn .45s var(--glide) both; }
.wz-step.on { display: flex; }
.wz-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 8px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.photo-item { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #DEDAD1; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-item .ctl { position: absolute; inset: auto 6px 6px 6px; display: flex; justify-content: space-between; gap: 4px; opacity: 0; transition: opacity .2s; }
.photo-item:hover .ctl, .photo-item:focus-within .ctl { opacity: 1; }
@media (hover: none) { .photo-item .ctl { opacity: 1; } }
.photo-item .ctl button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(11, 11, 12, .72); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.photo-item .first { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 8px; background: var(--ink); color: var(--champ); font: 400 10px var(--mono); letter-spacing: .1em; }
.photo-drop { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; border: 1.5px dashed rgba(11, 11, 12, .3); background: var(--paper-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 10px; cursor: pointer; font-size: 13px; transition: border-color .2s, background-color .2s; }
.photo-drop:hover, .photo-drop.over { border-color: var(--ink); background: var(--paper); }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-busy { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(244, 241, 234, .8); font: 400 11px var(--mono); }
.shot-guide { display: flex; flex-wrap: wrap; gap: 6px; }
.shot-guide span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--ivory); }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.pkg { position: relative; text-align: left; border-radius: 22px; border: 1.5px solid var(--line); background: var(--paper); padding: 20px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.pkg input { position: absolute; opacity: 0; pointer-events: none; }
.pkg:has(input:checked) { border-color: var(--ink); background: var(--paper-2); box-shadow: 0 0 0 4px rgba(201, 160, 97, .25); }
.pkg.premium { background: var(--ink); color: var(--on-dark); }
.pkg.premium:has(input:checked) { border-color: var(--gold); background: var(--ink); }
.pkg:has(input:focus-visible) { outline: 2px solid var(--bronze); outline-offset: 3px; }
.pkg:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.addon { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; border-radius: 14px; background: var(--ivory); cursor: pointer; }
.addon:has(input:checked) { background: rgba(201, 160, 97, .16); }
.addon input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }

/* ---------- Händler / Admin (App-Rahmen) ---------- */
.shell { display: flex; flex-wrap: wrap; min-height: 100vh; }
.side { flex: 1 1 240px; max-width: 260px; min-width: 0; background: var(--ink); color: var(--on-dark); padding: 24px 16px; display: flex; flex-direction: column; gap: 22px; }
.side a { color: var(--on-dark); }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; border-radius: 12px; color: var(--on-dark-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.side-nav a:hover { background: #151517; color: var(--on-dark); }
.side-nav a[aria-current="page"] { background: #1C1C1F; color: var(--on-dark); }
.side-nav .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--champ); color: var(--ink); font: 500 11px/20px var(--mono); text-align: center; }
.side-card { padding: 16px; border-radius: 18px; border: 1px solid rgba(217, 183, 126, .35); display: flex; flex-direction: column; gap: 8px; }
.shell-main { flex: 999 1 640px; min-width: 0; padding: 28px clamp(16px, 3vw, 40px) 60px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 900px) { .side { max-width: none; flex-basis: 100%; padding: 16px; } .side-nav { flex-direction: row; flex-wrap: wrap; } .side-nav a { flex: 1 1 auto; } }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
.kpi { border-radius: 20px; background: var(--paper); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.kpi .val { font-family: var(--serif); font-size: 40px; line-height: 1; }
.kpi .lab { font-size: 12px; color: var(--muted); }
.kpi .sub { font: 400 11px var(--mono); color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 170px; border-bottom: 1px solid var(--line-2); }
.bars > span { flex: 1; border-radius: 5px 5px 0 0; background: rgba(11, 11, 12, .18); transform-origin: bottom; animation: grow .9s var(--glide) both; min-height: 2px; position: relative; }
.bars > span.hi { background: var(--gold); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.table-wrap { border-radius: 22px; background: var(--paper); border: 1px solid var(--line); overflow-x: auto; }
.table { min-width: 720px; }
.table th { text-align: left; font: 400 10px var(--mono); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; padding: 14px 12px; white-space: nowrap; }
.table th:first-child, .table td:first-child { padding-left: 18px; }
.table td { padding: 14px 12px; border-top: 1px solid rgba(11, 11, 12, .07); vertical-align: middle; font-size: 14px; }
.table tr:hover td { background: var(--paper-2); }
.table .num { white-space: nowrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.tabs a { min-height: 38px; padding: 0 14px; border-radius: 11px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 13px; font-weight: 500; }
.tabs a[aria-current="page"] { background: var(--ink); color: var(--ivory); }
.tabs .n { font-family: var(--mono); opacity: .7; }
.thread { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 80%; padding: 12px 14px; border-radius: 16px; background: var(--ivory); font-size: 14px; word-wrap: break-word; }
.msg .msg-body { white-space: pre-wrap; display: block; }
.msg.me { align-self: flex-end; background: var(--ink); color: var(--on-dark); }
.msg time { display: block; margin-top: 4px; font: 400 10px var(--mono); opacity: .6; }
.lead-item { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper-2); text-decoration: none; color: var(--ink); }
.lead-item.on { background: var(--paper); border-color: var(--ink); }
.lead-item.unread { border-left: 3px solid var(--gold); }

/* ---------- FAQ ---------- */
details.faq { border-top: 1px solid rgba(11, 11, 12, .12); padding: 22px 0; }
details.faq:last-of-type { border-bottom: 1px solid rgba(11, 11, 12, .12); }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq .plus { flex: none; font: 200 32px var(--sans); color: var(--bronze); transition: transform .35s var(--glide); }
details.faq[open] .plus { transform: rotate(45deg); }
details.faq p { margin-top: 14px; max-width: 700px; color: var(--text-3); font-weight: 300; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); }
.site-footer .wrap { padding-top: 80px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer nav a { text-decoration: none; color: var(--on-dark); }
.site-footer nav a:hover { color: var(--champ); }
.site-footer .legal { flex-basis: 100%; padding-top: 24px; border-top: 1px solid var(--line-dark); font: 400 12px var(--mono); letter-spacing: .08em; color: var(--muted-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Diverses ---------- */
@media (max-width: 600px) { .hide-sm { display: none !important; } }
.marquee-band { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 24px 0; overflow: hidden; }
.marquee { display: flex; width: max-content; gap: 56px; font-family: var(--serif); font-style: italic; font-size: clamp(40px, 5vw, 64px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(242, 239, 233, .35); white-space: nowrap; animation: marquee 46s linear infinite; }
.marquee .star { color: var(--champ); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
.empty { padding: 60px 30px; border-radius: 24px; border: 1px dashed rgba(11, 11, 12, .2); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.empty .serif { font-size: 32px; }
.demo-ribbon { background: var(--champ); color: var(--ink); text-align: center; font: 500 12px var(--mono); letter-spacing: .06em; padding: 8px 12px; }
.test-ribbon { background: var(--over); color: #fff; text-align: center; font: 500 12px var(--mono); letter-spacing: .06em; padding: 8px 12px; }
.breadcrumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs a { color: var(--muted); }
.kbd { font: 400 12px var(--mono); padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(242, 239, 233, .16); }
dialog.modal { border: 0; padding: 0; border-radius: 28px; width: min(560px, calc(100vw - 24px)); max-height: 90vh; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
dialog.modal.wide { width: min(980px, calc(100vw - 24px)); }
dialog.modal::backdrop { background: rgba(11, 11, 12, .55); backdrop-filter: blur(4px); }
dialog.modal[open] { animation: toastIn .35s var(--glide) both; }
.modal-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.progress { height: 6px; border-radius: 3px; background: rgba(11, 11, 12, .1); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--ink); border-radius: 3px; }

/* ---------- Scroll-Animationen ---------- */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 42%; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.gL { animation: gL 4.2s cubic-bezier(.6, .05, .3, 1) infinite; }
.gR { animation: gR 4.2s cubic-bezier(.6, .05, .3, 1) infinite; }
@keyframes gR { 0%, 22% { transform: none; opacity: 1; } 52% { transform: translate(125%, 8%) rotate(16deg); opacity: 0; } 53% { transform: scale(.9); opacity: 0; } 78%, 100% { transform: none; opacity: 1; } }
@keyframes gL { 0%, 22% { transform: none; opacity: 1; } 52% { transform: translate(-125%, 8%) rotate(-16deg); opacity: 0; } 53% { transform: scale(.9); opacity: 0; } 78%, 100% { transform: none; opacity: 1; } }
.gR .st, .gL .st { animation: stamp 4.2s ease infinite; }
.gL, .gL .st { animation-delay: 2.1s; }
@keyframes stamp { 0%, 18% { opacity: 0; transform: scale(1.3); } 32%, 46% { opacity: 1; transform: scale(1); } 52%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .w, .fade-in { opacity: 1 !important; }
  .draw, .check-anim circle, .check-anim path, .auth-car path { stroke-dashoffset: 0 !important; }
  .auth-car circle { opacity: 1 !important; }
}

@media print {
  .site-header, .site-footer, .buybox .btn, .fav-btn, .toasts { display: none !important; }
  body { background: #fff; }
}

/* ---------- Anmelden & Registrieren ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: calc(100vh - 76px); }
.auth-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(32px, 5vw, 72px); gap: 40px; }
.auth-glow { position: absolute; inset: auto -20% -40% -20%; height: 80%; background: radial-gradient(50% 50% at 50% 50%, rgba(217, 183, 126, .22), transparent 70%); filter: blur(10px); animation: glow 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { from { transform: translateX(-6%) scale(1); } to { transform: translateX(6%) scale(1.08); } }
.auth-quote { position: relative; max-width: 520px; }
.auth-car { width: min(420px, 90%); color: var(--champ); opacity: .85; position: relative; }
.auth-car path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: drawcar 2.6s cubic-bezier(.6, .05, .2, 1) .2s forwards; }
.auth-car circle { opacity: 0; animation: fadein .8s ease 1.8s forwards; }
@keyframes drawcar { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.auth-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--on-dark-2); font-size: 14px; position: relative; }
.auth-points li { display: flex; gap: 10px; align-items: center; }
.auth-points svg { color: var(--champ); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 6vw, 80px) var(--gutter); }
.auth-box { width: 100%; max-width: 460px; animation: rise .7s var(--glide) both; }
.auth-alt { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.label-strong { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 4px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.code-field .input { font: 500 28px var(--mono); letter-spacing: .3em; text-align: center; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* ---------- Mein Bereich ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
a.kpi { text-decoration: none; color: inherit; }
.my-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding: 14px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.my-thumb { flex: none; width: 168px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: radial-gradient(110% 90% at 50% 40%, #F1EEE7, #DEDAD1 80%); display: flex; align-items: center; justify-content: center; }
.my-thumb img { width: 100%; height: 100%; object-fit: cover; }
.my-thumb svg { width: 86%; }
.my-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-left: auto; }
details.more { position: relative; }
details.more summary { list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more .menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; padding: 6px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 30; display: flex; flex-direction: column; }
details.more .menu button, details.more .menu a { display: flex; width: 100%; min-height: 40px; align-items: center; padding: 0 12px; border: 0; border-radius: 10px; background: none; text-align: left; font: 400 14px var(--sans); color: var(--ink); cursor: pointer; text-decoration: none; }
details.more .menu button:hover, details.more .menu a:hover { background: var(--ivory); }
.qr-box { width: 220px; height: 220px; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.qr-box svg { width: 100%; height: 100%; }
.danger-zone[open] { border-color: rgba(164, 82, 28, .35); }
@media (max-width: 640px) { .my-thumb { width: 100%; } .my-actions { margin-left: 0; width: 100%; } }

/* ---------- Postfach ---------- */
.gap-0 { gap: 0; } .gap-2 { gap: 2px; } .gap-6 { gap: 6px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; max-width: 100%; }
.chip-sm { min-height: 32px; padding: 0 12px; font-size: 12px; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--champ); display: flex; align-items: center; justify-content: center; font: 400 20px var(--serif); }
.inbox-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.inbox-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, background-color .2s; }
.inbox-item:hover { border-color: var(--line-2); color: inherit; }
.inbox-item.unread { border-color: rgba(201, 160, 97, .7); box-shadow: inset 3px 0 0 var(--gold); }
.inbox-item.on { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.inbox-item.on .muted { color: var(--muted-dark); }
.inbox-item.on .tag { color: var(--on-dark); border-color: rgba(242, 239, 233, .25); }
.thread-day { display: flex; justify-content: center; margin: 6px 0; }
.thread-day span { font: 400 11px var(--mono); color: var(--muted); padding: 3px 10px; border-radius: 999px; background: var(--ivory); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.lead-car { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.dealer-inbox { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: start; }
.dealer-inbox .inbox-list { max-height: 75vh; overflow-y: auto; padding-right: 4px; }
.reply .textarea { min-height: 90px; padding: 12px 14px; }
@media (max-width: 960px) { .lead-grid, .dealer-inbox { grid-template-columns: 1fr; } .dealer-inbox .inbox-list { max-height: 300px; } }

/* ---------- Inserat-Assistent ---------- */
.wizard:not(.wz-js) .wz-step { display: flex; margin-bottom: 48px; }
.wizard:not(.wz-js) .wz-foot [data-go] { display: none; }
.body-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.body-opt { position: relative; cursor: pointer; }
.body-opt input { position: absolute; opacity: 0; pointer-events: none; }
.body-opt > span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px 10px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--paper); font-size: 13px; font-weight: 500; transition: border-color .2s, background-color .2s, color .2s; }
.body-opt svg { width: 100%; height: 34px; color: var(--muted); transition: color .2s; }
.body-opt:hover > span { border-color: var(--ink); }
.body-opt input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.body-opt input:checked + span svg { color: var(--champ); }
.body-opt input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.seg-wrap { display: flex; flex-wrap: wrap; }
.seg-wrap label { flex: 1 1 auto; }
.eq { position: relative; cursor: pointer; }
.eq input { position: absolute; opacity: 0; pointer-events: none; }
.eq span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font-size: 13px; transition: background-color .2s, color .2s, border-color .2s; }
.eq span::before { content: "+"; margin-right: 6px; font-family: var(--mono); color: var(--muted); }
.eq input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.eq input:checked + span::before { content: "✓"; color: var(--champ); }
.eq input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.price-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: stretch; }
.price-row > .field { flex: 1 1 240px; }
.pc-live { flex: 1 1 300px; min-height: 120px; }
.pc-bar { position: relative; height: 10px; border-radius: 6px; background: rgba(11, 11, 12, .08); margin: 8px 0 4px; }
.pc-bar .band { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, rgba(201, 160, 97, .55), rgba(201, 160, 97, .9)); transition: left .5s var(--glide), width .5s var(--glide); }
.pc-bar .dot { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 3px solid var(--paper); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); transition: left .5s var(--glide); }
.pc-bar .dot-good { background: var(--good); } .pc-bar .dot-fair { background: var(--gold); } .pc-bar .dot-over { background: var(--over); }
.q-bar { height: 8px; border-radius: 5px; background: rgba(11, 11, 12, .08); overflow: hidden; }
.q-bar span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--bronze), var(--champ)); transition: width .8s var(--glide); }
.preview-card { pointer-events: none; }
.preview-card:hover { transform: none; box-shadow: none; }
.upload-progress { display: flex; align-items: center; gap: 12px; }
.upload-progress .bar { flex: 1; height: 6px; border-radius: 4px; background: rgba(11, 11, 12, .08); overflow: hidden; }
.upload-progress .bar span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.photo-item.dragging { opacity: .4; }
.photo-item { cursor: grab; }
.pub-sum { padding: 18px 20px; border-radius: 20px; background: var(--ivory); }
.addon.covered { opacity: .45; cursor: not-allowed; }
.addon.covered::after { content: "im Paket enthalten"; font: 400 11px var(--mono); color: var(--muted); }
.addon.covered .mono { display: none; }
.missing:empty { display: none; }
.wz-step h2:focus { outline: none; }

/* ---------- Händlerbereich ---------- */
.flashes { display: flex; flex-direction: column; gap: 8px; }
.shell-main > .flashes { margin: 0; }
.legend { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.stock-table td { vertical-align: middle; }
.stock-table .my-thumb { aspect-ratio: 4 / 3; }
.logo-preview { width: 88px; height: 88px; border-radius: 22px; background: var(--ivory); overflow: hidden; display: flex; align-items: center; justify-content: center; flex: none; border: 1px solid var(--line); }
.logo-preview img { width: 100%; height: 100%; object-fit: cover; }
.logo-preview .serif { font-size: 44px; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); transition: transform .4s var(--glide), box-shadow .4s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card.featured { border: 1.5px solid rgba(201, 160, 97, .8); box-shadow: 0 0 0 5px rgba(201, 160, 97, .12); }
.plan-card.current { background: var(--paper-2); }
.plan-card .btn { margin-top: auto; }
.plan-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.plan-feats li { display: flex; gap: 10px; }
.plan-feats li::before { content: "✓"; color: var(--bronze); font-family: var(--mono); }
.side .link-btn:hover { color: var(--champ) !important; }

/* ---------- Superadmin ---------- */
.chk { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.chk.ok { background: var(--ink); color: var(--champ); border-color: var(--ink); }
.input-unit { display: flex; align-items: center; border: 1px solid rgba(11, 11, 12, .18); border-radius: 14px; background: var(--paper); overflow: hidden; }
.input-unit:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201, 160, 97, .25); }
.input-unit .input { border: 0; box-shadow: none !important; min-height: 46px; }
.input-unit span { padding: 0 12px; font: 400 12px var(--mono); color: var(--muted); white-space: nowrap; }
.input-unit span:empty { display: none; }
.code-row { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: var(--champ); flex-wrap: wrap; }
.code-row code { font: 400 13px var(--mono); flex: 1 1 300px; }
.code-row .btn-line { color: var(--on-dark); border-color: rgba(242, 239, 233, .3); }
legend.h4 { font-family: var(--serif); }

/* ---------- Feinschliff nach Prüfung ---------- */
@media (max-width: 480px) {
  .logo .serif { font-size: 25px; }
  .header-actions .btn-sm { padding: 0 12px; }
  .header-actions .lbl-long { display: none; }
}
@media (min-width: 481px) { .header-actions .lbl-short { display: none; } }
.success-box .btn-line { color: var(--on-dark); border-color: rgba(242, 239, 233, .3); }
.success-box .btn-line:hover { border-color: var(--on-dark); color: var(--on-dark); }
.table-wrap { max-width: 100%; }
.table td.mono, .table td .mono { white-space: nowrap; }
.filters { mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); padding-bottom: 28px; }
.flash a { color: inherit; }
.flash > span { display: block; }
@media (max-width: 900px) {
  .shell { flex-direction: column; flex-wrap: nowrap; }
  .side { position: sticky; top: 0; z-index: 40; padding: 10px 12px; gap: 8px; max-width: none; flex: none; }
  .side > :not(.side-nav):not(:first-child):not(:last-child) { display: none; }
  .side > :last-child { flex-direction: row !important; flex-wrap: wrap; gap: 4px 14px !important; margin-top: 0 !important; font-size: 12px; }
  .side-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 4px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-nav a { flex: none; min-height: 40px; white-space: nowrap; }
  .shell-main { padding: 18px 16px 48px; flex: 1 1 auto; }
}
@media (max-width: 700px) {
  .stock-table thead { display: none; }
  .stock-table, .stock-table tbody, .stock-table tr, .stock-table td { display: block; width: 100%; }
  .stock-table tr { padding: 12px 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; }
  .stock-table td { padding: 0 !important; border: 0 !important; }
  .stock-table td:first-child { grid-column: 1 / -1; }
  .stock-table td.center { display: none; }
  .stock-table td:last-child { grid-column: 1 / -1; }
  .stock-table td:last-child .row { justify-content: flex-start !important; }
  .resp-table thead { display: none; }
  .resp-table, .resp-table tbody, .resp-table tr, .resp-table td { display: block; width: 100%; }
  .resp-table tr { padding: 12px 14px; border-top: 1px solid var(--line); }
  .resp-table td { padding: 2px 0 !important; border: 0 !important; text-align: left !important; }
  .resp-table td[data-l]::before { content: attr(data-l) ": "; color: var(--muted); font: 400 12px var(--sans); }
}
.flash { display: block; }
.bullet { flex-wrap: nowrap; } .bullet > span:first-child { flex: none; }
.car-seller { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0 4px; line-height: 1.4; } .car-seller .verified { display: inline-flex; align-items: center; gap: 4px; font-size: inherit; }
.unread-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); vertical-align: 2px; margin-left: 4px; }
section.dark, .hero { overflow-x: clip; }
@media (max-width: 900px) { .auth { min-height: 0; } .auth-main { align-items: flex-start; padding-top: 28px; } }
@media (max-width: 700px) { .stock-table .tiny.mono { white-space: normal; } .stock-table td:first-child .row { flex-wrap: nowrap; } }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr 1fr; } .kpi .val { font-size: 32px; } .kpi { padding: 14px; } }
.site-footer .muted { color: var(--muted-dark); }
