:root {
  --blue: #1769d2;
  --blue-700: #0f55b4;
  --blue-900: #0a376f;
  --cyan: #48a8ff;
  --graphite: #101821;
  --graphite-2: #19232e;
  --ink: #16202b;
  --muted: #607083;
  --line: #dce3ea;
  --surface: #f5f7fa;
  --surface-2: #edf2f7;
  --white: #fff;
  --green: #17864b;
  --red: #ba2737;
  --amber: #9b6500;
  --shadow-sm: 0 8px 24px rgba(15, 32, 50, .08);
  --shadow: 0 18px 48px rgba(15, 32, 50, .14);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --header-height: 82px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--blue-900); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(23, 105, 210, .45); outline-offset: 3px; }
::selection { background: rgba(23,105,210,.18); }

.skip-link {
  position: fixed; z-index: 9999; left: 16px; top: -80px;
  padding: 12px 18px; border-radius: 10px; background: var(--white); color: var(--ink);
  box-shadow: var(--shadow); transition: top .2s;
}
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 860px); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-dark { background: var(--graphite); color: var(--white); }
.section-soft { background: var(--surface); }
.section-blue { background: linear-gradient(135deg, var(--blue-900), var(--blue)); color: var(--white); }
.eyebrow {
  margin: 0 0 10px; color: var(--blue); font-size: .78rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
.section-dark .eyebrow, .section-blue .eyebrow { color: #9fd2ff; }
h1,h2,h3,h4 { margin: 0 0 .55em; line-height: 1.13; letter-spacing: -.025em; }
h1 { font-size: clamp(2.45rem, 5vw, 5.1rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin: 0 0 1rem; }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.section-dark .lead, .section-blue .lead { color: #d9e6f3; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-head > div { max-width: 780px; }
.kicker-line { width: 74px; height: 5px; border-radius: 999px; background: var(--blue); margin-bottom: 20px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.placeholder { color: #8f1e2a; font-weight: 700; background: #fff0f2; border: 1px dashed #df8892; border-radius: 8px; padding: 2px 7px; }
.inline-list { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0; margin: 0; list-style: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(16,24,33,.96); color: var(--white); backdrop-filter: blur(16px); box-shadow: 0 6px 26px rgba(0,0,0,.14); }
.top-strip { background: #0b1219; border-bottom: 1px solid rgba(255,255,255,.08); }
.top-strip-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .82rem; }
.top-strip a { color: #e5edf5; text-decoration: none; }
.top-links { display: flex; align-items: center; gap: 18px; }
.brand-row { min-height: var(--header-height); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); min-width: 210px; }
.brand img { width: 174px; height: auto; border-radius: 9px; }
.main-nav { justify-self: center; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 6px; padding: 0; margin: 0; }
.main-nav a { display: flex; align-items: center; min-height: 46px; padding: 10px 12px; border-radius: 10px; color: #eef5fc; text-decoration: none; font-weight: 660; font-size: .94rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { color: var(--white); text-decoration: none; font-weight: 800; white-space: nowrap; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--white); }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.open-status.is-open .status-dot { background: #41d477; box-shadow: 0 0 0 4px rgba(65,212,119,.15); }
.open-status.is-closed .status-dot { background: #ff6673; box-shadow: 0 0 0 4px rgba(255,102,115,.13); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; text-decoration: none; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px rgba(23,105,210,.24); }
.btn-primary:hover { background: var(--blue-700); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { color: var(--blue-900); border-color: #a9bdd1; }
.btn-dark { background: var(--graphite); color: var(--white); }
.btn-dark:hover { background: #263545; color: var(--white); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.38); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--white); }
.btn-link { min-height: 44px; padding-inline: 0; color: var(--blue); background: none; border: 0; }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 9px 14px; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Hero */
.hero { position: relative; min-height: 710px; display: grid; align-items: center; overflow: hidden; background: var(--graphite); color: var(--white); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .72; }
.hero::after { content:""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,13,20,.96) 0%, rgba(7,13,20,.79) 42%, rgba(7,13,20,.24) 75%, rgba(7,13,20,.05) 100%), linear-gradient(0deg, rgba(7,13,20,.38), transparent 55%); }
.hero-inner { position: relative; z-index: 1; padding: 92px 0 110px; }
.hero-copy { max-width: 760px; }
.hero .eyebrow { color: #9fd2ff; }
.hero h1 { max-width: 930px; text-shadow: 0 3px 24px rgba(0,0,0,.28); }
.hero .lead { max-width: 690px; color: #e2ebf4; font-size: clamp(1.08rem, 1.7vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 50px; max-width: 1050px; }
.hero-trust-item { min-height: 92px; padding: 17px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(8,15,23,.56); backdrop-filter: blur(10px); }
.hero-trust-item strong { display: block; font-size: 1.08rem; }
.hero-trust-item span { color: #c8d6e4; font-size: .88rem; }
.hero-search-wrap { position: relative; z-index: 4; margin-top: -74px; }
.search-panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border: 1px solid rgba(221,228,235,.85); }
.search-panel h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.search-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.search-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* Forms */
.form-field { display: grid; gap: 7px; }
.form-field label, .form-label { font-weight: 760; font-size: .91rem; }
.form-field input, .form-field select, .form-field textarea,
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 13px; border: 1px solid #bdc9d5; border-radius: 10px; background: var(--white); color: var(--ink);
}
.form-field textarea, .textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23,105,210,.12); outline: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.form-span-2 { grid-column: 1 / -1; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.field-help { color: var(--muted); font-size: .82rem; }
.required { color: var(--red); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form-message { display: none; margin-top: 18px; padding: 15px 17px; border-radius: 12px; font-weight: 700; }
.form-message.is-visible { display: block; }
.form-message.is-info { background: #edf6ff; color: #0c4e8f; border: 1px solid #add4f6; }
.form-message.is-error { background: #fff0f2; color: #8f1e2a; border: 1px solid #efafb7; }
.form-message.is-success { background: #eaf8ef; color: #146b3d; border: 1px solid #a8dec0; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.card-body { padding: 24px; }
.icon-card { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.icon-badge { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: #eaf3ff; color: var(--blue); margin-bottom: 18px; }
.icon-badge svg { width: 26px; height: 26px; }
.service-card { position: relative; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-card::before { content:""; position:absolute; inset:0 auto 0 0; width:4px; background:var(--blue); }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); color: #354455; font-size: .78rem; font-weight: 800; }
.tag-blue { background: #e7f2ff; color: #0c58a6; }
.tag-green { background: #e7f7ee; color: #166b3e; }
.tag-red { background: #fff0f2; color: #982131; }
.badge-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* Vehicles */
.vehicle-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.vehicle-card { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.vehicle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vehicle-media { position: relative; aspect-ratio: 4 / 3; background: #dfe6ed; overflow: hidden; }
.vehicle-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.vehicle-card:hover .vehicle-media img { transform: scale(1.035); }
.vehicle-status { position: absolute; top: 14px; left: 14px; }
.vehicle-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.vehicle-type { margin-bottom: 8px; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.vehicle-title { font-size: 1.42rem; margin-bottom: 8px; }
.vehicle-subtitle { color: var(--muted); min-height: 48px; }
.vehicle-specs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 20px 0; }
.spec { min-width: 0; padding: 10px 11px; border-radius: 10px; background: var(--surface); }
.spec span { display: block; color: var(--muted); font-size: .75rem; }
.spec strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.vehicle-price { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); }
.vehicle-price span { display: block; color: var(--muted); font-size: .78rem; }
.vehicle-price strong { font-size: 1.25rem; }
.vehicle-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.inventory-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 34px; align-items: start; }
.filter-panel { position: sticky; top: 142px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.filter-panel h2 { font-size: 1.35rem; }
.filter-grid { display: grid; gap: 15px; }
.filter-toggle { display: none; }
.inventory-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.result-count { font-size: 1.25rem; font-weight: 850; }
.no-results { display: none; padding: 40px; border: 1px dashed #9baaba; border-radius: var(--radius); text-align: center; background: var(--surface); }
.no-results.is-visible { display: block; }
.sync-note { display: flex; gap: 12px; align-items: flex-start; padding: 15px 18px; border-radius: 12px; background: #edf6ff; border: 1px solid #bedcf8; color: #114d83; margin-bottom: 24px; }

/* Detail */
.breadcrumbs { font-size: .9rem; color: var(--muted); padding: 20px 0; }
.breadcrumbs a { color: inherit; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(330px,.65fr); gap: 34px; align-items: start; }
.gallery-main { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--blue); }
.gallery-thumbs img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.detail-sidebar { position: sticky; top: 142px; }
.detail-card { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.detail-price { font-size: 1.55rem; font-weight: 900; }
.detail-specs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.detail-spec { padding: 16px; border-radius: 12px; background: var(--surface); }
.detail-spec span { display: block; color: var(--muted); font-size: .78rem; }
.detail-spec strong { display: block; }
.feature-list { columns: 2; column-gap: 30px; padding-left: 1.2rem; }
.feature-list li { break-inside: avoid; margin-bottom: 8px; }

/* Page hero */
.page-hero { position: relative; padding: 86px 0; color: var(--white); background: linear-gradient(130deg, #0f1822, #183755); overflow: hidden; }
.page-hero::after { content:""; position:absolute; inset:auto -10% -65% auto; width:520px; height:520px; border-radius:50%; background:rgba(23,105,210,.22); filter: blur(20px); }
.page-hero-inner { position: relative; z-index:1; display:grid; grid-template-columns: minmax(0,1fr) 430px; gap:50px; align-items:center; }
.page-hero-image { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow); border:1px solid rgba(255,255,255,.12); }
.page-hero-image img { width:100%; height:100%; object-fit:cover; }
.page-hero .lead { color:#d9e5ef; }

/* Reviews */
.rating-box { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--graphite); color: var(--white); }
.rating-number { font-size: 3rem; line-height:1; font-weight:900; }
.stars { color: #f3ba31; letter-spacing: .12em; }
.review-theme { padding: 22px; border-radius: var(--radius); border:1px solid var(--line); background:var(--white); }
.review-placeholder { padding: 28px; border: 1px dashed #9faebb; border-radius: var(--radius); background: var(--surface); }
.quote-card { position:relative; padding:26px; border-radius:var(--radius); background:var(--white); border:1px solid var(--line); }
.quote-card::before { content:"“"; position:absolute; right:20px; top:3px; font-size:4.5rem; color:#dcecff; font-family:Georgia,serif; line-height:1; }

/* Contact/location */
.contact-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 34px; }
.contact-card { padding: 26px; border-radius: var(--radius); border:1px solid var(--line); background:var(--white); }
.contact-list { list-style:none; padding:0; margin:0; display:grid; gap:15px; }
.contact-list li { display:grid; grid-template-columns:38px 1fr; gap:12px; align-items:start; }
.contact-list svg { width:24px; height:24px; color:var(--blue); }
.map-card { min-height: 410px; position:relative; display:flex; align-items:end; overflow:hidden; border-radius:var(--radius); background: linear-gradient(135deg,#dce6ef,#f5f8fb); border:1px solid var(--line); }
.map-card::before, .map-card::after { content:""; position:absolute; background:#c4d1dc; transform:rotate(-18deg); }
.map-card::before { width:150%; height:56px; left:-25%; top:44%; }
.map-card::after { width:56px; height:150%; top:-25%; left:48%; }
.map-pin { position:absolute; z-index:2; left:52%; top:38%; width:54px; height:54px; border-radius:50% 50% 50% 0; transform:rotate(-45deg); background:var(--blue); box-shadow:0 12px 24px rgba(23,105,210,.35); }
.map-pin::after { content:""; position:absolute; width:18px; height:18px; border-radius:50%; background:#fff; left:18px; top:18px; }
.map-overlay { position:relative; z-index:3; width:100%; margin:20px; padding:22px; border-radius:14px; background:rgba(255,255,255,.94); box-shadow:var(--shadow-sm); }
.hours-list { list-style:none; padding:0; margin:0; }
.hours-list li { display:flex; justify-content:space-between; gap:18px; padding:8px 0; border-bottom:1px solid var(--line); }
.hours-list li:last-child { border-bottom:0; }
.hours-list .today { color:var(--blue-900); font-weight:850; }

/* Multi step */
.stepper { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:26px; }
.step { display:flex; gap:11px; align-items:center; padding:14px; border-radius:12px; background:var(--surface); color:var(--muted); }
.step-index { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; background:#dce4ec; color:#4b5967; font-weight:850; }
.step.is-active { background:#eaf3ff; color:var(--blue-900); }
.step.is-active .step-index, .step.is-complete .step-index { background:var(--blue); color:var(--white); }
.step-panel { display:none; }
.step-panel.is-active { display:block; animation:fade-up .3s var(--ease); }
.step-controls { display:flex; justify-content:space-between; gap:12px; margin-top:26px; }
.progress-bar { height:5px; border-radius:999px; background:#dfe6ed; overflow:hidden; margin:18px 0 28px; }
.progress-bar span { display:block; height:100%; width:33.33%; background:var(--blue); transition:width .25s; }

/* Accordion / team */
.accordion { border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--white); }
.accordion details + details { border-top:1px solid var(--line); }
.accordion summary { list-style:none; display:flex; justify-content:space-between; align-items:center; min-height:64px; padding:17px 22px; font-weight:850; cursor:pointer; }
.accordion summary::-webkit-details-marker { display:none; }
.accordion summary::after { content:"+"; font-size:1.5rem; color:var(--blue); }
.accordion details[open] summary { background:#eaf3ff; color:var(--blue-900); }
.accordion details[open] summary::after { content:"−"; }
.accordion-content { padding:0 22px 22px; }
.team-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.team-card { display:grid; grid-template-columns:130px 1fr; gap:18px; padding:18px; border-radius:14px; background:var(--surface); }
.team-photo { aspect-ratio:1; border-radius:12px; display:grid; place-items:center; background:#dce5ed; color:#637487; font-weight:850; text-align:center; padding:10px; }

/* CTA */
.cta-band { position:relative; overflow:hidden; border-radius:var(--radius-lg); padding:54px; color:var(--white); background:linear-gradient(125deg,var(--blue-900),var(--blue)); box-shadow:var(--shadow); }
.cta-band::after { content:""; position:absolute; width:320px; height:320px; border:1px solid rgba(255,255,255,.2); border-radius:50%; right:-90px; top:-120px; box-shadow:0 0 0 45px rgba(255,255,255,.05),0 0 0 90px rgba(255,255,255,.03); }
.cta-band > * { position:relative; z-index:1; }
.cta-band .lead { color:#e6f2ff; }

/* Footer */
.site-footer { background:#0b1219; color:#dce6ef; padding:70px 0 100px; }
.footer-grid { display:grid; grid-template-columns:1.25fr repeat(4,minmax(0,1fr)); gap:36px; }
.footer-brand img { width:210px; border-radius:10px; margin-bottom:18px; }
.footer-title { color:var(--white); font-size:1rem; margin-bottom:16px; }
.footer-links { list-style:none; padding:0; margin:0; display:grid; gap:9px; }
.footer-links a { color:#c9d5df; text-decoration:none; }
.footer-links a:hover { color:var(--white); }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:42px; padding-top:24px; border-top:1px solid rgba(255,255,255,.1); color:#95a5b5; font-size:.86rem; }

/* Mobile bar */
.mobile-contact-bar { display:none; position:fixed; z-index:1100; left:0; right:0; bottom:0; grid-template-columns:repeat(3,1fr); background:#fff; box-shadow:0 -6px 22px rgba(15,32,50,.16); padding-bottom:env(safe-area-inset-bottom); }
.mobile-contact-bar a { min-height:62px; display:grid; place-items:center; gap:2px; padding:8px; text-decoration:none; color:var(--ink); font-size:.78rem; font-weight:850; border-right:1px solid var(--line); }
.mobile-contact-bar a:last-child { border-right:0; background:var(--blue); color:var(--white); }
.mobile-contact-bar svg { width:20px; height:20px; }

/* Manager */
.manager-shell { min-height:100vh; background:#eef3f8; }
.manager-header { position:sticky; top:0; z-index:30; min-height:70px; background:var(--graphite); color:#fff; display:flex; align-items:center; justify-content:space-between; padding:0 24px; }
.manager-layout { display:grid; grid-template-columns:250px minmax(0,1fr); min-height:calc(100vh - 70px); }
.manager-sidebar { background:#fff; border-right:1px solid var(--line); padding:22px 16px; }
.manager-nav { list-style:none; padding:0; margin:0; display:grid; gap:5px; }
.manager-nav a { display:flex; gap:10px; align-items:center; padding:12px 14px; border-radius:10px; color:var(--ink); text-decoration:none; font-weight:750; }
.manager-nav a:hover, .manager-nav a[aria-current="page"] { background:#eaf3ff; color:var(--blue-900); }
.manager-main { padding:30px; }
.stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.stat-card { padding:22px; border-radius:var(--radius); background:#fff; border:1px solid var(--line); }
.stat-card strong { display:block; font-size:2rem; }
.data-table-wrap { overflow:auto; border:1px solid var(--line); border-radius:var(--radius); background:#fff; }
.data-table { width:100%; border-collapse:collapse; min-width:880px; }
.data-table th,.data-table td { padding:14px 15px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.data-table th { background:#f4f7fa; font-size:.82rem; text-transform:uppercase; letter-spacing:.04em; }
.manager-banner { margin-bottom:20px; padding:15px 18px; border-radius:12px; background:#fff6dc; border:1px solid #efcf70; color:#714e00; }
.login-page { min-height:100vh; display:grid; grid-template-columns:minmax(0,1fr) minmax(420px,.7fr); background:#edf2f7; }
.login-visual { position:relative; min-height:100vh; overflow:hidden; }
.login-visual img { width:100%; height:100%; object-fit:cover; }
.login-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(120deg,rgba(6,13,20,.7),rgba(6,13,20,.25)); }
.login-copy { position:absolute; z-index:2; left:8%; bottom:8%; max-width:600px; color:#fff; }
.login-form-wrap { display:grid; place-items:center; padding:40px; }
.login-card { width:min(100%,470px); padding:36px; border-radius:var(--radius-lg); background:#fff; box-shadow:var(--shadow); }

/* Cookie modal */
.cookie-banner { display:none; position:fixed; z-index:2000; left:20px; right:20px; bottom:20px; max-width:850px; margin:auto; padding:22px; border-radius:16px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow); }
.cookie-banner.is-visible { display:block; }
.cookie-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }

/* Utility */
.notice { padding:18px 20px; border-radius:14px; background:#fff6dd; border:1px solid #efcf79; color:#6b4d00; }
.notice-blue { background:#edf6ff; border-color:#b7daf6; color:#104d83; }
.notice-red { background:#fff0f2; border-color:#f0b0b7; color:#8d1e2a; }
.separator { height:1px; background:var(--line); margin:28px 0; }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.reveal { opacity:0; transform:translateY(20px); transition:opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.is-visible { opacity:1; transform:none; }
@keyframes fade-up { from { opacity:0; transform:translateY(10px);} to {opacity:1; transform:none;} }

@media (max-width: 1120px) {
  .main-nav { position:fixed; inset:120px 0 0; padding:18px 20px 100px; background:var(--graphite); transform:translateX(100%); transition:transform .25s var(--ease); overflow:auto; }
  .main-nav.is-open { transform:none; }
  .main-nav ul { display:grid; align-content:start; gap:6px; }
  .main-nav a { min-height:54px; padding:14px 16px; font-size:1.02rem; }
  .menu-toggle { display:block; }
  .header-actions .btn, .header-phone { display:none; }
  .brand-row { grid-template-columns:auto 1fr auto; }
  .brand-row .header-actions { justify-self:end; }
  .hero-trust { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .vehicle-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns:1.2fr repeat(2,minmax(0,1fr)); }
  .page-hero-inner { grid-template-columns:minmax(0,1fr) 360px; }
  .stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  :root { --header-height:70px; }
  .container,.narrow { width:min(calc(100% - 28px),var(--container)); }
  .section { padding:66px 0; }
  .section-sm { padding:42px 0; }
  .top-strip .top-links { display:none; }
  .top-strip-inner { justify-content:center; min-height:34px; }
  .brand img { width:156px; }
  .hero { min-height:720px; }
  .hero-bg { object-position:center; }
  .hero::after { background:linear-gradient(90deg,rgba(7,13,20,.92),rgba(7,13,20,.68)),linear-gradient(0deg,rgba(7,13,20,.48),transparent 55%); }
  .hero-inner { padding:70px 0 120px; }
  .hero-trust { grid-template-columns:1fr 1fr; }
  .hero-search-wrap { margin-top:-54px; }
  .search-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .grid-3,.grid-2 { grid-template-columns:1fr; }
  .contact-layout,.detail-layout,.page-hero-inner { grid-template-columns:1fr; }
  .page-hero-image { max-width:620px; }
  .detail-sidebar,.filter-panel { position:static; }
  .inventory-layout { grid-template-columns:1fr; }
  .filter-toggle { display:flex; margin-bottom:14px; }
  .filter-panel { display:none; }
  .filter-panel.is-open { display:block; animation:fade-up .25s var(--ease); }
  .detail-specs { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .form-grid,.form-grid-3 { grid-template-columns:1fr; }
  .form-span-2 { grid-column:auto; }
  .feature-list { columns:1; }
  .team-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
  .mobile-contact-bar { display:grid; }
  .site-footer { padding-bottom:105px; }
  .manager-layout { grid-template-columns:1fr; }
  .manager-sidebar { display:none; }
  .manager-main { padding:20px; }
  .login-page { grid-template-columns:1fr; }
  .login-visual { min-height:330px; }
  .login-form-wrap { padding:24px 16px 60px; }
}

@media (max-width: 590px) {
  h1 { font-size:clamp(2.2rem,12vw,3.35rem); }
  h2 { font-size:clamp(1.8rem,9vw,2.65rem); }
  .brand { min-width:0; }
  .brand img { width:136px; }
  .hero { min-height:760px; }
  .hero-actions .btn { width:100%; }
  .hero-trust { grid-template-columns:1fr; }
  .hero-trust-item { min-height:auto; }
  .search-grid { grid-template-columns:1fr; }
  .search-panel { padding:20px; }
  .search-actions { flex-direction:column; }
  .search-actions .btn { width:100%; }
  .section-head { align-items:flex-start; flex-direction:column; }
  .vehicle-grid,.grid-4 { grid-template-columns:1fr; }
  .vehicle-actions { grid-template-columns:1fr; }
  .inventory-toolbar { align-items:flex-start; flex-direction:column; }
  .gallery-thumbs { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .detail-specs { grid-template-columns:1fr 1fr; }
  .cta-band { padding:34px 24px; }
  .cta-band .actions .btn { width:100%; }
  .stepper { grid-template-columns:1fr; }
  .step { padding:10px 12px; }
  .team-card { grid-template-columns:1fr; }
  .team-photo { max-width:140px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-brand { grid-column:auto; }
  .footer-bottom { flex-direction:column; }
  .stat-grid { grid-template-columns:1fr; }
  .manager-main { padding:16px; }
  .form-card,.detail-card,.login-card { padding:22px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.001ms!important; animation-iteration-count:1!important; transition-duration:.001ms!important; }
  .reveal { opacity:1; transform:none; }
}

/* Header width safeguards */
@media (max-width: 1500px) and (min-width: 1121px) {
  .brand-row { gap: 18px; }
  .brand { min-width: 180px; }
  .brand img { width: 158px; }
  .main-nav ul { gap: 2px; }
  .main-nav a { padding: 9px 8px; font-size: .86rem; }
  .header-phone { display: none; }
}

@media (max-width: 1120px) {
  .main-nav {
    inset: 120px 0 0;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    transform: translateX(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .main-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.placeholder { overflow-wrap: anywhere; }
@media (max-width: 1120px) {
  .main-nav { transform: none; }
}
.sync-note > svg { width: 26px; height: 26px; flex: 0 0 auto; }

/* Prevent intrinsic content from widening responsive grid tracks */
.grid > *,
.contact-layout > *,
.detail-layout > *,
.inventory-layout > *,
.page-hero-inner > *,
.manager-layout > *,
.manager-main,
.form-card,
.contact-card,
.accordion,
.detail-spec,
.vehicle-card { min-width: 0; }
.detail-spec strong,
.contact-card,
.accordion-content,
.notice,
.form-card { overflow-wrap: anywhere; }
.data-table-wrap { max-width: 100%; }

@media (max-width: 820px) {
  .open-status { white-space: normal; align-items: flex-start; }
  .open-status .status-dot { margin-top: .38em; flex: 0 0 auto; }
  .top-strip .open-status { white-space: nowrap; align-items: center; font-size: .78rem; }
  .top-strip .open-status .status-dot { margin-top: 0; }
}
h1, h2, h3, h4 { overflow-wrap: anywhere; hyphens: auto; }


/* ==========================================================
   Startseite 2.0 und großflächiges mobiles Navigationspanel
   ========================================================== */

/* Mobile navigation: tall drawer from the right, with visible page links */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 990;
  border: 0;
  background: rgba(3, 9, 15, .64);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease), visibility .25s;
  backdrop-filter: blur(3px);
}
.nav-scrim.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* New automotive homepage */
.home-page { background: #f4f7fa; }
.home-page .site-header { box-shadow: none; }
.home-hero {
  position: relative;
  min-height: clamp(650px, calc(100svh - 120px), 790px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #08111a;
}
.home-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  transform: scale(1.015);
  filter: saturate(.96) contrast(1.04);
}
.home-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 10, 17, .94) 0%, rgba(4, 10, 17, .78) 35%, rgba(4, 10, 17, .24) 70%, rgba(4, 10, 17, .12) 100%),
    linear-gradient(0deg, rgba(4, 10, 17, .88) 0%, rgba(4, 10, 17, .04) 52%, rgba(4, 10, 17, .22) 100%);
}
.home-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 460px;
  height: 460px;
  left: -210px;
  top: 4%;
  border-radius: 50%;
  border: 1px solid rgba(83, 169, 255, .22);
  box-shadow: 0 0 0 70px rgba(36, 123, 226, .045), 0 0 0 140px rgba(36, 123, 226, .025);
  pointer-events: none;
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 84px 0 172px;
}
.home-hero-copy { max-width: 790px; }
.home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #dcecff;
  font-size: .83rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home-hero-kicker::before { content:""; width: 54px; height: 3px; border-radius: 999px; background: #4ba6ff; }
.home-hero h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 6.35vw, 6.7rem);
  line-height: .96;
  letter-spacing: -.055em;
  text-shadow: 0 8px 38px rgba(0,0,0,.28);
}
.home-hero-lead {
  max-width: 690px;
  margin-bottom: 0;
  color: #e2ebf4;
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
}
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.home-hero-primary { min-width: 210px; }
.btn-hero-outline {
  background: rgba(5, 12, 20, .36);
  color: #fff;
  border-color: rgba(255,255,255,.58);
  backdrop-filter: blur(8px);
}
.btn-hero-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.home-hero-text-link { min-height: 48px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; color: #fff; font-weight: 800; text-decoration: none; }
.home-hero-text-link:hover { color: #b9dcff; }
.home-hero-facts {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1.05fr 1fr .95fr;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: rgba(7, 15, 24, .82);
  box-shadow: 0 -16px 50px rgba(0,0,0,.2);
  backdrop-filter: blur(18px);
}
.home-hero-fact { min-width: 0; padding: 22px 26px; border-right: 1px solid rgba(255,255,255,.12); }
.home-hero-fact:last-child { border-right: 0; }
.home-hero-fact > span:last-child { display: block; margin-top: 4px; color: #b9c8d7; font-size: .83rem; }
.home-hero-fact strong { display: block; color: #fff; font-size: 1.08rem; overflow-wrap: anywhere; }
.home-hero-fact strong a { color: #fff; text-decoration: none; }
.home-fact-label { display: block; margin-bottom: 5px; color: #73baff; font-size: .72rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.home-hero-fact .open-status { white-space: normal; }

.home-search-section { position: relative; z-index: 5; padding: 34px 0 18px; background: #f4f7fa; }
.home-search-panel { padding: 28px 30px 24px; border-radius: 20px; box-shadow: 0 18px 52px rgba(17, 41, 66, .12); }
.home-search-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; }
.home-search-head h2 { max-width: 760px; margin-bottom: 0; font-size: clamp(1.75rem, 3vw, 2.75rem); }
.home-advanced-link { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-700); font-weight: 850; text-decoration: none; }
.home-search-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr 1fr; gap: 14px; }
.home-search-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; }
.home-search-actions p { margin: 0; color: var(--muted); font-size: .92rem; }
.home-search-actions p a { font-weight: 800; }
.search-submit { min-width: 245px; min-height: 56px; justify-content: space-between; padding: 8px 9px 8px 22px; border-radius: 14px; }
.search-submit-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.16); }
.search-submit-icon svg { width: 22px; height: 22px; }
.home-feed-note { margin: 14px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: #7a8795; font-size: .78rem; }

.home-paths { background: #f4f7fa; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.home-section-heading h2 { margin-bottom: 0; font-size: clamp(2rem, 3.5vw, 3.45rem); }
.home-section-heading > p { max-width: 330px; margin: 0; color: var(--muted); text-align: right; }
.home-path-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.home-path-card {
  position: relative;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 9px 28px rgba(15,32,50,.055);
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s, background .22s;
}
.home-path-card::after { content:""; position:absolute; right:-34px; bottom:-34px; width:92px; height:92px; border-radius:50%; border:1px solid rgba(23,105,210,.14); box-shadow:0 0 0 22px rgba(23,105,210,.035); }
.home-path-card:hover { transform: translateY(-5px); border-color: #a8c8e8; box-shadow: 0 18px 42px rgba(15, 68, 120, .12); color: var(--ink); }
.home-path-card h3 { margin-top: 26px; margin-bottom: 11px; font-size: 1.25rem; }
.home-path-card p { margin-bottom: 20px; color: var(--muted); font-size: .91rem; }
.home-path-number { color: var(--blue); font-size: .76rem; font-weight: 900; letter-spacing: .12em; }
.home-path-link { margin-top: auto; color: var(--blue-700); font-weight: 850; font-size: .9rem; }

.home-showcase { padding: 82px 0; background: #0b141d; color: #fff; }
.home-showcase-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 54px; align-items: center; }
.home-showcase-copy { max-width: 520px; }
.home-showcase-copy h2 { font-size: clamp(2.55rem, 4.5vw, 4.9rem); }
.home-showcase-copy p:not(.eyebrow) { color: #cbd8e4; font-size: 1.05rem; }
.home-showcase-links { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.home-image-mosaic { min-width: 0; display: grid; grid-template-columns: 1.45fr .8fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 530px; }
.home-image-mosaic figure { min-width: 0; min-height: 0; margin: 0; overflow: hidden; border-radius: 16px; background: #172532; }
.home-image-mosaic .home-image-main { grid-row: 1 / 3; }
.home-image-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease), filter .55s var(--ease); }
.home-image-main img { object-position: center 46%; }
.home-image-mosaic figure:hover img { transform: scale(1.035); filter: contrast(1.04); }

.home-closing { background: #f4f7fa; }
.home-closing-card { display: flex; justify-content: space-between; align-items: center; gap: 34px; padding: 38px 42px; overflow: hidden; border-radius: 22px; color: #fff; background: linear-gradient(120deg, #092e5d 0%, #1769d2 72%, #3089ed 100%); box-shadow: 0 18px 44px rgba(23,105,210,.22); }
.home-closing-card h2 { margin-bottom: 9px; font-size: clamp(1.9rem, 3.2vw, 3.25rem); }
.home-closing-card p:not(.eyebrow) { margin: 0; color: #dbeaff; }
.home-closing-card .eyebrow { color: #b9ddff; }
.home-closing-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; max-width: 520px; }
.home-closing-phone { min-height: 48px; display: inline-flex; align-items: center; padding: 10px 8px; color: #fff; font-size: 1.05rem; font-weight: 900; text-decoration: none; }

@media (max-width: 1120px) {
  .main-nav {
    top: calc(var(--header-height) + 38px);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(91vw, 420px);
    max-width: 420px;
    min-height: calc(100dvh - var(--header-height) - 38px);
    padding: 22px 18px calc(106px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-left: 1px solid rgba(255,255,255,.1);
    background: linear-gradient(180deg, #131f2b 0%, #0b141d 100%);
    box-shadow: -24px 0 60px rgba(0,0,0,.28);
    transform: translateX(102%);
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: transform .28s var(--ease);
  }
  .main-nav.is-open { transform: translateX(0); pointer-events: auto; }
  .main-nav ul { display: grid; align-content: start; gap: 7px; }
  .main-nav ul::before {
    content: "Navigation";
    display: block;
    padding: 4px 14px 13px;
    color: #75baff;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  .main-nav li { width: 100%; }
  .main-nav a {
    width: 100%;
    min-height: 58px;
    justify-content: space-between;
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    font-size: 1.01rem;
  }
  .main-nav a::after { content: "→"; color: #6fb5fa; font-size: 1.15rem; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { background: rgba(40,130,229,.19); border-color: rgba(103,177,255,.24); }

  .home-hero-facts { grid-template-columns: 1fr 1fr; }
  .home-hero-fact-contact { display: none; }
  .home-search-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-path-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .home-showcase-grid { gap: 34px; }
}

@media (max-width: 820px) {
  .main-nav {
    top: calc(var(--header-height) + 34px);
    min-height: calc(100dvh - var(--header-height) - 34px);
  }
  .home-hero { min-height: 690px; }
  .home-hero-image { object-position: 38% center; }
  .home-hero-shade { background: linear-gradient(90deg, rgba(4,10,17,.92), rgba(4,10,17,.52)), linear-gradient(0deg, rgba(4,10,17,.9), rgba(4,10,17,.08) 64%); }
  .home-hero-inner { padding: 70px 0 188px; }
  .home-hero h1 { font-size: clamp(3rem, 11vw, 5.2rem); }
  .home-hero-facts { width: calc(100% - 28px); grid-template-columns: 1fr 1fr; }
  .home-hero-fact { padding: 18px 18px; }
  .home-search-section { padding-top: 20px; }
  .home-search-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .home-advanced-link { min-height: 38px; }
  .home-search-actions { align-items: stretch; flex-direction: column; gap: 15px; }
  .search-submit { width: 100%; min-width: 0; }
  .home-path-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-showcase-grid { grid-template-columns: 1fr; }
  .home-showcase-copy { max-width: 680px; }
  .home-image-mosaic { height: 480px; }
  .home-closing-card { align-items: flex-start; flex-direction: column; padding: 34px 30px; }
  .home-closing-actions { justify-content: flex-start; }
}

@media (max-width: 590px) {
  .home-hero { min-height: 660px; }
  .home-hero-inner { padding: 56px 0 208px; }
  .home-hero-kicker { font-size: .69rem; letter-spacing: .1em; }
  .home-hero-kicker::before { width: 32px; }
  .home-hero h1 { font-size: clamp(2.75rem, 13.5vw, 4rem); }
  .home-hero-lead { max-width: 94%; font-size: 1rem; }
  .home-hero-actions { align-items: stretch; flex-direction: column; gap: 9px; }
  .home-hero-actions .btn { width: 100%; }
  .home-hero-text-link { justify-content: center; }
  .home-hero-facts { grid-template-columns: 1fr; border-radius: 15px 15px 0 0; }
  .home-hero-fact { padding: 14px 17px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .home-hero-fact:nth-child(2) { border-bottom: 0; }
  .home-hero-fact > span:last-child { display: none; }
  .home-hero-fact strong { font-size: .98rem; }
  .home-fact-label { margin-bottom: 3px; font-size: .64rem; }
  .home-search-panel { padding: 22px 20px 20px; }
  .home-search-head h2 { font-size: 1.85rem; }
  .home-search-grid { grid-template-columns: 1fr; gap: 13px; }
  .home-search-panel .form-field input, .home-search-panel .form-field select { min-height: 52px; }
  .home-search-actions p { font-size: .86rem; }
  .search-submit { min-height: 58px; padding-left: 18px; }
  .search-submit-icon { width: 42px; height: 42px; }
  .home-feed-note { font-size: .72rem; }
  .home-section-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .home-section-heading > p { text-align: left; }
  .home-path-grid { grid-template-columns: 1fr; }
  .home-path-card { min-height: 194px; }
  .home-showcase { padding: 64px 0; }
  .home-showcase-copy h2 { font-size: 2.7rem; }
  .home-image-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr .75fr; height: 455px; }
  .home-image-mosaic .home-image-main { grid-column: 1 / 3; grid-row: 1; }
  .home-closing-card { padding: 30px 24px; }
  .home-closing-actions { width: 100%; }
  .home-closing-actions .btn { width: 100%; }
  .home-closing-phone { width: 100%; justify-content: center; }
}

/* Homepage content remains readable even when JavaScript or observers are unavailable. */
.home-page .reveal { opacity: 1; transform: none; }

@media (max-width: 590px) {
  .home-search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .home-search-panel .form-field { gap: 5px; }
  .home-search-panel .form-field label { font-size: .78rem; }
  .home-search-panel .form-field input,
  .home-search-panel .form-field select { min-height: 49px; padding: 10px 9px; font-size: .9rem; }

  .home-path-grid {
    display: flex;
    gap: 12px;
    margin-right: -14px;
    padding-right: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #9bb5cf transparent;
  }
  .home-path-card {
    flex: 0 0 min(79vw, 300px);
    min-height: 205px;
    scroll-snap-align: start;
  }

  .home-page .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .home-page .footer-brand { grid-column: 1 / -1; }
  .home-page .footer-links { gap: 7px; font-size: .86rem; }
}

@media (max-width: 360px) {
  .home-search-grid { grid-template-columns: 1fr; }
  .home-page .footer-grid { grid-template-columns: 1fr; }
  .home-page .footer-brand { grid-column: auto; }
}

/* Prevent the closed off-canvas navigation from widening the mobile document. */
html { overflow-x: clip; }
.site-header { max-width: 100vw; }
@supports not (overflow: clip) {
  html { overflow-x: hidden; }
}

@media (max-width: 820px) {
  .home-hero-facts {
    bottom: calc(62px + env(safe-area-inset-bottom));
    border-bottom: 1px solid rgba(255,255,255,.16);
    border-radius: 15px;
  }
}

/* Version 3: cinematic K&S homepage hero */
.mobile-nav-only { display: none; }
.home-page .home-site-header {
  background: #05090d;
  border-bottom: 1px solid rgba(255,255,255,.13);
  box-shadow: none;
  backdrop-filter: blur(18px);
}
.home-page .home-site-header .top-strip { display: none; }
.home-page .home-brand-row {
  min-height: 112px;
  grid-template-columns: 180px minmax(0,1fr) auto;
  gap: 34px;
}
.home-page .home-brand { min-width: 0; }
.home-page .home-brand img {
  width: 118px;
  height: auto;
  border-radius: 0;
}
.home-page .home-main-nav { justify-self: start; }
.home-page .home-main-nav ul { gap: 22px; }
.home-page .home-main-nav a {
  min-height: 52px;
  padding: 10px 0;
  border-radius: 0;
  color: #eef3f7;
  font-size: 1rem;
  font-weight: 520;
  letter-spacing: -.01em;
  background: transparent;
}
.home-page .home-main-nav a:hover,
.home-page .home-main-nav a[aria-current="page"] { color: #78b9ff; background: transparent; }
.home-header-actions { gap: 18px; }
.home-header-status {
  max-width: 155px;
  color: #c9d4de;
  font-size: .72rem;
  line-height: 1.2;
}
.home-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f5f8fb;
  font-size: 1.02rem;
  font-weight: 500;
}
.home-header-phone svg { width: 21px; height: 21px; }
.home-header-divider { width: 1px; height: 32px; background: rgba(255,255,255,.22); }
.home-header-contact {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: #f5f8fb;
  font-size: 1rem;
  font-weight: 520;
  text-decoration: none;
}
.home-header-contact:hover { color: #78b9ff; }

.home-page .home-hero {
  min-height: clamp(700px, calc(100svh - 112px), 870px);
  align-items: center;
  background: #050a0f;
}
.home-page .home-hero-image {
  object-position: 50% center;
  transform: scale(1.018);
  filter: saturate(.88) contrast(1.12) brightness(.87);
}
.home-page .home-hero-shade {
  background:
    linear-gradient(90deg, rgba(3,8,13,.97) 0%, rgba(3,8,13,.88) 27%, rgba(3,8,13,.49) 52%, rgba(3,8,13,.15) 76%, rgba(3,8,13,.16) 100%),
    linear-gradient(0deg, rgba(3,8,13,.80) 0%, rgba(3,8,13,.05) 46%, rgba(3,8,13,.25) 100%),
    radial-gradient(circle at 45% 45%, transparent 0%, rgba(0,0,0,.12) 58%, rgba(0,0,0,.52) 100%);
}
.home-page .home-hero::before { display: none; }
.home-page .home-hero-inner {
  padding: 78px 0 86px;
}
.home-page .home-hero-copy { max-width: 760px; }
.home-page .home-hero h1 {
  max-width: none;
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 6.5vw, 7.4rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.055em;
  text-shadow: 0 9px 34px rgba(0,0,0,.46);
}
.home-hero-subtitle {
  margin: 0;
  color: rgba(241,245,249,.76);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-shadow: 0 7px 26px rgba(0,0,0,.48);
}
.home-hero-accent {
  display: block;
  width: 122px;
  height: 4px;
  margin: 24px 0 35px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1185ef, #59b7ff);
  box-shadow: 0 0 24px rgba(46,151,244,.42);
}
.home-page .home-hero-lead {
  max-width: 590px;
  color: #eef3f7;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.65;
  text-shadow: 0 4px 18px rgba(0,0,0,.45);
}
.home-page .home-hero-actions { gap: 18px; margin-top: 34px; }
.home-page .home-hero-actions .btn {
  min-width: 220px;
  min-height: 64px;
  justify-content: space-between;
  padding: 15px 24px;
  border-radius: 7px;
  font-size: 1.03rem;
  font-weight: 740;
}
.home-page .home-hero-primary {
  background: linear-gradient(180deg, #1686ee 0%, #0564c8 100%);
  border-color: #2295ff;
  box-shadow: 0 14px 34px rgba(0,96,205,.30), inset 0 1px rgba(255,255,255,.18);
}
.home-page .home-hero-primary:hover { background: linear-gradient(180deg, #2895f6, #0b70d7); }
.home-page .btn-hero-outline {
  background: rgba(3,8,13,.48);
  border-color: rgba(255,255,255,.62);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}
.hero-button-arrow { font-size: 1.7rem; line-height: .7; font-weight: 300; }
.home-hero-trust {
  width: fit-content;
  max-width: 100%;
  min-height: 61px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding: 14px 21px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: rgba(3,8,13,.60);
  box-shadow: 0 12px 30px rgba(0,0,0,.20);
  backdrop-filter: blur(12px);
  color: #e7edf3;
  font-size: .9rem;
}
.home-trust-item { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.home-trust-item strong { color: #fff; font-size: 1.03rem; }
.home-trust-icon { color: #ffbd2e; font-size: 1.2rem; }
.home-trust-pin { width: 20px; height: 20px; flex: 0 0 auto; color: #e8eef4; }
.home-trust-divider { width: 1px; height: 28px; background: rgba(255,255,255,.22); }

@media (max-width: 1280px) {
  .home-page .home-brand-row { grid-template-columns: 145px minmax(0,1fr) auto; gap: 22px; }
  .home-page .home-main-nav ul { gap: 15px; }
  .home-header-status { display: none; }
}

@media (max-width: 1120px) {
  .mobile-nav-only { display: list-item; }
  .home-page .home-brand-row { min-height: var(--header-height); grid-template-columns: auto 1fr auto; }
  .home-page .home-brand img { width: 112px; }
  .home-page .home-main-nav {
    top: var(--header-height);
    justify-self: auto;
  }
  .home-page .home-main-nav ul { gap: 7px; }
  .home-page .home-main-nav a {
    min-height: 58px;
    padding: 15px 16px;
    border-radius: 12px;
    font-size: 1.01rem;
    font-weight: 700;
  }
  .home-page .home-main-nav a:hover,
  .home-page .home-main-nav a[aria-current="page"] { background: rgba(40,130,229,.19); }
  .home-header-divider, .home-header-contact { display: none; }
  .home-header-phone { font-size: .94rem; }
  .home-page .home-hero { min-height: calc(100svh - var(--header-height)); }
}

@media (max-width: 820px) {
  .home-page .home-site-header .top-strip { display: block; }
  .home-page .home-main-nav {
    top: calc(var(--header-height) + 34px);
    min-height: calc(100dvh - var(--header-height) - 34px);
  }
  .home-page .home-hero { min-height: 710px; }
  .home-page .home-hero-image { object-position: 58% center; }
  .home-page .home-hero-shade {
    background:
      linear-gradient(90deg, rgba(3,8,13,.94) 0%, rgba(3,8,13,.69) 58%, rgba(3,8,13,.31) 100%),
      linear-gradient(0deg, rgba(3,8,13,.91) 0%, rgba(3,8,13,.10) 64%, rgba(3,8,13,.25) 100%);
  }
  .home-page .home-hero-inner { padding: 62px 0 72px; }
  .home-page .home-hero h1 { font-size: clamp(3.2rem, 11.5vw, 5.5rem); }
  .home-hero-subtitle { font-size: clamp(1.65rem, 6.1vw, 2.8rem); }
  .home-hero-accent { margin: 20px 0 27px; }
  .home-page .home-hero-actions .btn { min-width: 190px; }
  .home-hero-trust { margin-top: 38px; }
}

@media (max-width: 590px) {
  .home-header-phone { display: none; }
  .home-page .home-brand img { width: 105px; }
  .home-page .home-hero { min-height: 690px; align-items: start; }
  .home-page .home-hero-image { object-position: 62% center; }
  .home-page .home-hero-inner { padding: 70px 0 54px; }
  .home-page .home-hero-copy { max-width: 100%; }
  .home-page .home-hero h1 {
    margin-bottom: 10px;
    font-size: clamp(3rem, 14vw, 4.4rem);
    line-height: .98;
  }
  .home-hero-subtitle { max-width: 95%; font-size: clamp(1.55rem, 7.2vw, 2.25rem); }
  .home-hero-accent { width: 78px; height: 3px; margin: 18px 0 24px; }
  .home-page .home-hero-lead { max-width: 95%; font-size: 1rem; line-height: 1.55; }
  .home-page .home-hero-actions { flex-direction: column; gap: 10px; margin-top: 26px; }
  .home-page .home-hero-actions .btn { width: 100%; min-height: 56px; padding: 12px 18px; }
  .home-hero-trust {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    margin-top: 28px;
    padding: 13px 15px;
    font-size: .78rem;
  }
  .home-trust-divider { width: 100%; height: 1px; }
  .home-trust-item { gap: 7px; }
  .home-trust-item strong { font-size: .91rem; }
}

/* Hero content alignment refinement */
.home-page .home-hero-inner {
  width: min(calc(100% - 80px), var(--container));
  margin-inline: auto;
}
@media (max-width: 820px) {
  .home-page .home-hero-inner { width: min(calc(100% - 40px), var(--container)); }
}
@media (max-width: 590px) {
  .home-page .home-hero-inner { width: calc(100% - 32px); }
}

/* Opening-status placement and unobstructed mobile menu */
.home-header-status { display: none; }
.home-trust-status { font-weight: 700; }
.menu-open .cookie-banner { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 820px) {
  .home-trust-status,
  .home-trust-status-divider { display: none; }
}

/* Keep the desktop trust bar compact like the approved concept */
@media (min-width: 821px) {
  .home-hero-trust { gap: 18px; }
  .home-trust-item { white-space: nowrap; }
  .home-trust-status .status-dot { flex: 0 0 9px; }
}


/* Endversion: freies K&S-Gebäudelogo und stabiler Startseiten-Header */
@media (min-width: 821px) {
  .home-page .home-hero {
    min-height: clamp(760px, calc(100svh - 112px), 920px);
  }

  .home-page .home-hero-image {
    /* Kein zusätzlicher Zoom: Das reale Firmengelände bleibt möglichst vollständig sichtbar. */
    transform: none;
    object-position: 50% center;
  }

  .home-page .home-hero-actions {
    /* Freiraum für das sichtbare K&S-Zeichen an der Gebäudefassade. */
    margin-top: 86px;
  }

  .home-hero-trust {
    margin-top: 34px;
  }
}

/* Kontakt ist jetzt Bestandteil der normalen Navigation und kann das Logo nicht überdecken. */
.home-page .home-main-nav a[href="kontakt.html"] {
  white-space: nowrap;
}

/* =========================================================
   Finaler Startseiten-Hero: freies K&S-Zeichen am Gebäude
   =========================================================
   Auf Desktop endet das Standortfoto oberhalb eines eigenen
   dunklen Aktionsbereichs. Buttons und Vertrauenselemente
   verdecken dadurch nicht länger das echte K&S-Zeichen. */
@media (min-width: 821px) {
  .home-page .home-hero {
    min-height: clamp(780px, calc(100svh - 112px), 850px);
    align-items: stretch;
    background: linear-gradient(180deg, #071019, #04090e);
  }

  .home-page .home-hero-image,
  .home-page .home-hero-shade {
    inset: 0 0 auto;
    height: calc(100% - 150px);
  }

  .home-page .home-hero-image {
    transform: none;
    object-position: 50% center;
  }

  .home-page .home-hero-inner {
    min-height: inherit;
    padding: 40px 0 190px;
  }

  .home-page .home-hero-copy {
    max-width: 760px;
  }

  .home-page .home-hero-actions {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 42px;
    width: auto;
    margin: 0;
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
  }

  .home-page .home-hero-actions .btn {
    width: auto;
    min-width: 220px;
  }

  .home-hero-trust {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 24px;
    width: auto;
    max-width: 690px;
    min-height: 0;
    margin: 0;
    padding: 11px 16px;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .home-trust-status-divider {
    display: none;
  }

  .home-trust-status {
    flex: 1 0 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.15);
  }
}

/* Mittlere Desktop- und Tabletbreiten: zwei klare Zeilen im Aktionsbereich. */
@media (min-width: 821px) and (max-width: 1250px) {
  .home-page .home-hero {
    min-height: 870px;
  }

  .home-page .home-hero-image,
  .home-page .home-hero-shade {
    height: calc(100% - 225px);
  }

  .home-page .home-hero-inner {
    padding-bottom: 250px;
  }

  .home-page .home-hero-actions {
    bottom: 126px;
  }

  .home-hero-trust {
    right: auto;
    left: 0;
    bottom: 24px;
  }
}

/* Große Desktopansicht: Foto, Aktionsleiste und erster Bildschirm bleiben kompakt. */
@media (min-width: 1251px) {
  .home-page .home-hero {
    min-height: clamp(660px, calc(100svh - var(--header-height)), 800px);
  }

  .home-page .home-hero-image {
    object-position: 50% 50%;
  }
}
