/* ITZCMS Theme „Altstadt“ – die Seite als Rundgang */
:root {
    --accent: #d9a441;
    --night: #121519;
    --night-2: #1b2026;
    --ink: #1f242a;
    --text: #4a525a;
    --muted: #7b838a;
    --parchment: #f3ede1;
    --paper: #faf7f1;
    --line: rgba(18, 21, 25, .12);
    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --wrap: 1280px;
    --header-h: 84px;
    --radius: 20px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --accent-ink: color-mix(in srgb, var(--accent) 55%, #000);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 18px/1.7 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; counter-reset: chapter; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; color: var(--ink); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 .45em; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h3 { font-size: 1.55rem; line-height: 1.15; font-weight: 500; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.wrap--narrow { max-width: 860px; }
.wrap--wide { max-width: var(--wrap); }
.sr-only, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 1000; top: 10px; left: 10px; background: #fff; padding: 10px 16px; border-radius: 8px; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.kicker { font: 600 12.5px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 20px; display: inline-flex; align-items: center; gap: 14px; }
.kicker::before { content: ''; width: 34px; height: 1px; background: currentColor; }
[data-parallax], [data-parallax-x] { will-change: transform; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 15px/1 var(--sans); text-decoration: none; padding: 18px 28px; border-radius: 999px; border: 1.5px solid var(--accent); background: var(--accent); color: var(--night); cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px color-mix(in srgb, var(--accent) 85%, transparent); }
.button .icon { transition: transform .3s var(--ease); }
.button:hover .icon { transform: translateX(4px); }
.button--ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.button--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }
.button--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.button--light:hover { background: #fff; color: var(--night); box-shadow: none; }
.button--dark { background: var(--night); color: #fff; border-color: var(--night); }
.button--small { padding: 12px 20px; font-size: 14px; }
.button--block { width: 100%; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
    .progress { animation: grow linear both; animation-timeline: scroll(root); }
    @keyframes grow { to { transform: scaleX(1); } }
}

/* Kopf */
.site-header { position: fixed; inset: 0 0 auto; z-index: 200; height: var(--header-h); color: var(--ink); transition: background .4s, color .4s, height .4s, box-shadow .4s; }
.home .site-header:not(.is-scrolled), .menu-open .site-header { color: #fff; }
.site-header.is-scrolled { --header-h: 68px; background: color-mix(in srgb, var(--paper) 85%, transparent); backdrop-filter: saturate(1.5) blur(16px); box-shadow: 0 1px 0 var(--line); }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1.5px solid currentColor; border-radius: 50%; font: 500 20px/1 var(--serif); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 500 18px/1.15 var(--serif); }
.brand-tag { font: 600 10.5px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.brand img { height: 44px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-button { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; color: inherit; font: 600 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; padding: 10px 4px; }
.menu-lines { position: relative; width: 30px; height: 12px; }
.menu-lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-lines i:first-child { top: 0; } .menu-lines i:last-child { top: 10px; }
.menu-open .menu-lines i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-lines i:last-child { top: 5px; transform: rotate(-45deg); }
@media (max-width: 640px) { .header-cta, .brand-tag, .menu-button-label { display: none; } }

/* Vollbild-Menü */
.overlay { position: fixed; inset: 0; z-index: 150; background: var(--night); color: #fff; display: flex; align-items: center; clip-path: circle(0 at calc(100% - 60px) 42px); transition: clip-path .8s var(--ease); }
.overlay[hidden] { display: flex; visibility: hidden; }
.overlay.is-open { clip-path: circle(150% at calc(100% - 60px) 42px); visibility: visible; }
.overlay-media { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 45%); pointer-events: none; }
.overlay-inner { position: relative; padding-top: var(--header-h); padding-bottom: 40px; }
.overlay-list { list-style: none; margin: 0; padding: 0; }
.overlay-list li { overflow: hidden; }
.overlay-list a { display: flex; align-items: baseline; gap: 22px; text-decoration: none; font: 400 clamp(2.2rem, 7vw, 5.4rem)/1.12 var(--serif); padding: 4px 0; transform: translateY(110%); transition: transform .8s var(--ease) calc(.15s + var(--i) * .06s), color .3s; }
.overlay.is-open .overlay-list a { transform: none; }
.overlay-list a:hover { color: var(--accent); }
.overlay-no { font: 600 13px/1 var(--sans); letter-spacing: .12em; color: var(--accent); }
.overlay-foot { display: flex; gap: 24px; margin-top: 48px; font-size: 15px; opacity: .7; flex-wrap: wrap; }
.overlay-foot a { text-decoration: none; }
body.menu-open { overflow: hidden; }

/* Hero mit Parallax-Ebenen */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; background: var(--night); }
.hero--large { min-height: 78vh; min-height: 78svh; }
.hero-media { position: absolute; inset: -12% 0 -12% 0; z-index: -3; }
.hero-image { position: absolute; inset: 0; background: var(--night-2) center/cover no-repeat; animation: kenburns 26s ease-out both; }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1.02); } }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(18,21,25,.55) 0%, rgba(18,21,25,.1) 40%, rgba(18,21,25,.9) 100%); }
.hero-word { position: absolute; z-index: -1; left: 0; top: 18%; margin: 0; white-space: nowrap; font: 400 clamp(8rem, 26vw, 26rem)/1 var(--serif); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.22); pointer-events: none; user-select: none; }
.hero-content { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(60px, 11vh, 130px); }
.hero .kicker { color: var(--accent); }
.hero-title { color: #fff; font-size: clamp(3rem, 9.5vw, 8.6rem); line-height: .94; max-width: 11ch; margin-bottom: .35em; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.25); padding-top: 28px; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 520px; margin: 0; opacity: .9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge { position: absolute; right: clamp(20px, 5vw, 70px); top: calc(var(--header-h) + 6vh); width: clamp(110px, 12vw, 150px); aspect-ratio: 1; display: grid; place-items: center; color: #fff; text-decoration: none; }
.hero-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-badge text { font: 600 13.5px var(--sans); letter-spacing: .25em; text-transform: uppercase; fill: currentColor; }
.hero-badge-arrow { color: var(--accent); }
@media (max-width: 700px) { .hero-badge { display: none; } }

/* Route (Führungen) – horizontal beim Scrollen */
.route { position: relative; background: var(--paper); padding: clamp(80px, 11vw, 140px) 0; }
.route-head { max-width: 760px; margin: 0 0 56px; }
.route-head .section-intro { font-size: 1.15rem; }
.route-hint { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 8px 0 0; }
.route-viewport { overflow: hidden; }
.route-track { list-style: none; margin: 0; padding: 0 clamp(20px, 4vw, 48px); display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); max-width: var(--wrap); margin-inline: auto; position: relative; }
.station { position: relative; display: flex; flex-direction: column; }
.station-pin { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; color: var(--accent-ink); }
.station-pin span { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--accent); font: 500 15px/1 var(--serif); flex: none; box-shadow: 0 0 0 6px var(--paper); position: relative; z-index: 1; }
.station-pin::after { content: ''; flex: 1; border-top: 2px dashed color-mix(in srgb, var(--accent) 70%, transparent); }
.station:last-child .station-pin::after { border-top-style: solid; border-top-color: transparent; }
.station-card { position: relative; flex: 1; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(18,21,25,.45); transition: transform .5s var(--ease), box-shadow .5s; }
.station-card:hover { transform: translateY(-8px); box-shadow: 0 1px 0 var(--line), 0 40px 70px -40px rgba(18,21,25,.55); }
.station-media { margin: -30px -30px 26px; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.station-media img { width: 100%; height: 100%; object-fit: cover; }
.station-icon { color: var(--accent-ink); margin-bottom: 26px; }
.station-card p { font-size: 16px; }
.station-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); }
.station-link .icon { color: var(--accent-ink); transition: transform .3s var(--ease); }
.station-link::after { content: ''; position: absolute; inset: 0; }
.station-card:hover .station-link .icon { transform: translateX(5px); }
/* Horizontal-Modus (per JS aktiviert, nur Desktop) */
.route.is-horizontal { padding: 0; height: var(--route-h, 300vh); }
.route.is-horizontal .route-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.route.is-horizontal .route-head { margin-bottom: 40px; }
.route.is-horizontal .route-viewport { overflow: visible; }
.route.is-horizontal .route-track { display: flex; gap: 0; max-width: none; width: max-content; padding-left: max(clamp(20px, 4vw, 48px), calc((100vw - var(--wrap)) / 2 + 48px)); padding-right: 20vw; }
.route.is-horizontal .station { width: clamp(320px, 30vw, 420px); padding-right: 32px; }
@media (max-width: 899px) {
    .route-track { grid-template-columns: 1fr; gap: 0; }
    .station { flex-direction: row; gap: 18px; padding-bottom: 28px; }
    .station-pin { flex-direction: column; margin: 0; }
    .station-pin::after { border-top: 0; border-left: 2px dashed color-mix(in srgb, var(--accent) 70%, transparent); width: 0; flex: 1; margin-top: 6px; }
    .station:last-child .station-pin::after { border-left-color: transparent; }
}
.is-editing .station-link::after { display: none; }

/* Kapitel (Abschnitt) */
.chapter { position: relative; padding: clamp(80px, 12vw, 160px) 0; counter-increment: chapter; overflow: hidden; }
.tone-light { background: var(--parchment); }
.tone-white { background: var(--paper); }
.tone-dark { background: var(--night); color: #c5cbd1; }
.tone-dark h2, .tone-dark h3 { color: #fff; }
.tone-dark .kicker { color: var(--accent); }
.chapter-grid { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
.chapter-media { margin: 0; grid-column: 1 / span 8; grid-row: 1; }
.is-flipped .chapter-media { grid-column: 5 / span 8; }
.chapter-frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 5/4; background: var(--night-2); }
.chapter-frame img { position: absolute; left: 0; width: 100%; height: 124%; top: -12%; object-fit: cover; }
.chapter-card { grid-column: 7 / span 6; grid-row: 1; position: relative; z-index: 1; background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); box-shadow: 0 50px 90px -50px rgba(18,21,25,.55); }
.tone-white .chapter-card { background: #fff; }
.tone-dark .chapter-card { background: var(--night-2); }
.is-flipped .chapter-card { grid-column: 1 / span 6; }
.no-media .chapter-card { grid-column: 2 / span 10; background: transparent; box-shadow: none; text-align: center; padding: 0; }
.no-media .kicker { justify-content: center; }
.chapter-no { margin: 0 0 10px; font: italic 400 15px/1 var(--serif); color: var(--muted); }
.chapter-no::before { content: 'Kapitel ' counter(chapter, decimal-leading-zero); }
.chapter-card .prose { font-size: 1.06rem; }
.chapter-card .button { margin-top: 10px; }
@media (max-width: 899px) {
    .chapter-media, .is-flipped .chapter-media { grid-column: 1 / -1; }
    .chapter-card, .is-flipped .chapter-card { grid-column: 1 / -1; grid-row: 2; margin: -60px 16px 0; }
    .no-media .chapter-card { grid-row: 1; margin: 0; }
    .chapter-frame { aspect-ratio: 4/3; }
}
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.tone-dark .prose a, .contact .prose a { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose .lead { font-size: 1.25rem; color: var(--ink); }
.prose .highlight { border-left: 3px solid var(--accent); padding-left: 18px; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

/* Bild-Fenster */
.window { position: relative; background: var(--night); padding: 0; overflow: hidden; }
.window-frame { position: relative; overflow: hidden; margin: 0 auto; height: clamp(320px, 48vw, 560px); clip-path: inset(0 calc(var(--open, 1) * 14%) round calc(var(--open, 1) * 40px)); }
.window--medium .window-frame { height: clamp(380px, 62vw, 720px); }
.window-media { position: absolute; inset: -18% 0; background: var(--night-2) center/cover no-repeat; }
.window-marquee { position: absolute; left: 0; right: 0; bottom: 8%; overflow: hidden; pointer-events: none; }
.window-marquee p { margin: 0; white-space: nowrap; font: italic 400 clamp(2.4rem, 7vw, 6rem)/1 var(--serif); color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.45); padding-left: 10vw; }
.is-editing .window-marquee { pointer-events: auto; }

/* Freier Text / Seiten */
.page main { padding-top: 0; }
.page-hero { background: var(--night); color: #fff; padding: calc(var(--header-h) + clamp(50px, 8vw, 110px)) 0 clamp(50px, 7vw, 90px); }
.page .site-header:not(.is-scrolled) { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 5.4rem); margin: 0; }
.page-hero .kicker { color: var(--accent); }
.text-block { padding: clamp(50px, 8vw, 110px) 0; }

/* Zitat */
.quote { position: relative; padding: clamp(90px, 13vw, 170px) 0; text-align: center; background: var(--parchment); isolation: isolate; overflow: hidden; }
.quote--image { color: #fff; background: var(--night); }
.quote-media { position: absolute; inset: -15% 0; z-index: -2; background: center/cover no-repeat; }
.quote--image::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(18,21,25,.7); }
.quote figure { margin: 0 auto; }
.quote-mark { color: var(--accent); margin: 0 auto 24px; }
.quote blockquote { margin: 0; font: italic 400 clamp(1.8rem, 4.2vw, 3.2rem)/1.22 var(--serif); }
.quote:not(.quote--image) blockquote { color: var(--ink); }
.quote figcaption { margin-top: 26px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 12.5px; opacity: .75; }

/* Aufruf-Band */
.cta { padding: clamp(56px, 8vw, 96px) 0; }
.cta--gold { background: var(--accent); color: var(--night); }
.cta--dark { background: var(--night); color: #c5cbd1; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: .2em; }
.cta--gold h2 { color: var(--night); }
.cta--dark h2 { color: #fff; }
.cta p { margin: 0; font-size: 1.12rem; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* FAQ */
.faq { padding: clamp(80px, 11vw, 140px) 0; background: var(--paper); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; list-style: none; font: 400 1.4rem/1.25 var(--serif); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--accent-ink); transition: transform .35s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { padding: 0 48px 26px 0; margin: 0; }

/* Kontakt als Eintrittskarte */
.contact { background: var(--night); color: #c5cbd1; padding: clamp(90px, 12vw, 160px) 0; position: relative; overflow: hidden; isolation: isolate; }
.contact-glow { position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -200px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 62%); }
.contact h2 { color: #fff; }
.contact .kicker { color: var(--accent); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 1.1rem; }
.contact-list .icon { color: var(--accent); margin-top: 3px; }
.contact-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.contact-list a:hover { border-color: var(--accent); }
.ticket { display: grid; grid-template-columns: 92px 1fr; background: var(--paper); color: var(--text); border-radius: 22px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.7); transform: rotate(-1.2deg); transition: transform .6s var(--ease); }
.ticket:hover, .ticket:focus-within { transform: none; }
.ticket-stub { position: relative; background: var(--accent); color: var(--night); border-radius: 22px 0 0 22px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 26px 0; writing-mode: vertical-rl; transform: rotate(180deg); border-radius: 0 22px 22px 0; }
.ticket-stub::after { content: ''; position: absolute; top: 14px; bottom: 14px; left: -1px; border-left: 3px dotted var(--paper); }
.ticket-label { font: 600 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.ticket-title { font: 500 1.15rem/1 var(--serif); }
.ticket-no { font: 600 12px/1 var(--sans); letter-spacing: .1em; }
.ticket-body { padding: clamp(26px, 4vw, 46px); }
.ticket h3 { font-size: 1.8rem; }
@media (max-width: 560px) { .ticket { grid-template-columns: 1fr; transform: none; } .ticket-stub { writing-mode: horizontal-tb; transform: none; flex-direction: row; padding: 16px 22px; border-radius: 22px 22px 0 0; } .ticket-stub::after { display: none; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.field { position: relative; }
.field--wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field input, .field textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #dcd3c2; border-radius: 12px; padding: 24px 16px 10px; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 16px; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .2s var(--ease), color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.75); color: var(--accent-ink); }
.has-error input, .has-error textarea { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: 14px; margin: 6px 0 0; }
.form-note { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 16px 0 0; }
.form-note a { color: inherit; }
.itz-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 18px; border-radius: 12px; margin-bottom: 16px; }
.notice p:last-child { margin: 0; }
.notice--success { background: #e7f2ea; color: #1d5232; }
.notice--error { background: #fbeceb; color: #8c1d16; }
.grecaptcha-badge { visibility: hidden; }

/* Fuß */
.site-footer { background: #0c0e11; color: #9aa2a9; padding: clamp(70px, 9vw, 110px) 0 36px; font-size: 15px; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer-text { max-width: 520px; font: 400 clamp(1.3rem, 2.4vw, 1.9rem)/1.3 var(--serif); color: #e7e2d8; margin: 0; }
.footer-giant { margin: clamp(40px, 6vw, 70px) 0 30px; white-space: nowrap; font: 400 clamp(4rem, 13vw, 13rem)/.9 var(--serif); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px; }
.footer-bottom ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-bottom a { color: #c5cbd1; text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }
.footer-copy { margin: 0; font-size: 14px; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--night); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.preview-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 400; background: var(--accent); color: var(--night); text-align: center; font-size: 14px; padding: 6px; }

/* Einblenden */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-duration: 1.3s; }

/* Editor & Barrierefreiheit: alles statisch */
.is-editing [data-reveal] { opacity: 1 !important; transform: none !important; }
.is-editing [data-parallax], .is-editing [data-parallax-x] { transform: none !important; }
.is-editing .station-link::after, .is-editing .card-link::after { display: none; }
.is-editing .hero-media:not(:has([style])) .hero-image, .is-editing .window-media:not([style]) { background: repeating-linear-gradient(45deg, #2a3037 0 14px, #313840 14px 28px); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .hero-image { animation: none; }
    [data-parallax], [data-parallax-x] { transform: none !important; }
    .overlay, .overlay-list a { transition: none; }
}
