/* zuerich-transport.ch — vierte eigenständige Gestaltung im Netz.
   Technisch-nüchtern: kühles Grau, dunkler Kopfbereich, kantige Flächen
   (kein Radius), Versalien-Mikrolabels, Zahlen tabellarisch.
   Abgrenzung: umzug-auf-rechnung.ch = Papier + Serifen, umzugsberater.ch =
   ruhige Redaktion in Petrol, umzugshilfe-guenstig.ch = Off-White + Orange. */

:root {
  --bg: #f3f5f8;
  --flaeche: #ffffff;
  --tief: #0b1220;
  --tief-2: #141e33;
  --ink: #111827;
  --muted: #4b5563;
  --linie: #d7dde6;
  --blau: #1d4ed8;
  --blau-dunkel: #1733a0;
  --blau-soft: #eaeffb;
  --gruen: #15803d;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --mono: "Cascadia Mono", Consolas, "SF Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { background: var(--bg); }
body {
  margin: 0; color: var(--ink); font-family: var(--sans);
  font-size: 17px; line-height: 1.68;
  font-variant-numeric: tabular-nums;
}

.wrap { width: 100%; max-width: 1020px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--tief); color: #fff; padding: 10px 16px; z-index: 60; }

h1, h2, h3 { color: var(--tief); letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(31px, 4.8vw, 47px); line-height: 1.08; margin: 0 0 16px; }
h2 { font-size: clamp(23px, 3vw, 31px); line-height: 1.18; margin: 0 0 16px; padding-left: 14px; border-left: 4px solid var(--blau); }
h3 { font-size: 19px; margin: 26px 0 8px; font-weight: 650; }
p { margin: 0 0 18px; }
a { color: var(--blau-dunkel); text-underline-offset: 3px; }

.kicker {
  display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: #9fb4e8;
  border: 1px solid rgba(159, 180, 232, .4); padding: 5px 11px; margin: 0 0 20px;
}
.lead { font-size: 20px; max-width: 62ch; }
.hint { font-size: 14.5px; color: var(--muted); }
.note { font-size: 15px; color: var(--muted); }

/* Kopf — dunkel, damit die Seite sofort anders wirkt als die Schwesterseiten */
.site-head { background: var(--tief); position: sticky; top: 0; z-index: 30; }
.head__inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-right: auto; }
.brand__mark { width: 28px; height: 28px; color: #fff; flex: 0 0 auto; }
.brand__text { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.brand__text b { color: #7ea1f5; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.nav a { font-size: 15px; font-weight: 550; text-decoration: none; color: #c3cde0; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 #7ea1f5; }
.nav a.btn, .nav a.btn:hover { color: #fff; }
.nav-toggle { display: none; }

/* Hero — dunkel, heller Text (Kontrast geprüft) */
.hero { background: linear-gradient(180deg, var(--tief) 0%, var(--tief-2) 100%); color: #e7ecf5; padding: 54px 0 48px; }
.hero h1 { color: #fff; }
.hero .lead { color: #c3cde0; }
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.hero__actions .hint { color: #9aa7bd; }

/* Buttons — kantig */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blau); color: #fff; text-decoration: none; font-weight: 600; font-size: 16.5px;
  padding: 14px 26px; border: 2px solid var(--blau); border-radius: 0;
}
.btn:hover { background: var(--blau-dunkel); border-color: var(--blau-dunkel); color: #fff; }
.btn--small { padding: 9px 16px; font-size: 14.5px; }
.btn--light { background: transparent; color: #fff; border-color: #fff; }
.btn--light:hover { background: #fff; color: var(--tief); border-color: #fff; }

main section { padding: 46px 0; }
main section + section { border-top: 1px solid var(--linie); }

/* Route — Leitmotiv dieser Seite: Haltepunkte auf einer Linie */
.route { position: relative; margin: 28px 0; padding-left: 34px; }
.route::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--linie); }
.route-halt { position: relative; padding: 10px 0 14px; }
.route-halt::before {
  content: ""; position: absolute; left: -32px; top: 18px;
  width: 16px; height: 16px; background: var(--flaeche);
  border: 3px solid var(--blau); border-radius: 50%;
}
.route-halt h3 { margin: 0 0 5px; font-size: 18px; }
.route-halt p { margin: 0; color: var(--muted); font-size: 16px; }

/* Spec — technische Eckdaten */
.spec { background: var(--tief); color: #e7ecf5; padding: 24px 26px; margin: 26px 0; }
.spec__zeile { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.spec__zeile:last-of-type { border-bottom: none; }
.spec__zeile span { color: #b9c4d8; font-size: 16px; }
.spec__zeile b { font-family: var(--mono); font-size: 16px; font-weight: 600; white-space: nowrap; color: #fff; }
.spec__fuss { color: #94a2bb; font-size: 14.5px; margin: 14px 0 0; }

.zahl { display: block; font-family: var(--mono); font-size: 38px; font-weight: 600; color: var(--blau); line-height: 1.1; }

/* Karten */
.karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 26px 0; }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-top: 3px solid var(--blau); padding: 22px; }
.karte h3 { margin: 0 0 7px; font-size: 18px; }
.karte p { margin: 0; font-size: 15.5px; color: var(--muted); }
.karte--soft { border-top-color: var(--linie); }

.hinweis { border-left: 4px solid var(--blau); background: var(--blau-soft); padding: 18px 22px; margin: 24px 0; }
.hinweis--gruen { border-left-color: var(--gruen); background: #eef6f0; }
.hinweis p:last-child { margin-bottom: 0; }

.liste { list-style: none; margin: 18px 0; padding: 0; }
.liste li { position: relative; padding-left: 28px; margin-bottom: 11px; }
.liste li::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 11px; height: 2px; background: var(--blau);
}
.liste--gruen li::before { background: var(--gruen); }

/* HowTo */
.howto { margin: 26px 0; counter-reset: s; }
.howto-step { counter-increment: s; display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--linie); }
.howto-step:first-child { border-top: 2px solid var(--tief); }
.howto-step::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--blau); }
.howto-step h3 { margin: 0 0 5px; font-size: 18px; }
.howto-step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Bilder */
.media { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border: 1px solid var(--linie); margin: 26px 0;
  background: linear-gradient(135deg, #dde4ef 0%, #c7d2e4 100%); }

/* Tabellen */
main table { width: 100%; border-collapse: collapse; margin: 24px 0; background: var(--flaeche); font-size: 16px; border: 1px solid var(--linie); }
main table caption { text-align: left; font-size: 14px; color: var(--muted); padding-bottom: 8px; }
main table th, main table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
main table thead th { background: var(--tief); color: #fff; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
main table tr:last-child td { border-bottom: none; }

/* FAQ */
.faq-item { background: var(--flaeche); border: 1px solid var(--linie); margin-bottom: 10px; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 14px; color: var(--tief); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); color: var(--blau); font-weight: 700; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] { border-color: var(--blau); }
.faq-item > :not(summary) { padding: 0 20px 17px; color: var(--muted); font-size: 16px; }

/* Querverweise */
.weiter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.weiter a { display: block; background: var(--flaeche); border: 1px solid var(--linie); padding: 16px 18px; text-decoration: none; color: var(--ink); }
.weiter a:hover { border-color: var(--blau); }
.weiter b { display: block; font-size: 17px; margin-bottom: 3px; color: var(--tief); }
.weiter span { font-size: 14.5px; color: var(--muted); }

/* Band */
.band { background: var(--tief); color: #e7ecf5; padding: 42px 0; }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0 0 8px; font-size: 26px; border-left: 0; padding-left: 0; }
.band p { color: #b9c4d8; margin: 0; max-width: 56ch; font-size: 16px; }

/* Fuss */
.site-foot { background: var(--flaeche); border-top: 1px solid var(--linie); padding: 40px 0 24px; font-size: 15px; }
.site-foot .brand, .site-foot .brand__text { color: var(--tief); }
.site-foot .brand__mark { color: var(--tief); }
.site-foot .brand__text b { color: var(--blau); }
.foot__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 28px; }
.foot__brand p { color: var(--muted); margin: 12px 0 0; }
.foot__note { font-size: 13.5px; }
.foot__title { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li { margin-bottom: 8px; }
.foot__col a { color: var(--muted); text-decoration: none; }
.foot__col a:hover { color: var(--tief); }
.foot__bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--linie); margin-top: 28px; padding-top: 18px; color: var(--muted); font-size: 14px; }
.foot__bottom p { margin: 0; }

.mobile-cta { display: none; }

@media (max-width: 860px) {
  .karten, .weiter { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .nav-toggle {
    display: inline-flex; align-items: center; background: transparent; color: #fff;
    border: 1px solid rgba(255,255,255,.45); padding: 8px 15px; font: inherit;
    font-weight: 600; font-size: 14.5px; cursor: pointer; border-radius: 0;
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--tief); border-bottom: 1px solid rgba(255,255,255,.18);
    padding: 14px 24px 20px; flex-direction: column; align-items: stretch; gap: 12px;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 10px 0; font-size: 16px; display: block; border-bottom: 1px solid rgba(255,255,255,.14); }
  .site-head { position: relative; }
  .hero { padding: 36px 0 32px; }
  .spec { padding: 20px; }
  .spec__zeile { flex-direction: column; gap: 2px; }
  .howto-step { grid-template-columns: 38px 1fr; gap: 14px; }
  .howto-step::before { font-size: 18px; }
  .route { padding-left: 28px; }
  .band__inner { flex-direction: column; align-items: flex-start; }
  .mobile-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; }
  .mobile-cta .btn { width: 100%; box-shadow: 0 8px 24px rgba(11,18,32,.34); }
  main { padding-bottom: 78px; }
}
