

@font-face { font-family: 'Castoro'; src: url('fonts/castoro-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Castoro'; src: url('fonts/castoro-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Reddit Sans'; src: url('fonts/reddit-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Reddit Sans'; src: url('fonts/reddit-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Reddit Sans'; src: url('fonts/reddit-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --papier: #ffffff;
  --stein: #f6f1ec;
  --tinte: #1d2a24;
  --grau: #5b6660;
  --linie: #e2ddd6;
  --sandstein: #a4432f;
  --sandstein-dunkel: #86351f;
  --wald: #2f5d46;
  --sonne: #d9a441;
  --serif: 'Castoro', Georgia, serif;
  --sans: 'Reddit Sans', system-ui, sans-serif;
  --takt: cubic-bezier(.3, .1, .2, 1);
  --takt-1: 180ms;
  --takt-2: 420ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--papier); color: var(--tinte); font: 400 1.0625rem/1.68 var(--sans); }
::selection { background: var(--sandstein); color: #fff; }
img, svg { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--sandstein); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -.005em; }
a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--sandstein); text-decoration-thickness: 1.5px; text-underline-offset: .2em; transition: color var(--takt-1) var(--takt), text-decoration-thickness var(--takt-1) var(--takt); }
a:hover, a:focus-visible { color: var(--sandstein-dunkel); text-decoration-thickness: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sandstein); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rahmen { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }


.kopf { background: var(--tinte); color: #fff; position: relative; z-index: 10; }
.kopf .rahmen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.marke:hover { color: #fff; }
.marke-zeichen { width: 46px; height: 46px; color: #fff; flex: none; }
.marke-text b { display: block; font: 400 1.55rem/1 var(--serif); letter-spacing: .02em; }
.marke-text small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #cfd6d1; margin-top: 4px; }
.menue { display: flex; gap: clamp(14px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.menue a { color: #fff; text-decoration: none; font-size: .92rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.menue a:hover, .menue a[aria-current="page"] { border-color: var(--sonne); color: #fff; }
.menue-knopf { display: none; }
@media (max-width: 1000px) {
  .kopf .rahmen { flex-wrap: wrap; }
  .haupt { position: relative; }
  .mit-js .menue-knopf { display: block; cursor: pointer; background: none; color: #fff; font: 500 .95rem var(--sans); padding: 8px 14px; border: 1px solid rgba(255,255,255,.5); }
  .mit-js .menue { position: absolute; right: 0; top: calc(100% + 12px); flex-direction: column; gap: 0; background: var(--tinte); border: 1px solid rgba(255,255,255,.25); min-width: 220px; padding: 6px 0; }
  .mit-js .menue:not(.offen) { display: none; }
  .mit-js .menue a { display: block; padding: 12px 18px; border: 0; }
  .ohne-js .haupt { width: 100%; padding-bottom: 10px; }
  .ohne-js .menue { flex-wrap: wrap; gap: 4px 16px; }
}


.strassenblick { position: relative; height: clamp(580px, 86vh, 880px); overflow: hidden; color: #fff; background: var(--tinte); }
.strassenblick .strassenblick-bild { position: absolute; inset: 0; margin: 0; }
.buehne { position: absolute; top: 50%; left: 50%; width: max(100%, calc(clamp(580px, 86vh, 880px) * 1.5)); aspect-ratio: 3 / 2; transform: translate(-50%, -50%); }
.buehne picture img { width: 100%; height: 100%; object-fit: cover; }
.buehne .bahn { position: absolute; left: 19.08%; top: 34.38%; width: 56.97%; height: auto; transform-origin: -16.3% 64.9%; }
.strassenblick-bild .ai-badge { position: absolute; top: 1rem; right: 1rem; z-index: 3; }
.strassenblick-bild .ai-note { position: absolute; right: 1rem; bottom: .7rem; z-index: 3; margin: 0; font-size: .72rem; color: rgba(255,255,255,.88); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.strassenblick-schleier { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,31,26,.9) 0%, rgba(20,31,26,.74) 32%, rgba(20,31,26,.2) 60%, rgba(20,31,26,0) 76%), linear-gradient(0deg, rgba(20,31,26,.4), rgba(20,31,26,0) 28%); }
.strassenblick-inhalt { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.strassenblick-text { max-width: 35rem; }
.strassenblick h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 1; color: #fff; }
.unterzeile { display: block; margin-top: 18px; font: 500 .82rem/1.55 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #f0c98a; max-width: 32rem; }
.strassenblick-vorspann { margin: 18px 0 26px; font-size: 1.1rem; color: rgba(255,255,255,.92); max-width: 31rem; }
.strassenblick-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.knopf { display: inline-block; padding: 12px 22px; font: 500 .9rem var(--sans); text-decoration: none; border: 1.5px solid currentColor; border-radius: 2px; transition: background var(--takt-2) var(--takt), color var(--takt-1) var(--takt), transform var(--takt-1) var(--takt); }
.knopf:hover { transform: translateY(-2px); }
.knopf--voll { background: var(--sandstein); border-color: var(--sandstein); color: #fff; }
.knopf--voll:hover { background: var(--sandstein-dunkel); border-color: var(--sandstein-dunkel); color: #fff; }
.knopf--hell { color: #fff; border-color: rgba(255,255,255,.8); }
.knopf--hell:hover { background: #fff; color: var(--tinte); }
.linie { align-self: flex-start; margin-top: 7vh; width: 16rem; padding: 18px 20px 4px; background: rgba(20,31,26,.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.2); text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.linie-titel { font: 400 1.35rem/1 var(--serif); margin: 0 0 14px; color: #fff; }
.halte { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.halte::before { content: ''; position: absolute; left: 9px; top: 11px; bottom: 28px; border-left: 3px solid var(--sandstein); }
.halt { position: relative; height: 52px; }
.halt::before { content: ''; position: absolute; left: -26px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--sandstein); }
.halt a { display: block; color: #fff; text-decoration: none; }
.halt b { display: block; font: 700 .98rem/1.2 var(--sans); color: rgba(255,255,255,.82); transition: color var(--takt-2) var(--takt); }
.halt span { display: block; font-size: .74rem; color: rgba(255,255,255,.7); }
.halt.aktiv b, .halt a:hover b { color: #f0c98a; }
.wagen { display: none; position: absolute; left: -8px; top: 1px; width: 28px; height: 14px; transform: translateY(calc(var(--i, 0) * 52px)); transition: transform 1.6s var(--takt); z-index: 1; }
.wagen svg { width: 28px; height: 14px; fill: #f0c98a; }
.mit-js .wagen { display: block; }
.mit-js .halt.aktiv::before { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .buehne .bahn { animation: einfahrt 22s linear infinite; }
}
@keyframes einfahrt {
  0% { transform: scale(.5); opacity: 0; }
  8% { opacity: 1; }
  82% { transform: scale(1); opacity: 1; }
  92% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .wagen { transition: none; } }
@media (max-width: 900px) {
  .strassenblick { height: auto; min-height: 640px; }
  .strassenblick-schleier { background: linear-gradient(0deg, rgba(20,31,26,.93) 0%, rgba(20,31,26,.7) 55%, rgba(20,31,26,.2) 100%); }
  .strassenblick-inhalt { flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-top: 200px; padding-bottom: 46px; }
  .linie { display: none; }
}


.ai-image { position: relative; }
.ai-badge { position: absolute; top: .7rem; right: .7rem; padding: .2rem .5rem; border: 2px solid #fff; border-radius: .3rem; background: rgba(29,42,36,.6); color: #fff; font: 700 .78rem/1 var(--sans); letter-spacing: .06em; pointer-events: none; }


.pfad { font-size: .85rem; color: var(--grau); padding-top: 22px; }
.pfad a { color: var(--grau); }
.seitenkopf { padding: clamp(24px, 5vw, 48px) 0 18px; max-width: 54rem; }
.seitenkopf h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.vorspann { font-size: 1.18rem; color: var(--grau); margin: 16px 0 0; }
.zeile { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .88rem; color: var(--grau); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); padding: 12px 0; margin: 18px 0 0; }
.zeile a { color: var(--tinte); }


.spalten { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 18rem); gap: clamp(28px, 5vw, 64px); padding: 32px 0 48px; }
@media (max-width: 980px) { .spalten { grid-template-columns: 1fr; } }
.text > p:first-of-type { font-size: 1.14rem; }
.text h2 { font-size: clamp(1.75rem, 3vw, 2.3rem); margin: 2.1em 0 .6em; position: relative; padding-left: 22px; }
.text h2::before { content: ''; position: absolute; left: 0; top: .2em; bottom: .15em; width: 5px; background: var(--sandstein); border-radius: 3px; }
.text h3 { font-size: 1.35rem; margin: 1.6em 0 .4em; }
.text ul, .text ol { padding-left: 1.2em; }
.text li { margin: .35em 0; }
.text li::marker { color: var(--sandstein); }
.text table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; display: block; overflow-x: auto; }
.text th, .text td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.text th { font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wald); }
.text .notiz { margin: 1.8em 0; padding: 20px 24px; background: var(--stein); border-radius: 14px 2px 14px 2px; position: relative; }
.text .notiz::before { content: ''; position: absolute; right: 18px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--sonne); box-shadow: 0 0 0 5px var(--papier); }
.text .notiz p { margin: 0; }
.text figure { margin: 2em 0; }
.text figcaption { font-size: .82rem; color: var(--grau); margin-top: 8px; }
.bild { margin: 0 0 30px; }
.bild img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; }
.bild figcaption { font-size: .8rem; color: var(--grau); margin-top: 6px; }
.grafik img { border: 1px solid var(--linie); border-radius: 3px; }
.einbetten { margin: -1em 0 2em; font-size: .8rem; color: var(--grau); }
.einbetten label { display: block; margin-bottom: 6px; }
.einbetten textarea { width: 100%; font: .75rem/1.4 ui-monospace, monospace; padding: 8px; border: 1px solid var(--linie); background: var(--stein); color: var(--grau); resize: vertical; }


.rand { align-self: start; position: sticky; top: 20px; display: grid; gap: 24px; }
@media (max-width: 980px) { .rand { position: static; } }
.eckdaten { background: var(--stein); padding: 22px; border-radius: 3px; }
.eckdaten h2, .weiter h2 { font-size: 1.35rem; margin-bottom: 12px; }
.eckdaten dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .9rem; }
.eckdaten dt { color: var(--grau); }
.eckdaten dd { margin: 0; }
.weiter ul { list-style: none; margin: 0; padding: 0; }
.weiter li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--linie); text-decoration: none; }
.weiter li a:hover { color: var(--sandstein); }


.fragen { padding: 12px 0 64px; max-width: 50rem; }
.fragen > h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 20px 0 16px; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary h3 { font: 500 1.04rem/1.4 var(--sans); margin: 0; }
.fragen summary::after { content: '+'; font: 400 1.6rem/1 var(--serif); color: var(--sandstein); transition: transform var(--takt-2) var(--takt); }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details > div { padding: 0 0 18px; color: var(--grau); }
.fragen details > div p { margin: 0; }


.fuss { background: var(--tinte); color: #d8ded9; padding: 44px 0 26px; font-size: .92rem; }
.fuss .rahmen { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.fuss-titel { font: 400 1.25rem var(--serif); color: #fff; margin: 0 0 10px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin: 6px 0; }
.fuss a { color: #fff; text-decoration-color: var(--sonne); }
.fuss-unten { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .fuss .rahmen { grid-template-columns: 1fr; } }
.seite-404 { padding-bottom: 80px; }
