/* ============================================================ ÖPNV NAVI — Design-Tokens Thema: Bahnsteig nach Sonnenuntergang, Solari-Anzeigetafel ============================================================ */ :root { --bg-void: #0C1116; --panel: #171E26; --panel-raised: #212A34; --line: #2A323D; --ink: #EDEFEC; --ink-muted: #8E99A6; --signal-amber: #F5A623; --signal-green: #3DDC84; --signal-red: #FF5D6C; --font-display: 'IBM Plex Mono', 'SFMono-Regular', monospace; --font-body: 'IBM Plex Sans', -apple-system, sans-serif; --font-label: 'IBM Plex Sans Condensed', sans-serif; --radius: 10px; --header-height: 64px; } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; background: var(--bg-void); color: var(--ink); font-family: var(--font-body); min-height: 100vh; } button { font-family: inherit; cursor: pointer; } :focus-visible { outline: 2px solid var(--signal-amber); outline-offset: 2px; } @media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } } /* ============================================================ Header & Suche ============================================================ */ .app-header { height: var(--header-height); display: flex; align-items: center; gap: 20px; padding: 0 20px; background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; } .brand { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.06em; white-space: nowrap; } .brand__mark { color: var(--ink); } .brand__mark--accent { color: var(--signal-amber); } .search-box { position: relative; flex: 1; max-width: 420px; } .search-box input { width: 100%; background: var(--panel-raised); border: 1px solid var(--line); color: var(--ink); font-family: var(--font-body); font-size: 15px; padding: 10px 14px; border-radius: var(--radius); } .search-box input::placeholder { color: var(--ink-muted); } .search-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--panel-raised); border: 1px solid var(--line); border-radius: var(--radius); list-style: none; margin: 0; padding: 4px; max-height: 260px; overflow-y: auto; z-index: 30; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); } .search-result { padding: 10px 12px; border-radius: 6px; font-size: 14px; } .search-result:hover, .search-result:focus { background: var(--panel); } .search-result--empty { color: var(--ink-muted); cursor: default; } /* ============================================================ Favoriten-Leiste ============================================================ */ .favorites-bar { padding: 12px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; overflow-x: auto; } .favorite-chips { display: flex; gap: 8px; } .chip { background: var(--panel); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-size: 13px; white-space: nowrap; } .chip:hover { border-color: var(--signal-amber); } .favorites-empty-hint { color: var(--ink-muted); font-size: 13px; margin: 0; } /* ============================================================ Tabs ============================================================ */ .tab-nav { display: flex; gap: 4px; padding: 0 20px; border-bottom: 1px solid var(--line); } .tab-button { background: none; border: none; color: var(--ink-muted); font-family: var(--font-label); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 14px 16px; border-bottom: 2px solid transparent; } .tab-button.is-active { color: var(--signal-amber); border-bottom-color: var(--signal-amber); } .app-main { max-width: 720px; margin: 0 auto; padding: 20px; } /* ============================================================ Abfahrtstafel (Signature-Element) ============================================================ */ .board-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; } .board-station-name { font-size: 18px; font-weight: 600; margin: 0; } .favorite-toggle { background: var(--panel); border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: 8px 14px; font-size: 13px; } .favorite-toggle.is-active { color: var(--signal-amber); border-color: var(--signal-amber); } .board-empty-state, .board-empty, .board-error { color: var(--ink-muted); padding: 32px 16px; text-align: center; background: var(--panel); border-radius: var(--radius); border: 1px solid var(--line); } .board-error { color: var(--signal-red); } .departure-board { display: flex; flex-direction: column; gap: 6px; } .flap-row { display: grid; grid-template-columns: 82px minmax(0, 1fr) 82px 112px; gap: 18px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-family: var(--font-display); } .flap-row--delayed .flap-cell--time { color: var(--signal-red); } .flap-row--cancelled .flap-field--line, .flap-row--cancelled .flap-field--direction, .flap-row--cancelled .flap-field--platform { opacity: 0.5; } .flap-field { min-width: 0; display: flex; flex-direction: column; gap: 5px; } .flap-label { display: block; color: var(--ink-muted); font-family: var(--font-label); font-size: 10px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; line-height: 1; } .flap-cell { min-width: 0; overflow: hidden; white-space: nowrap; } .flap-cell--line { width: max-content; min-width: 38px; font-weight: 700; color: var(--line-text-color, var(--signal-amber)); background: var(--line-color, transparent); padding: 5px 9px; border-radius: 4px; font-size: 16px; } .flap-cell--direction { font-family: var(--font-body); color: var(--ink); font-size: 15px; font-weight: 600; text-overflow: ellipsis; overflow: hidden; } .flap-cell--platform { color: var(--ink); font-size: 14px; font-weight: 600; } .flap-cell--time { color: var(--signal-green); font-weight: 700; font-size: 17px; text-align: right; } .flap-cell--time-cancelled { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: normal; } .cancelled-flag { color: var(--signal-red); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; } .cancelled-original { color: var(--signal-red); font-size: 11px; opacity: 0.85; text-decoration: line-through; font-family: var(--font-display); } .flap-field--line { align-items: flex-start; padding-right: 18px; border-right: 1px solid var(--line); } .flap-field--direction { padding-left: 2px; } .flap-field--time { align-items: flex-end; } .flap-char { display: inline-block; white-space: pre; } .flap-char--flipping { transform: translateY(-1px); } /* ============================================================ Live-Karte ============================================================ */ .live-map { height: calc(100vh - var(--header-height) - 160px); min-height: 400px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); } .vehicle-marker span { display: inline-flex; align-items: center; justify-content: center; background: var(--signal-amber); color: var(--bg-void); font-family: var(--font-display); font-weight: 700; font-size: 10px; padding: 2px 6px; border-radius: 4px; white-space: nowrap; box-shadow: 0 0 0 2px var(--bg-void); } /* ============================================================ Routenplaner ============================================================ */ .journey-form { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; } .journey-form .search-box { max-width: none; flex: 1; min-width: 160px; } .journey-form__arrow { color: var(--ink-muted); font-size: 18px; } .journey-submit { background: var(--signal-amber); color: var(--bg-void); border: none; border-radius: var(--radius); padding: 10px 18px; font-weight: 600; font-size: 14px; } .journey-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 10px; } .journey-leg { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; } .journey-leg:last-child { border-bottom: none; } .journey-leg__line { font-family: var(--font-display); font-weight: 700; padding: 2px 8px; border-radius: 4px; display: inline-block; } .journey-leg--walk .journey-leg__line { color: var(--ink-muted); font-family: var(--font-body); font-size: 12px; } .journey-leg__route { color: var(--ink); } .journey-leg__time { font-family: var(--font-display); color: var(--ink-muted); font-size: 12px; white-space: nowrap; } /* ============================================================ Verkehrsmittel-Filter (Mode Filter) ============================================================ */ .mode-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; } .mode-chip { background: var(--panel); border: 1px solid var(--line); color: var(--ink-muted); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-family: var(--font-label); font-weight: 600; letter-spacing: 0.02em; } .mode-chip.is-active { color: var(--signal-amber); border-color: var(--signal-amber); background: rgba(245, 166, 35, 0.1); } /* ============================================================ Standort-Buttons ============================================================ */ .location-btn { background: var(--panel-raised); border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: 10px 14px; font-size: 16px; flex-shrink: 0; } .location-btn:hover { border-color: var(--signal-amber); } .location-btn--wide { width: 100%; font-size: 14px; margin-bottom: 16px; font-family: var(--font-body); } /* ============================================================ In der Nähe ============================================================ */ .nearby-list { display: flex; flex-direction: column; gap: 6px; } .nearby-item { display: flex; justify-content: space-between; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; color: var(--ink); font-size: 14px; text-align: left; width: 100%; } .nearby-item:hover { border-color: var(--signal-amber); } .nearby-item__distance { color: var(--signal-amber); font-family: var(--font-display); font-size: 13px; white-space: nowrap; } /* ============================================================ Störungen ============================================================ */ .remarks-list { display: flex; flex-direction: column; gap: 10px; } .remark-card { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--signal-red); border-radius: var(--radius); padding: 14px; } .remark-card__summary { font-weight: 600; color: var(--signal-red); margin-bottom: 6px; font-size: 14px; } .remark-card__text { color: var(--ink); font-size: 13px; line-height: 1.5; margin-bottom: 8px; } .remark-card__meta { color: var(--ink-muted); font-size: 12px; } /* ============================================================ Suchergebnis-Icons (Haltestelle/Adresse/POI) ============================================================ */ .search-result__icon { display: inline-block; width: 20px; } .search-result__badge { float: right; font-size: 10px; color: var(--ink-muted); background: var(--panel-raised); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; font-family: var(--font-label); letter-spacing: 0.02em; } .flap-row--clickable { cursor: pointer; } .flap-row--clickable:hover, .flap-row--clickable:focus-visible { border-color: var(--signal-amber); } /* ============================================================ Live-Verfolgen-Button in Journey-Legs ============================================================ */ .leg-track-btn { grid-column: 1 / -1; justify-self: start; margin-top: 4px; background: none; border: 1px solid var(--line); color: var(--signal-amber); border-radius: 6px; padding: 4px 10px; font-size: 11px; font-family: var(--font-label); } .leg-track-btn:hover { border-color: var(--signal-amber); } .journey-map-btn { width: 100%; margin-top: 8px; background: var(--panel-raised); border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 8px; font-size: 12px; font-family: var(--font-label); } .journey-map-btn:hover { border-color: var(--signal-amber); color: var(--signal-amber); } /* ============================================================ Routenplaner-Erweiterungen (Standort-Button, Ankunft/Abfahrt) ============================================================ */ .journey-form__row { display: flex; gap: 8px; flex: 1; min-width: 160px; } .journey-options { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; } .journey-select, .journey-datetime { background: var(--panel-raised); border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: 8px 10px; font-size: 13px; font-family: var(--font-body); } .journey-datetime { flex: 1; min-width: 160px; } @media (max-width: 560px) { .app-header { gap: 12px; padding: 0 12px; } .brand__mark { font-size: 15px; } .app-main { padding: 14px; } .flap-row { grid-template-columns: 44px 1fr 52px 76px; gap: 8px; padding: 10px; } .flap-cell--direction { font-size: 12px; } } /* ============================================================ UX REDESIGN — clearer hierarchy, fewer competing choices ============================================================ */ body { padding-bottom: 0; } button { transition: border-color .15s ease, background .15s ease, transform .15s ease; } button:active { transform: translateY(1px); } .app-header { height: 72px; padding: 0 max(20px, calc((100vw - 1120px) / 2)); gap: 28px; } .brand { border: 0; background: transparent; padding: 0; font: inherit; } .search-box--global { max-width: 620px; } .search-box--global input { padding: 12px 42px 12px 42px; font-size: 15px; } .search-box__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-52%); color: var(--ink-muted); font-size: 22px; line-height: 1; z-index: 1; } .search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--ink-muted); font-size: 22px; width: 32px; height: 32px; border-radius: 50%; } .search-clear:hover { background: var(--panel); color: var(--ink); } .favorites-bar { display: none; } .tab-nav { max-width: 1120px; margin: 0 auto; padding: 0 20px; border-bottom: 1px solid var(--line); } .tab-button { padding: 14px 18px; display: inline-flex; gap: 8px; align-items: center; } .tab-button span { filter: grayscale(.35); } .app-main { max-width: 920px; padding: 30px 20px 50px; } .welcome-panel { padding: 28px; background: linear-gradient(135deg, var(--panel), var(--panel-raised)); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 24px; } .welcome-panel__eyebrow, .section-heading__eyebrow { display: block; color: var(--signal-amber); font: 600 11px/1 var(--font-label); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; } .welcome-panel h1 { font-size: clamp(26px, 5vw, 38px); margin: 0 0 8px; letter-spacing: -.02em; } .welcome-panel p { margin: 0; max-width: 650px; color: var(--ink-muted); line-height: 1.55; } .welcome-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 24px; } .action-card { display: flex; align-items: center; gap: 14px; text-align: left; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 16px; } .action-card:hover { border-color: var(--signal-amber); background: var(--panel-raised); } .action-card--primary { border-color: rgba(245,166,35,.45); } .action-card__icon { font-size: 23px; } .action-card strong, .action-card small { display: block; } .action-card small { color: var(--ink-muted); margin-top: 3px; font-size: 12px; } .home-section { margin: 0 0 24px; } .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 10px; } .section-heading h2, .panel-heading h1 { margin: 0; } .section-heading h2 { font-size: 17px; } .text-button { background: none; border: 0; color: var(--signal-amber); padding: 5px 0; font-size: 12px; } .text-button:hover { text-decoration: underline; } .favorite-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; } .favorite-card { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; text-align: left; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 14px; } .favorite-card:hover { border-color: var(--signal-amber); } .favorite-card__star { color: var(--signal-amber); font-size: 18px; } .favorite-card strong, .favorite-card small { display: block; } .favorite-card small { color: var(--ink-muted); font-size: 11px; margin-top: 3px; } .favorite-card__cancelled { color: var(--signal-red); font-weight: 600; } .favorite-card__arrow { color: var(--ink-muted); font-size: 18px; } .nearby-preview { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; } .nearby-preview__item { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 12px; } .nearby-preview__item:hover { border-color: var(--signal-amber); } .nearby-preview__item strong, .nearby-preview__item small { display: block; } .nearby-preview__item small { color: var(--ink-muted); font-size: 11px; margin-top: 3px; } .nearby-preview__item b { color: var(--signal-amber); font: 700 12px var(--font-display); white-space: nowrap; } .board-header { margin-bottom: 8px; } .board-station-name { font-size: 24px; margin-top: 2px; } .board-status { color: var(--ink-muted); font-size: 11px; margin-bottom: 14px; display: flex; align-items: center; gap: 7px; } .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal-green); box-shadow: 0 0 0 3px rgba(61,220,132,.12); } .favorite-toggle { padding: 8px 12px; } .flap-row { grid-template-columns: 82px minmax(0,1fr) 82px 112px; padding: 14px 16px; } .flap-cell--time { font-size: 17px; } .flap-cell--direction { font-size: 15px; font-weight: 600; } .flap-cell--platform { font-size: 14px; } .station-disruption { background: rgba(255,93,108,.08); border: 1px solid rgba(255,93,108,.3); color: var(--ink); border-radius: 9px; padding: 10px 12px; margin-bottom: 12px; font-size: 12px; } .panel-heading { margin-bottom: 22px; } .panel-heading h1 { font-size: 26px; margin-bottom: 6px; } .panel-heading p { margin: 0; color: var(--ink-muted); font-size: 13px; } .live-map { height: min(680px, calc(100vh - 220px)); min-height: 460px; } .journey-card-form { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; } .journey-input-row { display: flex; align-items: center; gap: 10px; } .journey-input-row .search-box { flex: 1; max-width: none; } .journey-input-row input { background: var(--panel-raised); } .journey-input-marker { width: 22px; text-align: center; font-size: 12px; } .journey-input-marker--start { color: var(--signal-green); } .journey-input-marker--end { color: var(--signal-red); } .journey-connector { height: 13px; border-left: 1px solid var(--line); margin-left: 10px; } .journey-when { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; } .when-choice { background: var(--panel); color: var(--ink-muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; font-size: 12px; } .when-choice.is-active { color: var(--signal-amber); border-color: var(--signal-amber); background: rgba(245,166,35,.08); } .journey-options-row { display: flex; align-items: end; justify-content: space-between; gap: 12px; } .journey-options-row .mode-filter { margin-bottom: 0; } .journey-submit { min-height: 38px; padding: 9px 15px; } .journey-submit span { margin-left: 6px; } .journey-card { padding: 16px; } .journey-leg { grid-template-columns: 52px minmax(0,1fr) auto; } .location-btn--wide { min-height: 46px; } .more-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; } .more-card { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; text-align: left; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 11px; padding: 16px; } .more-card > span { grid-row: span 2; font-size: 23px; } .more-card small { color: var(--ink-muted); font-size: 12px; } .more-card:hover { border-color: var(--signal-amber); } .recent-section { margin-top: 28px; } .recent-searches { display: flex; flex-wrap: wrap; gap: 8px; } .recent-item { display: inline-flex; align-items: center; gap: 7px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: 12px; } .recent-item:hover { border-color: var(--signal-amber); } .recent-item span { color: var(--ink-muted); } .recent-empty { color: var(--ink-muted); font-size: 12px; padding: 8px 0; } .mobile-nav { display: none; } /* ============================================================ Trip-Detail-Modal (Klick auf eine Abfahrt/Verbindung) ============================================================ */ .trip-modal-backdrop { position: fixed; inset: 0; background: rgba(6, 9, 12, 0.72); display: flex; align-items: flex-end; justify-content: center; z-index: 200; animation: trip-modal-fade 0.15s ease; } .trip-modal-backdrop[hidden] { display: none; } @keyframes trip-modal-fade { from { opacity: 0; } to { opacity: 1; } } .trip-modal { background: var(--panel); border: 1px solid var(--line); border-radius: 16px 16px 0 0; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; padding: 0 0 20px; } @media (min-width: 701px) { .trip-modal-backdrop { align-items: center; } .trip-modal { border-radius: 16px; max-height: 80vh; } } .trip-modal__header { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); z-index: 1; } .trip-modal__line { font-family: var(--font-display); font-weight: 700; font-size: 16px; padding: 5px 10px; border-radius: 6px; flex-shrink: 0; } .trip-modal__title { flex: 1; min-width: 0; } .trip-modal__title strong { display: block; font-size: 15px; } .trip-modal__title small { color: var(--ink-muted); font-size: 12px; } .trip-modal__close { background: var(--panel-raised); border: 1px solid var(--line); color: var(--ink); width: 32px; height: 32px; border-radius: 50%; font-size: 18px; line-height: 1; flex-shrink: 0; } .trip-modal__close:hover { border-color: var(--signal-amber); } .trip-modal__map { height: 220px; border-bottom: 1px solid var(--line); } .trip-modal__body { padding: 14px 18px 0; } .trip-modal__loading, .trip-modal__error { padding: 40px 18px; text-align: center; color: var(--ink-muted); } .trip-modal__error { color: var(--signal-red); } .trip-stopovers { position: relative; padding-left: 18px; } .trip-stopover { position: relative; padding: 9px 0; border-left: 2px solid var(--line); padding-left: 16px; margin-left: -1px; } .trip-stopover::before { content: ''; position: absolute; left: -6px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--panel); border: 2px solid var(--ink-muted); } .trip-stopover--current::before { background: var(--signal-amber); border-color: var(--signal-amber); box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.2); } .trip-stopover--cancelled { opacity: 0.55; } .trip-stopover__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .trip-stopover__name { font-size: 13px; color: var(--ink); } .trip-stopover__time { font-family: var(--font-display); font-size: 12px; color: var(--ink-muted); white-space: nowrap; } .trip-stopover__time--delayed { color: var(--signal-red); } .trip-stopover__time--cancelled { color: var(--signal-red); text-decoration: line-through; } /* ============================================================ Live-Karten-Steuerung (Filter, Standort, Isolation) ============================================================ */ .map-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; } .map-controls .mode-filter { margin-bottom: 0; flex: 1; } .map-locate-btn { background: var(--panel-raised); border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: 8px 14px; font-size: 13px; white-space: nowrap; } .map-locate-btn:hover { border-color: var(--signal-amber); } .map-isolation-banner { display: none; align-items: center; justify-content: space-between; gap: 10px; background: var(--panel-raised); border: 1px solid var(--signal-amber); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 10px; font-size: 13px; } .map-isolation-banner.is-visible { display: flex; } .map-isolation-banner__line { font-family: var(--font-display); font-weight: 700; padding: 3px 8px; border-radius: 4px; } .map-isolation-banner button { background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 6px; padding: 5px 10px; font-size: 12px; } .map-isolation-banner button:hover { border-color: var(--signal-amber); } .user-location-marker { width: 16px; height: 16px; border-radius: 50%; background: #4A9EFF; border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(74, 158, 255, 0.35); } /* ============================================================ Journey-Mini-Karte (Streckenverlauf inline im Kartenergebnis) ============================================================ */ .journey-map-toggle { width: 100%; margin-top: 8px; background: var(--panel-raised); border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 8px; font-size: 12px; font-family: var(--font-label); } .journey-map-toggle:hover { border-color: var(--signal-amber); color: var(--signal-amber); } .journey-mini-map { height: 0; overflow: hidden; border-radius: 8px; margin-top: 0; transition: height 0.2s ease; } .journey-mini-map.is-open { height: 160px; margin-top: 8px; border: 1px solid var(--line); } /* ============================================================ Ladezustände / Fehler allgemein ============================================================ */ .spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, 0.25); border-top-color: var(--signal-amber); border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: -2px; margin-right: 8px; } @keyframes spin { to { transform: rotate(360deg); } } .board-error-detail { color: var(--ink-muted); font-size: 12px; margin-top: 6px; } /* ============================================================ Barrierefrei/Fahrrad-Toggles (Routenplaner) ============================================================ */ .journey-extra-toggles { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; } .toggle-chip { display: flex; align-items: center; gap: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--ink); cursor: pointer; user-select: none; } .toggle-chip:has(input:checked) { border-color: var(--signal-amber); color: var(--signal-amber); background: rgba(245, 166, 35, 0.1); } .toggle-chip input { accent-color: var(--signal-amber); } /* ============================================================ Preisschätzung in Journey-Karten ============================================================ */ .journey-fare { margin-top: 10px; padding: 8px 10px; background: var(--panel-raised); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--ink); } .journey-fare--exact { border: 1px solid var(--signal-green); } .journey-fare small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--ink-muted); } /* ============================================================ Störungen: ortsbezogen + netzweit als getrennte Sektionen ============================================================ */ .disruption-section { margin-bottom: 24px; } .disruption-section .section-heading { margin-bottom: 10px; } /* ============================================================ Tickets-Tab ============================================================ */ .disclaimer-banner { background: rgba(255, 93, 108, 0.1); border: 1px solid var(--signal-red); color: var(--signal-red); border-radius: var(--radius); padding: 10px 14px; font-size: 13px; margin-bottom: 18px; line-height: 1.4; } .fare-group { margin-bottom: 20px; } .fare-group h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-muted); font-family: var(--font-label); margin: 0 0 8px; } .fare-rows { display: flex; flex-direction: column; gap: 6px; } .fare-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; } .fare-row strong { display: block; font-size: 14px; color: var(--ink); } .fare-row small { display: block; font-size: 11px; color: var(--ink-muted); margin-top: 2px; } .fare-row__price { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--signal-amber); white-space: nowrap; } .company-links { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; } .company-link { display: flex; justify-content: space-between; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; color: var(--ink); text-decoration: none; } .company-link:hover { border-color: var(--signal-amber); } .company-link strong { display: block; font-size: 14px; } .company-link small { display: block; font-size: 12px; color: var(--ink-muted); margin-top: 2px; } .company-link__arrow { color: var(--signal-amber); font-size: 16px; flex-shrink: 0; } @media (max-width: 700px) { body { padding-bottom: 66px; } .app-header { height: auto; min-height: 64px; padding: 10px 12px; gap: 12px; } .brand { font-size: 15px; } .search-box--global { min-width: 0; } .search-box--global input { font-size: 14px; padding: 10px 38px; } .tab-nav { display: none; } .app-main { padding: 16px 12px 28px; } .welcome-panel { padding: 20px 16px; } .welcome-actions { grid-template-columns: 1fr; } .favorite-cards, .nearby-preview, .more-grid { grid-template-columns: 1fr; } .board-header { align-items: flex-start; } .board-station-name { font-size: 20px; } .flap-row { grid-template-columns: 64px minmax(0,1fr) 58px 82px; gap: 14px; padding: 11px 10px; } .flap-label { font-size: 9px; } .flap-cell--direction { font-size: 12px; } .flap-cell--platform { font-size: 12px; } .flap-cell--time { font-size: 14px; } .journey-options-row { display: block; } .journey-options-row .journey-submit { width: 100%; margin-top: 8px; } .journey-options-row .mode-filter { margin-bottom: 8px; } .live-map { min-height: 62vh; height: 62vh; } .mobile-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: rgba(23,30,38,.97); border-top: 1px solid var(--line); padding: 5px 4px calc(5px + env(safe-area-inset-bottom)); } .mobile-nav__item { border: 0; background: transparent; color: var(--ink-muted); padding: 5px 2px; display: flex; flex-direction: column; align-items: center; gap: 2px; } .mobile-nav__item span { font-size: 18px; line-height: 1.1; } .mobile-nav__item small { font-size: 10px; } .mobile-nav__item.is-active { color: var(--signal-amber); } } @media (max-width: 430px) { .flap-row { grid-template-columns: 58px minmax(0,1fr) 72px; gap: 12px; } .flap-field--platform { display: none; } .flap-field--time { grid-column: 3; } } .journey-source-note { font-size: 12px; color: var(--ink-muted); text-align: center; margin: 4px 0 14px; }