/* =====================================================================
   event-dj-sven.de – Relaunch-Design
   Layout des ersten Entwurfs, Farben: Anthrazit + Champagner-Gold.
   Farbschema über <html data-theme="hybrid|hell|dunkel"> (im Cockpit einstellbar):
   Abschnitte tragen .tone-dark oder .tone-light – das Schema entscheidet,
   welche Palette sie tatsächlich bekommen.
   Schrift: Poppins, lokal gehostet (keine Verbindung zu Google).
   ===================================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/poppins-regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/poppins-medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/poppins-bold.woff") format("woff"); }

:root {
    --champagne: #c8a96a;
    --champagne-strong: #d8bc80;
    --ink: #1c1b19;
    --radius: 20px;
    --radius-sm: 12px;
    --maxw: 1200px;
    --font-head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --header-h: 72px;
}

/* Paletten */
.tone-dark, .pal-dark {
    --bg: #111113; --alt: #16161a; --surface: #19191c; --input: #0e0e10;
    --line: #2a2a30; --line-2: #3a3a42; --acc-line: #4a4232; --acc-surface: #1f1c15;
    --text: #f1ede5; --text-2: #ddd7cd; --muted: #c2bcb2; --muted-2: #a9a39a;
    --btn-bg: var(--champagne); --btn-text: var(--ink); --acc-text: var(--champagne);
    --ok-bg: #17241b; --ok-line: #2f5a3b; --ok-text: #a6e3b5; --err: #f2b8a0;
    --hdr: rgba(17, 17, 19, .9);
    color-scheme: dark;
}
.tone-light, .pal-light {
    --bg: #f7f4ee; --alt: #efeae1; --surface: #ffffff; --input: #ffffff;
    --line: #e2dbcf; --line-2: #c9c0b1; --acc-line: #d8c9a6; --acc-surface: #f4eddd;
    --text: #1c1b19; --text-2: #2e2c29; --muted: #4f4b45; --muted-2: #6b665e;
    --btn-bg: #1c1b19; --btn-text: #f7f4ee; --acc-text: #7d6228;
    --ok-bg: #e6f2e8; --ok-line: #9ccba6; --ok-text: #1e5b2c; --err: #a33a1f;
    --hdr: rgba(247, 244, 238, .92);
    color-scheme: light;
}
/* Schema "hell": auch dunkle Abschnitte werden hell */
html[data-theme="hell"] .tone-dark {
    --bg: #f7f4ee; --alt: #efeae1; --surface: #ffffff; --input: #ffffff;
    --line: #e2dbcf; --line-2: #c9c0b1; --acc-line: #d8c9a6; --acc-surface: #f4eddd;
    --text: #1c1b19; --text-2: #2e2c29; --muted: #4f4b45; --muted-2: #6b665e;
    --btn-bg: #1c1b19; --btn-text: #f7f4ee; --acc-text: #7d6228;
    --ok-bg: #e6f2e8; --ok-line: #9ccba6; --ok-text: #1e5b2c; --err: #a33a1f;
    --hdr: rgba(247, 244, 238, .92);
    color-scheme: light;
}
/* Schema "dunkel": auch helle Abschnitte werden dunkel */
html[data-theme="dunkel"] .tone-light {
    --bg: #111113; --alt: #16161a; --surface: #19191c; --input: #0e0e10;
    --line: #2a2a30; --line-2: #3a3a42; --acc-line: #4a4232; --acc-surface: #1f1c15;
    --text: #f1ede5; --text-2: #ddd7cd; --muted: #c2bcb2; --muted-2: #a9a39a;
    --btn-bg: var(--champagne); --btn-text: var(--ink); --acc-text: var(--champagne);
    --ok-bg: #17241b; --ok-line: #2f5a3b; --ok-text: #a6e3b5; --err: #f2b8a0;
    --hdr: rgba(17, 17, 19, .9);
    color-scheme: dark;
}

/* ---------- Grundlagen ---------- */
.tone-dark, .tone-light { color: var(--text); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--champagne); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sec { background: var(--bg); color: var(--text); }
.sec-alt { background: var(--alt); }
.sec-pad { padding: 96px 0; }
.sec-pad-sm { padding: 56px 0; }
.bordered { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow { display: block; font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acc-text); margin-bottom: 10px; }
.h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
.h3 { font-size: 1.35rem; font-weight: 700; }
.accent { color: var(--acc-text); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted-2); }
.small { font-size: .85rem; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head .h2 { max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 14px 28px; border-radius: 999px;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; border: 1px solid transparent;
    transition: filter .15s, background .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--acc-text); color: var(--acc-text); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.link-arrow { font-family: var(--font-head); font-weight: 700; color: var(--acc-text); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.link-arrow:hover { text-decoration: underline; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Kopfleiste ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--hdr); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; text-decoration: none; color: var(--text); white-space: nowrap; }
.brand span { color: var(--acc-text); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--text); padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--acc-text); border-bottom-color: var(--acc-text); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; }
.header-phone:hover { color: var(--acc-text); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); align-items: center; justify-content: center; cursor: pointer; }

/* ---------- Startseite: Hero ---------- */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.hero-text .lead { margin: 0; }
.rating-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--acc-line); border-radius: 999px; font-size: .9rem; color: var(--text-2); text-decoration: none; }
.stars { color: var(--acc-text); letter-spacing: 2px; }

.check-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.check-card h2 { font-size: 1.35rem; }
.check-head { display: flex; gap: 14px; align-items: center; }
.icon-tile { width: 46px; height: 46px; border-radius: 12px; background: var(--acc-surface); color: var(--acc-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm);
    border: 1px solid var(--line-2); background: var(--input); color: var(--text); font: inherit; font-size: 16px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--acc-text); box-shadow: 0 0 0 3px rgba(200, 169, 106, .22); }
.fields-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.check-result { border-radius: 14px; padding: 14px 16px; font-size: .95rem; display: none; }
.check-result.is-ok { display: block; background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok-text); }
.check-result.is-busy { display: block; background: var(--acc-surface); border: 1px solid var(--acc-line); color: var(--text); }
.check-result a { color: inherit; font-weight: 700; }
.check-note { font-size: .82rem; color: var(--muted-2); margin: 0; }

/* ---------- Vertrauensleiste ---------- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.trust div { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; font-weight: 600; font-size: .95rem; }
.trust svg { color: var(--acc-text); flex-shrink: 0; }

/* ---------- Karten & Raster ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s; }
.tile:hover { border-color: var(--acc-line); }
.tile h3 { font-size: 1.3rem; }
.tile p { margin: 0; color: var(--muted); }
.tile svg.ico { color: var(--acc-text); }
a.tile { text-decoration: none; color: var(--text); }
.tile .tile-link { margin-top: auto; padding-top: 6px; color: var(--acc-text); font-weight: 700; font-family: var(--font-head); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split-img img { width: 100%; border-radius: 24px; display: block; object-fit: cover; }
.split-img figcaption { font-size: .8rem; color: var(--muted-2); margin-top: 8px; }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; background: currentColor; color: var(--acc-text);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .92rem; color: var(--text-2); background: transparent; text-decoration: none; font-family: inherit; cursor: pointer; }
.chip.is-hl, .chip[aria-pressed="true"] { border-color: var(--acc-text); color: var(--acc-text); }
button.chip:hover, a.chip:hover { border-color: var(--acc-text); }

/* ---------- Pakete ---------- */
.pkg { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.pkg.is-best { border: 2px solid var(--champagne); padding: 27px; background: var(--acc-surface); }
.pkg-badge { position: absolute; top: -13px; left: 24px; background: var(--champagne); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; font-family: var(--font-head); }
.pkg-sub { font-size: .85rem; font-weight: 600; color: var(--muted-2); }
.pkg h3 { font-size: 1.5rem; }
.pkg-price { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--acc-text); }
.pkg-desc { color: var(--muted); font-size: .95rem; margin: 4px 0 0; }
.pkg-feat { list-style: none; margin: 12px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.pkg-feat li { color: var(--text-2) !important; }
.pkg-feat p { margin: 0 0 8px; color: var(--text-2) !important; text-align: left !important; }
.pkg .btn { margin-top: auto; }
.pkg-foot { margin-top: 16px; }
.footnote { font-size: .85rem; color: var(--muted-2); margin-top: 16px; }

/* ---------- Bewertungen ---------- */
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; font-size: 1.05rem; line-height: 1.65; color: var(--text-2); }
.review figcaption { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.review figcaption span { color: var(--acc-text); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Referenzen / Locations ---------- */
.loc-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.loc-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); }
.loc-card .ph { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--alt); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted-2); }
.loc-card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
a.loc-card:hover .ph img { transform: scale(1.04); }
.loc-card strong { font-family: var(--font-head); font-size: 1.05rem; }
.loc-card small { color: var(--muted-2); display: block; margin-top: -6px; }
.loc-card .more { color: var(--acc-text); font-weight: 700; font-size: .9rem; }
.loc-card[hidden] { display: none; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; counter-increment: s; }
.steps li::before { content: counter(s); width: 38px; height: 38px; border-radius: 50%; background: var(--acc-surface); color: var(--acc-text); display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-head); }
.steps strong { font-family: var(--font-head); font-size: 1.05rem; }
.steps span { color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* ---------- FAQ (aufklappbar ohne JavaScript) ---------- */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; min-height: 60px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-right: 2px solid var(--acc-text); border-bottom: 2px solid var(--acc-text); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Abschluss-Aufruf ---------- */
.cta-box { background: var(--acc-surface); border: 1px solid var(--acc-line); border-radius: 28px; padding: 64px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-box .lead { margin: 0; }
.cta-box .btn-row { justify-content: center; margin-top: 8px; }

/* ---------- Seitenkopf der Unterseiten ---------- */
.page-hero { padding: 72px 0 56px; }
.crumbs { font-size: .88rem; color: var(--muted-2); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--acc-text); }
.page-hero .h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 860px; }
.page-hero .lead { margin-top: 18px; }
.page-hero .btn-row { margin-top: 26px; }

.prose { max-width: 760px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose h3 { margin: 28px 0 10px; font-size: 1.25rem; }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; padding: 56px 0 32px; }
.footer-grid h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--text-2); }
.footer-grid a:hover { color: var(--acc-text); }
.footer-grid p { color: var(--muted); font-size: .95rem; }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0 28px; font-size: .85rem; color: var(--muted-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Schnellleiste unten (Handy) ---------- */
.mobile-bar { display: none; }

/* =====================================================================
   BESTANDSSEITEN (Anfrage, Ablaufplaner, Vertragsdetails, Referenzen-Städte …)
   Diese Seiten haben noch viele feste Farben im Code und laufen deshalb
   immer in der dunklen Palette (body.legacy). Hier die alten Klassen im neuen Stil.
   ===================================================================== */
body.legacy main#inhalt { background: var(--bg); color: var(--text); padding-bottom: 40px; }
body.legacy .container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
body.legacy .section-padding { padding: 80px 0; }
body.legacy .text-center { text-align: center; }
body.legacy .highlight, body.legacy .text-gold { color: var(--champagne); }
body.legacy .grid { display: grid; gap: 32px; }
body.legacy .grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
body.legacy .grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); align-items: start; }
body.legacy .card, body.legacy .usp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
body.legacy .page-title, body.legacy .page-header { padding: 64px 0 36px; text-align: center; }
body.legacy .page-title h1, body.legacy .page-header h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 0 0 10px; }
body.legacy .page-title p, body.legacy .page-header p { color: var(--muted); margin: 0; }
body.legacy .section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 20px; }
body.legacy h1, body.legacy h2, body.legacy h3 { margin-bottom: .5em; }
body.legacy h2 { margin-top: 1.2em; }
body.legacy .btn-main, body.legacy .btn-outline, body.legacy .btn-white {
    display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 30px; border-radius: 999px;
    font-family: var(--font-head); font-weight: 700; text-decoration: none; cursor: pointer; font-size: 1rem; border: 1px solid transparent; transition: filter .15s;
}
body.legacy .btn-main { background: var(--champagne); color: var(--ink); }
body.legacy .btn-main:hover { filter: brightness(1.08); }
body.legacy .btn-outline, body.legacy .btn-white { border-color: var(--line-2); color: var(--text); background: transparent; }
body.legacy .btn-outline:hover, body.legacy .btn-white:hover { border-color: var(--champagne); color: var(--champagne); }
body.legacy input, body.legacy select, body.legacy textarea { font-size: 16px; }
body.legacy .form-control { border-radius: 12px !important; }
body.legacy a:not([class]) { color: var(--champagne); }

/* =====================================================================
   RESPONSIV
   ===================================================================== */
@media (max-width: 1080px) {
    .main-nav ul { gap: 18px; }
    .header-phone .num { display: none; }
}
@media (max-width: 960px) {
    .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .menu-toggle { display: inline-flex; }
    .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { display: flex; min-height: 52px; align-items: center; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .header-actions .btn { display: none; }
}
@media (max-width: 640px) {
    body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
    .wrap, body.legacy .container { padding: 0 18px; }
    .sec-pad { padding: 64px 0; }
    .hero { padding: 48px 0 48px; }
    .page-hero { padding: 48px 0 36px; }
    .check-card { padding: 22px; }
    .fields-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .cta-box { padding: 44px 20px; }
    .header-phone { display: none; }
    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
        background: var(--hdr); border-top: 1px solid var(--line);
        backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    }
    .mobile-bar .btn { min-height: 50px; padding: 10px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
