/* Mountain Life · Bus — styles.
 * Corporate design: 02_Design/brand/styleguide.md (v1.2) in the main project; palette values and
 * semantic roles follow 03_Website/site/src/styles/tokens.css, so app and website read as one.
 * "Drücken = rund · Lesen = eckig · Schweben = 12 px". Kupfer is never text on a light surface.
 * Fonts: Literata and Instrument Sans, SIL Open Font License 1.1 (Fontsource subsets of the website).
 */

@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/literata-core.woff2') format('woff2');
  unicode-range: U+20-7E, U+A0-BF, U+C4, U+D6-D7, U+DC, U+DF-E0, U+E4, U+E7-E9, U+EB, U+EF, U+F6, U+FC, U+2009, U+2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+202F, U+2039-203A, U+20AC, U+2190, U+2192, U+2212;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/literata-latin.woff2') format('woff2');
  unicode-range: U+7F-9F, U+C0-C3, U+C5-D5, U+D8-DB, U+DD-DE, U+E1-E3, U+E5-E6, U+EA, U+EC-EE, U+F0-F5, U+F7-FB, U+FD-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-2008, U+200A-2010, U+2012, U+2015-2017, U+201B, U+201F-2021, U+2023-2025, U+2027-202E, U+2030-2038, U+203B-206F, U+2122, U+2191, U+2193, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/instrument-sans-core.woff2') format('woff2');
  unicode-range: U+20-7E, U+A0-BF, U+C4, U+D6-D7, U+DC, U+DF-E0, U+E4, U+E7-E9, U+EB, U+EF, U+F6, U+FC, U+2009, U+2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+202F, U+2039-203A, U+20AC, U+2190, U+2192, U+2212;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/instrument-sans-latin.woff2') format('woff2');
  unicode-range: U+7F-9F, U+C0-C3, U+C5-D5, U+D8-DB, U+DD-DE, U+E1-E3, U+E5-E6, U+EA, U+EC-EE, U+F0-F5, U+F7-FB, U+FD-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-2008, U+200A-2010, U+2012, U+2015-2017, U+201B, U+201F-2021, U+2023-2025, U+2027-202E, U+2030-2038, U+203B-206F, U+2122, U+2191, U+2193, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallbacks (values from the website's fonts.css): no jump when the fonts arrive. */
@font-face {
  font-family: 'Literata Fallback';
  src: local('Georgia');
  size-adjust: 109.3%;
  ascent-override: 107.68%;
  descent-override: 28.18%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Instrument Sans Fallback';
  src: local('Arial'), local('ArialMT');
  size-adjust: 102.74%;
  ascent-override: 94.42%;
  descent-override: 24.33%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;
  /* Palette (Styleguide v1.2) */
  --c-nacht: #22242a;
  --c-nacht-hover: #2e3138;
  --c-nacht-tiefst: #16181c;
  --c-kupfer: #ceaa8a;
  --c-kupfer-hell: #d9b894;
  --c-kupfer-dunkel: #7e5f3c;
  --c-kupfer-wash: #f3ebe3;
  --c-nebel: #ebeff1;
  --c-weiss: #ffffff;
  --c-text: #3a3d44;
  --c-text-neben: #60646d;
  --c-linie: #d7dde1;
  --c-n-text: #d5dae0;
  --c-n-neben: #c9cfd6;
  --c-n-leise: #9aa0a8;

  --font-sans: 'Instrument Sans', 'Instrument Sans Fallback', Arial, sans-serif;
  --font-serif: 'Literata', 'Literata Fallback', Georgia, serif;

  /* Light tone: Nebel page, Nacht head */
  --surface: var(--c-nebel);
  --fg: var(--c-text);
  --fg-strong: var(--c-nacht);
  --fg-muted: var(--c-text-neben);
  --accent: var(--c-kupfer-dunkel);
  --divider: var(--c-linie);
  --focus: var(--c-kupfer-dunkel);
  --marked-bg: var(--c-kupfer-wash);
  --marked-fg: var(--c-kupfer-dunkel);
  --btn-bg: var(--c-nacht);
  --btn-fg: var(--c-weiss);
  --btn2-fg: var(--c-nacht);
  --head-bg: var(--c-nacht);
  --ok: #3d6b52; /* Tanne: on time (5.2 : 1 on Nebel) */
  --error: #a4412e; /* Ziegel: cancelled (5.4 : 1 on Nebel) */

  --r-pill: 9999px;
  --r-float: 12px;
  --gutter: 1.25rem;
  --wrap: 34rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-ui: 300ms;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --surface: var(--c-nacht);
    --fg: var(--c-n-text);
    --fg-strong: var(--c-weiss);
    --fg-muted: var(--c-n-neben);
    --accent: var(--c-kupfer);
    --divider: rgb(255 255 255 / 0.14);
    --focus: var(--c-kupfer);
    --marked-bg: rgb(206 170 138 / 0.14);
    --marked-fg: var(--c-kupfer);
    --btn-bg: var(--c-kupfer);
    --btn-fg: var(--c-nacht);
    --btn2-fg: var(--c-kupfer);
    --head-bg: var(--c-nacht-tiefst);
    --ok: #8fc0a4;
    --error: #e3907c;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --surface: var(--c-nacht);
  --fg: var(--c-n-text);
  --fg-strong: var(--c-weiss);
  --fg-muted: var(--c-n-neben);
  --accent: var(--c-kupfer);
  --divider: rgb(255 255 255 / 0.14);
  --focus: var(--c-kupfer);
  --marked-bg: rgb(206 170 138 / 0.14);
  --marked-fg: var(--c-kupfer);
  --btn-bg: var(--c-kupfer);
  --btn-fg: var(--c-nacht);
  --btn2-fg: var(--c-kupfer);
  --head-bg: var(--c-nacht-tiefst);
  --ok: #8fc0a4;
  --error: #e3907c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--head-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--surface);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
}

p,
h2,
ol {
  margin: 0;
}

a {
  color: inherit;
}

button,
select,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.symbole {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  flex: none;
}

.nur-vorlesen {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Label in Versalien: Kupfer dunkel on light, Kupfer on Nacht */
.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.25;
}

/* ---------- Head (Nacht) ---------- */

.kopf {
  --accent: var(--c-kupfer);
  --focus: var(--c-kupfer);
  background: var(--head-bg);
  color: var(--c-n-text);
  padding: calc(env(safe-area-inset-top) + 0.75rem) max(var(--gutter), env(safe-area-inset-right)) 1.25rem
    max(var(--gutter), env(safe-area-inset-left));
}

.kopf > * {
  max-width: var(--wrap);
  margin-inline: auto;
}

.kopf-zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.75rem;
}

.marke {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--c-kupfer);
}

.marke-bild {
  display: block;
  height: 0.875rem;
  width: auto;
  fill: currentColor;
}

.sprache {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.875rem;
  border: 1px solid rgb(206 170 138 / 0.55);
  border-radius: var(--r-pill);
  background: none;
  color: var(--c-kupfer);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 160ms var(--ease);
}
.sprache:hover {
  background: rgb(206 170 138 / 0.1);
}

/* The valley line: the Kupfer hairline of the brand as the road from Landeck up to Galtür.
   Stops sit at their real travel time from Landeck; the ride you picked is drawn on it. */
.talband {
  position: relative;
  height: 4.25rem;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.tb-linie,
.tb-strecke {
  position: absolute;
  top: 1.75rem;
  height: 1px;
  background: rgb(206 170 138 / 0.45);
}
.tb-linie {
  left: 0;
  right: 0;
}
.tb-strecke {
  height: 3px;
  margin-top: -1px;
  background: var(--c-kupfer);
  transition:
    left var(--t-ui) var(--ease),
    width var(--t-ui) var(--ease);
}

.tb-ort {
  position: absolute;
  top: 1.75rem;
  width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tb-ort::before {
  content: '';
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--c-kupfer);
  opacity: 0.6;
}
.tb-ort span {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-n-leise);
  white-space: nowrap;
}
.tb-ort.erste {
  align-items: flex-start;
}
.tb-ort.erste::before {
  margin-left: -2px;
}
.tb-ort.letzte {
  align-items: flex-end;
}
.tb-ort.letzte::before {
  margin-right: -2px;
}
.tb-ort.aktiv span {
  color: var(--c-n-text);
}

.tb-punkt {
  position: absolute;
  top: 1.75rem;
  width: 11px;
  height: 11px;
  margin: -5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--head-bg);
  border: 2px solid var(--c-kupfer);
  transition: left var(--t-ui) var(--ease);
}
.tb-punkt.ziel {
  background: var(--c-kupfer);
}

.tb-haus {
  position: absolute;
  top: 0.125rem;
  width: 1.375rem;
  height: 0.875rem;
  margin-left: -0.6875rem;
  color: var(--c-kupfer);
}
.tb-haus svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.tb-dauer {
  position: absolute;
  top: 0.25rem;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-kupfer);
  white-space: nowrap;
  transition: left var(--t-ui) var(--ease);
}

/* From / to: two fields on the Nacht head, the swap button beside them */
.strecke {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.75rem;
  margin-top: 0.5rem;
}

.feld {
  grid-column: 1;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 4rem;
  padding: 0.5rem 2rem 0.5rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
}
.feld:last-of-type {
  border-bottom: 0;
}
.feld:focus-within {
  outline: 2px solid var(--c-kupfer);
  outline-offset: 2px;
}
.feld-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-kupfer);
}
.feld-wert {
  margin-top: 0.125rem;
  font-size: clamp(1.0625rem, 5.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--c-weiss);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feld-wert .ort {
  font-weight: 400;
  color: var(--c-n-neben);
}
.feld select {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 1rem; /* no zoom on focus in iOS */
}
.feld-pfeil {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.4rem;
  fill: none;
  stroke: var(--c-kupfer);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.tauschen {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgb(206 170 138 / 0.55);
  background: none;
  color: var(--c-kupfer);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background-color 160ms var(--ease),
    transform var(--t-ui) var(--ease);
}
.tauschen:hover {
  background: rgb(206 170 138 / 0.1);
}
.tauschen:active {
  transform: rotate(180deg);
}
.tauschen svg {
  width: 1.375rem;
  height: 1.375rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Content ---------- */

.inhalt {
  flex: 1;
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
}

/* The answer: one departure, set large */
.antwort {
  padding: 2rem 0 1.75rem;
  border-bottom: 1px solid var(--divider);
}
.antwort[hidden] {
  display: none;
}

.antwort-zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.25rem;
}

.zeit {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(4.25rem, 21vw, 6.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum', 'lnum';
  color: var(--fg-strong);
}
.label + .zeit {
  margin-top: 0.75rem;
}
.zeit .vorsatz {
  display: block;
  margin-bottom: 0.375rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--fg-muted);
}

.noch {
  flex: none;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  background: var(--marked-bg);
  color: var(--marked-fg);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}
.noch.bald {
  background: var(--btn-bg);
  color: var(--btn-fg);
}

.abfahrt {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--fg-muted);
}
.abfahrt + .ankunft {
  margin-top: 0.125rem;
}
.ankunft {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--fg);
}
.ankunft strong {
  font-weight: 600;
  color: var(--fg-strong);
}
.ankunft .leise,
.leise {
  color: var(--fg-muted);
}

.antwort-hinweis {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* Live forecast from VVT: a quiet line under the time; colour carries no meaning on its own */
.live-status {
  margin-top: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
}
.label + .live-status {
  margin-top: 0.5rem;
}
.live-status.ok,
.live.ok {
  color: var(--ok);
}
.live-status.spaet,
.live.spaet {
  color: var(--accent);
}
.live-status.aus,
.live.aus {
  color: var(--error);
}
.live {
  font-weight: 600;
}
.fahrt.aus .ab,
.fahrt.aus .an {
  color: var(--fg-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.antwort-text {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  max-width: 34ch;
}
.antwort-titel {
  margin-top: 0.5rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--fg-strong);
}
.antwort .knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* ---------- Home screen guide ---------- */

/* Under the answer until it is put away; the steps show the symbols the guest looks for */
.installieren {
  position: relative;
  margin-top: 1.5rem;
  padding: 1.25rem 3.25rem 1.375rem 1.25rem;
  background: var(--marked-bg);
}
.installieren[hidden] {
  display: none;
}
.installieren-kopf {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.installieren-icon {
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 22.5%;
}
.installieren-titel {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
}
.installieren-text {
  margin-top: 0.875rem;
  font-size: 0.9375rem;
}
.installieren .knopf {
  margin-top: 1.125rem;
}
.installieren .knopf[hidden] {
  display: none;
}
.installieren-schritte {
  counter-reset: schritt;
  list-style: none;
  padding: 0;
  margin-top: 1.125rem;
  display: grid;
  gap: 0.625rem;
  font-size: 0.9375rem;
}
.installieren-schritte[hidden] {
  display: none;
}
.installieren-schritte li {
  counter-increment: schritt;
  display: grid;
  grid-template-columns: 1.625rem 1fr;
  align-items: baseline;
}
.installieren-schritte li::before {
  content: counter(schritt);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--accent);
}
.glyph {
  display: inline-block;
  width: 1.375em;
  height: 1.375em;
  margin-inline: 0.0625em;
  vertical-align: -0.375em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--fg-strong);
}
.installieren-notiz {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--fg-muted);
}
.installieren-notiz:empty {
  display: none;
}
.installieren .schliessen {
  color: var(--fg-muted);
}

/* ---------- Departures ---------- */

.abfahrten {
  padding: 1.75rem 0 1.5rem;
}

.abfahrten-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tage {
  display: flex;
  gap: 0.375rem;
}
.tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0 0.875rem;
  border: 1px solid var(--divider);
  border-radius: var(--r-pill);
  background: none;
  color: var(--fg-strong);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.tag:hover {
  border-color: var(--fg-muted);
}
.tag[aria-pressed='true'],
.tag-datum.gewaehlt {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-fg);
}
.tag-datum {
  padding: 0 0.625rem;
}
.tag-datum svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tag-datum input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.tag-datum:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.tag-zeile {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.tag-zeile:empty {
  display: none;
}
.tag-zeile strong {
  font-weight: 600;
  color: var(--fg-strong);
}

.fahrten {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}
.fahrt {
  display: grid;
  grid-template-columns: auto auto auto 1fr auto;
  align-items: baseline;
  column-gap: 0.625rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--divider);
}
.fahrt .ab {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg-strong);
}
.fahrt .pfeil {
  color: var(--fg-muted);
}
.fahrt .an {
  font-size: 1.0625rem;
  color: var(--fg);
}
.fahrt .dauer {
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.fahrt .rest {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-align: right;
}
.fahrt.vorbei .ab,
.fahrt.vorbei .an,
.fahrt.vorbei .pfeil,
.fahrt.vorbei .dauer {
  color: var(--fg-muted);
  font-weight: 400;
}
.fahrt.vorbei .ab {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--divider);
}
.fahrt.leer {
  display: block;
  color: var(--fg-muted);
}

.mehr {
  margin-top: 1rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 1px solid var(--btn2-fg);
  border-radius: var(--r-pill);
  background: none;
  color: var(--btn2-fg);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}
.mehr[hidden] {
  display: none;
}

/* ---------- Buttons ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 3.25rem;
  padding: 0 1.25rem;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms var(--ease),
    transform 80ms var(--ease);
}
.knopf:active {
  transform: scale(0.98);
}
.knopf svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}
.knopf-voll {
  border: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
}
.knopf-kontur {
  border: 1px solid var(--btn2-fg);
  background: none;
  color: var(--btn2-fg);
}
.knopf .leise {
  font-weight: 400;
}

/* ---------- Taxi ---------- */

.taxi {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--divider);
}
.taxi[hidden] {
  display: none;
}
.taxi-knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.taxi-knoepfe .knopf,
.antwort .knoepfe .knopf-kontur {
  flex: 1 1 13rem;
}

.am-stueck {
  white-space: nowrap;
}

.taxi-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.taxi-text .nummer {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- Footer (Nacht) ---------- */

.fuss {
  background: var(--head-bg);
  color: var(--c-n-neben);
  font-size: 0.8125rem;
  line-height: 1.6;
  padding: 1.75rem max(var(--gutter), env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 2rem)
    max(var(--gutter), env(safe-area-inset-left));
}
.fuss > * {
  max-width: var(--wrap);
  margin-inline: auto;
}
.fuss > * + * {
  margin-top: 0.75rem;
}
.fuss a {
  color: var(--c-n-text);
  text-underline-offset: 0.2em;
}
.fuss .fuss-marke a {
  color: var(--c-kupfer);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.fuss .hinweis {
  position: relative;
  padding: 0.875rem 1rem;
  border: 1px solid rgb(206 170 138 / 0.35);
  color: var(--c-n-text);
}
.fuss .hinweis[hidden] {
  display: none;
}
.fuss-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-n-text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.schliessen {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--c-n-neben);
  cursor: pointer;
}
.schliessen svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
}

.ohne-js {
  max-width: var(--wrap);
  margin: 2rem auto;
  padding: 0 var(--gutter);
}

@media (min-width: 40rem) {
  .kopf {
    padding-top: calc(env(safe-area-inset-top) + 1.25rem);
  }
  .antwort {
    padding-top: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
