/* ============ Tokens ============ */
:root {
  --bg: #0e1114;
  --surface: #151a1e;
  --surface-2: #1b2227;
  --line: #262e34;
  --line-strong: #36414a;
  --gold: #c8a875;
  --gold-hi: #e1c99f;
  --text: #f2f0ea;
  --muted: #9aa4aa;
  --danger: #e08a82;
  --ok: #8fcf9f;
  --radius: 10px;
  --radius-sm: 6px;
  --gutter: clamp(18px, 5vw, 40px);
  --header-h: 72px;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased;
}
body.menu-open, body.modal-open { overflow: hidden; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #15191c; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ============ Typografie ============ */
.eyebrow { font: 700 12px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #c9cfd2; margin-bottom: 16px; }
.eyebrow.gold { color: var(--gold); }
h2 { font-size: clamp(28px, 4vw, 42px); }
.lead { color: var(--muted); margin-top: 16px; }

/* ============ Buttons ============ */
.btn {
  min-height: 48px; padding: 12px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; line-height: 1.2;
  text-align: center; transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #15191c; }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-outline { border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-dark { background: #12171a; color: #fff; }
.btn-dark:hover { background: #000; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; gap: 8px; font-weight: 600; font-size: 15px; color: var(--gold-hi); padding-bottom: 4px; border-bottom: 1px solid var(--gold); }
.link-arrow:hover { color: #fff; }

/* ============ Header ============ */
.header { position: sticky; top: 0; z-index: 50; background: rgba(14,17,20,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { overflow: hidden; height: 44px; width: auto; max-width: 70px; object-fit: contain; }
.brand-text { font: 800 13px/1.2 var(--font-head); letter-spacing: .1em; white-space: nowrap; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; color: #b4bcc1; transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: var(--surface); }
.nav a[aria-current="page"] { color: var(--gold-hi); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.lang-btn { border: 0; background: transparent; color: var(--muted); font: 700 12px/1 var(--font-body); letter-spacing: .06em; padding: 8px 9px; min-width: 34px; border-radius: 6px; transition: .2s; }
.lang-btn:hover { color: #fff; }
.lang-btn[aria-pressed="true"] { background: var(--gold); color: #15191c; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; position: relative; }
.bars, .bars::before, .bars::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.bars { top: 21px; left: 12px; right: 12px; }
.bars::before { top: -6px; left: 0; right: 0; }
.bars::after { top: 6px; left: 0; right: 0; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative; display: flex; align-items: center; min-height: min(78vh, 720px); padding-block: 96px;
  background: #182127;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,12,15,.95), rgba(8,12,15,.72) 50%, rgba(8,12,15,.25)); }
.hero-content { position: relative; }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); letter-spacing: -.035em; max-width: 12.5em; margin-bottom: 22px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold-hi); }
.hero-text { max-width: 520px; color: #d4d9db; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.75; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-values { margin-top: 44px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #aab3b8; padding-left: 52px; position: relative; }
.hero-values::before { content: ""; position: absolute; left: 0; top: 50%; width: 38px; height: 1px; background: var(--gold); }

/* ============ Intro / Features ============ */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 110px); align-items: start; }
.intro h2 { max-width: 14em; }
.intro-copy { display: grid; gap: 26px; justify-items: start; color: var(--muted); font-size: 17px; line-height: 1.8; }
.features { background: var(--surface); border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.feature { padding: 44px 32px 44px 0; }
.feature + .feature { padding-left: 32px; border-left: 1px solid var(--line); }
.feature-number { display: block; color: var(--gold); font: 700 14px var(--font-head); letter-spacing: .1em; margin-bottom: 16px; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }

/* ============ Fahrzeuge ============ */
.car-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.car-card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s; }
.car-card:hover { border-color: #7a6b50; transform: translateY(-3px); }
.car-image { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #20282d; aspect-ratio: 4 / 3; overflow: hidden; }
.car-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.car-card:hover .car-image img { transform: scale(1.04); }
.no-photo { display: grid; place-items: center; width: 100%; height: 100%; color: var(--muted); font-size: 14px; background: repeating-linear-gradient(135deg, #1b2227, #1b2227 12px, #20282d 12px, #20282d 24px); }
.photo-count { position: absolute; right: 10px; bottom: 10px; padding: 4px 10px; border-radius: 99px; background: rgba(0,0,0,.65); font-size: 12px; font-weight: 600; }
.car-info { display: flex; flex-direction: column; gap: 12px; padding: 22px; flex: 1; }
.car-info h3 { font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.car-price { font: 700 22px var(--font-head); color: var(--gold-hi); letter-spacing: -.01em; }
.car-meta { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.car-meta li { padding: 4px 10px; background: var(--surface-2); border-radius: 99px; font-size: 13px; color: #c3cace; }
.car-desc { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.car-info .btn { margin-top: auto; }
.empty-state { padding: 56px 24px; text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.empty-state h3 { color: var(--text); font-size: 20px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 32px; }
.toolbar .search { flex: 1 1 260px; }
.toolbar .sort { flex: 0 1 220px; }
.stock-count { color: var(--muted); font-size: 14px; margin-left: auto; }

/* ============ CTA / Banner ============ */
.cta { background: var(--gold); color: #15191c; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 64px; }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; }
.cta p { color: #3d3626; }
.page-banner { padding-block: clamp(56px, 9vw, 96px); background: radial-gradient(900px 300px at 85% 0%, rgba(200,168,117,.12), transparent), linear-gradient(120deg, #1a2227, #0f1417); border-bottom: 1px solid var(--line); }
.page-banner h1 { font-size: clamp(36px, 6vw, 60px); margin-bottom: 14px; letter-spacing: -.03em; }
.banner-text { color: var(--muted); font-size: 17px; }

/* ============ Formulare / Karten ============ */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); min-width: 0; }
.card h2 { font-size: 26px; margin-bottom: 24px; }
label { display: block; margin-bottom: 18px; }
label > span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: #dfe3e4; }
input, textarea, select {
  width: 100%; min-height: 48px; padding: 12px 14px; background: #0f1316; color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 16px; /* 16px verhindert Zoom auf iOS */
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
select option { background: #151a1e; color: var(--text); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,168,117,.18); }
input:user-invalid, textarea:user-invalid { border-color: var(--danger); }
input::placeholder, textarea::placeholder { color: #66727a; }
input[type="file"] { padding: 10px; min-height: 0; }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 4px; background: var(--surface-2); color: var(--text); cursor: pointer; }
textarea { resize: vertical; min-height: 110px; }
label small { display: block; margin-top: 8px; font-size: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-status { min-height: 24px; margin-top: 14px; font-size: 14px; }
.form-status[data-kind="ok"] { color: var(--ok); }
.form-status[data-kind="error"] { color: var(--danger); }

/* ============ Kontakt ============ */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 7vw, 88px); align-items: start; }
.contact-info h2 { max-width: 12em; }
.contact-list { list-style: none; margin: 32px 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ico { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--gold); font-size: 18px; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.contact-list a, .contact-list p { font-size: 16px; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-hi); }
.business-card { margin: 36px 0 0; }
.business-card img { width: 100%; max-width: 440px; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.business-card figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ============ Dialog ============ */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(5,8,10,.78); backdrop-filter: blur(4px); overflow-y: auto; }
.modal { position: relative; width: min(100%, 960px); max-height: calc(100dvh - 48px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.modal-close { position: sticky; top: 12px; float: right; margin: 12px 12px -56px 0; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(14,17,20,.85); font-size: 26px; line-height: 1; }
.modal-close:hover { border-color: var(--gold); color: var(--gold-hi); }
.modal-body { display: grid; grid-template-columns: 1.05fr 1fr; clear: both; }
.gallery { background: #0f1316; align-self: start; }
.gallery.no-photo { aspect-ratio: 4 / 3; }
.gallery-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.thumb { flex: 0 0 68px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; opacity: .65; }
.thumb[aria-pressed="true"] { border-color: var(--gold); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-side { padding: 32px; min-width: 0; }
.modal-side h2 { font-size: 26px; margin: 0 40px 8px 0; overflow-wrap: anywhere; }
.spec-list { margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.spec-list > div { background: var(--surface-2); padding: 10px 14px; }
.spec-list dt { font-size: 12px; color: var(--muted); }
.spec-list dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; }
.modal-desc { color: var(--muted); font-size: 15px; margin-bottom: 8px; white-space: pre-line; overflow-wrap: anywhere; }
.modal-side form { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.modal-side form h3 { font-size: 17px; margin-bottom: 18px; }

/* ============ Admin ============ */
.admin-main { padding-block: 24px; }
.login { width: min(100% - 2 * var(--gutter), 440px); margin: clamp(40px, 10vh, 100px) auto; }
.login h1 { font-size: 30px; margin-bottom: 10px; }
.login form { margin-top: 26px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.dash-head h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stat span { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.stat strong { font: 800 34px var(--font-head); color: var(--gold-hi); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.subhead { font-size: 20px; margin: 36px 0 8px; padding-top: 28px; border-top: 1px solid var(--line); }
.list { display: grid; }
.managed-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.managed-thumb { flex: 0 0 64px; height: 48px; border-radius: 6px; object-fit: cover; background: var(--surface-2); }
.managed-text { flex: 1; min-width: 0; display: grid; }
.managed-text strong { overflow-wrap: anywhere; }
.managed-text small { color: var(--muted); }
.btn-danger { background: transparent; color: var(--danger); border: 1px solid #5d3b38; border-radius: var(--radius-sm); padding: 8px 14px; font-size: 14px; min-height: 40px; }
.btn-danger:hover { background: rgba(224,138,130,.1); }
.request-item { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; overflow-wrap: anywhere; font-size: 15px; }
.request-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.request-item p { color: #c3cace; }
.request-item a { color: var(--gold-hi); }
.request-text { white-space: pre-line; }
.request-item small { color: var(--muted); }

.field-group { margin-bottom: 18px; }
.field-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: #dfe3e4; }
.dropzone { display: grid; justify-items: center; gap: 6px; margin: 0; padding: 26px 18px; text-align: center; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: #0f1316; cursor: pointer; transition: .2s; }
.dropzone:hover, .dropzone.drag, .dropzone:focus-within { border-color: var(--gold); background: rgba(200,168,117,.06); }
.drop-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--gold); font-size: 24px; line-height: 1; }
.dropzone strong { font-size: 15px; }
.dropzone small { margin: 0; color: var(--muted); font-size: 13px; }
.photo-count-line { margin-top: 10px; font-size: 13px; }
.previews { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.previews:empty { display: none; }
.preview { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface-2); }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.cover-badge, .make-cover { position: absolute; left: 6px; bottom: 6px; padding: 3px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; border: 0; }
.cover-badge { background: var(--gold); color: #15191c; }
.make-cover { background: rgba(0,0,0,.7); color: #fff; }
.make-cover:hover { background: var(--gold); color: #15191c; }
.remove-photo { position: absolute; right: 6px; top: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.72); color: #fff; font-size: 18px; line-height: 1; }
.remove-photo:hover { background: var(--danger); color: #15191c; }

/* ============ Footer ============ */
.footer { background: #0a0d0f; border-top: 1px solid var(--line); margin-top: auto; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; padding-block: 36px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 40px; height: 40px; object-fit: contain; }
.footer-brand strong { display: block; font: 800 13px var(--font-head); letter-spacing: .1em; }
.footer-brand small { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-links a { color: var(--muted); font-size: 14px; padding: 6px 0; }
.footer-links a:hover { color: var(--gold-hi); }
.footer-copy { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); color: #6f7a80; font-size: 13px; }

/* ============ Tablet ============ */
@media (max-width: 1000px) {
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid { grid-template-columns: 1fr; }
  .modal-body { grid-template-columns: 1fr; }
  .gallery-main { aspect-ratio: 16 / 10; }
}

/* ============ Mobil ============ */
@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header-inner { gap: 12px; }
  .brand { margin-right: auto; }
  .brand-logo { height: 40px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 12px var(--gutter) 32px; flex-direction: column; gap: 0;
    background: var(--bg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s; overflow-y: auto;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 18px 4px; font-size: 20px; font-family: var(--font-head); font-weight: 600; color: #fff; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:hover { background: transparent; }
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 26px 0; border-left: 0; }
  .feature + .feature { border-top: 1px solid var(--line); }
  .contact-layout { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: stretch; text-align: left; padding-block: 48px; }
  .cta-inner .btn { width: 100%; }
  .hero { min-height: 0; padding-block: 72px 64px; background-position: 65% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(8,12,15,.82), rgba(8,12,15,.9)); }
  .hero-buttons .btn { flex: 1 1 100%; }
  .hero-values { margin-top: 36px; }
}
@media (max-width: 640px) {
  .brand-text { display: none; }
  .car-grid { grid-template-columns: 1fr; gap: 20px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .toolbar .search, .toolbar .sort { flex: 1 1 100%; }
  .stock-count { margin-left: 0; }
  .stats { gap: 10px; }
  .stat { padding: 16px 14px; }
  .stat strong { font-size: 26px; }
  .dash-head { flex-direction: column; align-items: stretch; }
  .modal-backdrop { padding: 0; place-items: end stretch; }
  .modal { max-height: 94dvh; border-radius: 16px 16px 0 0; width: 100%; }
  .modal-side { padding: 22px 18px 28px; }
  .footer-inner { grid-template-columns: 1fr; }
  .request-head { flex-direction: column; }
}
@media (max-width: 360px) {
  .lang-btn { min-width: 30px; padding: 8px 6px; }
  .spec-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
