/* AE Handels GmbH · Design-System */

@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #1C2430;
  --navy-2: #252F3E;
  --navy-3: #313D4F;
  --copper: #A05C57;
  --copper-dark: #864A46;
  --copper-light: #D2A09B;
  --paper: #F5F2EE;
  --paper-2: #EAE5DE;
  --steel: #59616D;
  --white: #FFFFFF;
  --line: rgba(28, 36, 48, .14);
  --line-dark: rgba(255, 255, 255, .14);

  --f-head: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--navy);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2 { font-family: var(--f-head); font-weight: 700; line-height: 1.02; margin: 0 0 .45em; text-transform: uppercase; letter-spacing: .02em; }
h1 { font-size: clamp(38px, 5vw, 64px); }
h2 { font-size: clamp(30px, 3.4vw, 44px); }
h3, h4 { font-family: var(--f-body); font-weight: 600; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.3; margin: 0 0 .5em; letter-spacing: 0; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--copper-light); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--copper); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--dark { background: var(--navy); color: #fff; }
.section--light { background: var(--white); }
.section--paper2 { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .page-head .eyebrow, .hero .eyebrow { color: var(--copper-light); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--steel); max-width: 60ch; }
.section--dark .lead { color: rgba(255, 255, 255, .78); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(32px, 5vw, 56px); }
.head-row > div { max-width: 680px; }
.head-row h2 { margin-bottom: 0; }

/* Buttons und Links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--radius);
  background: var(--copper); color: #fff; text-decoration: none; cursor: pointer;
  font: 700 15px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--copper-dark); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none;
  color: var(--copper); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 3px; transition: background-size .3s var(--ease);
}
.link-arrow:hover { background-size: 100% 2px; }
.section--dark .link-arrow { color: var(--copper-light); }
.link-arrow::after { content: "→"; }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand svg { width: 44px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--f-head); font-weight: 700; font-size: 21px; letter-spacing: .1em; }
.brand-tag { font-size: 10px; letter-spacing: .22em; color: var(--copper-light); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; }
.nav ul a { position: relative; padding: 6px 0; color: rgba(255, 255, 255, .86); transition: color .2s; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--copper-light); transition: right .3s var(--ease); }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: #fff; }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { right: 0; }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 13px; }
.nav .btn[aria-current="page"] { background: var(--copper-dark); }
.lang { display: flex; align-items: center; gap: 14px; padding-left: 24px; border-left: 1px solid var(--line-dark); font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.lang a, .lang span { position: relative; padding: 6px 0; text-decoration: none; }
.lang span { color: #fff; }
.lang span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--copper-light); }
.lang a { color: rgba(255, 255, 255, .5); transition: color .2s; }
.lang a:hover { color: #fff; }
.nav-toggle { display: none; }

/* Startseite: Kopfbereich */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 36, 48, .96) 0%, rgba(28, 36, 48, .82) 38%, rgba(28, 36, 48, .2) 75%, rgba(28, 36, 48, .1) 100%); }
.hero .wrap { position: relative; min-height: min(84vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 128px; }
.hero h1 { max-width: 16ch; margin-bottom: 24px; font-size: clamp(40px, 5.2vw, 68px); }
.hero h1 em { font-style: normal; color: var(--copper-light); }
.hero p { font-size: clamp(18px, 1.7vw, 21px); max-width: 44ch; color: rgba(255, 255, 255, .86); margin-bottom: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero-phone { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; gap: 10px; align-items: center; }
.hero-phone svg { width: 18px; height: 18px; color: var(--copper-light); }
.hero-phone:hover { color: var(--copper-light); }

/* Zahlenleiste */
.stats { position: relative; z-index: 2; margin-top: -24px; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); box-shadow: 0 20px 50px -30px rgba(28, 36, 48, .5); }
.stats li { padding: 28px 28px 26px; border-right: 1px solid var(--line); }
.stats li:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--f-head); font-weight: 700; font-size: 36px; line-height: 1.05; color: var(--navy); letter-spacing: .02em; }
.stats strong small { font-size: 22px; color: var(--copper); }
.stats span { font-size: 15px; color: var(--steel); }

/* Leistungskacheln */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--paper); padding: 34px 30px 30px; text-decoration: none; display: flex; flex-direction: column; gap: 12px; position: relative; transition: background .3s var(--ease); }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--copper); transition: width .4s var(--ease); }
.service-card:hover { background: var(--white); }
.service-card:hover::before { width: 100%; }
.service-card svg { width: 40px; height: 40px; color: var(--copper); }
.service-card h3 { margin: 6px 0 0; }
.service-card p { margin: 0; color: var(--steel); font-size: 16px; }
.service-card .more { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14px; color: var(--copper); letter-spacing: .06em; text-transform: uppercase; }

/* Fahrzeugarten */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy-2); aspect-ratio: 1; text-decoration: none; color: #fff; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28, 36, 48, .92) 0%, rgba(28, 36, 48, 0) 55%); }
.cat-card span { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; font-family: var(--f-head); font-weight: 700; font-size: 24px; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; }
.cat-card small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 14px; text-transform: none; color: rgba(255, 255, 255, .75); margin-top: 4px; }

/* Text und Bild nebeneinander */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius); }
.split-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--copper-light); border-radius: var(--radius); z-index: -1; }
.split--rev .split-media::before { inset: 18px 18px -18px -18px; }
.split-body > :last-child { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2px solid var(--copper); border-bottom: 2px solid var(--copper); transform: rotate(-45deg); }
.section--dark .checklist li::before { border-color: var(--copper-light); }

/* Bewertungen */
.rating { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.rating-score { font-family: var(--f-head); font-weight: 700; font-size: 68px; line-height: .9; }
.stars { display: flex; gap: 3px; color: var(--copper-light); }
.stars svg { width: 22px; height: 22px; }
.rating-note { color: rgba(255, 255, 255, .7); font-size: 15px; margin: 4px 0 0; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.review { margin: 0; padding: 30px 28px; background: var(--navy-2); border-radius: var(--radius); border-top: 3px solid var(--copper); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; transition: transform .3s var(--ease); }
.review:hover { transform: translateY(-4px); }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.5; }
.review figcaption { font-size: 14px; color: rgba(255, 255, 255, .6); }
.review figcaption strong { color: #fff; font-weight: 600; }

/* Abschluss: Kontakt-Aufforderung */
.cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -8%; top: -40%; width: 46%; height: 180%; background: var(--navy-2); transform: skewX(-14deg); }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 48ch; margin-bottom: 30px; }
.cta-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cta-ways a, .cta-ways div { display: flex; gap: 16px; align-items: center; text-decoration: none; color: #fff; }
.cta-ways svg { width: 22px; height: 22px; color: var(--copper-light); flex-shrink: 0; }
.cta-ways a:hover span { color: var(--copper-light); }
.cta-ways small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }

/* Unterseiten: Kopfbereich */
.page-head { background: var(--navy); color: #fff; overflow: hidden; }
.page-head .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-head h1 { font-size: clamp(38px, 4.8vw, 60px); }
.page-head p { color: rgba(255, 255, 255, .8); font-size: clamp(17px, 1.5vw, 20px); max-width: 52ch; margin: 0; }
.page-head-media { position: relative; }
.page-head-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.page-head-media::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 90px; height: 90px; border-left: 3px solid var(--copper); border-bottom: 3px solid var(--copper); }
.page-head--plain .wrap { grid-template-columns: 1fr; }
.crumbs { font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.crumbs a:hover { color: var(--copper-light); }

/* Leistungsblöcke */
.service-block { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.service-block:last-of-type { border-bottom: 0; }
.service-block .num { font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--copper); letter-spacing: .1em; display: block; margin-bottom: 10px; }
.contact-person { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--white); border-left: 3px solid var(--copper); border-radius: var(--radius); margin-top: 8px; }
.section--dark .contact-person { background: var(--navy-2); }
.monogram { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--copper-light); display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; font-size: 20px; flex-shrink: 0; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--paper-2); }
.contact-person p { margin: 0; font-size: 15px; line-height: 1.45; }
.contact-person strong { font-size: 17px; }
.contact-person a { color: var(--copper); font-weight: 600; text-decoration: none; }
.contact-person a:hover { text-decoration: underline; }

/* Platzhalter-Bildflächen */
.ph { position: relative; display: grid; place-items: center; background: var(--navy-2); background-image: linear-gradient(135deg, var(--navy-2) 0%, var(--navy-3) 100%); border-radius: var(--radius); color: var(--copper-light); overflow: hidden; }
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(255, 255, 255, .025) 22px 44px); }
.ph svg { position: relative; width: 22%; max-width: 96px; height: auto; opacity: .9; }
.ph--43 { aspect-ratio: 4 / 3; }
.ph--32 { aspect-ratio: 3 / 2; }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--white); padding: 30px 28px; border-radius: var(--radius); position: relative; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--f-head); font-weight: 700; font-size: 44px; line-height: 1; color: var(--copper-light); margin-bottom: 14px; }
.steps h3 { font-size: 19px; }
.steps p { margin: 0; color: var(--steel); font-size: 16px; }

/* Formulare */
.form-card { background: var(--white); padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(28, 36, 48, .45); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 16px/1.4 var(--f-body); color: var(--navy);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); background: #fff; }
.form-legend { font-family: var(--f-body); font-weight: 600; font-size: 17px; grid-column: 1 / -1; margin: 12px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.form-legend:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--steel); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--copper); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: var(--radius); font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: #E6EFE7; color: #1E4D2B; }
.form-status.is-error { display: block; background: #F6E3E1; color: #7A2A24; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-actions small { color: var(--steel); }

/* Fahrzeuge */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); background: var(--white); color: var(--navy); border-radius: 40px; font: 600 15px var(--f-body); cursor: pointer; transition: all .2s; }
.filter button:hover { border-color: var(--copper); }
.filter button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vehicle { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.vehicle:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(28, 36, 48, .5); }
.vehicle[hidden] { display: none; }
.vehicle-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-2); }
.vehicle-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vehicle:hover .vehicle-media img { transform: scale(1.04); }
.vehicle .ph { border-radius: 0; height: 100%; width: 100%; }
.vehicle .ph svg { width: 22%; }
.vehicle { position: relative; cursor: pointer; }
.vehicle-actions { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.vehicle-actions .link-arrow { position: relative; z-index: 2; }
.vehicle-open { background: none; border: 0; padding: 0; font: 600 15px var(--f-body); color: var(--navy); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.vehicle-open::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.vehicle-open:hover { text-decoration-color: var(--copper); }

/* Detailfenster */
.vd-dialog { width: min(1040px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--white); color: var(--navy); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); overflow: auto; }
.vd-dialog::backdrop { background: rgba(21, 27, 37, .72); }
.vd-dialog[open] { animation: vd-in .35s var(--ease); }
@keyframes vd-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.vd-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(28, 36, 48, .85); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s; }
.vd-close:hover { background: var(--copper); }
.vd { display: grid; grid-template-columns: 1.25fr 1fr; }
.vd-media { background: var(--navy); display: flex; align-items: center; }
.vd-media img { width: 100%; height: auto; }
.vd-media .ph { height: 100%; border-radius: 0; min-height: 280px; }
.vd-body { padding: 36px 34px 30px; display: flex; flex-direction: column; gap: 14px; }
.vd-title { font-size: clamp(26px, 2.6vw, 34px); margin: 0; }
.specs { margin: 4px 0 0; display: grid; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--steel); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.vd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 10px; }
.vd-note { font-size: 13px; color: var(--steel); margin: 4px 0 0; }
.vehicle-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vehicle-tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.vehicle h3 { font-size: 18px; margin: 0; }
.vehicle p { margin: 0; color: var(--steel); font-size: 15px; }
.vehicle .link-arrow { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.note { font-size: 15px; color: var(--steel); margin-top: 28px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { background: var(--white); border-radius: var(--radius); padding: 0 0 20px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; border-bottom: 3px solid transparent; transition: border-color .3s, transform .3s var(--ease); }
.member:hover { border-bottom-color: var(--copper); transform: translateY(-3px); }
.member-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; margin-bottom: 16px; background: var(--paper-2); }
.member > div, .member > a { margin-left: 22px; margin-right: 22px; }
.member h3 { font-size: 18px; margin: 0; }
.member .role { font-size: 14px; color: var(--copper); font-weight: 600; margin: 0 0 12px; }
.member a { font-size: 15px; text-decoration: none; color: var(--navy); display: flex; gap: 10px; align-items: center; padding: 4px 0; word-break: break-all; }
.member a:hover { color: var(--copper); }
.member svg { width: 16px; height: 16px; color: var(--copper); flex-shrink: 0; }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.gallery figcaption { font-size: 14px; color: var(--steel); margin-top: 8px; }

.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.partner { background: var(--navy-2); border-radius: var(--radius); padding: 32px; display: flex; gap: 22px; align-items: flex-start; }
.partner svg { width: 44px; height: 44px; color: var(--copper-light); flex-shrink: 0; }
.partner p { margin: 0; color: rgba(255, 255, 255, .78); }

/* Kontakt */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.way { background: var(--white); padding: 30px 28px; border-radius: var(--radius); text-decoration: none; display: flex; flex-direction: column; gap: 8px; border-bottom: 3px solid transparent; transition: border-color .3s, transform .3s var(--ease); }
a.way:hover { border-bottom-color: var(--copper); transform: translateY(-3px); }
.way svg { width: 30px; height: 30px; color: var(--copper); margin-bottom: 8px; }
.way small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); font-weight: 700; }
.way strong { font-size: 20px; line-height: 1.3; }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside-box { background: var(--white); padding: 30px 28px; border-radius: var(--radius); margin-bottom: 20px; }
.aside-box h3 { font-size: 19px; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; }
.map svg { display: block; width: 100%; height: auto; }
.map-card { position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 360px; background: var(--white); color: var(--navy); padding: 20px 22px; border-radius: var(--radius); }
.map-card p { margin: 0 0 12px; font-size: 15px; }
.social { display: flex; gap: 12px; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 40px; text-decoration: none; font-weight: 600; font-size: 15px; transition: all .2s; background: var(--white); }
.social a:hover { border-color: var(--copper); color: var(--copper); }
.social svg { width: 20px; height: 20px; }

/* Rechtstexte */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.6em; }
.prose h3 { font-size: 19px; margin-top: 1.4em; }
.prose a { color: var(--copper); }
.notice { background: var(--white); border-left: 4px solid var(--copper); padding: 18px 22px; border-radius: var(--radius); margin-bottom: 32px; }

/* Fußzeile */
.site-footer { background: #151B25; color: rgba(255, 255, 255, .72); font-size: 15px; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.site-footer h2 { font-size: 17px; color: #fff; margin-bottom: 16px; letter-spacing: .08em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: rgba(255, 255, 255, .72); transition: color .2s; }
.site-footer a:hover { color: var(--copper-light); }
.site-footer address { font-style: normal; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; }
.footer-social a:hover { border-color: var(--copper-light); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 14px; color: rgba(255, 255, 255, .5); }
.footer-bottom ul { display: flex; gap: 20px; }

.mobile-bar { display: none; }

/* Sanftes Einblenden */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

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

/* Tablet */
@media (max-width: 1080px) {
  .nav ul { gap: 20px; }
  .brand-tag { display: none; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobiles Menü ab 920px */
@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .brand svg { width: 38px; height: 32px; }
  .brand-name { font-size: 19px; }
  .nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; background: none; border: 0; color: #fff; cursor: pointer; }
  .nav-toggle .bars { display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: background .2s; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .nav-toggle .bars::before { top: -7px; }
  .nav-toggle .bars::after { top: 7px; }
  .nav-open .nav-toggle .bars { background: transparent; }
  .nav-open .nav-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 16px 0; font-family: var(--f-head); font-weight: 700; font-size: 28px; letter-spacing: .03em; text-transform: uppercase; border-bottom: 1px solid var(--line-dark); }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="page"] { color: var(--copper-light); }
  .nav .btn { margin-top: 28px; min-height: 56px; font-size: 15px; }
  .lang { margin-top: 28px; padding: 0; border: 0; gap: 22px; }
  .lang a, .lang span { padding: 10px 0; font-size: 15px; }
  body.nav-open { overflow: hidden; }

  .stats ul { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(2) { border-right: 0; }
  .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .split, .page-head .wrap, .cta-band .wrap, .contact-grid { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .vehicle-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .ways { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; }
  .partner-grid { grid-template-columns: 1fr; }
  .head-row { flex-direction: column; align-items: start; }
  .page-head-media::after { display: none; }
}

/* Handy */
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); }
  .hero-media { position: relative; height: 62vw; min-height: 220px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(28, 36, 48, 0) 55%, rgba(28, 36, 48, 1) 100%); }
  .hero-media img { object-position: 58% 60%; }
  .hero .wrap { min-height: 0; padding-top: 4px; padding-bottom: 64px; justify-content: flex-start; }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero p { margin-bottom: 28px; }
  .hero h1 { font-size: 40px; }
  .hero .btn, .cta-band .btn { width: 100%; }
  .hero-meta { gap: 16px; }
  .stats { margin-top: 0; }
  .stats .wrap { padding: 0; }
  .stats li { padding: 20px 16px; }
  .stats strong { font-size: 30px; }
  .stats span { font-size: 14px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px 20px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
  .service-card svg { width: 32px; height: 32px; }
  .service-card h3 { margin: 0; font-size: 18px; }
  .service-card p { flex-basis: 100%; }
  .service-card .more { display: none; }
  .cat-grid { gap: 10px; }
  .cat-card span { left: 14px; bottom: 12px; font-size: 20px; }
  .cat-card small { display: none; }
  .split-media::before { display: none; }
  .rating-score { font-size: 56px; }
  .review:nth-child(3) { display: none; }
  .cta-band::before { display: none; }
  .page-head-media { display: none; }
  .page-head .wrap { padding-top: 40px; padding-bottom: 44px; }
  .page-head h1 { font-size: 38px; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 24px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filter button { flex-shrink: 0; }
  .team-grid { grid-template-columns: 1fr; gap: 12px; }
  .member { padding: 0; display: grid; grid-template-columns: 112px 1fr; column-gap: 16px; align-content: start; }
  .member-photo { grid-row: 1 / span 4; height: 100%; min-height: 150px; margin: 0; }
  .member > div, .member > a { margin: 0 12px 0 0; grid-column: 2; }
  .member > div { padding-top: 14px; }
  .member .role { margin-bottom: 4px; }
  .vd { grid-template-columns: 1fr; }
  .vd-body { padding: 24px 20px; }
  .vd-actions .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:nth-child(3) { display: none; }
  .map-card { position: static; max-width: none; border-radius: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding-top: 56px; }
  .mobile-bar { display: grid; grid-template-columns: 56px 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--navy); border-top: 1px solid var(--line-dark); }
  .mobile-bar a { min-height: 52px; display: grid; place-items: center; border-radius: var(--radius); text-decoration: none; }
  .mobile-bar .call { background: var(--navy-3); color: var(--copper-light); }
  .mobile-bar .call svg { width: 22px; height: 22px; }
  .mobile-bar .btn { min-height: 52px; }
}

/* Bewertungen weit oben auf der Startseite (helle Variante) */
.reviews-band { padding-top: clamp(56px, 7vw, 88px); }
.rating-inline { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--steel); }
.rating-inline .stars { color: var(--copper); }
.rating-inline .stars svg { width: 18px; height: 18px; }
.rating-inline strong { color: var(--navy); font-size: 17px; }
.reviews--light .review { background: var(--white); color: var(--navy); box-shadow: 0 18px 40px -32px rgba(28, 36, 48, .45); }
.reviews--light .review figcaption { color: var(--steel); }
.reviews--light .review figcaption strong { color: var(--navy); }
@media (max-width: 640px) {
  .reviews-band { padding-top: 48px; }
  .reviews--light .review { padding: 22px 20px; }
  .reviews--light .review blockquote { font-size: 16px; }
}

/* Fahrzeuge: Galerie, Reserviert-Schild, Preis (aus dem Admin-Bereich) */
.vehicle-media { position: relative; }
.vehicle-badge { position: absolute; top: 12px; left: 12px; background: var(--copper); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius); }
.vehicle-price { font-weight: 600; color: var(--navy) !important; }
.vd-media { flex-direction: column; justify-content: center; }
.vd-gallery { position: relative; width: 100%; }
.vd-gallery img { width: 100%; height: auto; }
.vd-gallery img[hidden] { display: none; }
.vd-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(28, 36, 48, .75); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s; }
.vd-nav:hover { background: var(--copper); }
.vd-prev { left: 12px; }
.vd-next { right: 12px; }
.vd-count { position: absolute; right: 12px; bottom: 12px; background: rgba(28, 36, 48, .75); color: #fff; font-size: 13px; padding: 3px 10px; border-radius: 20px; }
.vd-thumbs { display: flex; gap: 6px; padding: 8px; width: 100%; overflow-x: auto; background: var(--navy); }
.vd-thumb { flex: 0 0 72px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 3px; overflow: hidden; background: none; cursor: pointer; opacity: .6; transition: opacity .2s; }
.vd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vd-thumb:hover, .vd-thumb[aria-current="true"] { opacity: 1; border-color: var(--copper-light); }
.vd-desc { margin: 4px 0 0; font-size: 15px; color: var(--steel); }
.member-photo--empty { display: grid; place-items: center; }
.member-photo--empty .monogram { width: 96px; height: 96px; font-size: 34px; }

/* Handy: ausreichend große Tippflächen (mindestens 44 px) */
@media (max-width: 640px) {
  .link-arrow, .hero-phone { min-height: 44px; }
  .vehicle-open { min-height: 44px; }
  .brand { min-height: 44px; }
  .member > a { min-height: 44px; }
}
