/* comfortzoneapp.com – farben und schriften wie in der app (Gestaltung.swift) */

@font-face { font-family: "Instrument Sans"; src: url("/schriften/InstrumentSans.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/schriften/DMMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/schriften/DMMono-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  --papier: #FAF9F6;
  --flaeche: #F0EEE9;
  --karte: #FFFFFF;
  --tinte: #161616;
  --leise: #6B6A66;
  --linie: #DDDAD3;
  --akzent: #1F4FE0;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --papier: #0E0E10;
    --flaeche: #1B1B1E;
    --karte: #141416;
    --tinte: #EDEDED;
    --leise: #9A9893;
    --linie: #2C2C2E;
    --akzent: #3D6BFF;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 400 1.0625rem/1.55 "Instrument Sans", system-ui, sans-serif;
}
main, footer { max-width: 36rem; margin: 0 auto; padding: 0 1.25rem; }
main { padding-top: 2.5rem; padding-bottom: 2rem; }

a { color: var(--akzent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1 { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 0.75rem; }
h2 { font-size: 1.125rem; font-weight: 600; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.25rem; }
p, ul { margin: 0 0 0.9rem; }
ul { padding-left: 1.1rem; }
li { margin-bottom: 0.3rem; }

.symbol { width: 72px; height: 72px; border-radius: 22.37%; display: block; flex: none; }
.kopf { display: flex; align-items: center; gap: 16px; margin-bottom: 1.5rem; }
.kopf h1 { font-size: 1.75rem; margin: 0; }
.kopf .unterzeile { margin: 2px 0 0; }
.unterzeile { font-size: 1.0625rem; color: var(--leise); }
.leise { color: var(--leise); }
.zahl { font-family: "DM Mono", ui-monospace, monospace; font-size: 0.9em; }

/* wie die faktenkacheln der routenseite: grau, 18 px ecken, name klein, wert in dm mono, je zwei nebeneinander */
/* eine karte wie in der app: weiß auf papier, darin linie und kacheln */
.karte { background: var(--karte); border-radius: 24px; padding: 10px; margin: 0 0 1.5rem; }
.route { display: block; width: 86%; height: auto; margin: 14px auto; }
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }

/* eine kachel wie Faktenkacheln.kachel: name und symbol oben, wert in dm mono medium 20,
   unten grafik (8 px abstand) und zusatz; sekundär = 60 %, tertiär = 30 % der schriftfarbe */
.kachel { background: var(--flaeche); border-radius: 18px; padding: 14px; min-height: 78px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.k-kopf { display: flex; align-items: baseline; gap: 4px; font-size: 13px; }
.k-kopf .name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; opacity: 0.6; }
.symbol-klein { width: 13px; height: 13px; flex: none; align-self: center; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0.3; }
.kachel .wert { font-family: "DM Mono", ui-monospace, monospace; font-weight: 500; font-size: 20px; line-height: 1.25; white-space: nowrap; overflow: hidden; }
.kachel .zusatz { font-family: "DM Mono", ui-monospace, monospace; font-size: 12px; opacity: 0.3; white-space: nowrap; overflow: hidden; }
.kachel.mit-grafik .wert { margin-bottom: auto; }
.kachel:not(.mit-grafik) .zusatz { margin-top: auto; }
.g-spanne, .g-balken, .g-stunden, .g-anteil { margin-top: 8px; }

/* kachelgrafik: spanne */
.g-spanne, .g-anteil { display: flex; align-items: center; gap: 8px; font: 10px/1 "DM Mono", ui-monospace, monospace; }
.g-spanne > span, .g-anteil > span { opacity: 0.3; white-space: nowrap; flex: none; }
.g-spur { position: relative; height: 10px; flex: 1; min-width: 0; }
.g-spur::before { content: ""; position: absolute; left: 0; right: 0; top: 3.5px; height: 3px; border-radius: 1.5px; background: currentColor; opacity: 0.15; }
.g-punkt { position: absolute; top: 0.5px; left: calc(var(--lage) * (100% - 9px)); width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.g-punkt.hohl { background: var(--flaeche); box-shadow: inset 0 0 0 1.5px currentColor; }

/* kachelgrafik: balken */
.g-balken { display: flex; align-items: flex-end; }
.g-balken div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.g-balken i { width: 6px; border-radius: 1.5px; background: currentColor; opacity: 0.15; }
.g-balken b { font: 400 10px/1 "DM Mono", ui-monospace, monospace; opacity: 0.3; }
.g-balken .an i { opacity: 1; }
.g-balken .an b { opacity: 0.6; }

/* kachelgrafik: stunden */
.g-tag { position: relative; height: 14px; }
.g-tag::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: 0.15; }
.g-block { position: absolute; top: 0; bottom: 0; width: calc(100% / 12); border-radius: 2px; background: currentColor; opacity: 0.08; }
.g-tag i { position: absolute; top: 0; bottom: 0; width: 1.5px; margin-left: -0.75px; background: currentColor; opacity: 0.2; }
.g-uhr { position: relative; height: 12px; margin-top: 4px; font: 10px/12px "DM Mono", ui-monospace, monospace; opacity: 0.3; }
.g-uhr span { position: absolute; transform: translateX(-50%); }

/* kachelgrafik: anteil */
.g-teil { position: relative; flex: 1; min-width: 0; height: 4px; border-radius: 2px; overflow: hidden; }
.g-teil::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: 0.15; }
.g-teil i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: currentColor; }

/* ein kasten wie die karte: links apples badge, rechts die drei merkmale untereinander */
.laden { background: var(--karte); border-radius: 24px; padding: 18px 20px; margin: 0 0 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.merkmale { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.875rem; line-height: 1.3; color: var(--leise); }
.merkmale li { display: flex; align-items: center; gap: 7px; margin: 0; }
.merkmale svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--akzent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* apples offizielles badge, unverändert (toolbox.marketingtools.apple.com). mindesthöhe 40 px. */
.badge { height: 48px; width: auto; display: inline-block; }

.hinweis { background: var(--flaeche); border-radius: 18px; padding: 14px; }

.zurueck { display: inline-block; margin-bottom: 2rem; }

footer { padding-bottom: 2rem; font-size: 0.9375rem; color: var(--leise); }
footer a { color: var(--leise); margin-right: 1.1rem; }

/* ── startseite: drei bilder untereinander, kaum text (gebaut von web/werkzeug/start.py) ── */
.start { --blau: #1F4FE0; --hell: #FAF9F6; }
.start main { max-width: none; padding: 0; }
.start .innen { max-width: 66rem; margin: 0 auto; padding: 0 1.25rem; }
.start .bild { padding: clamp(3.5rem, 9vw, 7rem) 0; }
.start h1, .start h2 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 clamp(2rem, 5vw, 3.5rem); text-wrap: balance; }
.start h1 { font-size: clamp(2.125rem, 6vw, 4.25rem); max-width: 20ch; }
.start h2 { font-size: clamp(1.75rem, 4.4vw, 3rem); max-width: 20ch; }
.start svg path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.start ul { list-style: none; padding: 0; margin: 0; }
.start li { margin: 0; }

/* erstes bild, blau wie der kopf der app: jeder lauf eine linie mit datum */
.start .blau { background: var(--blau); color: var(--hell); padding-top: 1.25rem; }
.start .kopf { margin-bottom: clamp(3rem, 9vw, 6rem); gap: 12px; }
.start .kopf .symbol { width: 44px; height: 44px; box-shadow: 0 0 0 1px rgb(250 249 246 / 0.28); }
.start .marke { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.start .kopf .laden-knopf { margin-left: auto; }
.start .kopf .badge { height: 40px; }
.laeufe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem 0.75rem; }
.laeufe li { display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity 0.7s ease; }
.laeufe svg { width: 100%; max-width: 104px; height: auto; display: block; overflow: visible; }
.laeufe path { stroke-width: 2px; }
.laeufe span { font: 11px/1.2 "DM Mono", ui-monospace, monospace; opacity: 0.6; white-space: nowrap; }
.wahl .laeufe li:not(.an) { opacity: 0.34; }

/* zweites bild: dieselben läufe übereinander, daneben wie oft */
.routen { display: grid; gap: 10px; }
.routen li { background: var(--karte); border-radius: 24px; padding: 14px 20px 14px 14px; display: grid; grid-template-columns: 76px 1fr auto; grid-template-areas: "z n m" "z k m"; column-gap: 16px; align-items: center; transition: color 0.7s ease; }
.routen svg { grid-area: z; width: 76px; height: 76px; display: block; overflow: visible; }
.routen path { stroke-width: 2.4px; }
.routen path.zart { stroke-width: 1px; opacity: 0.3; }
.routen .name { grid-area: n; align-self: end; font-size: 1.125rem; font-weight: 500; line-height: 1.2; }
.routen .km { grid-area: k; align-self: start; color: var(--leise); font-size: 0.9375rem; transition: color 0.7s ease; }
.routen .mal { grid-area: m; font: 500 1.625rem/1 "DM Mono", ui-monospace, monospace; letter-spacing: -0.03em; }
.routen li.an { color: var(--akzent); }
.routen li.an .km { color: inherit; }

/* drittes bild: eine route groß, darunter ihre jahre, daneben vier kacheln */
.eine { display: grid; gap: 10px; }
.blatt { background: var(--karte); border-radius: 24px; padding: 20px; }
.blatt .route { width: 100%; max-width: 420px; height: auto; margin: 0 auto 4px; }
.blatt .route path { stroke-width: 3.2px; }
.blatt .route path.zart { stroke-width: 1px; opacity: 0.32; }
.blatt .route circle { fill: currentColor; }
.blatt .name { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 14px; }
.jahre { display: grid; gap: 5px; }
.jahre > div { display: flex; align-items: center; gap: 10px; }
.jahre span { font: 11px/1 "DM Mono", ui-monospace, monospace; color: var(--leise); width: 2.6em; flex: none; }
.jahre .spur { position: relative; flex: 1; height: 13px; border-radius: 4px; background: var(--flaeche); overflow: hidden; }
.jahre i { position: absolute; top: 0; bottom: 0; margin-left: -2px; border-radius: 2px; background: currentColor; opacity: 0.55; }
.start .kachel { min-height: 104px; }
.start .kachel.gross .wert { font-size: 56px; line-height: 1; letter-spacing: -0.04em; margin-top: auto; }

/* schluss: symbol, app store, vier merkmale */
.start .schluss .innen { display: flex; flex-direction: column; align-items: center; gap: 1.75rem; text-align: center; }
.start .schluss .symbol { width: 88px; height: 88px; }
.start .schluss .badge { height: 56px; }
.start .merkmale { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 13px 22px; }
/* die zeichen sind einfarbig; „daten auf dem iphone“ steht in einer eigenen zeile */
.start .merkmale svg * { stroke: var(--akzent); fill: none; opacity: 1; }
.start .merkmale li:last-child { flex-basis: 100%; justify-content: center; }
.start footer { max-width: none; text-align: center; }
.start footer a { margin: 0 0.55rem; }

@media (min-width: 760px) {
  .laeufe { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 2.5rem 1.25rem; }
  .laeufe span { font-size: 12px; }
  .routen { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .routen li { display: flex; flex-direction: column; align-items: flex-start; padding: 18px 20px 20px; }
  .routen svg { width: 100%; height: auto; margin-bottom: 14px; }
  .routen path { stroke-width: 2.8px; }
  .routen .name, .routen .km { align-self: auto; }
  /* die zahl steht immer unten, auch wenn ein name zwei zeilen braucht */
  .routen .mal { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-top: auto; padding-top: 18px; }
  .eine { grid-template-columns: 1.15fr 1fr; gap: 14px; }
  .eine .kacheln { gap: 14px; grid-template-rows: 1fr 1fr; }
  .blatt { padding: 28px; }
  .start .kachel { padding: 20px 22px; border-radius: 24px; }
  .start .kachel .k-kopf { font-size: 15px; }
  .start .kachel .wert { font-size: 26px; }
  .start .kachel.gross .wert { font-size: clamp(72px, 9vw, 112px); }
  .start .g-balken, .start .g-stunden { zoom: 1.7; }
}

/* einblenden: das erste bild beim laden, die weiteren beim scrollen (start.js setzt .bewegt; ohne skript steht alles da) */
@keyframes auftauchen { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: no-preference) {
  .start .blau .innen > * { animation: auftauchen 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .start .blau .innen > :nth-child(2) { animation-delay: 0.12s; }
  .start .blau .innen > :nth-child(3) { animation-delay: 0.24s; }
}
.bewegt .bild:not(.blau) .innen > * { opacity: 0; transform: translateY(14px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bewegt .bild.da .innen > * { opacity: 1; transform: none; }
.bewegt .bild.da .innen > :nth-child(2) { transition-delay: 0.12s; }

/* ── verzeichnis der laufrouten (gebaut von web/werkzeug/laufrouten.py, karte: js/atlas.js) ── */
.start .heim { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.start .heim:hover { text-decoration: none; }
.verzeichnis .kopf, .routenseite .kopf { margin-bottom: clamp(2.5rem, 7vw, 4.5rem); }
.verzeichnis h1 { margin-bottom: 1rem; max-width: 18ch; }
.einleitung { font-size: clamp(1.0625rem, 1.7vw, 1.25rem); line-height: 1.45; max-width: 40ch; margin: 0 0 clamp(2rem, 5vw, 3.5rem); opacity: 0.82; }

.atlas { display: grid; gap: 1.75rem; align-items: start; }
.atlas-flaeche { position: relative; }
.atlas-karte { display: block; width: 100%; height: auto; overflow: hidden; touch-action: manipulation; border-radius: 24px; }
.atlas-karte .land { fill: currentColor; opacity: 0.14; }
.start .atlas-karte .grenzen { fill: none; stroke: currentColor; stroke-opacity: 0.3; stroke-width: 0.8px; }
.start .atlas-karte .weg { fill: none; stroke-width: 2px; opacity: 0; pointer-events: none; transition: opacity 0.5s ease, stroke-width 0.2s ease; }
.atlas-karte.gezoomt .weg { opacity: 0.4; pointer-events: visibleStroke; cursor: pointer; }
.start .atlas-karte.gezoomt .weg.gewaehlt { opacity: 1; stroke-width: 2.6px; }
.start .atlas-karte.gezoomt .weg.an { opacity: 1; stroke-width: 4px; }
.atlas-karte .ort { color: inherit; cursor: pointer; outline: none; }
.atlas-karte .treffer { fill: transparent; }
.atlas-karte .punkt { fill: currentColor; transition: opacity 0.4s ease; }
.atlas-karte .ort:hover .punkt, .atlas-karte .ort:focus-visible .punkt { fill: #fff; }
.atlas-karte .ort:focus-visible .treffer { fill: rgb(255 255 255 / 0.22); }
.atlas-karte.gezoomt .ort .punkt { opacity: 0.55; }
.atlas-karte.gezoomt .ort.gewaehlt { pointer-events: none; }
.atlas-karte.gezoomt .ort.gewaehlt .punkt { opacity: 0; }
.zurueck-knopf { position: absolute; left: 0; top: 0; border: 0; border-radius: 999px; padding: 9px 16px; background: var(--hell); color: var(--blau); font: 500 0.9375rem/1.2 "Instrument Sans", system-ui, sans-serif; cursor: pointer; box-shadow: 0 2px 10px rgb(0 0 0 / 0.15); }
.zurueck-knopf[hidden] { display: none; }
.atlas-namen { position: absolute; inset: 0; pointer-events: none; }
.atlas-namen span { position: absolute; white-space: nowrap; font: 500 12px/1 "Instrument Sans", system-ui, sans-serif; background: rgb(250 249 246 / 0.94); color: var(--blau); padding: 4px 7px; border-radius: 6px; transition: background 0.2s, color 0.2s; animation: auftauchen 0.4s ease both; }
.atlas-namen span.an { background: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / 0.18); }
.atlas-schild { position: absolute; transform: translate(-50%, -100%); white-space: nowrap; pointer-events: none; font: 500 13px/1 "Instrument Sans", system-ui, sans-serif; background: var(--hell); color: var(--blau); padding: 6px 9px; border-radius: 7px; opacity: 0; transition: opacity 0.15s ease; }
.atlas-schild.da { opacity: 1; }

.auswahl [hidden] { display: none; }
.stand { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 1.25rem; }
.start .stand .kachel { background: rgb(250 249 246 / 0.12); min-height: 0; }
.start .stand .kachel .wert { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.03em; }
.leise-hell { opacity: 0.78; margin: 0; max-width: 32ch; }
.auswahl-ort h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0 0 0.25rem; max-width: none; }
.ort-zahl { opacity: 0.75; margin: 0 0 1.25rem; }

/* routen als karten: zeichen, name, ort und länge */
.wegliste { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.start .wegliste li { margin: 0; }
.wegliste a { display: grid; grid-template-columns: 56px 1fr; grid-template-areas: "z n" "z k"; column-gap: 14px; align-items: center; background: var(--karte); color: var(--tinte); border-radius: 20px; padding: 12px 16px 12px 12px; transition: color 0.25s ease, box-shadow 0.25s ease; }
.wegliste a:hover { text-decoration: none; }
.wegliste a:hover, .wegliste li.an a, .wegliste a:focus-visible { color: var(--akzent); }
.wegliste svg { grid-area: z; width: 56px; height: 56px; display: block; overflow: visible; }
.start .wegliste path { stroke-width: 2.2px; }
.wegliste .name { grid-area: n; align-self: end; font-size: 1.0625rem; font-weight: 500; line-height: 1.2; }
.wegliste .km { grid-area: k; align-self: start; color: var(--leise); font-size: 0.875rem; line-height: 1.35; }
/* auf blau bleiben die karten hell, auch im dunklen modus */
.auswahl .wegliste a { background: var(--hell); color: #161616; box-shadow: 0 1px 0 rgb(0 0 0 / 0.04); }
.auswahl .wegliste a:hover, .auswahl .wegliste li.an a { color: var(--blau); }
.auswahl .wegliste .km { color: #6B6A66; }

.liste .land { margin-top: clamp(2rem, 5vw, 3rem); scroll-margin-top: 1rem; }
.liste .land:first-of-type { margin-top: 0; }
.liste h3 { font-size: 1.125rem; font-weight: 600; margin: 0 0 0.875rem; display: flex; align-items: baseline; gap: 0.5rem; }
.liste h3 .zahl { color: var(--leise); font-weight: 400; }
.wegliste li[id] { scroll-margin-top: 1rem; }
.fussnote { font-size: 0.875rem; color: var(--leise); max-width: 62ch; margin: clamp(2.5rem, 6vw, 4rem) 0 0; }

.start .schluss h2 { margin: 0; text-align: center; }
.app-text { max-width: 36ch; margin: 0; color: var(--leise); font-size: 1.125rem; }
.start footer .quelle { margin: 0.75rem 0 0; font-size: 0.8125rem; }

/* eine route: blauer kopf mit großer form, darunter kacheln, text und routen in der nähe */
.pfad { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; font-size: 0.9375rem; margin: 0 0 1.25rem; }
.pfad a { color: inherit; opacity: 0.78; }
.pfad span { opacity: 0.5; }
.routenkopf { display: grid; gap: 1.5rem; align-items: end; }
.start .routentitel h1 { margin: 0 0 0.75rem; max-width: 16ch; }
.start .routenkopf .unterzeile { color: inherit; opacity: 0.78; font-size: clamp(1.125rem, 2vw, 1.375rem); margin: 0; }
.grosse-form { display: block; width: 100%; max-width: 340px; height: auto; margin: 0 auto; overflow: visible; }
.start .grosse-form path { stroke-width: 3.2px; }
.routeninhalt { display: grid; gap: 1.5rem; margin-bottom: clamp(3rem, 8vw, 5rem); }
.routenseite .kacheln { align-content: start; }
.start .routenseite .kachel, .routenseite .kachel { min-height: 104px; }
.kachel .wert.text { font: 600 20px/1.2 "Instrument Sans", system-ui, sans-serif; white-space: normal; }
.kachel.mit-karte { padding-bottom: 10px; }
.lage { display: block; width: 100%; height: 92px; margin-top: 4px; }
.start .lage path.flaeche { fill: currentColor; stroke: none; opacity: 0.16; }
.lage .punkt { fill: var(--akzent); }
.lage .ring { fill: var(--akzent); opacity: 0.22; }
.routentext > p { font-size: 1.1875rem; line-height: 1.5; margin: 0 0 1rem; max-width: 38ch; }
.app-hinweis { display: grid; grid-template-columns: 44px 1fr; gap: 12px 14px; align-items: center; background: var(--karte); border-radius: 24px; padding: 18px 20px; margin-top: 1.75rem; }
.app-hinweis .symbol { width: 44px; height: 44px; }
.app-hinweis p { margin: 0; font-size: 0.9375rem; color: var(--leise); line-height: 1.45; }
.app-hinweis .laden-knopf { grid-column: 1 / -1; }
.app-hinweis .badge { height: 40px; }
.routenseite h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.25rem; }
.mehr { margin: 1.5rem 0 0; font-weight: 500; }

@media (min-width: 760px) {
  .liste .wegliste, .routenseite .wegliste { grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); gap: 14px; }
  .liste .wegliste a, .routenseite .wegliste a { display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 18px 20px 20px; border-radius: 24px; }
  .liste .wegliste svg, .routenseite .wegliste svg { width: 100%; height: auto; aspect-ratio: 1; margin-bottom: 14px; }
  .start .liste .wegliste path, .start .routenseite .wegliste path { stroke-width: 2.6px; }
  .liste .wegliste .name, .routenseite .wegliste .name, .liste .wegliste .km, .routenseite .wegliste .km { align-self: auto; }
  .liste .wegliste .km, .routenseite .wegliste .km { margin-top: 4px; }
  .routenkopf { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
  .grosse-form { max-width: 400px; margin: 0 0 0 auto; }
  .routeninhalt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
  .start .routenseite .kachel { padding: 20px 22px; border-radius: 24px; }
  .start .routenseite .kachel .k-kopf { font-size: 15px; }
  .start .routenseite .kachel .wert { font-size: 26px; }
  .lage { height: 112px; }
}
@media (min-width: 960px) {
  .atlas { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; }
  .auswahl { position: sticky; top: 1.5rem; }
}
