/* vorOrt dabei – Stylesheet (mobile first) */
:root {
  --navy: #1D365F;
  --teal: #58BEC3;
  --teal-d: #17767B;
  --mint: #D9EDEE;
  --mint-l: #EEF7F8;
  --yellow: #F3C500;
  --ink: #2D3036;
  --muted: #5B6570;
  --ground: #F6F9F9;
  --line: #D2E2E3;
  --dot: #9FD3D6;
  --edge: #E3ECEC;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --tab-h: calc(66px + var(--safe-b));
  --font: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --cond: 'Barlow Semi Condensed', 'Arial Narrow', 'Roboto Condensed', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--ground);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
body.noscroll { overflow: hidden; }
img { max-width: 100%; }
a { color: var(--teal-d); text-decoration: none; }
a:hover { color: var(--navy); }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.cond { font-family: var(--cond); }
[hidden] { display: none !important; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--teal-d); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- App-Rahmen ---------- */
.app { position: relative; max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: var(--ground); }
@media (min-width: 520px) {
  body { background: #EAF2F3; }
  .app { box-shadow: 0 0 0 1px var(--edge), 0 10px 40px rgba(29, 54, 95, .08); }
}
.view { padding-bottom: calc(var(--tab-h) + 20px); outline: none; }
.page { padding: calc(var(--safe-t) + 22px) 20px 0; display: flex; flex-direction: column; gap: 18px; }

/* ---------- Tabbar ---------- */
.tabbar {
  position: fixed; z-index: 50; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: var(--tab-h);
  background: #fff; border-top: 1px solid var(--edge);
  display: flex; justify-content: space-around; align-items: flex-start;
  padding: 8px 6px var(--safe-b);
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 64px; min-height: 50px;
  font-family: var(--cond); font-weight: 600; font-size: 0.875rem; color: var(--muted); padding-top: 2px;
}
.tab:hover { color: var(--navy); }
.tab.on { color: var(--navy); }
.tab.on .ico-svg svg { stroke-width: 2.4; }
.tab-ico { position: relative; display: inline-flex; }
.tab-count {
  position: absolute; top: -4px; right: -11px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--yellow); color: var(--navy); font-family: var(--cond); font-weight: 700; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.route-termin .tabbar { display: none; }
.route-termin .view { padding-bottom: 28px; }
.route-termin, .route-termin.app { background: #fff; }
.ico-svg { display: inline-flex; line-height: 0; flex-shrink: 0; }

/* ---------- Kopf ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.top-l.row-flex { flex-direction: row; align-items: center; gap: 12px; }
.top-r { display: flex; gap: 8px; flex-shrink: 0; }
.wordmark {
  position: relative; border: 0; background: none; padding: 0; cursor: pointer; text-align: left;
  font-family: var(--font); font-weight: 900; font-size: 1.375rem; letter-spacing: -.3px; color: var(--navy); line-height: 1.25;
}
.wordmark span { color: var(--teal-d); }
.wordmark::after { content: ''; position: absolute; inset: -8px -10px -2px; }
.loc-btn {
  position: relative; border: 0; background: none; padding: 2px 0; display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600; font-size: 0.875rem; color: var(--muted); cursor: pointer; max-width: 100%;
}
.loc-btn span:not(.ico-svg) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-btn::after { content: ''; position: absolute; inset: -2px -10px -10px; }
.loc-btn:hover { color: var(--navy); }
.icon-btn {
  width: 44px; height: 44px; border: 0; border-radius: 22px; background: #fff; color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line); flex-shrink: 0;
}
.icon-btn:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.icon-btn:disabled { opacity: .35; cursor: default; box-shadow: inset 0 0 0 1px var(--line); }
.icon-btn.active { background: var(--navy); color: #fff; box-shadow: none; }
.icon-btn.plain { background: transparent; box-shadow: none; }
.icon-btn.plain:hover { background: var(--mint-l); }

.eyebrow { font-weight: 600; font-size: 0.9375rem; color: var(--teal-d); text-transform: uppercase; letter-spacing: 1px; }
.hello { display: flex; flex-direction: column; gap: 4px; }
.h1 { font-weight: 900; font-size: 2rem; line-height: 1.05; color: var(--navy); }
.h1.small { font-size: 1.875rem; }
.h1:focus { outline: none; }
.sub { font-weight: 600; font-size: 0.9375rem; color: var(--muted); }
.h2 { font-weight: 900; font-size: 1.1875rem; color: var(--navy); line-height: 1.2; }
.h2.sm { font-size: 1.0625rem; }
.note {
  display: flex; gap: 10px; align-items: flex-start; background: #FFF4CC; color: var(--ink);
  border-radius: 14px; padding: 10px 14px; font-size: 0.875rem; line-height: 1.4;
}
.note .ico-svg { color: var(--navy); margin-top: 1px; }

/* ---------- Segmente & Chips ---------- */
.segs { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 4px 20px; scrollbar-width: none; }
.segs::-webkit-scrollbar { display: none; }
.seg { padding: 0 13px; }
.seg, .chip {
  position: relative; border: 0; cursor: pointer; height: 36px; padding: 0 14px; border-radius: 18px;
  font-family: var(--font); font-weight: 700; font-size: 0.875rem; background: #fff; color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
}
.seg::after, .chip::after { content: ''; position: absolute; inset: -4px 0; }
.seg:hover, .chip:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.seg.on, .chip.on { background: var(--navy); color: #fff; box-shadow: none; }
.chip.y.on { background: var(--yellow); color: var(--navy); }
.chips {
  display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 4px 20px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.chip.float { box-shadow: 0 1px 3px rgba(29, 54, 95, .22); }
.chip.float.on { box-shadow: 0 1px 3px rgba(29, 54, 95, .3); }
.chip-sep { width: 1px; flex-shrink: 0; background: rgba(29, 54, 95, .2); margin: 6px 2px; }

/* ---------- Highlight ---------- */
.hero {
  position: relative; display: block; height: 196px; border-radius: 20px; overflow: hidden; flex-shrink: 0;
  background: var(--navy); color: #fff;
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.hero:hover img { transform: scale(1.03); }
.hero:hover { color: #fff; }
.hero-shade {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 14px;
  background: linear-gradient(180deg, rgba(20, 34, 58, 0) 0%, rgba(20, 34, 58, .92) 62%);
  display: flex; flex-direction: column; gap: 4px;
}
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-weight: 700; font-size: 0.875rem; padding: 3px 9px; border-radius: 6px; line-height: 1.25; letter-spacing: .2px; }
.badge.y { background: var(--yellow); color: var(--navy); }
.badge.w { background: #fff; color: var(--navy); }
.badge.m { background: var(--mint-l); color: var(--teal-d); }
.hero-t { font-weight: 900; font-size: 1.3125rem; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-s { font-weight: 500; font-size: 0.9375rem; color: #E6EEF0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 420px) { .hero { height: 216px; } }

/* ---------- Abschnitte & Listen ---------- */
.sec { display: flex; flex-direction: column; gap: 10px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.more { font-weight: 700; font-size: 0.9375rem; color: var(--teal-d); white-space: nowrap; min-height: 32px; display: inline-flex; align-items: center; }
.linkish { border: 0; background: none; padding: 0; cursor: pointer; }
.linkish:hover { color: var(--navy); }
.count { font-weight: 600; font-size: 0.875rem; color: var(--muted); white-space: nowrap; }
.day-label { font-weight: 700; font-size: 0.875rem; letter-spacing: .6px; text-transform: uppercase; color: var(--teal-d); margin-top: 6px; }

.list { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 0 var(--edge); }
.row { display: flex; align-items: stretch; border-top: 1px dotted var(--dot); }
.row:first-child { border-top: 0; }
.row-link { display: flex; flex: 1 1 auto; min-width: 0; color: var(--ink); min-height: 62px; }
.row-link:hover { color: var(--ink); background: #FBFDFD; }
.row-link:focus-visible { outline-offset: -3px; border-radius: 0; }
.row-time {
  width: 62px; flex-shrink: 0; background: var(--mint); display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.0625rem; color: var(--navy); line-height: 1.1;
}
.row-time.has-date { width: 70px; font-size: 1rem; }
.row-date { font-size: 0.875rem; font-weight: 700; letter-spacing: .3px; margin-bottom: 2px; }
.row-body { flex: 1 1 auto; min-width: 0; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.row-title { display: flex; align-items: flex-start; gap: 6px; min-width: 0; }
.row-title-t {
  font-weight: 700; font-size: 0.9375rem; line-height: 1.25; color: var(--ink); min-width: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.row-meta { font-weight: 500; font-size: 0.875rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soon {
  flex-shrink: 0; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 0.8125rem; text-transform: uppercase;
  letter-spacing: .4px; padding: 1px 6px; border-radius: 5px; margin-top: 1px;
}
.bm {
  width: 46px; flex-shrink: 0; border: 0; background: none; color: var(--teal-d); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.bm:hover { background: var(--mint-l); }
.bm:focus-visible { outline-offset: -3px; border-radius: 0; }
.row.past .row-time { background: #E9EEEF; color: var(--muted); }
.row.past .row-title-t { color: var(--muted); }

/* Wochenende */
.hscroll {
  display: flex; gap: 12px; overflow-x: auto; margin: 0 -20px; padding: 0 20px 6px;
  scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hscroll::-webkit-scrollbar { display: none; }
.wcard {
  width: 200px; flex-shrink: 0; background: #fff; border-radius: 16px; overflow: hidden; color: var(--ink);
  scroll-snap-align: start; box-shadow: 0 1px 0 var(--edge); display: flex; flex-direction: column;
}
.wcard:hover { color: var(--ink); }
.wcard img { width: 100%; height: 96px; object-fit: cover; display: block; background: var(--mint); }
.wcard-b { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.wcard-m { font-weight: 700; font-size: 0.875rem; color: var(--teal-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wcard-t { font-weight: 700; font-size: 0.9375rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.foot { display: flex; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; font-weight: 600; font-size: 0.875rem; color: var(--muted); padding-top: 4px; }
.foot a { padding: 12px 6px; }

/* ---------- Leerer Zustand ---------- */
.empty {
  background: #fff; border-radius: 16px; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.empty-ico { color: var(--teal); }
.empty-t { font-weight: 900; font-size: 1.0625rem; color: var(--navy); }
.empty-s { font-weight: 500; font-size: 0.9375rem; color: var(--muted); line-height: 1.35; max-width: 300px; }
.empty-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; width: 100%; max-width: 320px; }

/* ---------- Buttons ---------- */
.btn {
  height: 50px; border: 0; border-radius: 25px; padding: 0 20px; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 0.9375rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-align: center; line-height: 1.15;
}
.btn.primary { background: var(--navy); color: #fff; }
.btn.primary:hover { background: #142849; color: #fff; }
.btn.outline { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn.outline:hover { background: var(--mint-l); }
.btn.soft { background: var(--mint-l); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn.ghost { background: transparent; color: var(--teal-d); box-shadow: inset 0 0 0 1px var(--line); }
.btn.wide { width: 100%; }
.link-btn { border: 0; background: none; cursor: pointer; font-weight: 700; font-size: 0.9375rem; color: var(--teal-d); min-height: 44px; padding: 0 4px; }

/* ---------- Kalender ---------- */
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; touch-action: pan-y; }
.day {
  border: 0; cursor: pointer; height: 68px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); padding: 0;
}
.day:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.day.is-today { box-shadow: inset 0 0 0 2px var(--teal-d); }
.day.on { background: var(--navy); color: #fff; box-shadow: none; }
.day-wd { font-weight: 600; font-size: 0.8125rem; letter-spacing: .5px; }
.day-n { font-weight: 900; font-size: 1.1875rem; line-height: 1.1; }
.dot { width: 6px; height: 6px; border-radius: 3px; background: transparent; }
.dot.has { background: var(--teal); }
.day.on .dot.has { background: var(--yellow); }
.cal-list { display: flex; flex-direction: column; gap: 10px; }
.ccard { display: flex; background: #fff; border-radius: 16px; overflow: hidden; color: var(--ink); min-height: 76px; box-shadow: 0 1px 0 var(--edge); }
.ccard:hover { color: var(--ink); box-shadow: 0 0 0 1.5px var(--line); }
.ccard-time { width: 64px; flex-shrink: 0; background: var(--mint); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy); font-weight: 700; font-size: 1.125rem; gap: 2px; }
.ccard-end { font-size: 0.875rem; font-weight: 600; color: var(--navy); opacity: .85; }
.ccard-b { flex: 1 1 auto; min-width: 0; padding: 11px 12px; display: flex; flex-direction: column; gap: 3px; }
.ccard-cat { font-weight: 700; font-size: 0.8125rem; letter-spacing: .6px; color: var(--teal-d); }
.ccard-t { font-weight: 700; font-size: 0.9375rem; line-height: 1.22; }
.ccard-w { font-weight: 500; font-size: 0.875rem; color: var(--muted); }
.ad { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--edge); }
.ad img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; background: #fff; }
.ad-label {
  display: block; background: var(--mint-l, #EEF7F8); color: var(--muted); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: .6px; text-transform: uppercase; padding: 5px 12px; border-top: 1px solid var(--edge);
}

/* ---------- Detail ---------- */
.detail { background: #fff; min-height: 100vh; }
.d-hero { position: relative; height: 290px; background: var(--navy); }
.d-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-actions { position: absolute; left: 16px; right: 16px; top: calc(var(--safe-t) + 16px); display: flex; justify-content: space-between; }
.d-actions-r { display: flex; gap: 10px; }
.round {
  width: 44px; height: 44px; border: 0; border-radius: 22px; background: #fff; color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.round.on { color: var(--teal-d); }
.d-sheet { position: relative; margin-top: -28px; background: #fff; border-radius: 26px 26px 0 0; padding: 22px 20px 12px; display: flex; flex-direction: column; gap: 12px; }
.d-title { font-weight: 900; font-size: 1.625rem; line-height: 1.12; color: var(--navy); }
.d-title:focus { outline: none; }
.d-desc { font-size: 0.9375rem; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.d-desc a { text-decoration: underline; text-underline-offset: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tagchip { background: var(--mint-l); color: var(--teal-d); font-weight: 600; font-size: 0.875rem; padding: 3px 9px; border-radius: 6px; }
.d-rows { display: flex; flex-direction: column; }
.irow { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px dotted var(--dot); }
.irow-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--mint-l); color: var(--teal-d); display: flex; align-items: center; justify-content: center; }
.irow-b { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.irow-m { font-weight: 700; font-size: 0.9375rem; overflow-wrap: anywhere; }
.irow-m a { display: inline-block; padding: 4px 0; }
.irow-s { font-weight: 500; font-size: 0.875rem; color: var(--muted); }
.d-btns { display: flex; gap: 10px; }
.d-btns > * { flex: 1 1 0; min-width: 0; padding: 0 12px; }
.d-geo { font-weight: 500; font-size: 0.875rem; color: var(--muted); }
.d-more { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mcard { background: var(--mint-l); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; color: var(--ink); min-height: 64px; }
.mcard:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--dot); }
.mcard-m { font-weight: 700; font-size: 0.875rem; color: var(--teal-d); }
.mcard-t { font-weight: 700; font-size: 0.875rem; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Merkliste ---------- */
.past-box { background: transparent; }
.past-box summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 48px;
  font-weight: 700; font-size: 1rem; color: var(--navy); padding: 0 4px;
}
.past-box summary::-webkit-details-marker { display: none; }
.past-box[open] .sum-ico { transform: rotate(180deg); }
.textcard { background: #fff; border-radius: 16px; padding: 20px; font-size: 0.9375rem; color: var(--muted); }

/* ---------- Karte ---------- */
.route-karte .view { padding-bottom: 0; }
.karte { position: relative; height: calc(100vh - var(--tab-h)); height: calc(100dvh - var(--tab-h)); overflow: hidden; background: #CDE8EA; --sheet-h: 250px; }
.map-box { position: absolute; inset: 0; z-index: 0; background: #CDE8EA; }
.map-box.failed { background: linear-gradient(180deg, #CDE8EA, #E4F2F3); }
.leaflet-container { font-family: var(--font); background: #CDE8EA; }
.karte .leaflet-top { top: calc(var(--safe-t) + 120px); }
.karte .leaflet-bottom { bottom: var(--sheet-h); }
.karte .leaflet-control-attribution { font-size: 11px; background: rgba(255, 255, 255, .85); }
.map-top { position: absolute; z-index: 5; left: 16px; right: 16px; top: calc(var(--safe-t) + 16px); display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.map-top > * { pointer-events: auto; }
.map-chips { margin: 0 -16px; padding: 2px 16px 6px; }
.map-msg {
  position: absolute; left: 24px; right: 24px; top: calc(var(--safe-t) + 130px); bottom: calc(var(--sheet-h) + 16px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: var(--muted);
}
.tile-warn {
  position: absolute; z-index: 450; left: 16px; right: 16px; top: calc(var(--safe-t) + 124px);
  background: rgba(255, 255, 255, .95); border-radius: 12px; padding: 8px 12px; font-weight: 500; font-size: 0.875rem; color: var(--muted);
  box-shadow: 0 2px 8px rgba(29, 54, 95, .12);
}
.locate {
  position: absolute; z-index: 5; right: 16px; bottom: calc(var(--sheet-h) + 30px);
  width: 48px; height: 48px; border: 0; border-radius: 24px; background: #fff; color: var(--navy);
  box-shadow: 0 2px 8px rgba(29, 54, 95, .2); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.msheet {
  position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; max-height: 46%;
  background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -4px 16px rgba(29, 54, 95, .12);
  display: flex; flex-direction: column; padding: 0 20px;
}
.msheet.tall { max-height: 64%; padding-top: 16px; }
.grip-btn { align-self: center; border: 0; background: none; cursor: pointer; width: 80px; height: 26px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.grip { width: 40px; height: 5px; border-radius: 3px; background: var(--line); }
.msheet-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; flex-shrink: 0; }
.msheet-ht { display: flex; align-items: baseline; justify-content: space-between; column-gap: 10px; flex-wrap: wrap; flex: 1 1 auto; min-width: 0; }
.msheet-head .h2 { font-size: 1.25rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.msheet-head .count { white-space: normal; }
.msheet-head .icon-btn { align-self: center; margin: -8px -10px -8px 0; }
.msheet-body { overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; overscroll-behavior: contain; }
.msheet.collapsed .msheet-body { display: none; }
.msheet .d-btns { margin-top: 8px; }
.msheet .d-btns .btn { height: 46px; }
.scard { display: flex; gap: 12px; align-items: center; color: var(--ink); padding: 6px 0; border-radius: 14px; }
.scard + .scard { border-top: 1px dotted var(--dot); padding-top: 10px; }
.scard:hover { color: var(--ink); }
.scard img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex-shrink: 0; background: var(--mint); }
.scard-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.scard-m { font-weight: 700; font-size: 0.875rem; color: var(--teal-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scard-t { font-weight: 900; font-size: 0.9375rem; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scard-s { font-weight: 500; font-size: 0.875rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Pins */
.pin-wrap { background: none; border: 0; }
.pin { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; cursor: pointer; white-space: nowrap; }
.pin-t {
  display: inline-flex; align-items: center; gap: 4px; background: #fff; color: var(--navy); font-weight: 700; font-size: 14px;
  padding: 4px 8px; border-radius: 10px; box-shadow: 0 0 0 2px var(--navy), 0 2px 6px rgba(29, 54, 95, .25); line-height: 1.15;
}
.pin-c { background: var(--yellow); color: var(--navy); border-radius: 7px; padding: 0 5px; font-size: 12px; }
.pin-stem { width: 2px; height: 8px; background: var(--navy); }
.pin-l {
  position: absolute; top: 100%; margin-top: 1px; font-weight: 700; font-size: 12px; color: var(--navy);
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff;
}
.pin.sel .pin-t { background: var(--navy); color: var(--yellow); font-size: 16px; padding: 6px 11px; border-radius: 12px; box-shadow: 0 4px 10px rgba(29, 54, 95, .35); }
.pin.sel .pin-c { background: var(--yellow); color: var(--navy); }
.pin.sel .pin-stem { width: 3px; height: 10px; }
.pin.sel .pin-l { background: #fff; padding: 1px 6px; border-radius: 6px; font-size: 13px; text-shadow: none; box-shadow: 0 1px 3px rgba(29, 54, 95, .2); }
/* .sel ist auch eine Formular-Klasse (Auswahlzeile) – bei Pins deren Hintergrund, Abstände usw. aufheben */
.pin.sel { justify-content: flex-start; gap: 0; min-height: 0; border-radius: 0; background: none; padding: 0; font-weight: inherit; font-size: inherit; }
.leaflet-marker-icon:focus-visible { outline: none; }
.leaflet-marker-icon:focus-visible .pin-t { outline: 3px solid var(--teal-d); outline-offset: 2px; }

/* ---------- Such-Overlay ---------- */
.search {
  position: fixed; z-index: 900; inset: 0; background: var(--ground); overflow-y: auto; max-width: 480px; margin: 0 auto;
  opacity: 0; transition: opacity .15s ease;
}
.search.open { opacity: 1; }
.search-top { position: sticky; top: 0; z-index: 2; background: var(--ground); padding: calc(var(--safe-t) + 16px) 16px 12px; display: flex; gap: 10px; align-items: center; }
.search-field {
  height: 48px; background: #fff; border-radius: 24px; flex: 1 1 auto; display: flex; align-items: center; gap: 10px; padding: 0 16px;
  box-shadow: 0 2px 8px rgba(29, 54, 95, .15); color: var(--muted); min-width: 0;
}
.search-field:focus-within { box-shadow: 0 0 0 3px var(--teal-d); }
.search-field input { border: 0; outline: none; flex: 1 1 auto; min-width: 0; font-family: var(--font); font-size: 1rem; background: none; color: var(--ink); height: 100%; }
.search-field input::placeholder { color: #6B7580; }
.search-results { padding: 0 16px calc(var(--safe-b) + 24px); display: flex; flex-direction: column; gap: 10px; }
.search-hint { font-weight: 600; font-size: 0.875rem; color: var(--muted); margin-top: 4px; }
.center { text-align: center; }

/* ---------- Sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 800; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(20, 34, 58, .45); opacity: 0; transition: opacity .2s ease; }
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet-panel {
  position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 100%); width: 100%; max-width: 480px; max-height: 86vh;
  background: #fff; border-radius: 24px 24px 0 0; display: flex; flex-direction: column; transition: transform .22s ease;
  box-shadow: 0 -8px 30px rgba(20, 34, 58, .2);
}
.sheet.open .sheet-panel { transform: translate(-50%, 0); }
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: var(--line); align-self: center; margin-top: 10px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px 6px 20px; }
.sheet-head h2 { font-weight: 900; font-size: 1.25rem; color: var(--navy); }
.sheet-body { overflow-y: auto; padding: 0 20px 18px; overscroll-behavior: contain; }
.sheet-foot { padding: 12px 20px calc(var(--safe-b) + 16px); border-top: 1px solid var(--edge); }
.sheet-hint { font-weight: 500; font-size: 0.9375rem; color: var(--muted); margin-bottom: 8px; line-height: 1.35; }
.town-list { display: flex; flex-direction: column; }
.town-opt {
  display: flex; align-items: center; gap: 12px; min-height: 50px; border: 0; background: none; cursor: pointer; text-align: left;
  border-top: 1px dotted var(--dot); padding: 0 4px; font-size: 1rem; font-weight: 700; color: var(--ink);
}
.town-opt:first-child { border-top: 0; }
.town-opt:hover { background: var(--mint-l); }
.town-opt .tick {
  width: 24px; height: 24px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--line); display: inline-flex; align-items: center; justify-content: center;
  color: transparent; flex-shrink: 0;
}
.town-opt[aria-pressed="true"] .tick { background: var(--navy); color: #fff; box-shadow: none; }
.town-opt.all { color: var(--navy); }
.town-n { flex: 1 1 auto; }
.town-c { font-weight: 600; font-size: 0.875rem; color: var(--muted); }
.info-mark { font-weight: 900; font-size: 1.75rem; color: var(--navy); letter-spacing: -.4px; margin: 4px 0 8px; }
.info-mark span { color: var(--teal-d); }
.info-p { font-size: 0.9375rem; line-height: 1.5; }
.info-s { font-weight: 500; font-size: 0.875rem; color: var(--muted); margin-top: 8px; }
.info-links { display: flex; flex-direction: column; margin-top: 14px; }
.info-link { display: flex; align-items: center; gap: 12px; min-height: 52px; border-top: 1px dotted var(--dot); color: var(--navy); font-weight: 700; }
.info-link .ico-svg:first-child { color: var(--teal-d); }
.info-link .push { margin-left: auto; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 1000; left: 50%; bottom: calc(var(--tab-h) + 16px); transform: translate(-50%, 12px);
  background: var(--navy); color: #fff; border-radius: 22px; padding: 11px 18px; font-weight: 700; font-size: 0.875rem;
  max-width: min(440px, calc(100% - 32px)); text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  box-shadow: 0 6px 20px rgba(20, 34, 58, .25);
}
.toast:empty { padding: 0; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.route-termin ~ .toast { bottom: calc(var(--safe-b) + 20px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Kategorie-Zeile im Kalender: „Alle" fest, Rest wischbar */
.cat-row { display: flex; align-items: center; gap: 8px; margin-right: -20px; }
.cat-row > .chip { flex-shrink: 0; }
.cat-row .cat-scroll {
  flex: 1 1 auto; min-width: 0; margin: 0; padding: 4px 28px 4px 2px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10px, #000 calc(100% - 32px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 10px, #000 calc(100% - 32px), transparent 100%);
}
.cat-row .cat-scroll .chip { flex-shrink: 0; }

/* ---------- Beliebt-Badge & Anzeige-Kennzeichnung ---------- */
.hot {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; background: var(--yellow); color: var(--navy);
  font-weight: 700; font-size: 0.875rem; line-height: 1.25; padding: 2px 8px 2px 6px; border-radius: 6px; margin-top: 3px; white-space: nowrap;
}
.badges .hot { margin-top: 0; padding: 3px 9px 3px 7px; }
.adpill {
  display: inline-flex; align-items: center; font-weight: 700; font-size: 0.8125rem; letter-spacing: .5px; color: var(--navy);
  background: #FFF7D1; border-radius: 6px; padding: 1px 6px; box-shadow: inset 0 0 0 1px var(--yellow); line-height: 1.3; flex-shrink: 0;
}
.badges .adpill { font-size: 0.875rem; padding: 3px 8px; }
.ccard-b .hot { margin-top: 2px; }
.wcard-img { position: relative; display: block; }
.wcard-img .hot { position: absolute; left: 8px; top: 8px; margin: 0; font-size: 0.8125rem; }

/* ---------- Nicht verpassen (Karussell) ---------- */
.promo { gap: 10px; }
.promo-head { align-items: center; }
.promo-ht { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-width: 0; }
.promo-hint { font-weight: 600; font-size: 0.875rem; color: var(--muted); }
.promo-ht .h2 + .promo-hint { font-size: 0.875rem; }
.promo .promo-hint { font-size: 0.875rem; }
.pdots { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.pdot { position: relative; width: 8px; height: 8px; border-radius: 4px; background: var(--dot); border: 0; padding: 0; cursor: pointer; transition: width .2s ease, background .2s ease; }
.pdot::after { content: ''; position: absolute; inset: -12px -3px; }
.pdot.on { width: 22px; background: var(--yellow); }
.promo-track {
  display: flex; gap: 12px; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scroll-padding: 0 20px;
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.promo-track::-webkit-scrollbar { display: none; }
.pcard {
  width: 300px; max-width: calc(100% - 40px); flex-shrink: 0; scroll-snap-align: start; background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 0 var(--edge); color: var(--ink); display: flex; flex-direction: column;
}
.pcard:hover { color: var(--ink); }
.pcard-img { position: relative; display: block; height: 150px; background: var(--mint); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard-ad { position: absolute; top: 10px; right: 10px; background: var(--navy); color: #fff; font-weight: 700; font-size: 0.8125rem; padding: 3px 8px; border-radius: 6px; line-height: 1.25; }
.pcard-b { padding: 11px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.pcard-cat { font-weight: 700; font-size: 0.875rem; color: var(--teal-d); text-transform: uppercase; letter-spacing: .8px; }
.pcard-t { font-weight: 900; font-size: 1.0625rem; line-height: 1.2; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-m { font-weight: 500; font-size: 0.9375rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Beliebt diese Woche ---------- */
.rank { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 0 var(--edge); }
.rank li + li { border-top: 1px dotted var(--dot); }
.rank-row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; min-height: 52px; color: var(--ink); }
.rank-row:hover { color: var(--ink); background: #FBFDFD; }
.rank-row:focus-visible { outline-offset: -3px; }
.rank-n {
  width: 30px; height: 30px; border-radius: 15px; background: var(--mint); color: var(--navy); font-weight: 900; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.rank-n.first { background: var(--yellow); }
.rank-b { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rank-t { font-weight: 700; font-size: 0.9375rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-m { font-weight: 500; font-size: 0.875rem; color: var(--muted); }
.rank-c { display: flex; align-items: center; gap: 3px; color: var(--navy); flex-shrink: 0; font-weight: 700; font-size: 1.0625rem; padding-right: 4px; }

/* ---------- Du veranstaltest selbst etwas? ---------- */
.host { background: var(--mint-l); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.host-ico { width: 44px; height: 44px; border-radius: 22px; background: #fff; color: var(--teal-d); display: flex; align-items: center; justify-content: center; }
.host-b { display: flex; flex-direction: column; gap: 4px; }
.host-b p { font-size: 0.9375rem; line-height: 1.4; color: var(--muted); }
.btn.host-btn { height: 44px; border-radius: 22px; }

/* ---------- Karte: beworbene Termine ---------- */
.promo-pin .pp-box {
  position: relative; width: 52px; height: 52px; border-radius: 18px; background: var(--yellow);
  box-shadow: 0 4px 10px rgba(29, 54, 95, .35); display: flex; align-items: center; justify-content: center;
}
.promo-pin .pp-box img { width: 36px; height: 36px; border-radius: 18px; object-fit: cover; box-shadow: 0 0 0 2px #fff; background: var(--mint); display: block; }
.pp-star {
  position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 10px; background: var(--navy); color: var(--yellow);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff;
}
.pp-t {
  position: relative; margin-top: -4px; display: inline-flex; align-items: center; gap: 4px; background: var(--navy); color: #fff;
  font-weight: 700; font-size: 0.875rem; padding: 2px 9px; border-radius: 10px; box-shadow: 0 0 0 2px #fff; line-height: 1.3;
}
.promo-pin.sel .pp-box { box-shadow: 0 0 0 3px var(--navy), 0 4px 12px rgba(29, 54, 95, .45); }
.promo-pin.sel .pp-t { color: var(--yellow); }
.leaflet-marker-icon:focus-visible .pp-box { outline: 3px solid var(--teal-d); outline-offset: 2px; }
.scard-mrow { display: flex; align-items: center; gap: 8px; min-width: 0; }
.scard.is-promo .scard-m { font-size: 0.875rem; }

/* ---------- Termin melden ---------- */
.route-melden .tabbar { display: none; }
.route-melden .view { padding-bottom: 0; }
.route-melden ~ .toast { bottom: calc(var(--safe-b) + 100px); }
.mf-top {
  position: sticky; top: 0; z-index: 20; background: #fff; box-shadow: 0 1px 0 var(--line);
  padding: calc(var(--safe-t) + 16px) 16px 12px;
}
.mf-top-r { display: flex; align-items: center; gap: 12px; }
.mf-top-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mf-top h1 { font-weight: 900; font-size: 1.375rem; line-height: 1.15; color: var(--navy); }
.mf-top .sub { font-size: 0.875rem; }
.steps { display: flex; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.step { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.step-bar { height: 5px; border-radius: 3px; background: var(--line); }
.step-l { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.875rem; color: var(--muted); white-space: nowrap; min-width: 0; }
.step-l > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.step-n {
  width: 20px; height: 20px; border-radius: 10px; background: var(--mint-l); color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 0.875rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step.done .step-bar, .step.cur .step-bar { background: var(--navy); }
.step.done .step-n, .step.cur .step-n { background: var(--navy); color: #fff; box-shadow: none; }
.step.cur .step-l { color: var(--navy); }
.mf-body { padding: 20px 20px calc(var(--safe-b) + 112px); display: flex; flex-direction: column; gap: 14px; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.f > label, .lbl { font-weight: 700; font-size: 0.875rem; color: var(--ink); padding: 0; }
.req { color: #B3261E; margin-left: 2px; }
.in {
  width: 100%; height: 48px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px;
  font-family: var(--font); font-size: 1rem; color: var(--ink); outline: none; margin: 0; min-width: 0;
}
.in:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(29, 54, 95, .14); }
.in::placeholder { color: #7A848E; }
select.in {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231D365F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
}
textarea.in { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.45; resize: vertical; }
input[type="date"].in, input[type="time"].in { padding: 0 10px; -webkit-appearance: none; appearance: none; }
.help { font-size: 0.875rem; color: var(--muted); line-height: 1.35; }
.help.right { text-align: right; }
.f.invalid .in, .in.invalid { border-color: #B3261E; }
.f.invalid .in:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .15); }
.err { display: flex; align-items: flex-start; gap: 5px; font-size: 0.875rem; font-weight: 700; color: #B3261E; line-height: 1.35; }
.err .ico-svg { margin-top: 1px; }
.frow { display: flex; gap: 10px; }
.frow > * { flex: 1 1 0; min-width: 0; }
.frow > .w125 { flex-grow: 1.25; }
.frow > .w2 { flex-grow: 2.3; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip {
  height: 40px; padding: 0 16px; border-radius: 20px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-family: var(--font); font-weight: 700; font-size: 0.875rem; cursor: pointer;
}
.fchip:hover { border-color: var(--navy); }
.fchip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.fseg { display: flex; background: var(--mint-l); border-radius: 12px; padding: 3px; gap: 3px; }
.fseg button {
  flex: 1 1 0; height: 42px; border: 0; border-radius: 10px; background: transparent; font-family: var(--font); font-weight: 700; font-size: 0.875rem;
  color: var(--muted); cursor: pointer;
}
.fseg button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(29, 54, 95, .2), inset 0 0 0 1.5px var(--navy); }
.swrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.swrow label { font-weight: 700; font-size: 0.875rem; color: var(--ink); cursor: pointer; }
.sw {
  appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 14px; background: #C5D3D4; position: relative;
  margin: 0; flex-shrink: 0; cursor: pointer; transition: background .15s;
}
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 11px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .15s; }
.sw:checked { background: var(--navy); }
.sw:checked::after { left: 23px; }
.chk {
  appearance: none; -webkit-appearance: none; width: 24px; height: 24px; flex-shrink: 0; margin: 0; border: 1.5px solid #9FB4B6;
  border-radius: 7px; background: #fff center / 18px no-repeat; cursor: pointer;
}
.chk:checked {
  background-color: var(--navy); border-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.chk.invalid { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179, 38, 30, .15); }
.crow { display: flex; gap: 12px; align-items: flex-start; }
.crow label { font-size: 0.875rem; line-height: 1.4; color: var(--ink); cursor: pointer; padding-top: 2px; }
.crow label a { text-decoration: underline; }
.drop {
  border: 2px dashed var(--dot); border-radius: 14px; background: var(--mint-l); padding: 22px 16px; display: flex; flex-direction: column;
  align-items: center; gap: 8px; text-align: center; cursor: pointer; color: var(--teal-d); width: 100%; font: inherit;
}
.drop:hover, .drop.over { border-color: var(--teal-d); background: #E3F3F4; }
.drop-t { font-weight: 700; font-size: 0.9375rem; color: var(--navy); }
.f.invalid .drop { border-color: #B3261E; }
.imgprev { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--mint); }
.imgprev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ov {
  position: absolute; bottom: 10px; height: 38px; padding: 0 14px; border-radius: 19px; border: 0; font-family: var(--font);
  font-weight: 700; font-size: 0.875rem; cursor: pointer; display: flex; align-items: center; gap: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}
.ov.l { left: 10px; background: #fff; color: var(--navy); }
.ov.r { right: 10px; background: var(--navy); color: #fff; }
.upsell { background: #FFF7D1; border-radius: 14px; padding: 14px; box-shadow: inset 0 0 0 1px var(--yellow); display: flex; flex-direction: column; gap: 6px; }
.upsell .crow { align-items: center; }
.upsell .crow label { font-weight: 700; padding-top: 0; }
.upsell .star-ico { color: var(--navy); }
.upsell .help { color: #4A4A3A; padding-left: 36px; }
.upsell .adpill { margin-left: auto; background: #fff; box-shadow: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mf-bar {
  position: fixed; z-index: 30; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px;
  background: #fff; border-top: 1px solid var(--line); padding: 12px 20px calc(var(--safe-b) + 14px); display: flex; gap: 10px;
}
.mf-bar .btn { height: 50px; font-size: 1rem; }
.mf-bar .btn.primary { flex: 1 1 0; }
.mf-bar .btn.outline { padding: 0 26px; }
.mf-bar .btn[disabled] { opacity: .7; cursor: progress; }
.mf-summary { font-size: 0.875rem; color: #B3261E; font-weight: 700; }

/* Danke */
.thanks { padding: calc(var(--safe-t) + 60px) 20px calc(var(--safe-b) + 24px); display: flex; flex-direction: column; gap: 16px; min-height: 100vh; min-height: 100dvh; }
.thanks-ico { width: 104px; height: 104px; border-radius: 52px; background: var(--mint); color: var(--navy); display: flex; align-items: center; justify-content: center; align-self: center; }
.thanks h1 { font-weight: 900; font-size: 1.625rem; line-height: 1.25; color: var(--navy); text-align: center; margin-top: 4px; }
.thanks-p { font-size: 0.9375rem; line-height: 1.55; color: var(--ink); text-align: center; }
.tcard { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.tcard img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--mint); }
.tcard-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tcard-m { font-weight: 700; font-size: 0.875rem; color: var(--teal-d); text-transform: uppercase; }
.tcard-t { font-weight: 900; font-size: 1rem; line-height: 1.2; color: var(--navy); overflow-wrap: anywhere; }
.tcard-s { font-size: 0.875rem; color: var(--muted); }
.tnote { display: flex; gap: 12px; align-items: center; background: #FFF7D1; border-radius: 14px; padding: 14px; box-shadow: inset 0 0 0 1px var(--yellow); font-weight: 700; font-size: 0.875rem; line-height: 1.4; color: #3D3D30; }
.tnote .ico-svg { color: var(--navy); }
.thanks-btns { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Favoriten, „Für dich“ & Einrichtung ---------- */

/* Onboarding-Rahmen */
.ob { min-height: 100vh; display: flex; flex-direction: column; padding: calc(var(--safe-t) + 14px) 20px 0; }
.ob-top { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.ob-prog { flex: 1 1 auto; display: flex; gap: 6px; }
.ob-prog i { flex: 1 1 0; height: 6px; border-radius: 3px; background: var(--dot); }
.ob-prog i.done { background: var(--navy); }
.ob-prog i.cur { background: var(--yellow); }
.ob-skip { border: 0; background: none; cursor: pointer; min-height: 44px; padding: 0 2px; font-weight: 700; font-size: 0.9375rem; color: var(--teal-d); }
.ob-head { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 16px; }
.ob-head .h1 { font-size: 1.875rem; }
.ob-head .sub { font-weight: 500; font-size: 0.9375rem; line-height: 1.35; }
.ob-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding-bottom: 120px; }
.ob-foot {
  position: fixed; z-index: 60; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 480px;
  padding: 26px 20px calc(var(--safe-b) + 18px); display: flex; gap: 10px;
  background: linear-gradient(180deg, rgba(246,249,249,0) 0, var(--ground) 26px);
}
.ob-foot .btn { flex: 1 1 auto; height: 54px; border-radius: 27px; font-size: 1rem; }
.ob-foot .icon-btn { width: 54px; height: 54px; border-radius: 27px; }

/* Tick / Checkbox */
.tk { width: 28px; height: 28px; border-radius: 14px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 2px var(--line); background: #fff; color: transparent; }
.tk.on { background: var(--navy); color: #fff; box-shadow: none; }
.tk.part { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }

/* Region-Karten (Schritt 1) */
.rg { background: #fff; border-radius: 20px; padding: 6px 14px 14px; box-shadow: 0 1px 0 var(--edge); display: flex; flex-direction: column; gap: 4px; }
.rg.on { box-shadow: inset 0 0 0 2px var(--navy); }
.rg-head { display: flex; align-items: center; gap: 12px; min-height: 50px; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; width: 100%; }
.rg-t { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0; min-width: 0; }
.rg-n { font-weight: 900; font-size: 1.125rem; color: var(--navy); line-height: 1.2; }
.rg-s { font-weight: 600; font-size: 0.875rem; color: var(--muted); }
.rg.on .rg-s { color: var(--teal-d); }
.rg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rg-chips .chip { height: 40px; padding: 0 14px; border-radius: 20px; font-size: 0.9375rem; }
.rg-chips .chip.on { gap: 6px; }

/* Kategorie-Kacheln (Schritt 2) */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  position: relative; border: 0; cursor: pointer; text-align: left; background: #fff; color: var(--navy); border-radius: 18px;
  min-height: 92px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.tile-ico { width: 38px; height: 38px; border-radius: 19px; background: var(--mint-l); color: var(--teal-d); display: flex; align-items: center; justify-content: center; }
.tile-n { font-weight: 900; font-size: 1rem; line-height: 1.15; }
.tile-ck { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 12px; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.tile.on { background: var(--navy); color: #fff; box-shadow: none; }
.tile.on .tile-ico { background: rgba(88, 190, 195, .28); color: #fff; }
.kick { font-family: var(--cond); font-weight: 600; font-size: 0.875rem; letter-spacing: 1px; text-transform: uppercase; color: var(--teal-d); margin-top: 8px; }
.chip.lg { height: 44px; padding: 0 16px; border-radius: 22px; font-size: 0.9375rem; gap: 8px; }
.chip.lg .ico-svg { color: var(--teal-d); }
.chip.lg.on .ico-svg { color: #fff; }

/* Radio-Karten (Schritt 3) */
.opt { background: #fff; border-radius: 20px; padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; }
.opt.on { box-shadow: inset 0 0 0 2px var(--navy); background: #fff; }
.opt-h { display: flex; align-items: center; gap: 14px; min-height: 48px; }
.rad { width: 26px; height: 26px; border-radius: 13px; flex-shrink: 0; box-shadow: inset 0 0 0 2px var(--line); background: #fff; position: relative; }
.opt.on .rad { box-shadow: inset 0 0 0 2px var(--navy); }
.opt.on .rad::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--navy); }
.opt-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.opt-n { font-weight: 900; font-size: 1.125rem; color: var(--navy); line-height: 1.2; }
.opt-s { font-weight: 500; font-size: 0.9375rem; color: var(--muted); line-height: 1.3; }
.opt-x { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px dotted var(--dot); }
.days7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.dpill { border: 0; cursor: pointer; height: 46px; border-radius: 14px; background: #fff; color: var(--navy); font-weight: 700; font-size: 0.9375rem;
  box-shadow: inset 0 0 0 1px var(--line); padding: 0; }
.dpill.on { background: var(--navy); color: #fff; box-shadow: none; }
.sel { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; border-radius: 14px; background: var(--mint-l); padding: 0 14px; color: var(--navy); font-weight: 700; font-size: 0.9375rem; }
.sel-l { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; }
.sel-r { display: inline-flex; align-items: center; gap: 6px; }

/* iOS-Banner-Vorschau */
.prev { border-radius: 20px; padding: 14px 14px 12px; background: linear-gradient(160deg, #1D365F 0%, #2C5A7E 55%, #58BEC3 130%); display: flex; flex-direction: column; gap: 8px; }
.prev-k { font-family: var(--cond); font-weight: 600; font-size: 0.875rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.ios { background: rgba(255, 255, 255, .92); border-radius: 20px; padding: 11px 13px; display: flex; gap: 11px; align-items: flex-start; box-shadow: 0 4px 14px rgba(10, 20, 40, .22); }
.ios img { width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0; display: block; }
.ios-b { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ios-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; color: #111; }
.ios-h span { font-weight: 500; font-size: 12px; color: #6b6f76; }
.ios-t { font-size: 0.875rem; line-height: 1.3; color: #222; }
.ios-t b { font-weight: 700; }
.soonhint { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.875rem; color: var(--muted); }
.prev .soonhint { color: rgba(255, 255, 255, .8); }

/* Entdecken: neue Elemente */
.newbar { display: flex; align-items: center; gap: 10px; min-height: 44px; border-radius: 22px; background: var(--mint-l); box-shadow: inset 0 0 0 1px var(--line); padding: 0 12px 0 6px;
  color: var(--navy); font-weight: 600; font-size: 0.9688rem; text-align: left; border-width: 0; width: 100%; cursor: pointer; }
.newbar-ico { width: 32px; height: 32px; border-radius: 16px; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.newbar-t { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.newbar .ico-svg:last-child { color: var(--teal-d); }
.fy-head { align-items: flex-end; }
.fy-ht { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fy-sub { font-weight: 600; font-size: 0.875rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.more.adj { gap: 4px; padding-bottom: 2px; }
.fy-track { display: flex; gap: 12px; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
.fy-track::-webkit-scrollbar { display: none; }
.fcard { width: 236px; flex-shrink: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 0 var(--edge); color: var(--ink); display: flex; flex-direction: column; }
.fcard-img { position: relative; display: block; height: 108px; background: var(--mint); }
.fcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcard-img.fill { background: linear-gradient(140deg, var(--teal-d) 0%, #2B8F95 100%); display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .92); }
.fcard-new { position: absolute; top: 10px; left: 10px; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 0.8125rem; letter-spacing: .6px; padding: 3px 8px; border-radius: 6px; line-height: 1.25; }
.fcard-b { padding: 10px 14px 13px; display: flex; flex-direction: column; gap: 2px; }
.fcard-cat { font-weight: 700; font-size: 0.875rem; color: var(--teal-d); text-transform: uppercase; letter-spacing: .8px; }
.fcard-t { font-weight: 900; font-size: 1rem; line-height: 1.2; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcard-m { font-weight: 500; font-size: 0.875rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Einstellungen */
.fav-page { min-height: 100vh; padding: calc(var(--safe-t) + 14px) 20px 28px; display: flex; flex-direction: column; gap: 16px; }
.fav-top { display: flex; align-items: center; gap: 12px; }
.fav-top .h1 { font-size: 1.75rem; }
.fcardset { background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 1px 0 var(--edge); display: flex; flex-direction: column; gap: 12px; }
.fs-head { display: flex; align-items: center; justify-content: space-between; min-height: 32px; }
.fs-head .link-btn { padding: 0; min-height: 44px; margin: -6px -2px -6px 0; display: inline-flex; align-items: center; gap: 4px; }
.chips.wrap .chip.sm { height: 40px; padding: 0 14px; font-size: 0.9375rem; box-shadow: none; background: var(--mint-l); color: var(--navy); }
.chips.wrap .chip.sm.strong { background: var(--navy); color: #fff; }
.chips.wrap .chip.sm .ico-svg { color: var(--teal-d); }
.chips.wrap .chip.sm.strong .ico-svg { color: var(--yellow); }
.seg3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--mint-l); border-radius: 26px; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.seg3 button { border: 0; cursor: pointer; height: 44px; border-radius: 22px; background: transparent; font-weight: 700; font-size: 0.9375rem; color: var(--navy); }
.seg3 button.on { background: var(--navy); color: #fff; }
.setrow { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 12px 8px 10px; border-radius: 16px; background: var(--ground); border: 0; width: 100%; text-align: left; cursor: pointer; }
.setrow .irow-ico { background: #fff; }
.setrow-b { flex: 1 1 auto; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.setrow-k { font-weight: 600; font-size: 0.875rem; color: var(--muted); }
.setrow-v { font-weight: 900; font-size: 1.0625rem; color: var(--navy); }
.setrow > .ico-svg:last-child { color: var(--muted); }
.reset { align-self: center; border: 0; background: none; cursor: pointer; min-height: 44px; padding: 0 12px; font-weight: 700; font-size: 0.9375rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* Erststart: Einladungskarte */
.invite { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: 22px; padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 8px; }
.invite::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(88,190,195,.0) 40%, rgba(88,190,195,.28) 120%); pointer-events: none; }
.invite-deco { position: absolute; top: 0; right: 0; pointer-events: none; }
.invite > *:not(.invite-deco) { position: relative; }
.invite-k { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.875rem; letter-spacing: 1px; text-transform: uppercase; color: var(--yellow); }
.invite-t { font-weight: 900; font-size: 1.5625rem; line-height: 1.1; color: #fff; max-width: 320px; }
.invite-p { font-weight: 500; font-size: 0.9375rem; line-height: 1.4; color: #E3EEF0; max-width: 300px; }
.invite-a { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 8px; }
.btn.invite-btn { width: 100%; height: 52px; border-radius: 26px; background: var(--yellow); color: var(--navy); font-size: 1rem; font-weight: 900; }
.invite-later { border: 0; background: none; cursor: pointer; min-height: 44px; padding: 0 16px; font-weight: 700; font-size: 0.9375rem; color: rgba(255,255,255,.82); }

/* Merken-Hinweis-Sheet */
.mh { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-top: 0; }
.mh-ico { position: relative; width: 72px; height: 72px; border-radius: 36px; background: var(--mint); color: var(--teal-d); display: flex; align-items: center; justify-content: center; }
.mh-heart { position: absolute; right: -2px; bottom: 0; width: 28px; height: 28px; border-radius: 14px; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #fff; }
.mh-t { font-weight: 900; font-size: 1.375rem; color: var(--navy); margin-top: 4px; }
.mh-p { font-weight: 500; font-size: 0.9688rem; line-height: 1.45; color: var(--muted); max-width: 320px; }
.mh-chips { justify-content: center; margin-top: 4px; }
.mh-foot { display: flex; flex-direction: column; align-items: center; gap: 2px; border-top: 0; padding-top: 6px; }
.mh-foot .btn { height: 52px; font-size: 1rem; }


/* neue Routen ohne Tabbar */
.route-einrichten .tabbar, .route-favoriten .tabbar, .route-neu .tabbar { display: none; }
.route-einrichten .view, .route-favoriten .view, .route-neu .view { padding-bottom: 0; }
.route-neu .view { padding-bottom: 28px; }
a.newbar:hover { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
a.btn.invite-btn:hover { background: #E3B800; color: var(--navy); }
.fcard:hover { color: var(--ink); }
.fs-none { font-weight: 600; font-size: 0.9375rem; color: var(--muted); }
.fav-lead { margin-top: -6px; }
.reset.danger { color: #9A2B22; }
.sel select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--navy); text-align: right; text-align-last: right; min-height: 44px; padding: 0 2px; cursor: pointer; max-width: 150px; }
.sel:focus-within { box-shadow: 0 0 0 3px var(--teal-d); }
.opt-h { border: 0; background: none; padding: 0; width: 100%; text-align: left; cursor: pointer; font: inherit; }
.rg-head:focus-visible, .opt-h:focus-visible { outline-offset: 4px; }
.fs-panel { padding-top: 0; border-top: 0; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.sec.fy { gap: 4px; }
.sec.fy .fy-track, .sec.fy .empty { margin-top: 8px; }
.sec.fy .empty { margin-left: 0; margin-right: 0; }

/* ---------- Gemeinsame Listen ---------- */
.av { width: 34px; height: 34px; border-radius: 17px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; color: #fff; box-shadow: 0 0 0 2px #fff; flex-shrink: 0; }
.av.a1 { background: var(--navy); } .av.a2 { background: var(--teal-d); } .av.a3 { background: var(--teal); color: var(--navy); } .av.a4 { background: #E9B93A; color: var(--navy); }
.av.more { background: var(--mint); color: var(--navy); font-size: 12px; }
.av.sm { width: 28px; height: 28px; border-radius: 14px; font-size: 12px; } .av.xs { width: 24px; height: 24px; border-radius: 12px; font-size: 11px; box-shadow: 0 0 0 2px #fff; }
.avs { display: inline-flex; flex-shrink: 0; } .avs .av + .av { margin-left: -6px; } .avs .av.xs + .av.xs { margin-left: -7px; }
.licon { border-radius: 50%; background: var(--mint); color: var(--teal-d); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lsec { display: flex; flex-direction: column; gap: 10px; }
.lcard { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 18px; padding: 14px; min-height: 76px; box-shadow: 0 1px 0 var(--edge); color: var(--ink); }
.lc-b { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lc-n { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.0625rem; color: var(--navy); line-height: 1.2; }
.lc-n .badge { font-size: 0.8125rem; padding: 2px 8px; letter-spacing: .4px; text-transform: uppercase; flex-shrink: 0; }
.lc-m { white-space: nowrap; display: flex; align-items: center; gap: 5px; font-weight: 500; font-size: 0.875rem; color: var(--muted); }
.lc-m .ico-svg { color: var(--teal-d); }
.lc-go { color: var(--muted); }
.newl { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; border-radius: 18px; border: 2px dashed var(--dot); background: transparent; color: var(--teal-d); font-weight: 700; font-size: 1rem; cursor: pointer; }
.flabel { font-weight: 700; font-size: 0.875rem; color: var(--navy); margin: 0 0 6px; display: block; }
.field { height: 52px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; padding: 0 18px; }
.field.on { box-shadow: inset 0 0 0 2px var(--teal-d); }
.field input { border: 0; outline: 0; background: none; flex: 1; min-width: 0; font-family: var(--font); font-weight: 700; font-size: 1.0625rem; color: var(--navy); }
.sheet-head h2 { font-size: 1.25rem; }
.nl { padding-top: 4px; display: flex; flex-direction: column; gap: 10px; }
.nl-chips { gap: 8px; }
.nl-chips .chip.lg { height: 40px; padding: 0 14px; }
.icopts { display: flex; gap: 8px; justify-content: space-between; }
.icopt-w { position: relative; flex: 1 1 0; max-width: 48px; display: flex; }
.icopts > .icopt, .icopt-w > .icopt { flex: 1 1 0; max-width: 48px; width: auto; height: auto; aspect-ratio: 1 / 1; min-width: 0; padding: 0; }
.icopt { border-radius: 50%; border: 0; background: var(--mint-l); color: var(--teal-d); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.icopt.on { background: var(--navy); color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--navy); }
.hint { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 0.875rem; color: var(--muted); margin-top: 2px; }
.hint .ico-svg { color: var(--teal-d); }
.dt-top { display: flex; justify-content: space-between; }
.dt-head { display: flex; align-items: center; gap: 12px; }
.dt-n { flex: 1 1 auto; min-width: 0; }
.dt-n .sub { font-size: 0.875rem; }
.dt-mem { display: flex; align-items: center; gap: 10px; }
.dt-names { flex: 1 1 auto; min-width: 0; font-weight: 600; font-size: 0.9375rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn.inv { height: 44px; padding: 0 14px; font-size: 0.9375rem; flex-shrink: 0; gap: 6px; }
.sitem + .sitem { border-top: 1px dotted var(--dot); }
.sitem .row { border-top: 0; }
.added { font-weight: 500; font-size: 0.875rem; color: #6B7580; }
.sx { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px 10px 12px; border-top: 1px dotted var(--dot); background: #FBFDFD; }
.sx-w { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sx-t { font-weight: 600; font-size: 0.875rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dabei { height: 40px; padding: 0 16px; border-radius: 20px; border: 0; cursor: pointer; background: #fff; color: var(--navy); font-weight: 700; font-size: 0.875rem; box-shadow: inset 0 0 0 1.5px var(--navy); display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; position: relative; }
.dabei::after { content: ''; position: absolute; inset: -2px; }
.dabei.on { background: var(--navy); color: #fff; box-shadow: none; }
.fab-wrap { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 40px 20px 20px; display: flex; justify-content: center; background: linear-gradient(180deg, rgba(246,249,249,0), var(--ground) 60%); pointer-events: none; max-width: 480px; margin: 0 auto; }
.btn.fab { pointer-events: auto; height: 54px; padding: 0 26px; border-radius: 27px; font-size: 1rem; box-shadow: 0 8px 20px rgba(29,54,95,.32); }
.route-liste .tabbar, .route-l .tabbar { display: none; }
.route-liste .view, .route-l .view { padding-bottom: 0; }
.route-liste ~ .toast { bottom: calc(var(--safe-b) + 92px); }
.inv-b { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.btn.wa { background: #1E8B6A; color: #fff; height: 54px; font-size: 1rem; }
.btn.cp { height: 54px; justify-content: flex-start; gap: 10px; font-size: 1rem; }
.cp-url { margin-left: auto; font-weight: 600; font-size: 0.875rem; color: var(--muted); }
.mlist { display: flex; flex-direction: column; }
.mrow { display: flex; align-items: center; gap: 12px; min-height: 52px; border-top: 1px dotted var(--dot); }
.mrow:first-child { border-top: 0; }
.mn { font-weight: 700; font-size: 1rem; color: var(--ink); flex: 1 1 auto; }
.mrow .badge { flex-shrink: 0; }
.mrm { border: 0; background: none; cursor: pointer; min-height: 44px; padding: 0 4px; font-weight: 600; font-size: 0.875rem; color: var(--muted); }
.reset-box { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 4px; }
.hint2 { font-weight: 500; font-size: 0.875rem; color: #6B7580; }
.icard { background: #fff; border-radius: 22px; padding: 16px; box-shadow: 0 1px 0 var(--edge); display: flex; flex-direction: column; gap: 12px; }
.ic-from { display: flex; align-items: center; gap: 10px; }
.ic-k { font-weight: 700; font-size: 0.9375rem; letter-spacing: .6px; text-transform: uppercase; color: var(--teal-d); }
.ic-name { display: flex; align-items: center; gap: 14px; }
.ic-mem { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; font-size: 0.875rem; color: var(--muted); }
.list.inl { box-shadow: inset 0 0 0 1px var(--edge); background: #fff; }
.list.inl .row-link { min-height: 54px; }
.ijoin { display: flex; flex-direction: column; gap: 10px; }
.fine { font-weight: 500; font-size: 0.875rem; line-height: 1.4; color: var(--muted); text-align: center; padding: 0 6px; }
.top-l .sub.cond { font-size: 0.875rem; }
.lo-b { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.gm { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.875rem; letter-spacing: 1px; text-transform: uppercase; color: var(--teal-d); }
.gm-ck { width: 22px; height: 22px; border-radius: 11px; background: var(--teal-d); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.lo-h { font-weight: 900; font-size: 1.375rem; line-height: 1.15; color: var(--navy); }
.lopts { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.lopt { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 14px 0 12px; border-radius: 18px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; text-align: left; }
.lopt.on { box-shadow: inset 0 0 0 2px var(--navy); background: var(--mint-l); }
.lo-t { display: flex; flex-direction: column; min-width: 0; }
.lo-n { font-weight: 900; font-size: 1rem; color: var(--navy); line-height: 1.2; }
.lo-m { font-weight: 500; font-size: 0.875rem; color: var(--muted); }
.link-btn.nl2 { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; }
.lc-av { margin-top: 6px; display: flex; }

.lc-nt { min-width: 0; overflow-wrap: anywhere; }
a.lcard:hover { color: var(--ink); box-shadow: 0 0 0 1.5px var(--line); }
.lhint { font-weight: 500; font-size: 0.9375rem; line-height: 1.4; color: var(--muted); }
.ferr { font-weight: 700; font-size: 0.875rem; color: #9A2B22; min-height: 0; }
.ferr:empty { display: none; }
.btn[disabled] { opacity: .45; cursor: default; }
.soonnote { margin-bottom: 2px; }
.bm.rm { color: var(--muted); width: 44px; }
.toast.act { pointer-events: auto; display: flex; align-items: center; gap: 14px; }
.toast-act { border: 0; background: none; color: var(--yellow); font: inherit; font-weight: 900; cursor: pointer; min-height: 32px; padding: 0 2px; }
.addfield { margin-bottom: 8px; }
.addbody { padding-top: 4px; }
.addrow { display: flex; align-items: stretch; width: 100%; border: 0; border-top: 1px dotted var(--dot); background: #fff; text-align: left; cursor: pointer; padding: 0; min-height: 60px; color: var(--ink); }
.addrow:first-child { border-top: 0; }
.addrow .row-body { flex: 1 1 auto; min-width: 0; }
.addrow .row-title-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; font-size: 0.9375rem; line-height: 1.25; }
.addmark { width: 46px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--teal-d); }
.addrow.has { background: var(--mint-l); }
.addrow.has .addmark { color: var(--navy); }
.menubtn { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; border: 0; border-top: 1px dotted var(--dot); background: none; font: inherit; font-weight: 700; font-size: 1rem; color: var(--navy); text-align: left; cursor: pointer; }
.menubtn:first-child { border-top: 0; }
.menubtn .ico-svg { color: var(--teal-d); }
.menubtn.danger, .menubtn.danger .ico-svg { color: #9A2B22; }
.lo-e { font-weight: 600; font-size: 0.875rem; color: var(--muted); margin-top: -4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn.dl { margin-top: 2px; }
.link-btn.dl-new { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.nl .icopts + .flabel { margin-top: 8px; }
.addbody .addres .list { margin-top: 2px; }

/* Termin hinzufügen: Abstand zwischen Abschnitten */
.addres .list + .search-hint { margin-top: 16px; }

/* Gruppenbild */
.licon.img { overflow: hidden; background: var(--mint-l); }
.licon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.licon-btn { border: 0; background: none; padding: 0; margin: 0; cursor: pointer; border-radius: 50%; display: inline-flex; flex-shrink: 0; }
.imgpick { position: fixed; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.icopt.foto { background: #fff; box-shadow: none; border: 2px dashed var(--teal-d); overflow: hidden; }
.icopt.foto.has { border: 0; }
.icopt.foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.icopt.foto.on { border: 0; }
.icopt-x { position: absolute; top: -5px; right: -5px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; z-index: 1; }
/* größere Tippfläche für das Entfernen-Badge */
.icopt-x::after { content: ''; position: absolute; inset: -11px; }
