@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url('/vendor/fonts/fraunces-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url('/vendor/fonts/fraunces-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f4efe7;
  --bg2: #ebe4d8;
  --card: #fffdf9;
  --ink: #121a1c;
  --ink2: #5e6b6e;
  --ink3: #98a3a5;
  --line: rgba(18, 26, 28, .08);
  --teal: #0b5d52;
  --teal2: #e3efe9;
  --coral: #ff6b4a;
  --coral2: #ffe8e1;
  --gold: #e3a83a;
  --biz: #6a4bdc;
  --biz2: #ece7fd;
  --red: #c8423b;
  --radius: 22px;
  --shadow: 0 1px 1px rgba(18, 26, 28, .04), 0 12px 32px -14px rgba(18, 26, 28, .22);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1516; --bg2: #19221f; --card: #172022; --ink: #f1f3ef; --ink2: #aab6b6; --ink3: #6f7d7e; --line: rgba(255,255,255,.08);
    --teal: #5cc8b2; --teal2: #15302b; --coral: #ff8466; --coral2: #3a221c; --biz: #a690ff; --biz2: #262041;
    --shadow: 0 1px 1px rgba(0,0,0,.3), 0 14px 34px -14px rgba(0,0,0,.6); color-scheme: dark; }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 16px/1.42 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--teal); }
.ic { flex: none; display: block; }
.app { max-width: 720px; margin: 0 auto; min-height: 100vh; padding: calc(var(--safe-t) + 14px) 18px calc(var(--safe-b) + 120px); }

/* Kopf */
.top { display: flex; align-items: center; gap: 10px; padding: 4px 0 18px; }
.top h1 { font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.05; margin: 0; letter-spacing: -.02em; flex: 1; font-variation-settings: "opsz" 120; }
.top .sub { color: var(--ink2); font-size: 14px; margin-top: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); margin-bottom: 4px; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; color: var(--ink); text-decoration: none; }

/* Karten */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 18px; margin-bottom: 16px; }
.card h2 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 0 0 12px; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 8px; }
.card h2 small { font-family: -apple-system, sans-serif; font-weight: 500; font-size: 13px; color: var(--ink3); }
.section-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink3); margin: 26px 4px 10px; }
.hero { position: relative; overflow: hidden; background: #0e1b1c; color: #fff; border: 0; padding: 22px; border-radius: 26px; }
.hero::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,74,.55), transparent 65%); }
.hero::after { content: ''; position: absolute; inset: auto auto -50% -25%; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(31,138,112,.7), transparent 65%); }
.hero > * { position: relative; z-index: 1; }
.hero .big { font-family: var(--serif); font-size: 48px; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.hero .muted, .hero .small { color: rgba(255,255,255,.72); }
.hero .flags { font-size: 20px; letter-spacing: 2px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--ink2); }
.faint { color: var(--ink3); }
.small { font-size: 13px; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stack > * + * { margin-top: 10px; }
.serif { font-family: var(--serif); }

/* Listen */
.list { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; margin-bottom: 14px; }
.item { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-top: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.item:first-child { border-top: 0; }
.item:active { background: var(--bg2); }
.cattile { border-radius: 13px; display: grid; place-items: center; flex: none; }
.emoji { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 18px; flex: none; background: var(--bg2); font-weight: 700; color: var(--ink2); }
.item .t { font-weight: 600; letter-spacing: -.005em; }
.item .s { font-size: 13px; color: var(--ink2); }
.amt { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; letter-spacing: -.01em; }
.amt small { display: block; font-weight: 500; color: var(--ink3); font-size: 12px; }
.dayhead { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 6px 8px; }
.dayhead span:first-child { font-family: var(--serif); font-weight: 600; font-size: 17px; }
.dayhead span:last-child { font-size: 13px; color: var(--ink2); font-variant-numeric: tabular-nums; font-weight: 600; }
.thumbcell { position: relative; flex: none; }
.thumbcell img { display: block; width: 42px; height: 42px; object-fit: cover; border-radius: 13px; }
.thumbcell .cattile { position: absolute; right: -6px; bottom: -6px; border: 2px solid var(--card); }

/* Badges & Chips */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 2px 8px; background: var(--bg2); color: var(--ink2); }
.badge .ic { width: 12px; height: 12px; }
.badge.biz { background: var(--biz2); color: var(--biz); }
.badge.cash { background: #fff1cf; color: #8a6100; }
.badge.auto { background: var(--teal2); color: var(--teal); }
.badge.warn { background: var(--coral2); color: var(--coral); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 0 18px 2px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 1px 2px rgba(18,26,28,.05); appearance: none; -webkit-appearance: none; }
.chip.on { border-color: var(--ink); background: var(--ink); color: var(--bg); font-weight: 600; }
.chip.biz.on { border-color: var(--biz); background: var(--biz); color: #fff; }

/* Buttons */
.btn { border: 0; border-radius: 14px; padding: 13px 18px; font-weight: 600; cursor: pointer; background: var(--bg2); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.coral { background: var(--coral); color: #fff; }
.btn.ghost { background: transparent; color: var(--teal); padding: 8px 10px; }
.btn.danger { background: transparent; color: var(--red); }
.btn.block { width: 100%; }
.btn.sm { padding: 8px 13px; font-size: 14px; border-radius: 12px; }
.btn:disabled { opacity: .5; }
a.btn, a.kpi { text-decoration: none; color: inherit; }
a.btn.primary { color: var(--bg); }

/* Formular */
label.f { display: block; margin-bottom: 12px; }
label.f > span { display: block; font-size: 12px; font-weight: 700; color: var(--ink3); margin: 0 2px 6px; text-transform: uppercase; letter-spacing: .08em; }
.in, select.in, textarea.in { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 12px 13px; background: var(--card); outline: none; appearance: none; -webkit-appearance: none; box-shadow: 0 1px 2px rgba(18,26,28,.04); }
.in:focus { border-color: var(--ink); }
textarea.in { min-height: 70px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.amountbox { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 22px; padding: 14px 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.amountbox:focus-within { border-color: var(--ink); }
.amountbox input { border: 0; outline: 0; background: transparent; font-family: var(--serif); font-size: 46px; font-weight: 600; width: 100%; min-width: 0; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.curbtn { border: 0; background: var(--ink); color: var(--bg); font-weight: 700; border-radius: 14px; padding: 11px 14px; font-size: 16px; cursor: pointer; white-space: nowrap; }
.conv { font-size: 14px; color: var(--ink2); margin: 8px 4px 0; min-height: 20px; }
.catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cat { border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 10px 4px 8px; text-align: center; cursor: pointer; font-size: 11.5px; line-height: 1.15; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink2); }
.cat.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); color: var(--ink); font-weight: 600; }
.toggle { display: inline-flex; background: var(--bg2); border-radius: 12px; padding: 3px; }
.toggle button { border: 0; background: transparent; padding: 7px 12px; border-radius: 9px; font-size: 14px; cursor: pointer; color: var(--ink2); }
.toggle button.on { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
details.more summary { cursor: pointer; color: var(--teal); font-weight: 600; padding: 6px 2px; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }

/* Navigation: schwebende Leiste */
.tabbar { position: fixed; left: 0; right: 0; bottom: calc(var(--safe-b) + 12px); z-index: 20; display: flex; justify-content: center; pointer-events: none; }
.tabbar nav { pointer-events: auto; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; width: min(420px, calc(100% - 28px)); height: 64px; padding: 0 8px;
  background: rgba(18, 26, 28, .9); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-radius: 26px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.45); }
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; color: rgba(255,255,255,.55); text-decoration: none; padding: 6px 0; position: relative; }
.tab.on { color: #fff; }
.tab.on::after { content: ''; position: absolute; bottom: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--coral); }
.fab { width: 52px; height: 52px; margin: 0 auto; border-radius: 18px; border: 0; background: var(--coral); color: #fff; box-shadow: 0 8px 20px -6px rgba(255,107,74,.7); cursor: pointer; display: grid; place-items: center; }

/* Sheet */
.overlay { position: fixed; inset: 0; background: rgba(10, 15, 16, .5); z-index: 40; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s ease; backdrop-filter: blur(2px); }
.sheet { background: var(--bg); width: 100%; max-width: 720px; max-height: 94vh; overflow-y: auto; border-radius: 28px 28px 0 0; padding: 10px 18px calc(var(--safe-b) + 24px); animation: up .24s cubic-bezier(.2,.8,.2,1); }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--ink3); opacity: .4; margin: 0 auto 10px; }
.sheet-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; position: sticky; top: -10px; background: var(--bg); padding: 6px 0; z-index: 2; }
.sheet-head h3 { margin: 0; flex: 1; font-family: var(--serif); font-weight: 600; font-size: 21px; text-align: center; }
@media (min-width: 760px) { .overlay { align-items: center; } .sheet { border-radius: 28px; max-height: 88vh; } }
@keyframes up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }

/* Hinweise */
.note { display: flex; gap: 11px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.note:first-of-type { border-top: 0; }
.note .acts { display: flex; gap: 6px; }
.round { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; }
.round.ok { background: var(--ink); color: var(--bg); }
.round.edit { background: var(--bg2); color: var(--ink); }
.dup { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; }
.dup > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: 14px; }

/* Toast */
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--safe-b) + 92px); z-index: 60; background: var(--ink); color: var(--bg);
  padding: 12px 16px; border-radius: 16px; font-size: 14px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); max-width: 92vw; animation: up .2s ease; }
.toast button { background: transparent; border: 0; color: var(--coral); font-weight: 700; cursor: pointer; }

/* Login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 80% 0%, rgba(255,107,74,.25), transparent 50%), radial-gradient(circle at 0% 100%, rgba(31,138,112,.3), transparent 55%), var(--bg); }
.login .card { width: 100%; max-width: 380px; padding: 28px; }
.login h1 { font-family: var(--serif); font-weight: 600; font-size: 34px; }
.logo { display: grid; place-items: center; }
.logo img { width: 64px; height: 64px; border-radius: 18px; box-shadow: var(--shadow); }

/* Fotos */
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.thumbs a, .thumbs .add { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg2); display: grid; place-items: center; text-decoration: none; color: var(--ink2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; cursor: pointer; }

/* Reisekarten */
.tripcard { position: relative; display: block; border-radius: 24px; overflow: hidden; color: #fff; text-decoration: none; padding: 18px; min-height: 150px; margin-bottom: 14px; box-shadow: var(--shadow); }
.tripcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.35)); }
.tripcard > * { position: relative; z-index: 1; }
.tripcard .flags { font-size: 22px; letter-spacing: 3px; }
.tripcard .name { font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: -.01em; line-height: 1.1; margin-top: 26px; }
.tripcard .meta { font-size: 13px; color: rgba(255,255,255,.8); margin-top: 4px; }
.tripcard .sum { position: absolute; top: 16px; right: 18px; text-align: right; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.tripcard .sum small { display: block; font-weight: 500; font-size: 12px; color: rgba(255,255,255,.75); }
.tripcard.now { min-height: 180px; }
.tripcard .pill { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 0 18px 6px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .tripcard { flex: 0 0 78%; scroll-snap-align: start; margin: 0; min-height: 140px; }

/* Statistik */
.bar { height: 8px; border-radius: 4px; background: var(--bg2); overflow: hidden; margin-top: 6px; }
.bar > div { height: 100%; border-radius: 4px; }
.empty { text-align: center; color: var(--ink3); padding: 28px 10px; }
.empty b { display: block; font-size: 30px; margin-bottom: 6px; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; margin: 30px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.searchbar { position: sticky; top: 0; z-index: 5; background: linear-gradient(var(--bg) 85%, transparent); padding: 6px 0 12px; }
.searchwrap { position: relative; }
.searchwrap .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink3); }
.searchwrap .in { padding-left: 42px; border-radius: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); }
.kpi b { display: block; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.kpi span { display: block; font-size: 12px; color: var(--ink2); line-height: 1.25; margin-top: 2px; }

/* Kalender + Karte */
.calstrip { display: flex; gap: 7px; overflow-x: auto; margin: 0 -18px 12px; padding: 2px 18px 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.calstrip::-webkit-scrollbar { display: none; }
.calday { flex: none; width: 64px; border: 1px solid var(--line); background: var(--card); border-radius: 18px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; cursor: pointer; scroll-snap-align: center; box-shadow: 0 1px 2px rgba(18,26,28,.05); }
.calday .wd { font-size: 10.5px; color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.calday b { font-family: var(--serif); font-size: 22px; line-height: 1.15; font-weight: 600; }
.calday .pl { font-size: 10.5px; color: var(--ink2); max-width: 58px; }
.calday .eu { font-size: 10.5px; color: var(--teal); font-weight: 700; min-height: 14px; }
.calday.on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.calday.on .wd, .calday.on .pl, .calday.on .eu { color: rgba(255,255,255,.8); }
.calday.today:not(.on) { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.calday.future:not(.on) { background: var(--bg2); }
.mapwrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg2); z-index: 0; border: 1px solid var(--line); }
.mapwrap .leaflet-tile-pane { filter: saturate(.75) contrast(1.02); }
.mapbtn { position: absolute; top: 10px; left: 10px; z-index: 500; box-shadow: var(--shadow); }
.mpin { width: 30px; height: 30px; border-radius: 50%; background: #121a1c; color: #fff; border: 2.5px solid #fff; display: grid; place-items: center; font: 700 12px -apple-system, sans-serif; box-shadow: 0 4px 10px rgba(0,0,0,.35); }
.mpin.on { background: #ff6b4a; transform: scale(1.3); }
.mphoto { width: 38px; height: 38px; border-radius: 10px; border: 2.5px solid #fff; object-fit: cover; box-shadow: 0 4px 10px rgba(0,0,0,.35); }
.leaflet-container { font: inherit; }
.leaflet-control-attribution { font-size: 10px; }
/* Flugticket */
.ticket { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 16px 18px; margin-bottom: 12px; position: relative; overflow: hidden; }
.ticket::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(#6a4bdc, #ff6b4a); }
.ticket .iata { font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: .01em; }
.flagrow { font-size: 18px; letter-spacing: 2px; }

/* ---------- Breite Bildschirme (Web) ---------- */
.cols { display: block; }
@media (min-width: 760px) {
  .app { max-width: none; padding-left: 32px; padding-right: 32px; }
  .top h1 { font-size: 40px; }
  .cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .col.side { position: sticky; top: 24px; }
  .tripgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
  .tripgrid .tripcard { margin: 0; }
  .carousel { margin: 0; padding: 0 0 6px; }
  .carousel .tripcard { flex-basis: 46%; }
  .daygroup { break-inside: avoid; }
  .expgrid { column-count: 2; column-gap: 24px; }
  .mapgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .mapgrid .mapwrap { height: 520px !important; }
  .mapgrid > .card { margin-top: 0 !important; max-height: 520px; overflow-y: auto; }
  .calstrip { margin: 0 0 14px; padding: 2px 0 6px; }
  .chips.scroll { margin: 0; padding: 0 0 2px; flex-wrap: wrap; }
  .setgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; align-items: start; }
  .setgrid .card { margin: 0; }
  .sheet { max-width: 640px; }
}
@media (min-width: 900px) {
  .app { padding: 34px 40px 60px 140px; }
  .tabbar { left: 20px; right: auto; top: 20px; bottom: 20px; align-items: center; }
  .tabbar nav { grid-template-columns: 1fr; grid-auto-rows: 74px; width: 84px; height: auto; padding: 14px 0; border-radius: 28px; }
  .tab { font-size: 11px; }
  .tab.on::after { bottom: auto; left: -6px; top: 50%; transform: translateY(-50%); width: 4px; height: 18px; border-radius: 2px; }
  .toast { bottom: 30px; }
}
@media (min-width: 1500px) { .expgrid { column-count: 3; } }
.countrygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.countrytile { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.countrytile { transition: opacity .15s, border-color .15s; }
.countrytile.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: var(--card); }
.countrytile.dim { opacity: .5; }

/* Jahres-Überschriften in der Reiseliste */
.yearhead { font-family: var(--serif, 'Fraunces', Georgia, serif); font-size: 30px; font-weight: 600; color: var(--ink); margin: 26px 4px 12px; letter-spacing: -.01em; }
a.chip { text-decoration: none; color: inherit; white-space: nowrap; gap: 6px; }
a.chip b { font-size: 11px; background: var(--bg2); border-radius: 999px; padding: 0 6px; margin-left: 2px; }
.badge.open { background: #fde8e1; color: #a2401f; }
.kpi.open b { color: #a2401f; }
