/* Components – values come from tokens.css only. */

/* ── Top bar: the night platform rail ───────────────────────────── */
.topbar { background: var(--color-inverse-bg); color: var(--color-inverse-text); font-size: var(--text-sm); }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 var(--space-6); }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; }
.topbar a:hover { color: inherit; text-decoration: underline; }
.topbar .icon { color: var(--color-accent); }
@media (max-width: 30rem) {
  .topbar__inner { justify-content: space-between; }
  .topbar__email { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ── Header: the station name plate ─────────────────────────────── */
.site-header { background: var(--color-surface); border-bottom: var(--station-ring) solid var(--color-text); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-3); }
.logo { display: block; }
.logo img { height: 2.75rem; width: auto; }
@media (max-width: 30rem) {
  .logo img { height: 2rem; }
  .site-header__inner { gap: var(--space-2); }
  .site-header__tools { gap: var(--space-2); }
  .lang-switch { padding-inline: var(--space-3); }
  .nav-toggle { padding-inline: var(--space-3); }
}
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }
.site-header__tools { display: flex; align-items: center; gap: var(--space-3); order: 2; }
@media (min-width: 64rem) {
  .site-nav { order: 2; margin-left: auto; }
  .site-header__tools { order: 3; }
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--space-1); }
.site-nav a:not(.lang-switch) { display: flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: var(--space-2) var(--space-3); color: var(--color-text); text-decoration: none; font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); }
.site-nav a:not(.lang-switch):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
/* "Sie sind hier": the current page carries the red location dot */
.site-nav a:not(.lang-switch) { position: relative; }
.site-nav a[aria-current="page"]::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 0.625rem; height: 0.625rem; margin-left: -0.3125rem; border-radius: var(--radius-pill); background: var(--color-here); }
.lang-switch { display: inline-flex; align-items: center; min-height: 44px; padding: var(--space-1) var(--space-4); border: 2px solid var(--color-text); border-radius: var(--radius-pill); color: var(--color-text); text-decoration: none; font-family: var(--font-heading); font-weight: 700; font-size: var(--text-base); transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease); }
.lang-switch:hover { background: var(--color-text); color: var(--color-inverse-text); text-decoration: none; }
.nav-toggle { font: inherit; font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); min-height: 44px; padding: var(--space-2) var(--space-4); border: 2px solid var(--color-text); border-radius: var(--radius-sm); background: var(--color-surface); color: var(--color-text); cursor: pointer; }
.nav-toggle[aria-expanded="true"] { background: var(--color-text); color: var(--color-inverse-text); }
@media (max-width: 63.99rem) {
  .js-nav .site-nav { display: none; flex-basis: 100%; padding-bottom: var(--space-3); }
  .js-nav .site-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; }
  .site-nav { order: 3; }
  .js-nav .site-nav ul { flex-direction: column; width: 100%; border-top: 1px solid var(--color-border); padding-top: var(--space-2); }
}
@media (min-width: 64rem) {
  .nav-toggle { display: none; }
}

/* ── Buttons: enamel signs ──────────────────────────────────────── */
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 52px; padding: var(--space-3) var(--space-6); border: 2px solid var(--color-text); border-radius: var(--radius-sm); background: var(--color-accent); color: var(--color-on-accent); font-family: var(--font-heading); font-weight: 800; font-size: var(--text-lg); line-height: 1.1; text-align: center; text-decoration: none; transition: background-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease); }
.button:hover { background: var(--color-accent-strong); color: var(--color-on-accent); text-decoration: none; box-shadow: var(--shadow-md); }
.button--secondary { background: var(--color-surface); }
.button--secondary:hover { background: var(--color-surface-tint); }
.link-arrow { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 700; min-height: 44px; }
.link-arrow .icon { transition: transform var(--duration) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ── Sections ───────────────────────────────────────────────────── */
.section { padding-block: var(--space-16); }
.section--tight { padding-block: var(--space-6); }
.section--tint { background: var(--color-surface-tint); }
.section__head { max-width: var(--container-narrow); margin-bottom: var(--space-8); }
.section__head h2 { margin-bottom: var(--space-3); }
.section__head .lead { margin: 0; }
.section__action { margin: var(--space-8) 0 0; }

/* ── Footer: departure board ────────────────────────────────────── */
.site-footer { background: var(--color-inverse-bg); color: var(--color-inverse-text); padding-block: var(--space-16) var(--space-8); }
.site-footer a { color: var(--color-inverse-text); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer h2 { font-size: var(--text-lg); color: var(--color-accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.site-footer__grid { display: grid; gap: var(--space-8); }
@media (min-width: 48rem) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--color-inverse-border); font-size: var(--text-sm); color: var(--color-inverse-muted); }
.site-footer__bottom p { margin: 0; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero { padding-block: var(--space-16) var(--space-24); background: var(--field); color: var(--color-on-field); --color-focus: var(--color-on-field); }
.hero .lead { color: var(--color-on-field); }
.hero__subtitle { margin: calc(-1 * var(--space-3)) 0 var(--space-6); font-family: var(--font-heading); font-weight: 700; font-size: var(--text-xl); line-height: var(--leading-tight); }
.hero .line-map { color: var(--color-text); --color-focus: var(--line-a); }
.hero .button--secondary { border-color: var(--color-surface); }
.hero__inner { display: grid; gap: var(--space-12); align-items: center; }
.hero__inner > * { min-width: 0; }
.hero h1 { max-width: 20ch; margin-bottom: var(--space-6); }
@media (min-width: 64rem) {
  .hero--map { padding-block: var(--space-8) var(--space-12); }
  .hero--map .hero__inner { gap: var(--space-8); }
  .hero--map .hero__text { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-6) var(--space-12); align-items: start; }
  .hero--map h1 { grid-row: 1 / span 2; max-width: none; margin: 0; font-size: var(--text-3xl-compact); }
  .hero--map .lead { margin: 0; font-size: var(--text-base); }
}
.hero .lead { margin-bottom: var(--space-8); }
.hero__media img { width: 100%; border-radius: var(--radius-lg); }
@media (min-width: 64rem) {
  .hero:not(.hero--map) .hero__inner:has(.hero__media) { grid-template-columns: 1.1fr 1fr; }
}

/* ── Line map: the signature. Side by side below 75rem, a diagram from 75rem ── */
.line-map { --lm-dot: var(--station-size); --lm-c: calc(var(--lm-dot) / 2); margin: 0; padding: var(--space-6); background: var(--color-surface); border: var(--plate-rim); border-radius: var(--radius-sm); }
.line-map__title { margin: 0 0 var(--space-6); font-family: var(--font-heading); font-weight: 800; font-size: var(--text-xl); line-height: var(--leading-tight); }
.line-map__grid { display: grid; gap: var(--space-6); }
.line-map__branch--a { --lm-line: var(--line-a); }
.line-map__branch--b { --lm-line: var(--line-b); }
.line-map__badge { display: inline-flex; margin: 0 0 var(--space-3); padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm); background: var(--lm-line); font-family: var(--font-heading); font-weight: 800; font-size: var(--text-base); line-height: 1.3; }
.line-map__branch--a .line-map__badge { color: var(--color-on-brand); }
.line-map__branch--b .line-map__badge { color: var(--color-on-accent); }
.line-map ol { position: relative; list-style: none; margin: 0; padding: 0 0 0 calc(var(--lm-dot) + var(--space-4)); }
.line-map ol::before { content: ""; position: absolute; left: calc(var(--lm-c) - var(--line-width) / 2); top: var(--lm-c); bottom: var(--space-6); width: var(--line-width); border-radius: var(--radius-pill); background: var(--lm-line); }
.line-map__badge { margin-left: calc(var(--lm-dot) + var(--space-4)); }
.line-map__trunk { --lm-line: linear-gradient(90deg, var(--line-a) 50%, var(--line-b) 50%); }
.line-map ol.line-map__trunk::before { left: calc(var(--lm-c) - var(--line-width)); width: calc(var(--line-width) * 2); bottom: var(--space-8); }
.line-map__station { position: relative; padding-bottom: var(--space-4); font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); line-height: 1.2; }
.line-map__station::before { content: ""; position: absolute; left: calc(-1 * (var(--lm-dot) + var(--space-4))); top: 0; width: var(--lm-dot); height: var(--lm-dot); box-sizing: border-box; border: var(--station-ring) solid var(--color-text); border-radius: var(--radius-pill); background: var(--color-surface); }
.line-map__time { display: block; margin-top: var(--space-1); font-family: var(--font-body); font-weight: 400; font-size: var(--text-sm); color: var(--color-text-muted); }
.line-map__terminus { position: relative; padding-top: var(--space-1); }
.line-map__terminus::before { content: ""; position: absolute; left: calc(-1 * (var(--lm-dot) + var(--space-4)) - var(--space-1)); top: 0; width: calc(var(--lm-dot) + var(--space-2)); height: calc(var(--lm-dot) + var(--space-2)); box-sizing: border-box; border: var(--station-ring) solid var(--color-surface); border-radius: var(--radius-pill); background: var(--color-text); box-shadow: 0 0 0 var(--station-ring) var(--color-text); }
.line-map__terminus span { display: inline-block; padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); background: var(--color-text); color: var(--color-inverse-text); font-family: var(--font-heading); font-weight: 800; font-size: var(--text-lg); line-height: 1.2; }
.line-map__note { margin: var(--space-6) 0 0; padding-top: var(--space-4); border-top: 1px solid var(--color-border); color: var(--color-text-muted); }

@media (max-width: 74.99rem) {
  /* phones and tablets: A and B run side by side. A drops straight into the trunk;
     B curves in from the right inside the row gap, above the first trunk stop, so no label is crossed */
  .line-map__grid { --lm-gap: var(--space-4); --lm-row-gap: var(--space-8); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lm-row-gap) var(--lm-gap); }
  .line-map__trunk { grid-column: 1 / -1; }
  .line-map__branch { display: flex; flex-direction: column; }
  .line-map__branch ol { flex: 1; padding-left: calc(var(--lm-dot) + var(--space-3)); }
  .line-map__branch .line-map__station { font-size: var(--text-base); hyphens: auto; }
  .line-map__branch .line-map__station::before { left: calc(-1 * (var(--lm-dot) + var(--space-3))); }
  .line-map__badge { margin-left: 0; align-self: flex-start; }
  .line-map__branch--a ol::before { left: calc(var(--lm-c) - var(--line-width)); bottom: calc(-1 * var(--lm-row-gap)); border-radius: var(--radius-pill) var(--radius-pill) 0 0; }
  .line-map__branch--b ol::before { bottom: 0; border-radius: var(--radius-pill) var(--radius-pill) 0 0; }
  .line-map__branch--b ol::after { content: ""; position: absolute; top: calc(100% - var(--radius-lg)); left: calc(var(--lm-c) - 100% - var(--lm-gap)); width: calc(100% + var(--lm-gap) + var(--line-width) / 2); height: calc(var(--radius-lg) + var(--lm-row-gap) / 2 + var(--line-width) / 2); box-sizing: border-box; border: var(--line-width) solid var(--line-b); border-top: 0; border-left: 0; border-bottom-right-radius: var(--radius-lg); }
  .line-map ol.line-map__trunk::before { top: calc(-1 * var(--lm-row-gap) / 2 - var(--line-width) / 2); border-radius: 0 0 var(--radius-pill) var(--radius-pill); }
}

@media (min-width: 75rem) {
  .line-map { padding: var(--space-6) var(--space-8); }
  /* A and the trunk get one fixed row height so both bends are the same length; trunk labels hang into B's row */
  .line-map { --lm-row: 4rem; }
  .line-map__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: auto var(--lm-row) auto; gap: var(--space-4) 0; }
  .line-map__branch--a ol, .line-map__trunk { height: var(--lm-row); }
  .line-map ol.line-map__trunk { align-self: start; grid-auto-columns: minmax(min-content, 1fr); }
  .line-map__terminus span { max-width: 13rem; }
  .line-map__branch--b { align-self: start; }
  .line-map__branch--a { grid-area: 1 / 1; }
  .line-map__trunk { grid-area: 2 / 2; }
  /* B's badge sits under its line so both feeder lines meet the trunk at the same distance */
  .line-map__branch--b { grid-area: 3 / 1; display: flex; flex-direction: column-reverse; }
  .line-map__badge { margin-left: 0; }
  .line-map__branch--b .line-map__badge { margin: var(--space-1) 0 0; align-self: flex-start; }
  .line-map ol { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-4); padding: calc(var(--lm-dot) + var(--space-3)) 0 0; }
  .line-map ol::before { left: 0; right: 0; top: calc(var(--lm-c) - var(--line-width) / 2); bottom: auto; width: auto; height: var(--line-width); border-radius: 0; }
  /* Junction at the column edge X: A bends down and B bends up into one vertical; the double trunk (A stripe on top, B below) leaves it to the right */
  .line-map ol.line-map__trunk { --lm-line: linear-gradient(180deg, var(--line-a) 50%, var(--line-b) 50%); padding-left: var(--space-6); }
  .line-map ol.line-map__trunk::before { left: calc(-1 * var(--line-width)); right: var(--space-8); top: calc(var(--lm-c) - var(--line-width)); bottom: auto; width: auto; height: calc(var(--line-width) * 2); border-radius: 0 var(--radius-pill) var(--radius-pill) 0; }
  .line-map__station { padding: 0 var(--space-2) 0 0; font-size: var(--text-base); }
  .line-map__station::before { left: 0; top: calc(-1 * (var(--lm-dot) + var(--space-3))); }
  .line-map__branch--a ol::before, .line-map__branch--b ol::before { right: calc(var(--radius-lg) + var(--line-width)); }
  .line-map__branch--a ol::after { content: ""; position: absolute; right: 0; top: calc(var(--lm-c) - var(--line-width) / 2); width: calc(var(--radius-lg) + var(--line-width)); height: calc(100% + var(--space-4) + var(--line-width) / 2); box-sizing: border-box; border: var(--line-width) solid var(--line-a); border-left: 0; border-bottom: 0; border-top-right-radius: var(--radius-lg); }
  .line-map ol.line-map__trunk::after { content: ""; position: absolute; left: calc(-1 * (var(--radius-lg) + var(--line-width))); top: var(--lm-c); width: calc(var(--radius-lg) + var(--line-width)); height: calc(100% + var(--space-4) + var(--line-width) / 2); box-sizing: border-box; border: var(--line-width) solid var(--line-b); border-left: 0; border-top: 0; border-bottom-right-radius: var(--radius-lg); }
  .line-map__terminus { padding-top: 0; }
  .line-map__terminus::before { left: calc(-1 * var(--space-1)); top: calc(-1 * (var(--lm-dot) + var(--space-3)) - var(--space-1)); }
}

@media (prefers-reduced-motion: no-preference) {
  .line-map ol::before { animation: line-draw 900ms var(--ease) both; }
  .line-map__trunk::before { animation-delay: 450ms; }
  @media (min-width: 75rem) {
    .line-map ol::before { transform-origin: left center; animation-name: line-draw-x; }
  }
}
@keyframes line-draw { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes line-draw-x { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ── Features: stops on one line ────────────────────────────────── */
.features { overflow-x: clip; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-8) var(--space-8); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.feature { position: relative; padding-top: calc(var(--station-size) + var(--space-4)); }
.feature::before { content: ""; position: absolute; left: 0; right: calc(-1 * var(--space-8)); top: calc(var(--station-size) / 2 - var(--line-width)); height: calc(var(--line-width) * 2); background: linear-gradient(180deg, var(--line-a) 50%, var(--line-b) 50%); }
.feature::after { content: ""; position: absolute; left: 0; top: 0; width: var(--station-size); height: var(--station-size); box-sizing: border-box; border: var(--station-ring) solid var(--color-text); border-radius: var(--radius-pill); background: var(--color-surface); }
.feature h3 { font-size: var(--text-xl); }
.feature p { margin: 0; color: var(--color-text-muted); }

/* ── Steps: numbered stops down one line ────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; max-width: var(--container-narrow); counter-reset: stop; }
.steps__stop { position: relative; padding: 0 0 var(--space-8) calc(2.75rem + var(--space-6)); counter-increment: stop; }
.steps__stop::before { content: counter(stop); position: absolute; left: 0; top: calc(-1 * var(--space-1)); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; box-sizing: border-box; border: var(--station-ring) solid var(--color-text); border-radius: var(--radius-pill); background: var(--color-surface); font-family: var(--font-heading); font-weight: 800; font-size: var(--text-lg); line-height: 1; z-index: 1; }
.steps__stop:not(:last-child)::after { content: ""; position: absolute; left: calc(1.375rem - var(--line-width)); top: var(--space-6); bottom: 0; width: calc(var(--line-width) * 2); background: linear-gradient(90deg, var(--line-a) 50%, var(--line-b) 50%); }
.steps__stop:last-child { padding-bottom: 0; }
.steps__stop:last-child::before { background: var(--color-text); color: var(--color-inverse-text); }
.steps h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.steps p { margin: 0; color: var(--color-text-muted); }
.steps__transfer { margin-top: var(--space-2) !important; color: var(--color-text) !important; font-weight: 700; }

/* ── Routes: two lines side by side ─────────────────────────────── */
.routes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); }
@media (min-width: 56rem) {
  .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.route { --lm-line: var(--line-a); position: relative; padding: calc(var(--space-6) + var(--line-width)) var(--space-6) var(--space-6); background: var(--color-surface); border: var(--plate-rim); border-radius: var(--radius-sm); overflow: hidden; }
.route:nth-child(2) { --lm-line: var(--line-b); }
.route::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--line-width); background: var(--lm-line); }
.route h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.route__duration { display: inline-block; margin-bottom: var(--space-4); padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm); background: var(--color-surface-tint); font-family: var(--font-heading); font-weight: 700; font-size: var(--text-base); line-height: 1.3; }

/* ── Checklist: what to bring ───────────────────────────────────── */
.checklist__groups { display: grid; gap: var(--space-8); }
@media (min-width: 56rem) {
  .checklist__groups { grid-template-columns: 1.3fr 1fr; align-items: start; }
}
.checklist__group { padding: var(--space-6); background: var(--color-surface); border: var(--plate-rim); border-radius: var(--radius-sm); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist__item { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); padding-block: var(--space-3); border-top: 1px solid var(--color-border); }
.checklist__item:first-child { border-top: 0; padding-top: 0; }
.checklist__item .icon { color: var(--line-a); width: 1.5rem; height: 1.5rem; margin-top: 0.05em; }

/* ── Glossary: the station index ────────────────────────────────── */
.glossary { margin: 0; display: grid; gap: 0 var(--space-12); }
@media (min-width: 56rem) {
  .glossary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.glossary > div { padding-block: var(--space-4); border-top: 2px solid var(--color-text); scroll-margin-top: var(--space-8); }
.glossary dt { margin-bottom: var(--space-1); font-family: var(--font-heading); font-weight: 800; font-size: var(--text-lg); line-height: 1.2; overflow-wrap: anywhere; }
.glossary dd { margin: 0; color: var(--color-text-muted); }
.glossary > div:target { background: var(--color-selection); box-shadow: 0 0 0 var(--space-3) var(--color-selection); }

/* ── Contacts: where to go next ─────────────────────────────────── */
.contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6) var(--space-8); }
@media (min-width: 56rem) {
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.contacts li { padding-top: var(--space-4); border-top: 2px solid var(--color-text); }
.contacts h3 { margin-bottom: var(--space-2); font-size: var(--text-lg); }
.contacts h3 a { color: var(--color-text); text-decoration-color: var(--line-a); text-decoration-thickness: 2px; }
.contacts h3 a:hover { color: var(--color-brand-strong); }
.contacts h3 .icon { display: inline-block; width: 1em; height: 1em; margin-left: var(--space-1); color: var(--line-a); }
.contacts p { margin: 0; color: var(--color-text-muted); }

/* ── Notices ────────────────────────────────────────────────────── */
.notice { max-width: var(--container-narrow); margin: 0; padding: var(--space-4) var(--space-6); border-radius: var(--radius-md); font-size: var(--text-lg); line-height: 1.45; }
.notice--free { background: var(--color-accent); color: var(--color-on-accent); border: var(--plate-rim); border-radius: var(--radius-sm); }
.notice--info { background: var(--color-surface); border: var(--plate-rim); border-radius: var(--radius-sm); }
.asof { margin: 0; padding-block: var(--space-4); font-size: var(--text-sm); color: var(--color-text-muted); }

/* ── Teaser and closing call ────────────────────────────────────── */
.teaser { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); padding: calc(var(--space-8) + var(--line-width) * 2) var(--space-8) var(--space-8); background: var(--color-surface); border: var(--plate-rim); border-radius: var(--radius-sm); overflow: hidden; }
.teaser::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--line-width); background: linear-gradient(180deg, var(--line-a) 50%, var(--line-b) 50%); height: calc(var(--line-width) * 2); }
.teaser p { margin: 0; max-width: 38rem; color: var(--color-text-muted); }

.cta { padding: var(--space-12) var(--space-8); background: var(--color-inverse-bg); color: var(--color-inverse-text); border-radius: var(--radius-sm); }
.cta h2 { font-size: var(--text-3xl); max-width: 18ch; }
.cta .lead { color: var(--color-inverse-muted); }
.cta__phone { display: inline-flex; align-items: center; gap: var(--space-3); margin-block: var(--space-2) var(--space-6); white-space: nowrap; font-family: var(--font-heading); font-weight: 800; font-size: var(--text-2xl); color: var(--color-accent); text-decoration: none; }
.cta__phone:hover { color: var(--color-accent); text-decoration: underline; text-decoration-thickness: 3px; }
.cta__alt { margin: 0; color: var(--color-inverse-muted); }
.cta__alt a { color: var(--color-inverse-text); }
.cta__alt a:hover { color: var(--color-accent); }
@media (max-width: 30rem) {
  .teaser, .cta { padding-inline: var(--space-4); }
  .line-map { padding-inline: var(--space-4); }
  .cta__phone { font-size: var(--text-xl); }
}

/* ── Contact strip and details ──────────────────────────────────── */
.contact-strip__grid { display: grid; gap: var(--space-4); }
@media (min-width: 52rem) {
  .contact-strip__grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-card { display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-3); align-items: center; min-height: 44px; padding: var(--space-3) var(--space-4); background: var(--color-surface); border: 2px solid var(--color-text); border-radius: var(--radius-sm); color: var(--color-text); text-decoration: none; }
.contact-card .icon { grid-row: span 2; }
.contact-card__label { font-size: var(--text-sm); color: var(--color-text-muted); }
.contact-card__value { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); }

.contact-details { display: grid; gap: var(--space-8); }
@media (min-width: 48rem) {
  .contact-details { grid-template-columns: repeat(2, 1fr); }
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.contact-list a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; }
.contact-list .icon { color: var(--line-a); }

/* ── Team ───────────────────────────────────────────────────────── */
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.team-member img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: var(--space-3); border-radius: var(--radius-sm); }
.team-member__name { margin: 0; font-weight: 700; }
.team-member__role { margin: 0; color: var(--color-text-muted); }
