/* zuegeln-zuerich.ch — „Zürich bei Nacht – Tram, Limmat, Neon“
   Dunkler Grund, Panels mit 1px kühlem Rand, Tram-Blau als Primärfarbe,
   Signalgelb als Akzent, geometrische Headlines, Tramlinien als Trenner.
   Keine Frameworks, keine externen Fonts. Jede Farbe ist explizit gesetzt. */

:root {
  --ink: #0b0e14;
  --ink-2: #070a0f;
  --panel: #141a24;
  --panel-2: #1b2331;
  --panel-3: #10151e;
  --line: #2a3446;
  --line-2: #3a465c;
  --blue: #3d7bff;
  --blue-light: #6f9dff;
  --blue-cta: #2a63f0;
  --blue-cta-2: #1e50cf;
  --blue-deep: #16224a;
  --yellow: #ffcc33;
  --yellow-deep: #d8a200;
  --text: #e9eef7;
  --text-dim: #a7b4ca;
  --text-mute: #8492ab;
  --radius: 14px;
  --radius-lg: 22px;
  --font-geo: "Futura", "Century Gothic", "Trebuchet MS", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.68;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--blue-light); text-underline-offset: 3px; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4, .brand-text, .btn, .kicker, .stat-num, .cta-band-title, .footer-title, .pills li, .step-no, .num-badge {
  font-family: var(--font-geo);
}
h1, h2, h3, h4 { line-height: 1.16; color: #ffffff; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.05rem, 1.3rem + 3vw, 3.35rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: .01em; }
p { margin: 0 0 1em; }
strong { color: #ffffff; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { left: 14px; color: var(--ink); }
.text-center { text-align: center; }
.note { font-size: .95rem; color: var(--text-mute); }
.note a { color: var(--blue-light); }

/* ---------- Tramlinien-Trenner: zwei Schienen mit Haltestellenpunkten ---------- */
.rails {
  height: 28px; width: 100%; pointer-events: none;
  background-image:
    linear-gradient(var(--line-2) 0 0),
    linear-gradient(var(--line-2) 0 0),
    radial-gradient(circle, var(--yellow) 0 3px, rgba(0, 0, 0, 0) 4px);
  background-repeat: no-repeat, no-repeat, repeat-x;
  background-size: 100% 1px, 100% 1px, 132px 28px;
  background-position: 0 10px, 0 17px, 22px center;
}
.rails--hero { margin-top: 28px; }
.rails--footer { opacity: .7; margin-bottom: 30px; }
.rails--sec { max-width: 1180px; margin: 0 auto 44px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.logo-mark { flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; font-weight: 700; font-size: 1.22rem; line-height: 1.06; letter-spacing: -.02em; color: #ffffff; }
.brand-text span { font-size: .82rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--yellow); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 1rem; color: var(--text); text-decoration: none; border: 1px solid transparent; }
.nav-list a:hover { background: var(--panel); color: #ffffff; border-color: var(--line); }
.nav-list a[aria-current="page"] { background: var(--panel-2); color: var(--yellow); border-color: var(--line-2); }
.nav-toggle { display: none; position: relative; width: 50px; height: 50px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 50%; width: 22px; height: 2px; margin-left: -11px; border-radius: 2px; background: var(--text); content: ""; transition: transform .2s ease, background .2s ease;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

/* ---------- Buttons (hohe Spezifität, damit Sektionsfarben sie nie überschreiben) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: .01em; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; text-align: center; }
.btn--lg { padding: 17px 34px; font-size: 1.07rem; }
a.btn.btn--blue { background: var(--blue-cta); color: #ffffff; box-shadow: 0 10px 34px rgba(61, 123, 255, .32); }
a.btn.btn--blue:hover { background: var(--blue-cta-2); color: #ffffff; transform: translateY(-1px); box-shadow: 0 14px 40px rgba(61, 123, 255, .42); }
a.btn.btn--ink { background: var(--ink); color: #ffffff; border-color: var(--ink); }
a.btn.btn--ink:hover { background: var(--panel-2); color: var(--yellow); transform: translateY(-1px); }
a.btn.btn--ghost { background: rgba(0, 0, 0, 0); color: #ffffff; border-color: var(--line-2); }
a.btn.btn--ghost:hover { background: var(--panel-2); color: var(--yellow); border-color: var(--yellow); }
a.btn.btn--yellow { background: var(--yellow); color: var(--ink); }
a.btn.btn--yellow:hover { background: #ffd95c; color: var(--ink); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 44px 8px; background: var(--ink); }
.hero-glow { position: absolute; top: -220px; right: -160px; width: 720px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(61, 123, 255, .26) 0%, rgba(61, 123, 255, .10) 42%, rgba(11, 14, 20, 0) 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 52px; align-items: center; }
.hero-copy { min-width: 0; }
.hero .lead { font-size: 1.17rem; color: var(--text-dim); max-width: 40em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; font-size: .92rem; color: var(--text-mute); margin-bottom: 16px; }
.crumbs a { color: var(--blue-light); font-weight: 600; text-decoration: none; }
.crumbs a:hover { color: var(--yellow); text-decoration: underline; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; }
.pills li { background: var(--panel); color: var(--yellow); border: 1px solid var(--line-2); padding: 5px 15px; border-radius: 999px; font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hero-actions { margin: 28px 0 20px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 0; font-weight: 600; color: var(--text-dim); font-size: .98rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); flex: none; }
.hero-visual { position: relative; min-width: 0; }
.hero--legal { padding-block: 40px 10px; }
.hero--legal h1 { margin: 0; }

/* ---------- Bildslots: blaues Duotone, bis echte Fotos da sind ---------- */
.media {
  display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 204, 51, .55) 0 4%, rgba(255, 204, 51, 0) 5%),
    radial-gradient(ellipse 70% 52% at 18% 8%, rgba(61, 123, 255, .42) 0 60%, rgba(61, 123, 255, 0) 61%),
    repeating-linear-gradient(115deg, rgba(233, 238, 247, .05) 0 2px, rgba(233, 238, 247, 0) 2px 26px),
    linear-gradient(170deg, #1c2a4a 0%, #16233c 45%, #0e1420 100%);
}
.media--hero { aspect-ratio: 5 / 4; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
img.media { display: block; height: auto; object-fit: cover; }
img.media--hero { aspect-ratio: 5 / 4; }
.media--wide { aspect-ratio: 16 / 9; }
img.media--wide { aspect-ratio: 16 / 9; }

/* ---------- Sektionen ---------- */
.sec { position: relative; padding-block: 72px; background: var(--ink); }
.sec--panel { background: var(--panel-3); border-block: 1px solid var(--line); }
.sec--tight { padding-block: 56px; }
.sec-head { max-width: 800px; margin-bottom: 38px; }
.sec-head.text-center { margin-inline: auto; }
.sec-head p { color: var(--text-dim); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--blue); border-radius: 2px; }
.prose { max-width: 840px; }
.prose h3 { margin-top: 1.7em; }
.prose h4 { margin-top: 1.5em; margin-bottom: .4em; color: var(--yellow); }
.prose ul, .prose ol { padding-left: 1.25em; color: var(--text); }
.prose li { margin-bottom: .45em; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 54px; align-items: center; }
.split--top { align-items: start; }
.split--visual { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split > * { min-width: 0; }
.gap-top { margin-top: 58px; }

/* Listen mit Haltestellenpunkt */
.checks { list-style: none; padding: 0 !important; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 204, 51, .16); }
.checks--blue li::before { background: var(--blue); box-shadow: 0 0 0 3px rgba(61, 123, 255, .18); }

/* Karten: flache Panels mit 1px Rand */
.grid-2 { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid-4 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; min-width: 0; }
.sec--panel .card { background: var(--panel); border-color: var(--line-2); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--text-dim); }
.card h3 { font-size: 1.17rem; }
.card .ico { width: 30px; height: 30px; color: var(--blue-light); margin-bottom: 12px; display: block; }
.card--accent { border-color: var(--line-2); box-shadow: inset 3px 0 0 var(--yellow); }
.card--blue { box-shadow: inset 3px 0 0 var(--blue); }

/* Zahlenblock */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0 0 8px; padding: 0; list-style: none; }
.stats li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat-num { display: block; font-size: 1.75rem; font-weight: 700; color: var(--yellow); line-height: 1.1; letter-spacing: -.02em; }
.stat-label { display: block; font-size: .93rem; color: var(--text-dim); line-height: 1.45; }

/* Schritte als Haltestellenfolge */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.steps > li { counter-increment: step; position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; }
.steps > li::before { content: counter(step); position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: var(--font-geo); font-weight: 700; font-size: 1.12rem; }
.steps > li h3 { margin-top: 14px; }
.steps p:last-child { margin-bottom: 0; color: var(--text-dim); }

/* Zeitachse als Tramlinie */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--blue), var(--line-2)); }
.timeline > li { position: relative; padding: 0 0 30px 70px; }
.timeline-dot { position: absolute; left: 0; top: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--panel); border: 2px solid var(--blue); color: var(--yellow); font-family: var(--font-geo); font-weight: 700; font-size: .78rem; line-height: 1.05; text-align: center; letter-spacing: .01em; }
.timeline h3 { margin-bottom: .35em; }
.timeline p:last-child { margin-bottom: 0; }
.timeline ul { margin-top: .5em; }

/* Hinweiskasten */
.tip { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; background: var(--panel); border: 1px solid var(--line-2); border-left: 3px solid var(--blue); border-radius: var(--radius); padding: 22px 24px; margin: 28px 0; }
.tip .ico { width: 28px; height: 28px; color: var(--blue-light); }
.tip p:last-child { margin-bottom: 0; }
.tip p { color: var(--text-dim); }
.tip strong { color: #ffffff; }
.tip--warn { border-left-color: var(--yellow); }
.tip--warn .ico { color: var(--yellow); }

/* Quartier-Tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.4em; }
.tag-row li { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 5px 15px; font-size: .95rem; font-weight: 600; }

/* Kreisliste */
.kreise { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.kreise li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; }
.kreise .num-badge { display: inline-block; background: var(--blue-deep); color: var(--blue-light); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 14px; font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.kreise h3 { font-size: 1.12rem; margin-bottom: .4em; }
.kreise p { margin: 0; font-size: 1rem; color: var(--text-dim); }
.kreise a { font-weight: 600; }

/* Tabellen: volle Breite, kein Suwak, Karten auf Mobile über base.css */
table { width: 100%; border-collapse: collapse; font-size: 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0 0 14px; }
caption { text-align: left; padding: 16px 20px 6px; font-weight: 700; color: var(--text-dim); font-size: .95rem; background: var(--panel); }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
thead th { background: var(--panel-2); color: var(--yellow); font-family: var(--font-geo); font-weight: 700; letter-spacing: .01em; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 700; color: #ffffff; }
td.num { font-variant-numeric: tabular-nums; }

/* Inline-CTA */
.inline-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.inline-cta--center { justify-content: center; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 58px 18px 22px; font-family: var(--font-geo); font-weight: 700; font-size: 1.08rem; color: #ffffff; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--yellow); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin: 0; color: var(--text-dim); }

/* Rechtliches */
.legal { padding-block: 44px 76px; background: var(--ink); }
.legal h2 { font-size: 1.32rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--text-dim); }
.legal .wrap { max-width: 860px; }

/* ---------- CTA-Band: helles Panel, deshalb dunkler Text ---------- */
.cta-band { background: var(--yellow); color: var(--ink); padding-block: 48px; }
.cta-band-inner { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.cta-band p { margin: 0; color: #24282f; max-width: 40em; }
.cta-band .cta-band-title { font-size: 1.62rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: -.02em; line-height: 1.2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: var(--text-dim); padding-block: 30px 28px; font-size: 1rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-title { font-weight: 700; color: var(--yellow); margin-bottom: 14px; letter-spacing: .02em; }
.footer-brand p { margin-top: 15px; color: var(--text-mute); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--line); margin-top: 38px; padding-top: 20px; font-size: .94rem; color: var(--text-mute); }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .split--visual { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-visual { max-width: 520px; width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; z-index: 60; }
  .nav {
    display: none; position: fixed; left: 0; right: 0; top: 77px; bottom: 0; z-index: 55;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 20px;
    padding: 32px 24px 44px; background: var(--ink); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 8px; }
  .nav-list a { font-size: 1.24rem; padding: 15px 20px; border-radius: var(--radius); background: var(--panel); border-color: var(--line); }
  .nav-cta { font-size: 1.1rem; padding: 17px 24px; }
  body.nav-open .nav-toggle-bars { background: rgba(0, 0, 0, 0); }
  body.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .wrap { padding-inline: 17px; }
  .sec { padding-block: 54px; }
  .hero { padding-block: 30px 6px; }
  .hero-glow { width: 420px; height: 380px; right: -140px; top: -170px; }
  .btn--lg { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .timeline > li { padding-left: 62px; padding-bottom: 26px; }
  .timeline-dot { width: 44px; height: 44px; font-size: .72rem; }
  .timeline::before { left: 21px; }
  .card, .steps > li, .kreise li { padding-inline: 20px; }
  .cta-band-inner { gap: 20px; }
  .rails { background-size: 100% 1px, 100% 1px, 96px 28px; }
  th, td { padding: 12px 15px; }
}
