/* VEMOCA – Markenseite. Dunkles Premium-Theme, Montserrat (OFL, lokal), keine externen Ressourcen. */

/* ---------- Schrift ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0b0d;
  --bg-2: #101215;
  --bg-3: #16191d;
  --bg-4: #1d2126;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --fg: #f3f2ee;
  --fg-2: #b9b9b3;
  --fg-3: #82837e;
  --accent: #c8b07a;
  --accent-2: #e2cf9c;
  --accent-dim: rgba(200, 176, 122, 0.14);
  --font: "Montserrat", "Avenir Next", "Avenir", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: 16px;
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}
@media (min-width: 700px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.75rem); font-weight: 400; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; }
.ic { width: 20px; height: 20px; flex: none; }
.ic-lg { width: 28px; height: 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #0a0b0d; padding: 8px 12px; border-radius: var(--radius); z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-intro { color: var(--fg-2); font-size: 1.08rem; margin-top: 20px; max-width: 640px; }
.prose p { color: var(--fg-2); margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }

/* Buttons und Links */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid transparent; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn-primary { background: var(--fg); color: #0a0b0d; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  color: var(--accent); padding-bottom: 4px; border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.link-arrow .ic { width: 16px; height: 16px; }
.link-arrow:hover { border-color: var(--accent); color: var(--accent-2); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .page-legal .site-header, .page-privacy .site-header {
  background: rgba(10, 11, 13, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { color: var(--fg); display: inline-flex; }
.brand-logo { height: 26px; width: auto; }
.nav ul { display: flex; gap: 34px; }
.nav a { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--fg-2); transition: color .2s; }
.nav a:hover { color: var(--fg); }
.header-tools { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; letter-spacing: 0.14em; font-weight: 500; color: var(--fg-3); padding: 8px 0; }
.lang-current { color: var(--fg); }
.lang-sep { opacity: .5; }
.lang:hover span:last-child { color: var(--accent-2); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--fg); border-radius: 999px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

@media (max-width: 900px) {
  .nav ul { gap: 22px; }
  .nav a { font-size: 0.74rem; letter-spacing: 0.1em; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: rgba(10, 11, 13, 0.96);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
    padding: 24px var(--gutter);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { display: block; padding: 20px 0; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: none; color: var(--fg); }
  .site-header.is-open { background: rgba(10, 11, 13, 0.96); border-bottom-color: var(--line); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; filter: saturate(0.9) contrast(1.05); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.92) 0%, rgba(10, 11, 13, 0.62) 38%, rgba(10, 11, 13, 0.18) 70%, rgba(10, 11, 13, 0.35) 100%),
    linear-gradient(180deg, rgba(10, 11, 13, 0.55) 0%, rgba(10, 11, 13, 0.05) 30%, rgba(10, 11, 13, 0.25) 60%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 56px; max-width: var(--wrap); }
.hero-content h1 { max-width: 12ch; }
.hero-sub { color: var(--fg-2); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 560px; margin-top: 26px; line-height: 1.65; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.trust {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-top: 1px solid var(--line);
  margin-top: 10px;
}
.trust li { display: flex; align-items: center; gap: 12px; padding: 22px 18px 22px 0; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--fg-2); border-right: 1px solid var(--line); }
.trust li:last-child { border-right: 0; }
.trust .ic { color: var(--accent); }
@media (max-width: 760px) {
  .hero { min-height: 92svh; }
  .hero-media img { object-position: 60% 30%; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 0.76rem; }
  .trust li:nth-last-child(-n+1) { border-bottom: 0; }
}

/* ---------- Split-Layouts ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.split-narrow { align-items: start; }
.split-media { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.split-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: inherit; pointer-events: none; }
.media-cover { width: 100%; height: 100%; object-fit: cover; }
.marke .split-media .media-cover { object-position: 45% 50%; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.fact-value { display: block; font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 300; color: var(--fg); letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.fact-label { display: block; font-size: 0.82rem; color: var(--fg-3); letter-spacing: 0.02em; }

/* ---------- Highlights ---------- */
.highlights { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 12%, var(--bg-2) 88%, var(--bg) 100%); }
.product {
  display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center;
  padding-block: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.product:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .product { grid-template-columns: 1.15fr 1fr; gap: 72px; }
  .product:nth-of-type(even) .product-media { order: 2; }
}
.product-media { position: relative; display: grid; grid-template-columns: 1fr; }
.product-fig { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-3); position: relative; }
.product-fig::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: inherit; pointer-events: none; }
.product-fig-main { aspect-ratio: 4 / 3; }
.product-fig-sub {
  position: absolute; right: -6%; bottom: -10%; width: 42%; aspect-ratio: 1;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}
.product-media { padding-bottom: 8%; padding-right: 6%; }
.product-fig .media-cover { filter: saturate(0.88); transition: transform .8s var(--ease); }
.product:hover .product-fig .media-cover { transform: scale(1.03); }
#ausstellfenster .product-fig-main .media-cover { object-position: 60% 40%; }
#schiebefenster .product-fig-main .media-cover { object-position: 40% 55%; }
#heckscheiben .product-fig-main .media-cover, #heckscheiben .product-fig-sub .media-cover { filter: saturate(0.7) brightness(0.92); }
#seitenscheiben .product-fig-main .media-cover { object-position: 50% 60%; }
#seitenscheiben .product-fig-sub .media-cover { filter: saturate(0.7) brightness(0.92); }
#fliegennetz .product-fig-main .media-cover { object-position: 50% 45%; }
.product-text h3 { margin-bottom: 18px; font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 400; }
.product-text > p { color: var(--fg-2); max-width: 520px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.tags li { font-size: 0.74rem; letter-spacing: 0.06em; color: var(--fg-2); border: 1px solid var(--line-strong); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 899px) {
  .product-media { padding-bottom: 12%; padding-right: 0; }
  .product-fig-sub { right: 0; bottom: 0; width: 40%; }
}

/* ---------- Qualität ---------- */
.quality-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .quality-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .quality-grid { grid-template-columns: repeat(3, 1fr); } }
.quality-item { background: var(--bg); padding: 36px 30px 40px; transition: background .3s var(--ease); }
.quality-item:hover { background: var(--bg-2); }
.quality-item .ic-lg { color: var(--accent); margin-bottom: 22px; }
.quality-item h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 12px; }
.quality-item p { color: var(--fg-2); font-size: 0.95rem; }

/* ---------- Fahrzeuge ---------- */
.vehicles { padding-bottom: 0; }
.vehicle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 760px) { .vehicle-grid { grid-template-columns: repeat(4, 1fr); } }
.vehicle { background: var(--bg); padding: 28px 22px; }
.vehicle-make { display: block; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 8px; }
.vehicle-model { display: block; font-size: 1.05rem; font-weight: 500; }
.vehicles-band { margin: clamp(48px, 7vw, 96px) 0 0; height: clamp(240px, 38vw, 520px); position: relative; overflow: hidden; }
.vehicles-band .media-cover { object-position: 50% 62%; filter: saturate(0.6) brightness(0.75); }
.vehicles-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 11, 13, 0.1) 35%, rgba(10, 11, 13, 0.15) 70%, var(--bg) 100%); }

/* ---------- Vertrieb ---------- */
.partner-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .partner-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.partner { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 34px 38px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); display: flex; flex-direction: column; transition: border-color .3s var(--ease); }
.partner:hover { border-color: var(--line-strong); }
.partner-logo { height: 76px; display: flex; align-items: center; margin-bottom: 30px; }
.partner-logo img { max-height: 100%; width: auto; }
.partner-mobyvan .partner-logo img { max-height: 76px; }
.partner-transporterglas24 .partner-logo img { max-height: 40px; }
.partner h3 { margin-bottom: 12px; }
.partner > p:not(.eyebrow) { color: var(--fg-2); margin-bottom: 26px; flex: 1; }
.b2b { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; display: grid; gap: 24px; align-items: center; background: var(--accent-dim); }
@media (min-width: 760px) { .b2b { grid-template-columns: 1fr auto; padding: 40px 44px; } }
.b2b h3 { margin-bottom: 8px; font-size: 1.2rem; }
.b2b p { color: var(--fg-2); max-width: 620px; }

/* ---------- Kontakt ---------- */
.contact { border-top: 1px solid var(--line); }
.contact-brandline { color: var(--fg-2); margin-top: 18px; max-width: 460px; }
.contact-list { display: grid; gap: 22px; padding-top: 8px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 1.05rem; }
.contact-list .ic { color: var(--accent); margin-top: 4px; }
.contact-list a:hover { color: var(--accent-2); }

/* ---------- Rechtsseiten ---------- */
.legal-page { padding-top: clamp(130px, 16vw, 180px); }
.legal-page h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 36px; }
.legal-prose h2 { font-size: 1.15rem; font-weight: 500; margin: 36px 0 12px; }
.legal-prose p { color: var(--fg-2); }
.legal-prose .lead { color: var(--fg); font-size: 1.1rem; }
.legal-prose a { color: var(--accent); }
.legal-prose a:hover { color: var(--accent-2); }
.legal-prose .stand { margin-top: 40px; font-size: 0.85rem; color: var(--fg-3); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding-top: clamp(48px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; } }
.footer-logo { height: 24px; width: auto; color: var(--fg); }
.footer-claim { color: var(--fg-2); margin-top: 22px; max-width: 360px; font-size: 0.95rem; }
.footer-domains { color: var(--fg-3); font-size: 0.8rem; letter-spacing: 0.1em; margin-top: 14px; }
.footer-h { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; font-size: 0.95rem; color: var(--fg-2); }
.site-footer li a:hover { color: var(--fg); }
.footer-address { margin-top: 22px; color: var(--fg-3); font-size: 0.85rem; line-height: 1.7; }
.footer-address a:hover { color: var(--fg); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; font-size: 0.8rem; color: var(--fg-3); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .product:hover .product-fig .media-cover { transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* Fahrzeuge: Abschlusszelle statt Leerfeld */
.vehicle-more { padding: 0; background: var(--accent-dim); }
.vehicle-more a { display: block; height: 100%; padding: 28px 22px; transition: background .3s var(--ease); }
.vehicle-more a:hover { background: rgba(200, 176, 122, 0.22); }
.vehicle-more .vehicle-make { color: var(--accent); }
.vehicle-more .vehicle-model { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--fg-2); font-size: 0.98rem; }
.vehicle-more .ic { width: 18px; height: 18px; color: var(--accent); }

/* Feinschliff Mobile / Abstände */
.split-text h2, .section-head h2 { margin-bottom: 22px; }
.section-head h2 + .section-intro { margin-top: 0; }
@media (max-width: 760px) {
  .trust li:last-child:nth-child(odd) { grid-column: 1 / -1; border-bottom: 0; }
  .trust li:nth-last-child(2):nth-child(even) { border-bottom: 1px solid var(--line); }
  .site-footer li a, .footer-address a { display: inline-block; padding: 6px 0; }
  .link-arrow { padding: 6px 0; }
}

/* Fotos ins dunkle Layout einbetten: Verlauf von unten + leichte Abdunklung der Ränder */
.split-media::before, .product-fig::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(10, 11, 13, 0.18) 0%, rgba(10, 11, 13, 0) 30%, rgba(10, 11, 13, 0) 55%, rgba(10, 11, 13, 0.55) 100%),
    radial-gradient(120% 90% at 50% 45%, rgba(10, 11, 13, 0) 55%, rgba(10, 11, 13, 0.35) 100%);
}
.product-fig-sub::before { background: linear-gradient(180deg, rgba(10, 11, 13, 0) 60%, rgba(10, 11, 13, 0.35) 100%); }
