/* Energie-Pilot – Stylesheet
   Farben: Akzent bitte an die Logofarbe angleichen (--sun). */

@font-face { font-family: "Bricolage"; src: url(../fonts/bricolage-700.woff) format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(../fonts/instrument-400.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(../fonts/instrument-700.woff) format("woff"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --sky-1: #12469F;
  --sky-2: #2A6FD6;
  --sky-3: #8EC3FF;
  --ink: #17224D;
  --ink-soft: #46596E;
  --sun: #F7941D;
  --sun-deep: #C96F0A;
  --paper: #FFFFFF;
  --glass: rgba(255, 255, 255, .9);
  --line: rgba(14, 42, 71, .12);
  --r: 18px;
  --shadow: 0 1px 2px rgba(14, 42, 71, .06), 0 12px 32px -12px rgba(14, 42, 71, .28);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --head: "Bricolage", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --sy: 0;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 80px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.55 var(--body);
  color: var(--ink);
  background: var(--sky-1);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 7.4vw, 4.6rem); }
h1 .line { display: block; }
h1 .line + .line { white-space: nowrap; }
h2 { font-size: clamp(1.75rem, 4.4vw, 2.75rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0; max-width: 62ch; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.wrap { width: min(100% - 40px, 1160px); margin-inline: auto; }
.placeholder { opacity: .7; font-style: italic; }

/* ---------- Himmel ---------- */
.defs { position: absolute; }
.sky {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; contain: strict;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%);
}
.sky__sun {
  position: absolute; width: 70vmax; height: 70vmax; right: -24vmax; top: -30vmax;
  background: radial-gradient(circle, rgba(255, 233, 160, .55) 0%, rgba(255, 214, 102, .18) 32%, transparent 62%);
  will-change: transform;
}
.sky__layer { position: absolute; inset: -10% 0; will-change: transform; }
.sky__track { position: absolute; inset: 0; width: 200%; animation: drift linear infinite; will-change: transform; }
.sky__track .c {
  position: absolute; left: calc(var(--x) / 2); top: var(--y);
  width: calc(180px * var(--s)); height: calc(82px * var(--s)); fill: #fff; overflow: visible;
}
.sky__track .c.c--copy { left: calc(50% + var(--x) / 2); }
.sky__layer--far  { opacity: .35; }
.sky__layer--mid  { opacity: .5; }
.sky__layer--near { opacity: .55; }
.sky__layer--far  .sky__track { animation-duration: 240s; }
.sky__layer--mid  .sky__track { animation-duration: 150s; }
.sky__layer--near .sky__track { animation-duration: 90s; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

.sky__plane {
  position: absolute; left: 0; top: 22%; width: 54px; fill: rgba(255, 255, 255, .8);
  animation: cross 34s linear infinite 4s; opacity: 0;
}
.sky__plane::before {
  content: ""; position: absolute; right: 90%; top: 52%; width: 38vw; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55));
}
@keyframes cross {
  0%   { transform: translate(-60vw, 18vh) rotate(-6deg); opacity: 0; }
  4%   { opacity: 1; }
  60%  { transform: translate(120vw, -8vh) rotate(-6deg); opacity: 1; }
  61%, 100% { transform: translate(120vw, -8vh) rotate(-6deg); opacity: 0; }
}

/* ---------- Kopfleiste ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  padding-top: env(safe-area-inset-top, 0px); margin-top: calc(env(safe-area-inset-top, 0px) * -1);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.topbar.is-solid {
  background: rgba(18, 70, 159, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; width: min(100% - 40px, 1160px); margin-inline: auto; min-height: 68px; }
.brand { display: inline-flex; padding: 8px 14px; margin-left: -6px; background: rgba(255, 255, 255, .92); border-radius: 14px; }
.brand img { height: 30px; width: auto; }
.topnav { display: none; gap: 8px; align-items: center; }
.topnav a:not(.btn) { color: #fff; text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 12px; }
.topnav a:not(.btn):hover { background: rgba(255, 255, 255, .14); }
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 41;
  background: rgba(18, 70, 159, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 14px; border: 0;
  font: 700 1.0625rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 1rem; }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 6px 0 -1px var(--sun-deep), 0 14px 24px -10px rgba(201, 111, 10, .6); }
.btn--sun:hover { background: #FFA436; }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn--glass:hover { background: rgba(255, 255, 255, .26); }
.btn--glass-ink { color: var(--ink); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #17406b; }

/* ---------- Hero ---------- */
.hero { padding: 24px 0 48px; color: #fff; overflow-x: clip; }
.hero__grid { display: grid; gap: 16px; }
@media (max-width: 1023px) { .hero__text { padding-right: 18px; } }
.hero h1 { text-shadow: 0 2px 24px rgba(10, 40, 100, .35); }
.hero__lead { margin-top: 20px; font-size: 1.1875rem; color: #fff; text-shadow: 0 1px 12px rgba(10, 40, 100, .4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.flight { position: relative; min-height: 220px; display: grid; place-items: center; margin-top: 8px; }
.flight__plane { position: relative; z-index: 1; width: min(100%, 560px); animation: flyin 1.6s var(--ease) both .15s; }
.flight__bob { position: relative; animation: bob 6s ease-in-out infinite 1.8s; }
.flight__bob img { position: relative; }
.flight__trail { position: absolute; left: 86%; top: 42%; width: 90%; height: 30%; overflow: visible; }
.flight__trail path {
  fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 120 60; animation: trail 1.4s linear infinite reverse, trailIn 1.6s var(--ease) both .15s;
}
.flight__trail path + path { stroke-width: 3; stroke: rgba(255, 255, 255, .45); animation-duration: 1s, 1.6s; }
@keyframes flyin { from { transform: translate(70vw, 180px) rotate(6deg); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(-6px, -14px) rotate(-1.5deg); } }
@keyframes trail { to { stroke-dashoffset: -180; } }
@keyframes trailIn { from { opacity: 0; } to { opacity: 1; } }

.facts {
  list-style: none; margin-top: 40px; padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  background: rgba(255, 255, 255, .14); border-radius: calc(var(--r) + 6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.facts li { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 14px; border-radius: var(--r); background: var(--glass); color: var(--ink); font-size: .9375rem; line-height: 1.35; }
.facts strong { display: block; font-size: 1.0625rem; }
@media (max-width: 767px) {
  .facts li { flex-direction: column; gap: 6px; text-align: center; }
  .facts li br { display: none; }
}
.facts svg, .tile__icon svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--sky-2); }

/* ---------- Abschnitte ---------- */
.section { padding: 32px 0; }
.card-deck {
  position: relative; background: var(--glass); border-radius: calc(var(--r) + 10px); box-shadow: var(--shadow);
  padding: 32px 22px;
}
.intro { margin-top: 12px; color: var(--ink-soft); font-size: 1.125rem; }
.section__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px;
  padding: 20px 22px; border-radius: calc(var(--r) + 6px); background: var(--glass); box-shadow: var(--shadow);
}
.section__head--center { flex-direction: column; justify-content: center; text-align: center; gap: 6px; }
#eintragen .section__head { max-width: 920px; margin-inline: auto; }

/* Flugroute */
.route { position: relative; margin-top: 32px; padding-left: 60px; }
.route__line { position: absolute; left: 0; top: 0; width: 40px; height: 100%; overflow: visible; }
.route__line path { fill: none; stroke-width: 3; }
.route__base { vector-effect: non-scaling-stroke; }
.route__base { stroke: var(--line); stroke-dasharray: 2 9; stroke-linecap: round; }
.route__done { stroke: var(--sun-deep); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.route__plane { position: absolute; left: 0; top: 0; width: 40px; fill: var(--ink); transform-origin: 50% 50%; will-change: transform; }
.route__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.route__steps li { position: relative; }
.route__dot {
  position: absolute; left: -60px; top: -2px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font: 700 1.125rem/1 var(--head);
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.route__steps li.is-passed .route__dot { background: var(--sun); box-shadow: 0 0 0 6px rgba(247, 148, 29, .28); }
.route__steps h3 { padding-top: 6px; }
.route__steps p { margin-top: 8px; color: var(--ink-soft); }

/* Leistungskarten – mobil wischbar */
.swipe-hint { font-size: .9375rem; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.swipe-hint::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.cards {
  list-style: none; margin: 0 -20px; padding: 4px 20px 16px; display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.tile {
  scroll-snap-align: start; background: var(--glass); border-radius: calc(var(--r) + 6px); padding: 24px;
  box-shadow: var(--shadow);
}
.tile__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(42, 111, 214, .1); margin-bottom: 20px; }
.tile__icon svg { width: 28px; height: 28px; }
.tile p { margin-top: 8px; color: var(--ink-soft); }

/* Pilot */
.pilot { display: grid; gap: 24px; align-items: center; overflow: hidden; }
.pilot__img { max-width: 300px; margin: -8px auto 0; }
.pilot__img img { animation: hover 5s ease-in-out infinite; }
.flip { scale: -1 1; }
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.pilot__text p { margin-top: 16px; color: var(--ink-soft); font-size: 1.125rem; }
.pilot__text .btn { display: flex; width: fit-content; margin: 28px auto 0; }
.pilot__text p { margin-inline: auto; }

/* Bordkarte */
.pass {
  display: grid; background: var(--paper); border-radius: calc(var(--r) + 10px); box-shadow: var(--shadow); overflow: hidden;
  max-width: 920px; margin-inline: auto;
}
.pass__stub {
  position: relative; display: grid; gap: 12px; padding: 24px; background: var(--ink); color: #fff;
}
.pass__stub::after { /* Perforation */
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--paper) 0 8px, transparent 8px 16px);
}
.pass__label { font-size: .9375rem; opacity: .75; }
.pass__route { display: flex; align-items: center; gap: 14px; font-family: var(--head); font-size: 1.5rem; }
.pass__route svg { width: 44px; fill: var(--sun); flex: none; }
.pass__small { display: grid; gap: 2px; font-size: .875rem; opacity: .75; }
.pass__body { display: grid; gap: 16px; padding: 24px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line);
  font: inherit; color: inherit; background: #F6F9FE; transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--sky-2); box-shadow: 0 0 0 4px rgba(42, 111, 214, .18); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--sky-2); }
.pass__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pass__note { font-size: .875rem; color: var(--ink-soft); }
.pass__status:empty { display: none; }
.pass__status { padding: 14px 16px; border-radius: 14px; background: #FFEBD2; font-weight: 700; }

/* FAQ */
.faq { position: relative; max-width: 860px; margin-inline: auto; }
.faq h2 { margin-bottom: 16px; }
.has-peek { isolation: isolate; }
.peek {
  position: absolute; bottom: 100%; right: 40px; z-index: -1; pointer-events: none;
  width: 96px; height: 76px; overflow: hidden; /* Unterkante = Kartenkante, Füße bleiben verdeckt */
}
.peek img { width: 100%; animation: peek 4.5s ease-in-out infinite; }
.peek--small { width: 58px; height: 52px; right: 32px; }
@keyframes peek { 0%, 100% { transform: translateY(4px); } 50% { transform: translateY(-2px); } }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 12px 0; font-weight: 700; font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.5rem/1 var(--head); color: var(--sky-2); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); }

/* Abschluss */
.final__inner { display: grid; gap: 16px; justify-items: center; text-align: center; }
.final__inner img { width: 130px; animation: hover 5s ease-in-out infinite; }
.final__inner p { margin: 10px auto 24px; font-size: 1.1875rem; color: var(--ink-soft); }
.final { padding-bottom: 56px; }

/* Fußzeile */
.footer { background: var(--ink); color: #fff; padding: 48px 0 calc(110px + env(safe-area-inset-bottom, 0px)); }
.footer__grid { display: grid; gap: 32px; }
.footer__logo { height: 34px; width: auto; filter: brightness(0) invert(1); }
.footer p { margin-top: 12px; opacity: .8; }
.footer h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 8px; opacity: .7; font-family: var(--body); }
.footer nav, .footer__grid > div:last-child { display: flex; flex-direction: column; align-items: flex-start; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__copy { margin-top: 32px; opacity: .6; font-size: .875rem; }

/* ---------- Daumen-Navigation ---------- */
.handle {
  position: fixed; right: 0; top: 50%; z-index: 60; width: 30px; height: 120px; padding: 0;
  transform: translateY(-50%); border: 0; border-radius: 14px 0 0 14px; cursor: pointer;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow); display: grid; place-items: center; gap: 6px; color: var(--ink);
  margin-right: env(safe-area-inset-right, 0px);
}
.handle::before { content: ""; position: absolute; inset: 0 -8px 0 -14px; } /* größere Trefferfläche */
.handle__grip { width: 4px; height: 36px; border-radius: 4px; background: var(--ink); opacity: .55; }
.handle__label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .75rem; font-weight: 700; }
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(8, 26, 54, .4); opacity: 0; transition: opacity .3s var(--ease); }
.scrim.is-on { opacity: 1; }
.panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(86vw, 360px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 24px) calc(env(safe-area-inset-right, 0px) + 20px) calc(env(safe-area-inset-bottom, 0px) + 20px) 20px;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: -20px 0 50px -20px rgba(8, 26, 54, .45); border-radius: 24px 0 0 24px;
  transform: translateX(105%); transition: transform .38s var(--ease); visibility: hidden;
}
.panel.is-open { transform: translateX(0); visibility: visible; }
.panel.is-dragging { transition: none; visibility: visible; }
.panel__top { display: flex; align-items: center; gap: 12px; }
.panel__top img { width: 56px; }
.panel__top p { font-family: var(--head); font-size: 1.375rem; }
.panel__nav { display: flex; flex-direction: column; gap: 4px; }
.panel__nav a:not(.btn) {
  display: flex; align-items: center; min-height: 56px; padding: 0 16px; border-radius: 14px;
  text-decoration: none; font-weight: 700; font-size: 1.1875rem;
}
.panel__nav a:not(.btn):hover, .panel__nav a:not(.btn):focus-visible { background: rgba(42, 111, 214, .1); }
.panel__nav .btn { margin-top: 12px; }
.panel__close { margin-top: 8px; min-height: 48px; border: 0; background: none; font: inherit; color: var(--ink-soft); cursor: pointer; border-radius: 14px; }

/* Schwebende Aktionsleiste */
.actionbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); z-index: 50;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 8px; border-radius: 22px;
  background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: var(--shadow); transform: translateY(140%); transition: transform .4s var(--ease);
}
.actionbar.is-on { transform: none; }
.actionbar .btn { min-height: 50px; padding: 0 12px; }

/* Einblenden beim Scrollen (nur mit JS) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Größere Bildschirme ---------- */
@media (min-width: 768px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li:nth-child(2) { padding-right: 26px; } /* „Unverbindlich“ minimal nach links */
  .card-deck { padding: 48px; }
  .section { padding: 48px 0; }
  .cards { grid-auto-columns: calc(50% - 6px); }
  .pilot { grid-template-columns: 300px 1fr; gap: 48px; }
  .pilot__img { margin: 0; }
  .pass { grid-template-columns: 260px 1fr; }
  .pass__stub { align-content: space-between; padding: 32px; }
  .pass__stub::after { left: auto; right: -1px; top: 12px; bottom: 12px; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--paper) 0 8px, transparent 8px 16px); }
  .pass__route { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pass__route svg { transform: rotate(90deg); margin: 6px 0; }
  .pass__body { grid-template-columns: 1fr 1fr; padding: 32px; }
  .field--wide { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .route__steps { gap: 56px; }
}
@media (min-width: 1024px) {
  .handle, .scrim, .panel, .actionbar { display: none !important; }
  .topnav { display: flex; }
  .footer { padding-bottom: 48px; }
  .hero { padding: 48px 0 64px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px; min-height: min(70vh, 640px); }
  .flight__plane { width: 112%; max-width: 680px; }
  .cards { margin: 0; padding-inline: 0; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .swipe-hint { display: none; }
  .route { padding-left: 0; }
  .route__line, .route__plane { left: 50%; margin-left: -20px; }
  .route__steps li { width: calc(50% - 56px); }
  .route__steps li:nth-child(even) { margin-left: auto; }
  .route__steps li:nth-child(odd) { text-align: right; }
  .route__steps li:nth-child(odd) p { margin-left: auto; }
  .route__dot { left: auto; right: -76px; }
  .route__steps li:nth-child(even) .route__dot { right: auto; left: -76px; }
  .final__inner { grid-template-columns: auto 1fr; text-align: left; justify-items: start; gap: 40px; justify-content: center; max-width: 820px; margin-inline: auto; }
  .final__inner img { width: 170px; }
}
@media (min-width: 1280px) {
  .hero__lead { font-size: 1.25rem; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .sky__plane { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Rechtstexte ---------- */
.legal-page { background: linear-gradient(180deg, var(--sky-1), var(--sky-2) 40%, var(--sky-3)) fixed; }
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(1.6rem, 6vw, 2.75rem); margin-bottom: 20px; hyphens: auto; overflow-wrap: anywhere; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 8px; }
.legal p { color: var(--ink-soft); }
.legal .note { padding: 14px 16px; border-radius: 14px; background: #FFEBD2; color: var(--ink); }
.footer--legal { padding: 24px 0 calc(24px + env(safe-area-inset-bottom, 0px)); }
.legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Platz für das hervorschauende Maskottchen über der Karte */
#ablauf, #faq { padding-top: 88px; }
@media (min-width: 768px) { #ablauf, #faq { padding-top: 104px; } }

.legal h3 { font-size: 1.125rem; margin: 24px 0 6px; }
.legal p + p { margin-top: 12px; }
.legal ul { color: var(--ink-soft); padding-left: 1.2em; margin: 8px 0 0; max-width: 62ch; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--sky-2); overflow-wrap: anywhere; }
.legal .source { margin-top: 32px; font-size: .875rem; }
