/* jetzt IT · Farben und Schrift nach Brand Manual 2025 */
@font-face { font-family: "Lato"; src: url("assets/schrift/Lato-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/schrift/Lato-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/schrift/Lato-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  color-scheme: light only;
  --orange: #F79422;
  --orange-dunkel: #E58224;
  --anthrazit: #4D4D4D;
  --dunkel: #262626;
  --grau: #8A8E92;
  --hellgrau: #F5F6F7;
  --weiss: #FFFFFF;
  --rand: clamp(16px, 4vw, 56px);
  --kopf: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--anthrazit);
  font-family: "Lato", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}
h1, h2 { color: var(--dunkel); font-weight: 900; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }

.kennzeile {
  color: var(--orange-dunkel);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.7em;
}

.knopf {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 1.25em;
  border-radius: 6px;
  border: 2px solid var(--orange);
  background: var(--orange);
  color: var(--dunkel);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.knopf:hover { background: var(--orange-dunkel); border-color: var(--orange-dunkel); }
.knopf--still { background: var(--weiss); }
.knopf--still:hover { background: var(--hellgrau); }
.knopf:focus-visible, .punkt:focus-visible, .kopf a:focus-visible { outline: 3px solid var(--dunkel); outline-offset: 3px; }

/* Kopf */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: var(--kopf);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--rand);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--orange);
}
.kopf__logo img { display: block; height: 44px; width: auto; }
.kopf__nav { display: flex; gap: 22px; margin-left: auto; font-weight: 700; font-size: 0.95rem; }
.kopf__nav a { text-decoration: none; color: var(--dunkel); padding: 12px 0; }
.kopf__nav a:hover { color: var(--orange-dunkel); }
.kopf__kontakt { display: flex; align-items: center; gap: 16px; }
.kopf__telefon { font-weight: 700; color: var(--dunkel); text-decoration: none; white-space: nowrap; padding: 12px 0; }
.kopf .knopf { min-height: 40px; }

/* Fahrt */
.fahrt { position: relative; height: 480vh; }
.fahrt__buehne {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--weiss);
}
.fahrt__startbild img, .fahrt__flaeche {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.fahrt__startbild img { object-fit: cover; object-position: 50% 50%; display: block; }
.fahrt__flaeche { opacity: 0; }
.fahrt--bereit .fahrt__flaeche { opacity: 1; }

.halt {
  position: absolute; z-index: 3;
  left: var(--rand);
  top: calc(var(--kopf) + 13vh);
  max-width: min(34rem, 44vw);
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}
.halt.sichtbar { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.halt--1 { opacity: 1; visibility: visible; transform: none; }
.halt--1:not(.sichtbar).gestartet { opacity: 0; visibility: hidden; }
.halt h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
.halt h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); }
.halt__text { font-size: clamp(1.1rem, 1.6vw, 1.4rem); margin-top: 0.9em; max-width: 24em; }
.halt__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
/* Auf dem hellen Boden braucht die Schrift einen ruhigen Grund. */
.halt--2, .halt--3, .halt--4 {
  background: rgba(255, 255, 255, 0.86);
  padding: 18px 22px;
  border-left: 5px solid var(--orange);
  border-radius: 0 8px 8px 0;
}
.halt--4 { top: calc(var(--kopf) + 3vh); max-width: min(30rem, 40vw); }
.halt--4 h2 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); }

.punkte { position: absolute; inset: 0; z-index: 4; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0s linear 0.4s; }
.punkte.sichtbar { opacity: 1; visibility: visible; transition-delay: 0s; }
.punkt {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 6px;
  background: var(--weiss);
  border: 2px solid var(--orange);
  border-radius: 999px;
  color: var(--dunkel); font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(38, 38, 38, 0.16);
}
.punkt b {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange); font-size: 0.82rem;
}
.punkt:hover { background: var(--hellgrau); }
.punkt--waechter { padding: 0 14px; min-height: 34px; font-size: 0.82rem; background: var(--orange); transform: translate(22px, -50%); }
.punkt--waechter:hover { background: var(--orange-dunkel); }

.fahrt__hinweis {
  position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--anthrazit);
  transition: opacity 0.3s ease;
}
.fahrt__hinweis::after { content: ""; display: block; width: 2px; height: 26px; margin: 8px auto 0; background: var(--orange); }
.fahrt__hinweis.weg { opacity: 0; }

/* Abschnitte unter der Fahrt: vorerst nur das Gerüst */
.abschnitt { padding: clamp(56px, 9vw, 120px) var(--rand); scroll-margin-top: var(--kopf); position: relative; overflow: hidden; }
.abschnitt--grau { background: var(--hellgrau); }
.abschnitt__innen { max-width: 62rem; margin: 0 auto; position: relative; z-index: 1; }
.abschnitt h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 20em; }
.vermerk {
  display: inline-block; margin-top: 1.2em; padding: 4px 12px;
  border: 1px dashed var(--grau); border-radius: 4px;
  color: var(--anthrazit); font-size: 0.85rem;
}
.leistungen { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.leistungen li { padding: 14px 16px 14px 34px; background: var(--weiss); border-radius: 6px; position: relative; box-shadow: 0 1px 0 rgba(38, 38, 38, 0.08); }
.abschnitt:not(.abschnitt--grau) .leistungen li { background: var(--hellgrau); }
.leistungen li::before { content: ""; position: absolute; left: 14px; top: 1.45em; width: 9px; height: 9px; background: var(--orange); }

.abschnitt--kontakt { padding-bottom: clamp(120px, 22vw, 260px); }
.kontakt__zeile { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.kontakt__adresse { margin-top: 1.4em; color: var(--anthrazit); }
/* Die orangen Dreiecke der Titelfolie */
.dreiecke { position: absolute; right: 0; bottom: 0; width: min(62vw, 760px); aspect-ratio: 16 / 9; pointer-events: none; }
.dreiecke::before, .dreiecke::after { content: ""; position: absolute; inset: 0; }
.dreiecke::before { background: #F7AE57; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.dreiecke::after { background: linear-gradient(var(--orange), var(--orange)) no-repeat; clip-path: polygon(100% 22%, 100% 100%, 27% 100%); }

.fuss { background: var(--anthrazit); color: var(--weiss); padding: 22px var(--rand); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.9rem; }
.fuss__claim { letter-spacing: 0.2em; font-size: 0.75rem; align-self: center; }

/* Tablet und Telefon */
@media (max-width: 1080px) {
  .kopf__nav { display: none; }
  .kopf__kontakt { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --kopf: 58px; }
  body { font-size: 17px; }
  .kopf { gap: 10px; }
  .kopf__logo img { height: 34px; }
  .kopf__telefon-wort, .kopf .knopf { display: none; }
  .kopf__telefon { border: 2px solid var(--orange); border-radius: 6px; padding: 7px 10px; font-size: 0.9rem; }
}
/* Hochformat: Text oben, Bild darunter */
@media (max-aspect-ratio: 9/10) {
  .fahrt { height: 440vh; }
  .halt { top: calc(var(--kopf) + 3.5vh); right: var(--rand); max-width: none; }
  .halt h1 { font-size: clamp(2.4rem, 11.5vw, 4rem); }
  .halt h2 { font-size: clamp(1.5rem, 6.6vw, 2.4rem); }
  .halt--4 { max-width: none; top: calc(var(--kopf) + 2vh); }
  .halt--1 .knopf--still { display: none; }
  .halt--4 h2 { font-size: clamp(1.25rem, 5.4vw, 1.9rem); }
  .halt--2, .halt--3, .halt--4 { padding: 14px 16px; }
  .punkt { min-height: 44px; padding: 0 12px 0 5px; font-size: 0.86rem; gap: 6px; }
  .punkt b { width: 30px; height: 30px; }
  .punkt--waechter { padding: 0 12px; }
}

/* Wer Bewegung reduziert haben will, bekommt Standbilder statt der Fahrt. */
.ruhig .fahrt { height: auto; }
.ruhig .fahrt__buehne { position: relative; height: auto; overflow: visible; padding-top: var(--kopf); }
.ruhig .fahrt__startbild img { position: static; aspect-ratio: 16 / 9; height: auto; }
.ruhig .fahrt__flaeche { position: static; opacity: 1; height: auto; aspect-ratio: 16 / 9; }
.ruhig .halt { position: static; opacity: 1; visibility: visible; transform: none; max-width: none; margin: 28px var(--rand); background: none; border: 0; padding: 0; }
.ruhig .halt--2, .ruhig .halt--3 { border-left: 5px solid var(--orange); padding-left: 16px; }
.ruhig .punkte { position: relative; opacity: 1; visibility: visible; inset: auto; display: flex; flex-wrap: wrap; gap: 10px; padding: 0 var(--rand) 40px; }
.ruhig .punkt, .ruhig .punkt--waechter { position: static; transform: none; }
.ruhig .fahrt__hinweis { display: none; }
@media (max-aspect-ratio: 9/10) {
  .ruhig .fahrt__startbild img, .ruhig .fahrt__flaeche { aspect-ratio: 9 / 16; max-height: 80svh; object-fit: cover; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .halt, .punkte { transition: none; }
}

/* Im Hochformat läge der Hinweis über dem Wächter. Am Telefon scrollt man ohnehin. */
@media (max-aspect-ratio: 9/10) {
  .fahrt__hinweis { display: none; }
}
