/* be-exclusiv.de – statische Seite, keine externen Schriften/Dienste (DSGVO).
   Gestaltung: Schwarz als Hauptfarbe, Rot nur als feiner Akzent. */
:root{--rot:#B51E36;--schwarz:#111316;--dunkel:#17191C;--dunkel2:#1F2226;--grau:#5F6670;--linie:#E6E8EB;--hell:#F5F6F7}
:root{color-scheme:only light}   /* Handy im Dunkelmodus: Browser soll die Seite nicht selbst umfärben */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;color:var(--schwarz);background:#fff;line-height:1.6;
  -webkit-font-smoothing:antialiased}
a{color:inherit}
img{max-width:100%}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.klein{font-size:14px;color:var(--grau)}
.ohne-oben{padding-top:0}
.hinweis{margin-top:28px;color:var(--grau);font-size:14px}

header{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid var(--linie);transition:background .3s,border-color .3s}
.kopf{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px;flex-wrap:wrap}
.kopf img{height:54px;width:auto;display:block}
nav{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
nav a{text-decoration:none;font-weight:600;font-size:15px;color:var(--grau);position:relative}
nav a:not(.knopf).hier::after,nav a:not(.knopf):hover::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:var(--rot);border-radius:2px}
nav a:hover,nav a.hier{color:var(--schwarz)}

/* Knöpfe: schwarz, mit feinem roten Akzent */
.knopf{display:inline-flex;align-items:center;gap:10px;background:var(--schwarz);color:#fff !important;text-decoration:none;font-weight:600;
  padding:14px 26px;border-radius:10px;box-shadow:inset 0 -2px 0 var(--rot);transition:transform .15s,background .15s}
.knopf:hover{background:#000;transform:translateY(-1px)}
.knopf::after{content:"→";color:#E8798A;transition:transform .15s}
.knopf:hover::after{transform:translateX(3px)}
nav .knopf{padding:10px 18px;font-size:14px}
nav .knopf::after{content:none}

/* Einstieg (hell) */
.hero{background:#fff;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;
  background-image:linear-gradient(var(--linie) 1px,transparent 1px),linear-gradient(90deg,var(--linie) 1px,transparent 1px);
  background-size:48px 48px;opacity:.45;-webkit-mask-image:radial-gradient(ellipse at 75% 30%,#000 0%,transparent 65%);
  mask-image:radial-gradient(ellipse at 75% 30%,#000 0%,transparent 65%)}
.hero .wrap{position:relative;z-index:1;padding-top:110px;padding-bottom:110px}
.marke{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:13px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--schwarz);margin-bottom:26px}
.marke::before{content:"";width:28px;height:2px;background:var(--rot)}
.hero h1{font-size:clamp(38px,6vw,66px);line-height:1.04;letter-spacing:-.02em;max-width:780px;margin-bottom:24px;font-weight:800}
.hero h1 span{color:var(--grau);font-weight:300}
.hero p{font-size:19px;color:var(--grau);max-width:560px;margin-bottom:38px}
.fakten{display:flex;gap:36px;flex-wrap:wrap;margin-top:56px;padding-top:28px;border-top:1px solid var(--linie);max-width:640px}
.fakten b{display:block;font-size:24px;font-weight:800;letter-spacing:-.01em}
.fakten span{color:var(--grau);font-size:14px}

/* Abschnitte (dunkel) */
section{padding:96px 0}
.dunkel-bereich{background:var(--dunkel);color:#fff}
.titel{max-width:620px;margin:0 0 52px}
.titel small{display:inline-flex;align-items:center;gap:8px;color:#AEB4BB;font-weight:600;letter-spacing:.12em;text-transform:uppercase;font-size:13px}
.titel small::before{content:"";width:28px;height:2px;background:var(--rot)}
.titel h2{font-size:clamp(28px,3.6vw,42px);line-height:1.15;letter-spacing:-.015em;margin:12px 0 12px;font-weight:800}
.titel p{color:#9DA3AA;font-size:17px}
.karten{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.karte{background:var(--dunkel2);border:1px solid #2A2D32;border-radius:16px;padding:30px;transition:border-color .2s,transform .2s}
.karte:hover{border-color:#3A3E44;transform:translateY(-2px)}
.icon{width:44px;height:44px;border-radius:12px;background:#2A2D32;color:#fff;display:grid;place-items:center;margin-bottom:20px;position:relative}
.icon::after{content:"";position:absolute;right:-3px;top:-3px;width:8px;height:8px;border-radius:50%;background:var(--rot)}
.icon svg{width:22px;height:22px}
.karte h3{font-size:17px;margin-bottom:6px;font-weight:700}
.karte p{color:#9DA3AA;font-size:15px}

/* Shop-Hinweis: schlicht, dezent */
.band{border-top:1px solid #2A2D32;padding-top:44px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.band.abstand{margin-top:28px;padding-top:22px}
/* unterer dunkler Teil kompakter – beim Ganz-nach-unten-Scrollen bleibt die Überschrift sichtbar */
section.dunkel-bereich{padding:56px 0 36px}
.dunkel-bereich .titel{margin-bottom:26px}
.dunkel-bereich .titel h2{margin:8px 0 6px}
.dunkel-bereich .karte{padding:22px}
footer{padding:24px 0}
/* Fußzeile immer ganz unten (auch bei kurzen Seiten wie Kontakt) */
body{min-height:100vh;display:flex;flex-direction:column}
main{flex:1}
.dunkel-bereich .icon{margin-bottom:14px}
/* Impressum dunkel */
.seite.dunkel-bereich h2,.seite.dunkel-bereich h1{color:#fff}
.seite.dunkel-bereich p,.seite.dunkel-bereich li{color:#B4BAC1}
.seite.dunkel-bereich a{color:#fff}
.band h2{font-size:clamp(20px,2.4vw,26px);font-weight:700}
.band p{color:#9DA3AA;margin-top:4px}
.band .knopf{background:#fff;color:var(--schwarz) !important}
.band .knopf:hover{background:#F0F1F2}

/* Unterseiten (Kontakt, Impressum, Datenschutz) */
.grau{background:var(--hell)}
.seite{padding:72px 0 96px}
.seite h1{font-size:clamp(30px,4vw,44px);letter-spacing:-.015em;margin-bottom:32px;font-weight:800}
.text{max-width:780px}
.text h2{font-size:19px;margin:34px 0 8px}
.text h3{font-size:16px;margin:20px 0 6px}
.text p,.text li{color:#33383E;margin-bottom:10px}
.text ul{padding-left:22px}
.text a{color:var(--schwarz);text-decoration-color:var(--rot);text-underline-offset:3px}
.kontakt{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.kontakt .karte{background:#fff;border-color:var(--linie)}
.kontakt .karte:hover{border-color:#D3D7DC}
.kontakt b{display:block;font-size:16px;margin-bottom:8px}
.kontakt a{color:var(--schwarz);font-weight:600;text-decoration:underline;text-decoration-color:var(--rot);text-underline-offset:3px}

footer{background:var(--schwarz);color:#8C939B;padding:34px 0;font-size:14px}
footer .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
footer nav{gap:22px}
footer nav a{color:#D5D9DD;font-weight:400;font-size:14px}

/* Handy: eine schmale Kopfzeile (Logo + Shop-Knopf), Kontakt/Impressum stehen im Fuß */
@media(max-width:760px){
  .wrap{padding:0 18px}
  .kopf{min-height:60px;flex-wrap:nowrap;gap:12px}
  .kopf img{height:30px}
  header nav a:not(.knopf){display:none}
  nav .knopf{padding:8px 14px;font-size:13px;white-space:nowrap}
  .hero .wrap{padding-top:44px;padding-bottom:48px}
  .marke{font-size:11px;margin-bottom:18px}
  .hero h1{font-size:36px;margin-bottom:18px}
  .hero p{font-size:16px;margin-bottom:28px}
  .hero .knopf{width:100%;justify-content:center}
  .fakten{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:36px;padding-top:22px}
  .fakten b{font-size:15px;white-space:nowrap}
  .fakten span{font-size:12px;line-height:1.3;display:block}
  section.dunkel-bereich{padding:44px 0 28px}
  .titel h2{font-size:26px}
  .titel p{font-size:15px}
  .karten{gap:12px}
  .dunkel-bereich .karte,.karte{padding:20px}
  .band{flex-direction:column;align-items:stretch;text-align:left}
  .band .knopf{justify-content:center}
  .seite{padding:40px 0 56px}
  .seite h1{font-size:30px;margin-bottom:22px}
  footer .wrap{flex-direction:column;gap:12px}
  footer .trenn{display:none}
  footer .ort{display:block}
  footer nav{gap:18px}
}

/* 17.11.2026: Foto oben, Suchfeld, Galerie, Anfahrt */
.unsichtbar{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hero-raster{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.hero-bild{width:100%;height:auto;border-radius:20px;box-shadow:0 30px 60px -20px rgba(17,19,22,.35)}
.suche{display:flex;max-width:540px;background:#fff;border:1px solid #D5D9DD;border-radius:12px;padding:6px;box-shadow:0 8px 24px -12px rgba(17,19,22,.25)}
.suche:focus-within{border-color:var(--schwarz)}
.suche input{flex:1;min-width:0;border:0;outline:0;font:inherit;font-size:16px;padding:10px 12px;background:transparent}
.suche button{font:inherit;font-weight:600;background:var(--schwarz);color:#fff;border:0;border-radius:8px;padding:10px 22px;cursor:pointer;
  box-shadow:inset 0 -2px 0 var(--rot)}
.suche button:hover{background:#000}
.galerie-bereich{background:#fff;padding:72px 0 80px}
.galerie-bereich .titel small{color:var(--schwarz)}
.galerie-bereich .titel p{color:var(--grau)}
.galerie{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.galerie img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;transition:transform .25s}
/* untere Reihe: Felgen breit über zwei Spalten, daneben die Motorabdeckung – gleiche Höhe */
.galerie img.breit{grid-column:span 2;aspect-ratio:8/3}
.galerie img:hover{transform:scale(1.02)}
.unter-titel{font-size:22px;margin:44px 0 18px;font-weight:800}
@media(max-width:900px){.hero-raster{grid-template-columns:1fr;gap:32px}.hero-bild{order:-1}}
@media(max-width:760px){
  .suche{flex-direction:column;gap:6px}.suche button{padding:12px}
  .galerie{grid-template-columns:1fr 1fr;gap:8px}.galerie img{border-radius:10px}
  .galerie img:nth-child(3){grid-column:span 2;aspect-ratio:2/1}.galerie img.breit{grid-column:span 2;aspect-ratio:2/1}.galerie img:nth-child(5){grid-column:span 2;aspect-ratio:2/1}
  .galerie-bereich{padding:44px 0 48px}
}
.hero-raster h1{font-size:clamp(36px,4.4vw,58px)}

/* 17.11.2026: Startseite in 3 ganzen Blöcken (Einstieg · Galerie · Teile + Fuß) – Scrollen springt von Block zu Block.
   Nur am Rechner mit genug Höhe; auf dem Handy und kleinen Fenstern normal scrollen. */
@media(min-width:901px){
  html:has(.galerie-bereich){scroll-padding-top:85px}   /* 17.11.2026: kein Einrasten mehr – normales, flüssiges Scrollen */
  .hero,.galerie-bereich,section.dunkel-bereich{min-height:calc(100vh - 85px);display:flex;align-items:center;scroll-snap-align:start}
  section.dunkel-bereich{min-height:calc(100vh - 85px - 90px)}
  .hero > .wrap,.galerie-bereich > .wrap,section.dunkel-bereich > .wrap{width:100%}
  .hero .wrap{padding-top:40px;padding-bottom:40px}
  .galerie-bereich{padding:32px 0}
  .galerie-bereich .titel{margin-bottom:24px}
  footer{scroll-snap-align:end;height:90px;padding:0;display:flex;align-items:center}
  /* Galerie passt sich der Fensterhöhe an: 2 Bildreihen teilen sich die Höhe unter Überschrift und Kopfzeile */
  .galerie{grid-auto-rows:min(330px,calc((100vh - 85px - 64px - 190px - 14px) / 2))}
  .galerie img,.galerie img.breit{height:100%;aspect-ratio:auto}
  .hero-bild{max-height:calc(100vh - 85px - 80px);object-fit:cover}
}
/* niedrige Fenster: letzter Block (Teile + Fuß) kompakter, damit er in einen Bildschirm passt */
@media(min-width:901px) and (max-height:900px){
  section.dunkel-bereich{padding:24px 0 20px}
  .dunkel-bereich .titel{margin-bottom:18px}
  .dunkel-bereich .titel h2{font-size:30px}
  .dunkel-bereich .karte{padding:18px}
  .dunkel-bereich .icon{width:38px;height:38px;margin-bottom:10px}
  .dunkel-bereich .karte p{font-size:14px;line-height:1.5}
  .band.abstand{margin-top:20px;padding-top:18px}
  footer{height:66px}
  section.dunkel-bereich{min-height:calc(100vh - 85px - 66px)}
  .hero .wrap{padding-top:16px;padding-bottom:16px}
  .hero-raster h1{font-size:min(4.4vw,6.6vh);margin-bottom:14px}
  .marke{margin-bottom:12px}
  .hero p{font-size:16px;margin-bottom:20px}
  .fakten{margin-top:24px;padding-top:16px}
  .fakten b{font-size:20px}
}
@media(min-width:901px){.dunkel-bereich .karten{grid-template-columns:repeat(4,1fr)}}
/* sehr niedrige Fenster: Nebentexte weglassen, damit jeder Block auf einen Bildschirm passt */
@media(min-width:901px) and (max-height:700px){
  .dunkel-bereich .titel p,.band p,.galerie-bereich .titel p{display:none}
  .dunkel-bereich .titel h2,.galerie-bereich .titel h2{font-size:24px}
  .dunkel-bereich .karte p{font-size:13px}
  .dunkel-bereich .karte h3{font-size:15px}
  .galerie{grid-auto-rows:calc((100vh - 85px - 64px - 110px - 14px) / 2)}
}
@media(min-width:901px) and (max-width:1100px){.dunkel-bereich .karte{padding:16px}.dunkel-bereich .karte p{font-size:13px}}
/* 17.11.2026: Inhalt der Blöcke größer – füllt den Platz zwischen Kopfzeile und nächstem Block besser */
@media(min-width:901px){
  .hero > .wrap,.galerie-bereich > .wrap{max-width:1320px}
  .hero-raster{grid-template-columns:.9fr 1.1fr;gap:56px}
  .hero-raster h1{font-size:min(5vw,8vh,72px)}
  .hero p{font-size:min(20px,2.4vh);max-width:520px}
  .hero-bild{max-height:calc(100vh - 85px - 48px);width:100%;object-fit:cover}
  .galerie{grid-auto-rows:min(440px,calc((100vh - 85px - 40px - 216px - 14px) / 2))}
  .galerie-bereich .titel{margin-bottom:18px}
}
@media(min-width:901px) and (max-height:700px){
  .galerie{grid-auto-rows:calc((100vh - 85px - 40px - 120px - 14px) / 2)}
  .hero-raster{grid-template-columns:1fr 1fr;gap:32px}
  .hero-raster h1{font-size:min(4.2vw,6.2vh)}
  .hero p{font-size:14px;margin-bottom:14px}
  .fakten{margin-top:16px;padding-top:12px}
  .fakten b{font-size:17px}
}
/* Links in Texten (Impressum, Datenschutz, Kontakt): dunkelrot, ohne Unterstrich */
.text a,.kontakt a{color:#3A0B14;text-decoration:none;font-weight:600}
.text a:hover,.kontakt a:hover{color:var(--rot);text-decoration:underline}

/* 17.11.2026: Kennzeile („— KFZ- und Ersatzteilhandel“, „— Aus unserem Lager“, „— Unsere Teile“) in allen 3 Blöcken
   auf derselben Höhe und derselben linken Kante: Blöcke oben bündig statt mittig, gleiche Breite */
@media(min-width:901px){
  .hero,.galerie-bereich,section.dunkel-bereich{align-items:flex-start}
  .hero > .wrap,.galerie-bereich > .wrap,section.dunkel-bereich > .wrap{max-width:1320px}
  .hero .wrap,.galerie-bereich,section.dunkel-bereich{padding-top:44px}
  .hero-raster{align-items:start}
  .galerie-bereich > .wrap,section.dunkel-bereich > .wrap{padding-top:0}
}
@media(min-width:901px) and (max-height:700px){
  .hero .wrap,.galerie-bereich,section.dunkel-bereich{padding-top:24px}
}
/* 17.11.2026: alles auf eine Linie – Kopfzeile, Inhalt und Fuß gleich breit; Blöcke ohne leere Flächen */
.wrap{max-width:1320px}
@media(min-width:901px){
  /* Einstieg: Foto füllt die Blockhöhe (oben bündig mit der Kennzeile, unten gleicher Abstand) */
  .hero > .wrap{height:calc(100vh - 85px);padding-bottom:44px}
  .hero-raster{height:100%;align-items:stretch}
  .hero-raster > div{align-self:start}
  .hero-bild{height:100%;max-height:none;object-fit:cover}
  /* dunkler Block: Karten oben, Shop-Hinweis unten am Fuß */
  section.dunkel-bereich > .wrap{display:flex;flex-direction:column;height:calc(100vh - 85px - 90px - 44px - 36px)}
  section.dunkel-bereich .band.abstand{margin-top:auto}
}
@media(min-width:901px) and (max-height:900px){
  section.dunkel-bereich > .wrap{height:calc(100vh - 85px - 66px - 44px - 20px)}
}
@media(min-width:901px) and (max-height:700px){
  .hero > .wrap{padding-bottom:24px}
  section.dunkel-bereich > .wrap{height:calc(100vh - 85px - 66px - 24px - 20px)}
}@media(min-width:901px){
  footer > .wrap{width:100%}
  /* Karten mittig zwischen Überschrift und Shop-Hinweis */
  section.dunkel-bereich .karten{margin-top:auto}
  section.dunkel-bereich .karte{padding:28px}
  section.dunkel-bereich .karte h3{font-size:18px}
  section.dunkel-bereich .karte p{font-size:15px}
}
@media(min-width:901px) and (max-height:760px){
  section.dunkel-bereich .karte{padding:18px}
  section.dunkel-bereich .karte h3{font-size:15px}
  section.dunkel-bereich .karte p{font-size:13px}
}
@media(max-width:900px){html{scroll-padding-top:64px}}
/* AMG-Foto immer vollständig (3:2), nicht seitlich abgeschnitten – oben bündig mit dem Text */
@media(min-width:901px){
  .hero-bild{height:auto;max-height:100%;width:100%;aspect-ratio:3/2;object-fit:contain;align-self:start}
}
@media(min-width:901px){.hero-bild{align-self:center}}   /* AMG-Foto senkrecht mittig im Block, vollständig */

/* 17.11.2026: sanftes Einblenden beim Scrollen – reines CSS (scroll-driven animations), kein Skript.
   Browser ohne Unterstützung zeigen alles sofort; bei „Bewegung reduzieren“ keine Animation. */
@keyframes einblenden{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .galerie img,.dunkel-bereich .karte,.band,.titel,.fakten,.hero-bild{
      animation:einblenden linear both;animation-timeline:view();animation-range:entry 0% entry 55%}
    .galerie img:nth-child(2),.dunkel-bereich .karte:nth-child(2){animation-range:entry 8% entry 63%}
    .galerie img:nth-child(3),.dunkel-bereich .karte:nth-child(3){animation-range:entry 16% entry 71%}
    .galerie img:nth-child(4),.dunkel-bereich .karte:nth-child(4){animation-range:entry 24% entry 79%}
    .galerie img:nth-child(5){animation-range:entry 32% entry 87%}
  }
}
/* 18.11.2026: Raster-Kästchen oben weg – stattdessen ein ganz weicher Lichtverlauf; Galerie mit etwas mehr Weiß unten */
.hero::before{content:none}
.hero{background:radial-gradient(ellipse 70% 60% at 85% 20%,#F3F4F6 0%,#fff 70%)}
@media(min-width:901px){
  .galerie{grid-auto-rows:min(420px,calc((100vh - 85px - 44px - 216px - 14px - 40px) / 2))}
}
@media(min-width:901px) and (max-height:700px){
  .galerie{grid-auto-rows:calc((100vh - 85px - 40px - 120px - 14px - 28px) / 2)}
}
/* 18.11.2026: Galerie hochwertig – 1 großes Bild links über zwei Reihen, 2 rechts übereinander; ruhige Ecken, kein Zoom-Effekt */
.galerie img{border-radius:6px}
.galerie img:hover{transform:none}
.galerie img.gross{grid-column:span 2;grid-row:span 2;aspect-ratio:auto;height:100%}
@media(max-width:900px){.galerie img.gross{grid-column:1/-1;grid-row:auto;aspect-ratio:16/9}
  .galerie img:not(.gross){grid-column:span 1;aspect-ratio:4/3}}