/* Hleyto Mobile – Website */

@font-face { font-family: Montserrat; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/montserrat-400.woff) format("woff"); }
@font-face { font-family: Montserrat; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/montserrat-500.woff) format("woff"); }
@font-face { font-family: Montserrat; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/montserrat-600.woff) format("woff"); }

:root {
  --schwarz: #000;
  --silber: #d4d3d4;
  --silber-dunkel: #9a999a;
  --linie: #2b2b2b;
  --kopf: 84px;
  --fuss: 40px;
}
* { box-sizing: border-box; }
html { background: var(--schwarz); }
body {
  margin: 0;
  background: var(--schwarz);
  color: var(--silber);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.unsichtbar {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sprung {
  position: fixed; left: 16px; top: -100px; z-index: 100;
  background: #fff; color: #000; padding: 10px 16px; font-weight: 600;
}
.sprung:focus { top: 16px; }

/* Scrollstrecke: gibt dem Einstieg seine Länge, alles Sichtbare ist fixiert */
.strecke { height: 400vh; }

/* Film: Bildsequenz, die beim Scrollen durchläuft */
.film { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; }

/* Logo: fährt beim Scrollen aus der Bildmitte in die Kopfzeile */
.logo {
  position: fixed; left: 0; top: 0; z-index: 30;
  transform-origin: 0 0;
  will-change: transform;
  display: block;
}
.logo img { display: block; width: 100%; height: auto; }

.claim {
  position: fixed; left: 0; right: 0; z-index: 5;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: clamp(10px, 1.05vw, 14px);
  padding: 0 24px;
}
.weiter {
  position: fixed; left: 50%; bottom: 36px; z-index: 5;
  transform: translateX(-50%);
  font-size: 13px;
  color: var(--silber-dunkel);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.weiter::after { content: ""; width: 1px; height: 36px; background: var(--silber-dunkel); }
.weiter:hover { color: #fff; }

/* Kopfzeile */
.kopf {
  position: fixed; left: 0; right: 0; top: 0; z-index: 20;
  height: var(--kopf);
  display: flex; align-items: center; justify-content: flex-end;
  gap: 36px;
  padding: 0 32px;
  font-weight: 500;
}
.kopf .rechts { display: flex; align-items: center; gap: 36px; }
.kopf .menue { display: flex; align-items: center; gap: 28px; margin-right: auto; }
/* Startseite: Platz für das Logo lassen, das links in die Kopfzeile fährt */
.kopf > .menue { margin-left: 164px; }
.kopf .menue a, .kopf .menue button { padding: 6px 0; border-bottom: 1px solid transparent; }
.kopf .menue a:hover, .kopf .menue button:hover { border-bottom-color: currentColor; }
.kopf a:hover, .kopf .menue button:hover, .fuss a:hover, .fuss button:hover { color: #fff; }
.kopf .tel { white-space: nowrap; }
.knopf {
  display: inline-block;
  border: 1px solid var(--silber);
  padding: 9px 22px;
  font-weight: 500;
  text-align: center;
}
.knopf:hover, .knopf.voll { background: var(--silber); color: var(--schwarz); }
.knopf.voll:hover { background: #fff; border-color: #fff; }

/* Fahrzeugbestand: schiebt sich von unten über den Einstieg */
.bestand {
  position: fixed; left: 0; right: 0; top: var(--kopf); bottom: 0; z-index: 10;
  background: #fff;
  display: flex; flex-direction: column;
  will-change: transform;
  outline: 0;
}
.bestand iframe { flex: 1; width: 100%; border: 0; min-height: 0; pointer-events: none; }
.bestand.aktiv iframe { pointer-events: auto; }

.einwilligung {
  flex: 1; min-height: 0; overflow: auto;
  background: var(--schwarz);
  border-top: 1px solid var(--linie);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
}
.einwilligung > div { max-width: 620px; text-align: center; }
.einwilligung p { margin: 0 0 20px; }
.einwilligung .knoepfe { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 28px 0 0; }
.gross { font-size: clamp(24px, 3vw, 36px); font-weight: 500; line-height: 1.25; margin: 0 0 14px; color: #fff; }

.fuss {
  height: var(--fuss); flex: none;
  background: var(--schwarz);
  color: var(--silber-dunkel);
  font-size: 12.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 32px;
  white-space: nowrap;
}
.fuss nav { display: flex; gap: 24px; }

/* Kontakt-Ebene */
.ebene {
  position: fixed; inset: 0; z-index: 40;
  background: var(--schwarz);
  overflow: auto;
  padding: calc(var(--kopf) + 6vh) 32px 48px;
}
.ebene .zu { position: fixed; right: 32px; top: 0; height: var(--kopf); font-weight: 500; z-index: 1; }
.ebene .zu:hover { color: #fff; }
.ebene .innen { max-width: 980px; margin: 0 auto; }
.ebene .text { max-width: 620px; margin: 0 0 48px; }
.spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.spalten > div { padding: 28px 28px 28px 0; }
.spalten > div + div { padding-left: 28px; border-left: 1px solid var(--linie); }
.ebene h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; color: #fff; }
.spalten p { margin: 0; }
.spalten .karte { margin-top: 12px; }
.spalten a, .ueber a, .inhalt .text a { border-bottom: 1px solid var(--silber-dunkel); }
.spalten a:hover, .ueber a:hover, .inhalt .text a:hover { color: #fff; border-color: #fff; }
.ueber { max-width: 620px; margin-top: 40px; }
.ueber p { margin: 0 0 14px; }
.widerruf { margin: 40px 0 0; font-size: 13px; color: var(--silber-dunkel); }
.widerruf button { border-bottom: 1px solid currentColor; }
.widerruf button:hover { color: #fff; }

/* Einzelne Seiten (Impressum, Datenschutz …) */
.hm-seite .kopf.fest { background: var(--schwarz); justify-content: space-between; }
.logo-klein { display: block; height: 56px; }
.logo-klein img { display: block; height: 100%; width: auto; }
.inhalt { max-width: 760px; margin: 0 auto; padding: calc(var(--kopf) + 56px) 32px 80px; outline: 0; }
.inhalt h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 500; line-height: 1.2; margin: 0 0 36px; color: #fff; }
.inhalt .text h2 { font-size: 19px; font-weight: 600; margin: 40px 0 10px; color: #fff; }
.inhalt .text h3 { font-size: 16px; font-weight: 600; margin: 28px 0 8px; color: #fff; }
.inhalt .text p, .inhalt .text ul, .inhalt .text ol { margin: 0 0 16px; }
.inhalt .text img { max-width: 100%; height: auto; }
.fuss.frei { border-top: 1px solid var(--linie); }

/* Ohne JavaScript: statische Ansicht */
.kein-js .strecke, .kein-js .film, .kein-js .claim, .kein-js .weiter { display: none; }
.kein-js .logo { width: 124px; left: 32px; top: 14px; }

@media (max-width: 760px) {
  :root { --kopf: 64px; --fuss: 36px; }
  .kopf { padding: 0 16px; gap: 16px; font-size: 14px; }
  .kopf .rechts { gap: 16px; }
  .kopf .knopf { padding: 7px 14px; }
  .kopf .tel { display: none; }
  .kopf .menue { gap: 16px; }
  .kopf > .menue { margin-left: 109px; }
  .fuss { padding: 0 16px; font-size: 12px; }
  .fuss .ort { display: none; }
  .fuss nav { width: 100%; justify-content: flex-end; gap: 20px; }
  .einwilligung { padding: 24px 20px; align-items: flex-start; }
  .ebene { padding-left: 20px; padding-right: 20px; }
  .ebene .zu { right: 16px; }
  .spalten { grid-template-columns: 1fr; }
  .spalten > div, .spalten > div + div { padding: 22px 0; border-left: 0; }
  .spalten > div + div { border-top: 1px solid var(--linie); }
  .logo-klein { height: 42px; }
  .inhalt { padding: calc(var(--kopf) + 32px) 20px 56px; }
  .kein-js .logo { width: 93px; left: 16px; top: 11px; }
}

/* Wer Bewegung reduziert haben möchte, sieht sofort den Endzustand */
@media (prefers-reduced-motion: reduce) {
  .strecke { height: 100vh; }
  .film, .claim, .weiter { display: none; }
}
