/* ---------- Schrift ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Grundwerte ---------- */
:root {
  --ink: #08262e;
  --ink-2: #0c3640;
  --ink-3: #124550;
  --paper: #f3f7f7;
  --lav: #e3eeed;
  --white: #fff;
  --line: #d9e6e5;
  --line-2: #c3d6d4;
  --text: #2f4a50;
  --muted: #506a6f;
  --soft: #9fc3c6;
  --soft-2: #c8e2e3;
  --rose: #0b7285;
  --orange: #ffd23f;
  --amber: #ffd23f;
  --mint: #7fe3ff;
  --violet: #3fc8be;
  /* Knöpfe und Flächen mit weißer Schrift: dunkel genug für Kontrast 4,5:1 */
  --grad: linear-gradient(100deg, #ffd23f 0%, #ffc21f 100%);
  /* nur Zierde: Linien, Schrift auf Dunkel, Balken */
  --grad-vivid: linear-gradient(90deg, #7fe3ff 0%, #ffd23f 100%);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 1px 2px rgba(8, 38, 46, .04), 0 10px 30px -16px rgba(8, 38, 46, .16);
  --shadow-lg: 0 2px 4px rgba(8, 38, 46, .04), 0 30px 60px -24px rgba(8, 38, 46, .28);
  --wrap: 1200px;
  --gap: clamp(1.25rem, 3.5vw, 2.5rem);
  --space: clamp(4.5rem, 9vw, 8rem);
  --display: 'Archivo', ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; interpolate-size: allow-keywords; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.65 'Archivo', ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--display); font-stretch: 118%; font-weight: 750; line-height: 1.05; letter-spacing: -.022em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); font-weight: 780; line-height: .98; letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--rose); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color .25s; }
a:hover { color: #075563; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.top :focus-visible, .sky-wrap :focus-visible, .calc-out :focus-visible, .contact-grid > aside :focus-visible { outline-color: var(--amber); }
::selection { background: #ffe680; color: var(--ink); }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 6.5rem; }

.wrap { width: min(100% - 2 * clamp(1rem, 4vw, 2.5rem), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 80; background: #fff; color: var(--ink); padding: .6rem 1.1rem; border-radius: 999px; font-weight: 650; }
.skip:focus { top: .75rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Kopf ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .4s, box-shadow .4s; }
html:not(.js) .top { position: absolute; }
.top::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(8, 38, 46, .78); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); opacity: 0; transition: opacity .4s; }
.top.scrolled::before { opacity: 1; }
.top.scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, .07), 0 20px 40px -30px rgba(0, 0, 0, .6); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5.25rem; transition: min-height .4s var(--ease); }
.top.scrolled .top-in { min-height: 4.25rem; }
.progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--grad-vivid); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; font-family: var(--display); font-stretch: 118%; font-weight: 750; font-size: 1.35rem; letter-spacing: -.022em; }
.brand:hover { color: #fff; }
.brand svg { width: 2.35rem; height: 2.35rem; flex: none; transition: transform .5s var(--spring); }
.brand:hover svg { transform: rotate(-8deg) scale(1.06); }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav ul a { position: relative; display: block; padding: .55rem .8rem; border-radius: 10px; color: var(--soft-2); text-decoration: none; font-weight: 500; font-size: .98rem; transition: color .25s, background-color .25s; }
.nav ul a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav ul a[aria-current='page'] { color: #fff; }
.nav ul a[aria-current='page']::after { content: ''; position: absolute; left: 50%; bottom: .05rem; width: 16px; height: 3px; margin-left: -8px; border-radius: 2px; background: var(--amber); }
.top .menu-btn { display: none; }

/* ---------- Knöpfe ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.25rem; padding: .7rem 1.6rem; border: 1.5px solid transparent; border-radius: 12px; background: var(--grad); color: var(--ink); font: inherit; font-weight: 650; font-size: 1.02rem; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; box-shadow: 0 12px 26px -12px rgba(255, 210, 63, .65); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, border-color .25s, color .25s; }
.btn::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg) translateX(0); transition: transform .8s var(--ease); }
.btn:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(255, 210, 63, .75); text-decoration: none; }
.btn:hover::before { transform: skewX(-20deg) translateX(420%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-line { background: transparent; border-color: var(--line-2); color: var(--ink); box-shadow: none; }
.btn-line:hover { background: var(--white); border-color: var(--ink); color: var(--ink); box-shadow: var(--shadow); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 12px 26px -14px rgba(8, 38, 46, .5); }
.btn-light:hover { color: var(--ink); box-shadow: 0 18px 34px -14px rgba(8, 38, 46, .55); }
.btn-small { min-height: 2.7rem; padding: .45rem 1.2rem; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.sky-wrap .btn-line, .top .btn-line, .cta .btn-line { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .05); }
.sky-wrap .btn-line:hover, .top .btn-line:hover, .cta .btn-line:hover { color: #fff; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .12); box-shadow: none; }

/* ---------- Nachthimmel mit Bergen ---------- */
.sky-wrap { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(1000px 500px at 80% 110%, rgba(255, 210, 63, .14), transparent 70%), linear-gradient(180deg, #03161b 0%, #062a32 40%, #0b3f48 78%, #115560 100%); }
.sky-wrap > .wrap { position: relative; z-index: 2; }
.sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(50px); animation: drift 18s ease-in-out infinite alternate; }
.g1 { width: 560px; height: 560px; left: -200px; top: 6%; background: radial-gradient(circle, rgba(127, 227, 255, .2), transparent 65%); }
.g2 { width: 640px; height: 640px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(63, 200, 190, .4), transparent 65%); animation-duration: 24s; animation-delay: -6s; }
.stars { position: absolute; inset: 0; opacity: .75; -webkit-mask-image: linear-gradient(#000 35%, transparent 85%); mask-image: linear-gradient(#000 35%, transparent 85%);
  background-image:
    radial-gradient(1.6px 1.6px at 30px 40px, #fff, transparent),
    radial-gradient(1px 1px at 120px 90px, rgba(255, 255, 255, .8), transparent),
    radial-gradient(1.3px 1.3px at 214px 28px, #fff, transparent),
    radial-gradient(1px 1px at 302px 150px, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1.7px 1.7px at 82px 206px, #fff, transparent),
    radial-gradient(1px 1px at 252px 244px, rgba(255, 255, 255, .6), transparent),
    radial-gradient(1.3px 1.3px at 364px 288px, #fff, transparent),
    radial-gradient(1px 1px at 168px 322px, rgba(255, 255, 255, .7), transparent);
  background-size: 400px 360px; }
.stars.twinkle { background-size: 530px 470px; background-position: 140px 70px; opacity: .9; animation: twinkle 3.6s ease-in-out infinite alternate; }
.moon { position: absolute; right: 6%; top: 15%; width: clamp(70px, 9vw, 124px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 32%, #fff8ec 0%, #ffe0b0 34%, #ffa25e 70%, #e2567a 100%); box-shadow: 0 0 70px 14px rgba(255, 160, 90, .22), inset -14px -12px 28px rgba(120, 28, 90, .38); animation: float 9s ease-in-out infinite; }
.moon::after { content: ''; position: absolute; inset: 24% 20% 52% 52%; border-radius: 50%; background: rgba(170, 60, 70, .16); box-shadow: -26px 30px 0 -4px rgba(170, 60, 70, .12); }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; }
.topo .lines { fill: none; stroke: #7fe3ff; stroke-opacity: .11; stroke-width: 1; animation: drift 26s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.topo .lines .major { stroke-opacity: .22; stroke-width: 1.4; }
.topo .way { fill: none; stroke: var(--amber); stroke-opacity: .55; stroke-width: 2; stroke-dasharray: 9 9; animation: lane 1.6s linear infinite; }
.topo .pin { fill: var(--amber); }
.topo .pin-ring { fill: none; stroke: var(--amber); stroke-opacity: .5; stroke-width: 1.5; }
.topo .car { fill: #fff; }
.topo .car-halo { fill: #7fe3ff; opacity: .35; }
.range { position: absolute; left: 0; bottom: 0; width: 100%; display: block; will-change: transform; }
.r1 { height: clamp(150px, 22vw, 300px); fill: #1b6872; }
.r2 { height: clamp(100px, 15vw, 220px); fill: #0b3a43; }
.r2 .snow { fill: #e6fbfb; opacity: .85; }
.page-head .r1 { height: clamp(90px, 13vw, 180px); }
.page-head .r2 { height: clamp(60px, 9vw, 130px); }
.page-head .r3 { height: clamp(28px, 4.5vw, 64px); }
.r3 { height: clamp(36px, 7vw, 100px); fill: var(--paper); bottom: -2px; }

/* ---------- Startseite: Kopf ---------- */
.hero { padding: clamp(8rem, 13vw, 10.5rem) 0 clamp(14rem, 20vw, 17rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; margin: 1.6rem 0 1.5rem; font-size: clamp(2.2rem, 3.9vw, 3.6rem); line-height: 1.04; }
.hero h1 .line + .line { line-height: 1.25; }
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.line + .line > span { animation-delay: .12s; }
.road-mark { color: var(--amber); padding-bottom: .14em; background: repeating-linear-gradient(90deg, var(--amber) 0 .55em, transparent .55em .9em) 0 100% / 100% .085em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: fadeIn .8s var(--ease) .7s both, lane 1.4s linear 1.5s infinite; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; max-width: 48ch; }
.sky-wrap .lead { color: var(--soft-2); }
.hero .lead { animation: fadeUp .9s var(--ease) .3s both; }
.hero .actions { margin-top: 2.25rem; animation: fadeUp .9s var(--ease) .42s both; }
.pill-link { display: inline-flex; align-items: center; gap: .65rem; padding: .45rem 1.05rem .45rem .85rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: #eaf6f6; font-size: .92rem; font-weight: 500; text-decoration: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fadeUp .8s var(--ease) both; transition: border-color .3s, background-color .3s; }
.pill-link:hover { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); text-decoration: none; }
.pill-link svg { width: .95rem; height: .95rem; transition: transform .35s var(--ease); }
.pill-link:hover svg { transform: translateX(3px); }
.ping { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--mint); flex: none; animation: ping 2s ease-out infinite; }
.hero-points { display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; list-style: none; margin: 2.25rem 0 0; padding: 0; color: var(--soft); font-size: .95rem; animation: fadeUp .9s var(--ease) .54s both; }
.hero-points li { display: flex; align-items: center; gap: .55rem; }
.hero-points li::before { content: ''; width: 1.25rem; height: 1.25rem; border-radius: 50%; flex: none; background: rgba(127, 227, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5' fill='none' stroke='%237fe3ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 62% no-repeat; }

.hero-art { position: relative; justify-self: center; width: min(100%, 440px); animation: fadeIn 1.2s var(--ease) .25s both; }
.ticket { --cut: 8.15rem; position: relative; border-radius: 14px; padding: 1.5rem 1.5rem 1.35rem; color: var(--ink); background: #f7fbfb; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); animation: floatY 7s ease-in-out infinite;
  -webkit-mask: radial-gradient(circle 13px at 0 calc(100% - var(--cut)), transparent 12.5px, #000 13px) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% calc(100% - var(--cut)), transparent 12.5px, #000 13px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 13px at 0 calc(100% - var(--cut)), transparent 12.5px, #000 13px) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% calc(100% - var(--cut)), transparent 12.5px, #000 13px) right / 51% 100% no-repeat; }
.ticket::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--amber) 0 22px, var(--ink) 22px 30px); }
.t-top { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; font-weight: 600; color: var(--muted); }
.t-flag { display: inline-block; width: 1.6rem; height: 1.05rem; border-radius: 3px; background: linear-gradient(#ed2939 33.3%, #fff 0 66.6%, #ed2939 0); box-shadow: 0 0 0 1px var(--line-2); }
.t-route { display: flex; align-items: center; gap: .6rem; margin: .8rem 0 1rem; font-family: var(--display); font-stretch: 118%; font-weight: 760; font-size: clamp(1.5rem, 2.6vw, 1.95rem); letter-spacing: -.026em; line-height: 1; }
.t-route svg { width: 1.3rem; height: 1.3rem; color: #e8b500; flex: none; }
.ticket .chart { height: 104px; min-height: 0; border-radius: 8px; background: var(--ink); overflow: hidden; }
.t-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 1.15rem 0 0; padding-top: 1.1rem; border-top: 2px dashed var(--line-2); }
.t-stats dt { font-size: .76rem; color: var(--muted); }
.t-stats dd { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 720; font-size: 1.1rem; letter-spacing: -.01em; white-space: nowrap; }
.t-status { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.1rem; padding: .4rem .85rem; border-radius: 8px; background: var(--lav); font-size: .84rem; font-weight: 600; }
.ticket .ping { background: #0b9bb0; }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: .75rem; padding: .7rem 1.05rem .7rem .7rem; border-radius: 12px; color: #fff; background: rgba(8, 38, 46, .78); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); animation: floatY 6s ease-in-out infinite; line-height: 1.25; }
.chip i { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 8px; background: rgba(127, 227, 255, .14); color: var(--mint); flex: none; }
.chip i svg { width: 1.15rem; height: 1.15rem; }
.chip b { display: block; font-weight: 650; font-size: .92rem; }
.chip small { color: var(--soft); font-size: .8rem; }
.chip-a { top: -3.9rem; left: -1.6rem; animation-delay: -2s; }
.chip-b { bottom: -1.9rem; right: -2.2rem; animation-delay: -4s; }
.chip-b i { background: rgba(255, 210, 63, .14); color: var(--amber); }

/* ---------- Routenplaner ---------- */
.planner-sec { position: relative; z-index: 3; margin-top: clamp(-11rem, -14vw, -8rem); }
.planner { background: var(--white); border-radius: 20px; padding: clamp(1rem, 2vw, 1.4rem); border: 1px solid rgba(8, 38, 46, .06); box-shadow: 0 2px 4px rgba(8, 38, 46, .04), 0 50px 100px -40px rgba(8, 38, 46, .45); }
.controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 1rem; align-items: end; padding: .4rem .4rem 0; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field > span, .field > label, legend { font-weight: 600; font-size: .86rem; color: var(--muted); }
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; min-height: 3.25rem; padding: .6rem .95rem; width: 100%; min-width: 0; transition: border-color .2s, box-shadow .2s, background-color .2s; }
input:hover, select:hover, textarea:hover { border-color: var(--line-2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rose); background: #fff; box-shadow: 0 0 0 4px rgba(11, 114, 133, .16); }
select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2308262e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 1rem center; font-weight: 550; cursor: pointer; }
select:focus { background-color: #fff; }
input[type='date'] { appearance: none; -webkit-appearance: none; }
textarea { min-height: 8rem; resize: vertical; }
input[aria-invalid='true'], textarea[aria-invalid='true'] { border-color: #b42318; box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
input[type='checkbox'], input[type='radio'] { width: 1.2rem; height: 1.2rem; min-height: 0; margin: 0; padding: 0; flex: none; accent-color: var(--rose); box-shadow: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.check { display: flex; align-items: flex-start; gap: .65rem; cursor: pointer; line-height: 1.45; color: var(--ink); }
.check input { margin-top: .14rem; }
.controls .check { min-height: 3.25rem; align-items: center; white-space: nowrap; padding: 0 1rem; border-radius: 10px; background: var(--paper); border: 1.5px solid var(--line); font-weight: 550; }
.controls .check input { margin: 0; }

.modes { margin-top: 1.1rem; padding: 0 .4rem; }
.modes legend { padding: 0; margin-bottom: .45rem; }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.mode { position: relative; display: block; cursor: pointer; }
.mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mode span { display: flex; flex-direction: column; height: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); line-height: 1.35; transition: background-color .3s, border-color .3s, color .3s, transform .5s var(--spring), box-shadow .3s; }
.mode b { font-weight: 650; color: inherit; }
.mode small { font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.mode:hover span { border-color: var(--line-2); transform: translateY(-2px); }
.mode input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 14px 30px -16px rgba(8, 38, 46, .7); }
.mode input:checked + span small { color: var(--soft-2); }
.mode input:focus-visible + span { outline: 3px solid var(--rose); outline-offset: 2px; }

.screen { position: relative; overflow: hidden; border-radius: 16px; color: #fff; background: radial-gradient(900px 300px at 70% -20%, #145560 0%, transparent 70%), var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.planner .screen { margin-top: 1.2rem; }
.screen :focus-visible { outline-color: var(--amber); }
.stage { padding-top: .5rem; }
.chart { display: block; width: 100%; min-height: 120px; }
.planner .chart { height: 380px; }
.profile-svg { display: block; width: 100%; height: auto; font-family: 'Archivo', system-ui, sans-serif; }
.profile-svg .grid { stroke: #fff; stroke-opacity: .07; }
.profile-svg .alt { fill: #6f9ea4; font-size: 11px; font-variant-numeric: tabular-nums; }
.profile-svg .mountain { fill: #11505a; }
.profile-svg .snow { fill: #e0f6f6; }
.profile-svg .ground { fill: #0d3d47; fill-opacity: .8; }
.profile-svg .line { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.profile-svg .line-vig { stroke: var(--mint); }
.profile-svg .line-toll { stroke: #ffd23f; }
.profile-svg .line-free { stroke: #8fe07a; }
.profile-svg .line-de, .profile-svg .line-abroad { stroke: var(--soft-2); stroke-width: 3; }
.profile-svg .line-abroad { stroke-opacity: .7; }
.profile-svg .stop { fill: var(--ink); stroke: #fff; stroke-width: 2; }
.profile-svg .stop.end { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.profile-svg .label { fill: #fff; font-size: 12.5px; font-weight: 500; paint-order: stroke; stroke: var(--ink); stroke-width: 3.5px; stroke-linejoin: round; }
.profile-svg .label.end { font-family: var(--display); font-stretch: 118%; font-size: 14.5px; font-weight: 750; }
.profile-svg .label.peak { fill: var(--soft-2); font-size: 12px; }
.profile-svg .band { fill: #0a3038; }
.profile-svg .band-AT { fill: #dff1f0; }
.profile-svg .country { fill: var(--soft-2); font-size: 12px; font-weight: 600; }
.profile-svg .country-AT { fill: var(--ink); }
.profile-svg .border { stroke: #fff; stroke-opacity: .25; stroke-dasharray: 2 5; }
.ticket .profile-svg .ground { fill: #08262e; fill-opacity: .35; }
.ticket .profile-svg .mountain { fill: rgba(8, 38, 46, .4); }
/* Die Linie zeichnet sich einmal von Start zum Ziel, sobald das Profil sichtbar ist. */
.draw .line { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: draw calc(var(--len) * 1.6s) linear calc(var(--from) * 1.6s + .15s) forwards; }
.draw:not(.playing) .line { animation-play-state: paused; }

.legend { display: flex; flex-wrap: wrap; gap: .45rem 1.5rem; list-style: none; margin: 0; padding: .95rem 1.4rem 1.1rem; font-size: .88rem; color: var(--soft-2); border-top: 1px solid rgba(255, 255, 255, .08); }
.legend li { display: flex; align-items: center; gap: .5rem; }
.legend li:last-child { margin-left: auto; color: #88aeb2; }
.swatch { width: 1.5rem; height: 4px; border-radius: 4px; flex: none; }
.s-vig { background: var(--mint); }
.leg .s-vig { background: #1fb3cc; } .leg .s-toll { background: #f2b705; } .leg .s-free { background: #5cbf4a; } .s-toll { background: #ffd23f; } .s-free { background: #8fe07a; } .s-de, .s-abroad { background: var(--soft-2); }

/* ---------- Ergebnis ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1.25rem 0 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.facts div { padding: 1.25rem 1.5rem 1.35rem; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: .88rem; color: var(--muted); }
.facts dd { margin: .2rem 0 0; color: var(--ink); font-family: var(--display); font-stretch: 118%; font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 750; letter-spacing: -.022em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.facts dd small { display: block; font-family: 'Archivo', sans-serif; font-size: .84rem; font-weight: 450; letter-spacing: 0; color: var(--muted); line-height: 1.4; margin-top: .25rem; }

.trip { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--gap); align-items: start; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.trip h2 { font-size: 1.75rem; margin-bottom: 1.25rem; }
.legs { list-style: none; margin: 0; padding: 0; }
.leg { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto; column-gap: 1.1rem; align-items: center; }
.leg i { align-self: stretch; border-radius: 4px; margin-block: 3px; }
.leg > div { padding: .7rem 0; line-height: 1.4; }
.leg strong { font-weight: 620; display: block; color: var(--ink); }
.leg span { font-size: .9rem; color: var(--muted); }
.tag { justify-self: end; font-size: .82rem !important; font-weight: 650; padding: .25rem .7rem; border-radius: 999px; white-space: nowrap; background: var(--lav); color: var(--ink) !important; }
.tag-vig { background: #d8f4fb; color: #075a6b !important; }
.tag-toll { background: #fff0b8; color: #6b4e00 !important; }
.land { padding: 1.2rem 0 .35rem 1.35rem; color: var(--ink); font-family: var(--display); font-stretch: 118%; font-weight: 750; letter-spacing: -.02em; }
.land:first-child { padding-top: 0; }

.bill { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.35rem, 3vw, 2rem); box-shadow: var(--shadow); position: sticky; top: 5.5rem; }
.bill h3 { margin-bottom: .5rem; }
.bill section + section { border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: 1.25rem; }
ul.rows { list-style: none; margin: .5rem 0 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; font-variant-numeric: tabular-nums; }
.rows li span:last-child { white-space: nowrap; font-weight: 650; color: var(--ink); }
.rows small { display: block; color: var(--muted); font-size: .86rem; }
.rows li.sum { border-top: 2px solid var(--ink); margin-top: .35rem; padding-top: .75rem; font-weight: 750; color: var(--ink); }
.bill p { font-size: .96rem; }
.bill .actions { margin-top: 1.5rem; }
.bill .actions .btn { flex: 1 1 14rem; }
.fine { font-size: .9rem; color: var(--muted); }
.notice { border-left: 4px solid var(--amber); background: #fff6df; color: #4b3a10; padding: .9rem 1.15rem; border-radius: 4px 16px 16px 4px; font-size: .96rem; }
.notice a { color: inherit; }
.bill .notice, .calc-out .notice { margin-top: 1rem; }

/* ---------- Ortsband ---------- */
.marquee { overflow: hidden; padding: clamp(2.5rem, 5vw, 3.5rem) 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 2.4rem; padding: 0 2.4rem 0 0; margin: 0; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 2.4rem; white-space: nowrap; color: var(--muted); font-family: var(--display); font-stretch: 118%; font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.1rem); letter-spacing: -.022em; transition: color .3s; }
.marquee li:hover { color: var(--ink); }
.marquee li::after { content: ''; width: .8rem; height: .8rem; flex: none; width: 2.2rem; height: .3rem; border-radius: 2px; background: repeating-linear-gradient(90deg, #e8b500 0 .7rem, transparent .7rem 1.1rem); }

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--space); }
.section + .section { padding-top: 0; }
.section.tint { background: var(--lav); padding-block: var(--space); }
.section.tint + .section { padding-top: var(--space); }
.section-head { margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.section-head p { margin-top: 1.1rem; font-size: 1.125rem; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--gap); align-items: start; }
.split .section-head { margin-bottom: 0; position: sticky; top: 7rem; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.two h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }

/* Korridore als Karten */
.corridors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.corridor { display: flex; flex-direction: column; gap: 1.15rem; padding: .7rem .7rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.corridor:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.corridor > div:first-child, .corridor dl { padding-inline: .8rem; }
.corridor h3 { margin-bottom: .45rem; }
.corridor p { font-size: .98rem; color: var(--muted); }
.thumb { order: -1; overflow: hidden; border-radius: 13px; background: radial-gradient(400px 120px at 70% -30%, #145560, transparent 70%), var(--ink); }
.thumb .chart { height: 130px; min-height: 0; }
.corridor dl { margin: auto 0 0; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; font-size: .95rem; font-variant-numeric: tabular-nums; padding-top: 1rem; border-top: 1px solid var(--line); margin-inline: .8rem; padding-inline: 0; }
.corridor dt { color: var(--muted); }
.corridor dd { margin: 0; font-weight: 650; color: var(--ink); text-align: right; }
.corridor a { display: inline-block; margin-top: .9rem; font-weight: 650; }

/* Ausführliche Routen */
.route-block { padding-block: clamp(2.75rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line-2); }
.route-block:last-of-type { border-bottom: 0; }
.route-block h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.route-block > p { color: var(--muted); margin-top: .6rem; }
.route-block .screen { margin-block: 1.75rem; }
.route-block .chart { height: 300px; }
.route-meta { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--gap); }
.jump { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
.jump a { display: block; padding: .55rem 1.1rem; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--white); text-decoration: none; color: var(--ink); font-weight: 560; font-size: .95rem; transition: background-color .25s, color .25s, border-color .25s, transform .4s var(--spring); }
.jump a:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }

/* Vignetten als Preiskarten */
.durations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.duration { display: flex; flex-direction: column; gap: 1.3rem; padding: 1.7rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.duration:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.duration strong { display: block; color: var(--ink); font-family: var(--display); font-stretch: 118%; font-size: 1.25rem; font-weight: 720; letter-spacing: -.02em; line-height: 1.25; }
.duration small { color: var(--muted); font-size: .9rem; }
.duration .price { order: 1; color: var(--ink); font-family: var(--display); font-stretch: 118%; font-weight: 760; font-size: clamp(2rem, 3vw, 2.6rem); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.duration .price small { display: block; margin-top: .4rem; font-family: 'Archivo', sans-serif; font-weight: 450; letter-spacing: 0; font-size: .85rem; }
.track { order: 2; margin-top: auto; height: 8px; background: var(--lav); border-radius: 99px; overflow: hidden; }
.track i { display: block; height: 100%; width: var(--w); min-width: 8px; background: var(--grad-vivid); border-radius: 99px; transition: width 1.4s var(--ease) .3s; }
.duration:last-child { background: radial-gradient(300px 200px at 100% 0%, rgba(255, 210, 63, .35), transparent 70%), var(--ink); border-color: var(--ink); color: #fff; }
.duration:last-child strong, .duration:last-child .price { color: #fff; }
.duration:last-child small { color: var(--soft); }
.duration:last-child .track { background: rgba(255, 255, 255, .12); }

/* Tabellen */
.table-scroll { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: 1.2rem 1.35rem .4rem; color: var(--muted); font-size: .92rem; }
th, td { text-align: left; padding: .95rem 1.35rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .88rem; color: var(--muted); font-weight: 600; }
tbody tr { transition: background-color .2s; }
tbody tr:hover { background: #f7fbfb; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 650; color: var(--ink); }
tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.num { text-align: right; white-space: nowrap; }
.table-note { margin-top: 1rem; font-size: .92rem; color: var(--muted); }

/* Rechner */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.calc form { padding: clamp(1.4rem, 3vw, 2.25rem); display: grid; gap: 1.35rem; align-content: start; }
.calc-out { position: relative; padding: clamp(1.4rem, 3vw, 2.25rem); color: #fff; background: radial-gradient(420px 260px at 100% 0%, rgba(255, 210, 63, .38), transparent 70%), radial-gradient(360px 240px at 0% 100%, rgba(63, 200, 190, .25), transparent 70%), var(--ink); }
.calc-out h3 { color: #fff; }
.calc-out a:not(.btn) { color: #fff; }
.calc-out .fine, .calc-out .rows small { color: var(--soft); }
.calc-out .notice { background: rgba(255, 210, 63, .14); color: #ffe6b3; }
.calc-out .rows li { border-bottom: 1px solid rgba(255, 255, 255, .1); padding: .8rem 0; }
.calc-out .rows li span:last-child { color: #fff; }
.calc-out .rows li.sum { flex-wrap: wrap; gap: 0 1rem; border-bottom: 0; border-top: 0; font-family: var(--display); font-stretch: 118%; font-size: clamp(1.35rem, 5.5vw, 1.8rem); letter-spacing: -.022em; color: #fff; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: .45rem; }
.err { color: #b42318; font-size: .9rem; font-weight: 560; margin: 0; }

/* Karten, Listen, Fragen */
.items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; }
.item { padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.item h3 { margin-bottom: .7rem; display: flex; align-items: center; gap: .7rem; }
.item h3::before { content: ''; width: .7rem; height: .7rem; border-radius: 50%; background: var(--grad-vivid); flex: none; box-shadow: 0 0 0 5px rgba(255, 210, 63, .12); }
.item p { color: var(--text); font-size: 1rem; }
.plain { padding-left: 1.15rem; margin: 0 0 1em; }
.plain li { margin-bottom: .45rem; }
.plain li::marker { color: var(--rose); }

.faq { display: grid; gap: .85rem; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); transition: box-shadow .35s var(--ease), border-color .35s; }
details:hover { border-color: var(--line-2); }
details[open] { box-shadow: var(--shadow-lg); border-color: transparent; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.15rem 1.15rem 1.45rem; cursor: pointer; color: var(--ink); font-weight: 650; list-style: none; border-radius: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat, var(--paper); transition: transform .5s var(--spring), background-color .3s; }
details[open] summary::after { transform: rotate(180deg); background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, var(--grad); }
details > div { padding: 0 1.45rem 1.4rem; color: var(--text); }
details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
details[open]::details-content { block-size: auto; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1.25rem; padding-bottom: 2rem; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-stretch: 118%; font-weight: 750; font-size: 1.15rem; position: relative; z-index: 1; box-shadow: 0 0 0 7px rgba(8, 38, 46, .06); }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: calc(1.625rem - 1px); top: 3.25rem; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--line-2) 0 6px, transparent 6px 12px); }
.steps h3 { padding-top: .8rem; margin-bottom: .4rem; }
.steps li:last-child { padding-bottom: 0; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.form { display: grid; gap: 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.35rem, 3.5vw, 2.5rem); box-shadow: var(--shadow); }
.form .btn { justify-self: start; }
.form h2 { font-size: 1.65rem; }
.form h2 ~ h2 { margin-top: 1rem; }
.contact-grid > aside { position: sticky; top: 6.5rem; overflow: hidden; border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.25rem); color: #fff; background: radial-gradient(380px 260px at 100% 0%, rgba(255, 210, 63, .42), transparent 70%), radial-gradient(300px 220px at 0% 100%, rgba(63, 200, 190, .28), transparent 70%), var(--ink); box-shadow: var(--shadow-lg); }
.reach { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.reach li { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1rem 0 1.15rem; }
.reach li:first-child { border-top: 0; padding-top: 0; }
.reach span { display: block; color: var(--soft); font-size: .9rem; }
.reach a, .reach address { color: #fff; font-family: var(--display); font-stretch: 118%; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; font-style: normal; overflow-wrap: anywhere; }
.reach a:hover { color: #ffe680; }
.contact-grid > aside .fine { color: var(--soft); }
.sent { display: grid; gap: .85rem; margin-top: 1.25rem; background: var(--lav); border-radius: 16px; padding: 1.6rem; }
.sent textarea { min-height: 14rem; font-size: .95rem; background: #fff; }

/* Abschluss */
.cta { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--gap); align-items: center; padding: clamp(2rem, 5vw, 4rem); border-radius: 22px; background: radial-gradient(700px 320px at 90% 0%, rgba(63, 200, 190, .32), transparent 70%), radial-gradient(500px 260px at 0% 100%, rgba(255, 210, 63, .12), transparent 70%), var(--ink); color: #fff; box-shadow: 0 50px 90px -50px rgba(8, 38, 46, .9); }
.cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); }
.cta p { margin-top: .9rem; color: var(--soft-2); }
.cta .btn-light { background: var(--grad); color: var(--ink); }
.cta .actions { margin: 0; flex-direction: column; }
.cta :focus-visible { outline-color: var(--amber); }
.cta-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.cta-art .peaks { fill: #fff; opacity: .05; }
.cta-art .road { fill: none; stroke: rgba(255, 210, 63, .75); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 8; animation: road 1.1s linear infinite; }
.cta-art .road-edge { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 34; stroke-linecap: round; }

/* Fuß */
.foot { position: relative; overflow: hidden; background: var(--ink); color: var(--soft); padding-block: 4rem 2rem; margin-top: var(--space); font-size: .96rem; }
.foot::before { content: ''; position: absolute; left: 50%; top: -260px; width: 900px; height: 420px; margin-left: -450px; background: radial-gradient(closest-side, rgba(63, 200, 190, .22), transparent); pointer-events: none; }
.foot > .wrap { position: relative; }
.foot a { color: #fff; }
.foot a:hover { color: #ffe680; }
.foot :focus-visible { outline-color: var(--amber); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.foot .brand { margin-bottom: 1rem; }
.foot h2 { color: #fff; font-family: 'Archivo', sans-serif; font-size: .95rem; font-weight: 650; letter-spacing: 0; margin-bottom: .9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .45rem; }
.foot li a { color: var(--soft-2); text-decoration: none; }
.foot li a:hover { color: #fff; text-decoration: underline; }
.foot address { font-style: normal; }
.legal-line { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .88rem; color: #88aeb2; }
.legal-line p { margin: 0; }
.legal-line a { color: var(--soft-2); }

/* Unterseiten */
.page-head { padding: clamp(8.5rem, 13vw, 11rem) 0 clamp(7.5rem, 13vw, 11.5rem); }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.8rem); max-width: 18ch; }
.page-head .lead { margin-top: 1.4rem; max-width: 58ch; animation: fadeUp .9s var(--ease) .25s both; }
.page-head .actions { animation: fadeUp .9s var(--ease) .38s both; }
.prose { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.prose > * { max-width: 70ch; }
.prose h2 { font-size: 1.45rem; margin: 2.25rem 0 .75rem; letter-spacing: -.025em; }
.prose h2:first-child { margin-top: 0; }
.prose address { font-style: normal; margin-bottom: 1em; }

/* ---------- Einblenden beim Scrollen (nur mit JavaScript) ---------- */
.reveal { opacity: 0; translate: 0 30px; transition: opacity .9s var(--ease) var(--d, 0s), translate 1s var(--ease) var(--d, 0s), transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s, border-color .3s; }
.reveal.in { opacity: 1; translate: 0 0; }
.duration.reveal:not(.in) .track i { width: 0; }

/* ---------- Bewegungen ---------- */
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; transform: scale(.95) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6%, 8%, 0) scale(1.15); } }
@keyframes twinkle { from { opacity: .25; } to { opacity: .95; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(127, 227, 255, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(127, 227, 255, 0); } }
@keyframes sheen { 0%, 55% { transform: skewX(-18deg) translateX(0); } 100% { transform: skewX(-18deg) translateX(520%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes road { to { stroke-dashoffset: -18; } }
@keyframes lane { to { stroke-dashoffset: -18; background-position: .9em 100%; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 1060px) {
  .js .top .menu-btn { display: inline-flex; }
  .js .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding: .75rem clamp(1rem, 4vw, 2.5rem) 1.5rem; background: rgba(8, 38, 46, .97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .6); visibility: hidden; opacity: 0; translate: 0 -10px; transition: opacity .3s var(--ease), translate .4s var(--ease), visibility 0s .4s; }
  .js .nav.open { visibility: visible; opacity: 1; translate: 0 0; transition: opacity .3s var(--ease), translate .4s var(--ease); }
  .js .nav ul { flex-direction: column; gap: 0; }
  .js .nav ul a { padding: .85rem .25rem; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1.05rem; }
  .js .nav ul a:hover { background: none; }
  .js .nav ul a[aria-current='page']::after { left: auto; right: .5rem; top: 50%; bottom: auto; margin: -2.5px 0 0; }
  html:not(.js) .top-in { flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .nav, html:not(.js) .nav ul { flex-wrap: wrap; }
  .hero-grid, .trip, .split, .route-meta, .contact-grid, .calc { grid-template-columns: minmax(0, 1fr); }
  .hero-art { margin-top: 5rem; }
  .split .section-head, .contact-grid > aside { position: static; }
  .split { gap: 2.25rem; }
  .bill { position: static; }
  .corridors { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .durations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .cta .actions { flex-direction: row; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .stack table, .stack tbody, .stack tr, .stack th, .stack td, .stack caption { display: block; }
  .stack tr { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
  .stack tbody tr:last-child { border-bottom: 0; }
  .stack tbody th, .stack td { padding: 0; border: 0; }
  .stack td { display: flex; justify-content: space-between; gap: 1rem; margin-top: .4rem; text-align: right; }
  .stack td::before { content: attr(data-label); color: var(--muted); font-size: .9rem; text-align: left; }
  .stack .num { white-space: normal; }
}
@media (max-width: 720px) {
  .controls { grid-template-columns: minmax(0, 1fr); }
  .opts { grid-template-columns: minmax(0, 1fr); }
  .planner .chart { height: 300px; }
  .route-block .chart { height: 270px; }
  .legend li:last-child { margin-left: 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div { padding: 1rem 1.1rem; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .two, .corridors { grid-template-columns: minmax(0, 1fr); }
  .moon { display: none; }
  .hero-art { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
  .ticket { flex: 1 1 100%; margin-bottom: .4rem; }
  .chip { position: static; flex: 1 1 12rem; animation: none; }
  th, td { padding: .8rem .9rem; }
}
@media (max-width: 520px) {
  .durations, .pair, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .leg { grid-template-columns: 4px minmax(0, 1fr); }
  .leg .tag { grid-column: 2; justify-self: start; margin: -.35rem 0 .7rem; }
  .leg i { grid-row: span 2; }
  .cta .actions { flex-direction: column; }
  .hero .actions .btn { flex: 1 1 100%; }
  .chip { padding: .55rem .8rem .55rem .55rem; }
  .chip i { width: 2rem; height: 2rem; }
  .ticket { padding-inline: 1.15rem; }
  .t-route { font-size: 1.4rem; }
  .t-stats { gap: .35rem; }
  .t-stats dd { font-size: .9rem; }
  .top .btn-small { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
  .draw .line { stroke-dasharray: none; stroke-dashoffset: 0; }
  .topo .car, .topo .car-halo { display: none; }
}
@media print {
  .top, .sky, .foot, .cta, .controls, .modes, .marquee { display: none !important; }
  .sky-wrap { background: none; color: var(--ink); }
  .sky-wrap h1, .sky-wrap .lead { color: var(--ink); }
  .reveal { opacity: 1; translate: none; }
}
