/* =========================================================
   Endurensohn Tours – Stylesheet
   Farbwelt aus hintergrund.jpg: Teal / Orange / Weiß / Nachtschwarz
   ========================================================= */

:root {
  --teal:       #14b5ff;
  --teal-deep:  #04b3bd;
  --orange:     #f5890b;
  --orange-deep:#e06d00;
  --ink:        #0d1418;   /* fast-schwarz, leicht kühl */
  --ink-soft:   #16232a;
  --paper:      #ffffff;
  --line:       #ffffff;

  /* Kräftige Bandfarben nach hintergrund.jpg – hell & satt */
  --band-teal:   #14b5ff;
  --band-orange: #d9740c;

  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .55);

  --font-display: "Archivo Black", "Arial Narrow", "Franklin Gothic Bold", Impact, system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / Basis ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 900; line-height: 1.02; letter-spacing: -.01em; }

/* ---------- Layout-Helfer ---------- */
main { position: relative; z-index: 1; }

/* Volle Breite als Farbband; Inhalt bleibt zentriert & schmal */
.section {
  width: 100%;
  /* Genug Luft, damit Inhalt (v.a. leicht gedrehte Bilder) nicht an den
     Trenner stößt – die Bruchstücke laufen zusätzlich ~PAD in den Abschnitt. */
  padding: clamp(48px, 6.5vw, 88px) var(--pad);
}
.section > * { max-width: var(--maxw); margin-inline: auto; }

/* ---------- Farb-Bänder als eigene Hintergrund-Ebene ----------
   Das Band liegt als ::before HINTER dem Trenner (z-index: -2), der
   Abschnitt selbst ist transparent. So kann die zerhackte Trenner-Kante
   frei in die Bänder auslaufen, ohne von einer deckenden Abschnittsfläche
   beschnitten zu werden – und der Inhalt (z-index: 0) bleibt immer oben. */
#about, #philosophie, #konzept, #referenzen, #touren, #faq, #kontakt {
  position: relative;
  background: transparent;
}
#about::before, #philosophie::before, #konzept::before,
#referenzen::before, #touren::before, #faq::before, #kontakt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}
#about::before      { background: var(--band-teal); }
#philosophie::before{ background: var(--band-orange); }
#konzept::before    { background: var(--band-teal); }
#referenzen::before { background: var(--band-orange); }
#touren::before     { background: var(--band-teal); }
#faq::before        { background: var(--band-orange); }
#kontakt::before    { background: var(--band-teal); }

/* Gezielt mehr Luft an einzelnen Übergängen (über/unter den Trennern). */
#about       { padding-top: clamp(88px, 11vw, 128px); }
#philosophie { padding-top: clamp(76px, 9vw, 108px); padding-bottom: clamp(76px, 9vw, 108px); }
#referenzen  { padding-top: clamp(76px, 9vw, 108px); }

/* ---------- Weißer Trenner (20°, links-oben -> rechts-unten) ----------
   Höhe = tan(20°)·Breite = 36.4vw  -> echte 20°-Kante bis zur Deckelung.
   Bewegung entsteht ausschließlich beim Scrollen (per JS). */
.et-divider {
  position: relative;
  width: 100%;
  height: min(150px, 24vw);
  line-height: 0;
  overflow: visible;
  /* Hinter dem Inhalt: die deckenden Abschnittsfarben verdecken die
     ±PAD-Überzeichnung des SVG selbst, sodass Karten/Badges am oberen
     bzw. unteren Abschnittsrand NIE mehr beschnitten werden. Der Trenner
     bleibt nur in seiner eigenen Lücke zwischen zwei Bändern sichtbar. */
  z-index: -1;
}
.et-divider svg { display: block; width: 100%; height: 100%; }

/* Weißer Text auf den kräftigen Bändern lesbar halten */
.section-title, .section-lead, .section-head p:not(.eyebrow),
.copy p, .hero-sub { text-shadow: 0 1px 3px rgba(0,0,0,.30); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 1rem;
  color: #000;
  background: var(--teal);
  padding: 7px 14px;
  border: 3px solid #fff;
  border-radius: 4px;
  margin: 0 0 18px;
  transform: rotate(-2.5deg);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.5);
}
.section-title {
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--paper);
}
.section-head { max-width: 780px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-lead, .section-head p:not(.eyebrow) { color: rgba(255,255,255,.82); font-size: 1.15rem; }

/* Auf den orangen Bändern soll das Eyebrow-Badge ebenfalls orange sein statt blau. */
#philosophie .eyebrow, #referenzen .eyebrow, #kontakt .eyebrow {
  background: var(--orange);
}

/* Teal-Bänder sind jetzt hell (#14b5ff) -> schwarze Schrift, kein dunkler Schatten */
#about, #konzept, #touren { color: var(--ink); }
#about .section-title,  #about .copy p:not(.eyebrow),
#konzept .section-title, #konzept .section-lead, #konzept .section-head p:not(.eyebrow),
#touren .section-title,  #touren .section-lead,  #touren .section-head p:not(.eyebrow) {
  color: var(--ink);
  text-shadow: none;
}

/* ---------- Header ---------- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 16px 0;
}
#header.scrolled {
  background: rgba(9, 15, 18, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,.6);
  padding: 8px 0;
}
.build-notice {
  margin: 0 0 12px;
  padding: 6px var(--pad);
  text-align: center;
  font-size: .78rem;
  letter-spacing: .02em;
  color: rgba(255,255,255,.65);
  background: rgba(0,0,0,.15);
  transition: margin .3s ease, padding .3s ease, font-size .3s ease;
}
#header.scrolled .build-notice {
  margin-bottom: 8px;
  font-size: .72rem;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  border-radius: 8px;
  transform: rotate(-6deg);
  box-shadow: 0 6px 16px -6px rgba(245,137,11,.8);
}
.brand-text {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--paper);
  font-size: 1.15rem;
  letter-spacing: .02em;
}
.brand-text em { color: var(--teal); font-style: normal; }

.nav { display: flex; gap: 26px; }
.nav a {
  position: relative;
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: .96rem;
  padding: 4px 0;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 3px;
  background: var(--orange);
  transition: width .25s ease;
}
.nav a:hover, .nav a.active { color: var(--paper); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); }
.lang button {
  background: none; border: 0; cursor: pointer;
  color: rgba(255,255,255,.55);
  font: inherit; font-size: .92rem; padding: 2px 4px;
  transition: color .2s;
}
.lang button.is-active { color: var(--teal); }
.lang button:hover { color: var(--paper); }
.lang-sep { color: rgba(255,255,255,.35); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 3px; background: var(--paper); border-radius: 3px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 8px;
  transition: transform .18s ease, box-shadow .2s ease, background .2s;
  border: 2px solid transparent;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { transform: translateY(-3px) rotate(-1deg); background: var(--orange-deep); color: #fff; }
.btn-teal { background: var(--teal); color: var(--ink); }
.btn-teal:hover { transform: translateY(-3px) rotate(-1deg); background: var(--teal-deep); color: var(--ink); }
.btn-ghost { border-color: var(--paper); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); transform: translateY(-3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px var(--pad) clamp(88px, 10vw, 120px);
  background: transparent;
}
/* Hero-Hintergrund als eigene Ebene HINTER dem Trenner (z-index: -2), damit
   der erste Trenner (Hero -> Über mich) nicht von der deckenden Hero-Fläche
   abgeschnitten wird. Der Hero-Inhalt bleibt darüber sichtbar. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--band-orange);
  background-image:
    linear-gradient(180deg, rgba(217,116,12,0) 0%, rgba(217,116,12,.04) 65%, var(--band-orange) 95%, var(--band-orange) 100%),
    url("../assets/img/kette-schlamm.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-inner {
  max-width: 860px;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  /* Mindestabstand zwischen den Hero-Elementen. space-between verteilt bei
     Platz zusätzlich, bei großen Schriften bleibt aber dieser Sockelabstand,
     damit Kicker, Titel, Text und Buttons nicht aufeinanderkleben. */
  gap: clamp(22px, 6vw, 44px);
}
.kicker {
  display: inline-block;
  color: var(--ink);
  background: var(--paper);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
  padding: 8px 16px;
  border-radius: 40px;
  margin-bottom: 0;
  /* Luft zwischen fixierter Kopfzeile und Kicker-Pille – space-between drückt
     den Kicker sonst dicht unter die Navigationsleiste. */
  margin-top: clamp(40px, 13vw, 56px);
}
.hero-title {
  font-size: clamp(3.6rem, 12vw, 9rem);
  text-transform: uppercase;
  color: var(--paper);
  margin: 0;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
}
/* Slogan als Rechteck: beide Zeilen einzeilig und gleich breit. Die kürzere
   obere (weiße) Zeile ("Endlich runter") wird so weit vergrößert, bis sie
   natürlich genauso breit ist wie die orange Zeile ("von der Straße"). */
.hero-headline {
  display: block;
}
.hero-headline > span {
  display: block;
  white-space: nowrap;
}
.hero-headline > span:first-child {
  font-size: 1.0533em;
}
/* Umbruch nur auf Mobile (siehe Media-Query weiter unten). */
.hero-headline .mbr { display: none; }
.hero-title .accent {
  color: var(--orange);
}
.hero-title-sub {
  color: rgba(255,255,255,.92);
  font-size: clamp(.9rem, 1.9vw, 1.15rem);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-top: clamp(14px, 2.4vw, 22px);
  padding-top: clamp(12px, 2vw, 18px);
  border-top: 2px solid rgba(255,255,255,.28);
  display: inline-block;
  text-shadow: 0 4px 18px rgba(0,0,0,.45);
}
.hero-sub {
  color: rgba(255,255,255,.9);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  max-width: 620px;
  margin: 0 auto;
}
.hero-copy {
  display: inline-block;
  /* Mehr Luft zwischen Kicker-Pille und Headline. */
  margin-top: clamp(31px, 6.5vw, 73px);
}
/* Text bewusst tiefer setzen, damit die große Headline oben mehr Raum
   zum Wirken hat. */
.hero-copy .hero-sub { margin-top: calc(clamp(14px, 2.4vw, 22px) + 70px); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: clamp(28px, 5vw, 56px); }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px;
}
.scroll-hint span {
  position: absolute; top: 8px; left: 50%; margin-left: -3px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--paper);
  animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0%{opacity:0;transform:translateY(0)} 40%{opacity:1} 100%{opacity:0;transform:translateY(16px)} }

/* ---------- Über mich ---------- */
.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.section-grid-rev { grid-template-columns: 1.1fr 0.9fr; }
.media-duo { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 6vw, 56px); }
.media { position: relative; }
.media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 4px solid var(--paper);
  transform: rotate(-2deg);
  transition: transform .4s ease;
}
.media:hover img { transform: rotate(0deg) scale(1.01); }
.media-tag {
  position: absolute; left: -8px; bottom: 18px;
  background: var(--orange); color: #fff;
  font-family: var(--font-display); text-transform: uppercase; font-size: .95rem;
  letter-spacing: .06em; padding: 8px 14px; border-radius: 6px;
  transform: rotate(-3deg); box-shadow: var(--shadow);
}
.media-tag--top { bottom: auto; top: 18px; }
.copy p:not(.eyebrow) { color: rgba(255,255,255,.85); margin: 0 0 16px; }
.copy .section-title { color: var(--paper); }

.stats { list-style: none; display: flex; gap: 14px; padding: 0; margin: 26px 0 0; flex-wrap: wrap; }
.stats + .media { margin-top: 26px; }
.stats li {
  flex: 1 1 120px;
  background: var(--orange);
  border: 1px solid var(--orange-deep);
  border-radius: 10px; padding: 16px 14px; text-align: center;
  box-shadow: 0 12px 26px -14px rgba(245,137,11,.9);
}
.stats strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: #fff; }
.stats span { font-size: .82rem; color: #fff; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Konzept ---------- */
.konzept-media.shot {
  margin: 0 auto clamp(36px, 6vw, 64px);
}
.quotes + .konzept-media.shot {
  margin-top: clamp(36px, 6vw, 64px);
}
.konzept-media img { object-position: 50% 30%; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 34px 26px 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--orange); }
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px -22px rgba(0,0,0,.7); }
.card-num {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--teal-deep);
  line-height: 1; opacity: .35; display: block; margin-bottom: 8px;
}
.card h3 { font-size: 1.25rem; text-transform: uppercase; margin: 0 0 10px; }
.card p { margin: 0; color: #354049; font-size: .98rem; }

/* ---------- Info-Boxen: Deal / Verantwortung / Treffpunkt ---------- */
.notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 0 auto clamp(36px, 6vw, 64px);
}
.note {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--teal);
}
.note--deal { border-top-color: var(--orange); }
.note--risk { border-top-color: #e11d2a; }
.note--spot { border-top-color: var(--teal-deep); }
.note h3 { font-size: 1.2rem; text-transform: uppercase; margin: 0 0 10px; }
.note p { margin: 0; color: #354049; font-size: .98rem; text-shadow: none; }
.note p strong { color: var(--ink); }

/* ---------- FAQ (Akkordeon) ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: rgba(9, 15, 18, .32);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  padding: 0 22px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  position: relative;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.02rem;
  color: var(--paper);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 2px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem; line-height: 1; color: var(--orange);
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 20px; color: rgba(255, 255, 255, .9); }

/* ---------- Referenzen ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.quote {
  margin: 0;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.16);
  border-left: 5px solid var(--teal);
  border-radius: 10px; padding: 26px 24px;
  backdrop-filter: blur(4px);
}
.quote p { color: var(--ink); font-size: 1.08rem; margin: 0 0 14px; }
.quote cite { color: var(--orange); font-style: normal; font-weight: 700; font-size: .9rem; }
.ref-note { margin-top: 22px; color: rgba(255,255,255,.55); font-size: .85rem; font-style: italic; }

/* ---------- Vergangene Touren ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.shot {
  position: relative;
  margin: 0; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  background: var(--ink, #0b0e11);
}
.shot-wide { grid-column: 1 / -1; }
.shot img { width: 100%; height: auto; display: block; transition: transform .6s ease; border-radius: var(--radius) var(--radius) 0 0; }
.shot:hover img { transform: scale(1.06); }
.shot figcaption {
  padding: 8px 20px 10px;
  background: #f0efe9;
  border-top: 1px solid rgba(255,255,255,.35);
}
.shot figcaption strong {
  display: inline-block; font-family: var(--font-display); text-transform: uppercase;
  color: var(--orange); font-size: 1.35rem; margin-bottom: 2px;
}
.shot figcaption span { display: block; font-size: 1.05rem; color: var(--ink); }

/* ---------- Kontakt ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px);
  background: rgba(9,15,18,.55);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: clamp(28px, 5vw, 52px);
  backdrop-filter: blur(6px);
}
.contact-copy p:not(.eyebrow) { color: rgba(255,255,255,.85); }
.contact-copy .media { margin-top: 26px; max-width: 320px; }
.contact-direct { margin: 0; font-weight: 600; }
.contact-direct a { color: var(--teal); border-bottom: 2px solid var(--teal); }
.contact-direct a:hover { color: var(--orange); border-color: var(--orange); }

.text-link { color: #000; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--orange); }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
}
.contact-cta {
  align-self: center;
  display: flex; flex-direction: column; align-items: stretch; gap: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: clamp(24px, 3vw, 34px);
}
.contact-cta-title { font-family: var(--font-display); color: #fff; font-size: 1.5rem; margin: 0; }
.contact-cta-lead { color: rgba(255,255,255,.85); margin: -6px 0 4px; }
.contact-cta .btn { cursor: pointer; }
.contact-btn { text-align: center; padding-top: 16px; padding-bottom: 16px; font-size: 1.05rem; }
.contact-channels {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 4px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.form-hint { font-size: .8rem; color: rgba(255,255,255,.5); margin: 0; text-transform: none; letter-spacing: 0; font-weight: 400; }

/* ---------- Footer ---------- */
.footer {
  position: relative; z-index: 1;
  text-align: center; padding: 30px var(--pad);
  color: rgba(255,255,255,.7); font-size: .88rem;
  background: rgba(6,10,13,.85);
}
.footer p { margin: 0; }
.footer-legal { margin-top: 8px !important; }
.footer-legal a {
  color: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.footer-legal a:hover { color: var(--teal); border-color: var(--teal); }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(60px, 10vw, 100px) var(--pad) clamp(48px, 8vw, 80px);
  color: rgba(255, 255, 255, .85);
  background: var(--ink);
  min-height: 100vh;
}
.legal-back {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--orange);
  font-weight: 700;
  transition: color .2s;
}
.legal-back:hover { color: var(--teal); }
.legal h1 {
  color: var(--paper);
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  margin: 0 0 24px;
}
.legal h2 {
  color: var(--teal);
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 34px 0 10px;
}
.legal p { margin: 0 0 14px; }
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--orange); }
.legal address { font-style: normal; margin: 0 0 14px; }
.legal .placeholder {
  color: var(--orange);
  font-weight: 700;
  background: rgba(245, 137, 11, .12);
  padding: 1px 6px;
  border-radius: 4px;
}
.legal .muted { color: rgba(255, 255, 255, .5); font-size: .85rem; margin-top: 32px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Mobile-Navigation Panel ---------- */
@media (max-width: 860px) {
  /* backdrop-filter auf dem fixierten Header wird in mobilen Browsern
     beim Scrollen fehlerhaft neu gezeichnet (der Hintergrund wirkt oben
     rechts abgeschnitten). Auf Mobil daher ohne Blur, mit fast deckendem
     Hintergrund, der zuverlässig durchgezeichnet wird. */
  #header.scrolled {
    background: rgba(9, 15, 18, .96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; gap: 8px;
    background: rgba(9,15,18,.97); backdrop-filter: blur(12px);
    padding: 100px 30px 30px; transform: translateX(100%);
    transition: transform .3s ease, box-shadow .3s ease;
  }
  /* Schatten nur am offenen Panel – sonst blutet der weiche schwarze
     Verlauf des ausgeblendeten (rechts geparkten) Panels über die
     gesamte rechte Bildkante zurück in den sichtbaren Bereich. */
  .nav.open { transform: none; box-shadow: -20px 0 60px -20px rgba(0,0,0,.8); }
  .nav a { font-size: 1.15rem; padding: 10px 0; }
  .burger { display: flex; }
}

@media (max-width: 760px) {
  .section-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .media img { transform: rotate(-1deg); }

  /* Mobile: jedes Wort in eigene Zeile, ohne die Desktop-Rechteck-Skalierung.
     Endlich / runter / von der / Straße */
  .hero-headline .mbr { display: block; }
  .hero-headline > span { white-space: normal; }
  .hero-headline > span:first-child { font-size: 1em; }
  /* Auf Mobile darf die Headline 20% größer sein. */
  .hero-title { font-size: clamp(4.32rem, 14.4vw, 10.8rem); }
}

