/* Reisebande · Gestaltung "Sticker-Board": warmes Papier, kräftige Kopfzeile je Reiseziel,
   Kategorien als leicht schiefe Sticker, weiche Karten. Schrift: Bricolage Grotesque. */
@font-face { font-family: Brico; src: url(/fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #FBF8F3; --card: #FFFFFF; --line: #EDE7DC; --line2: #E2DACB;
  --ink: #161616; --mute: #66625B; --soft: #F4EFE5;
  --cobalt: #2F4BFF; --lime: #C8F25A; --tomato: #FF5B3A; --danger: #C8102E;
  --r: 22px; --r-sm: 14px;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --nav-h: calc(64px + var(--safe-b));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Brico, system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--nav-h) + 76px); }
body.locked { overflow: hidden; }
body[data-route="karte"] { padding-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
a { color: var(--cobalt); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.muted { color: var(--mute); font-weight: 600; font-size: 14px; }
.hint { color: var(--mute); font-size: 14px; line-height: 1.45; }

/* ---------- Kopfzeile mit Skyline ---------- */
.hero { position: relative; overflow: hidden; max-width: 720px; margin: 0 auto; background: var(--hero); color: var(--hero-ink); border-radius: 0 0 30px 30px; padding: calc(var(--safe-t) + 18px) 20px 0; min-height: 300px; }
.hero-in { position: relative; z-index: 2; padding-bottom: calc(min(100vw, 720px) * 0.287); }
.hero-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pill { display: inline-flex; gap: 6px; align-items: center; color: inherit; background: color-mix(in srgb, var(--hero-ink) 16%, transparent); padding: 6px 12px; border-radius: 99px; font-weight: 650; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero h1 { font-size: clamp(48px, 15vw, 64px); line-height: 0.92; letter-spacing: -0.04em; margin: 22px 0 10px; }
.hero .sub { font-size: 15px; font-weight: 500; opacity: 0.92; }
.badge { display: inline-block; margin-top: 14px; background: var(--ink); color: var(--orb); font-weight: 800; font-size: 13px; padding: 7px 11px; border-radius: 11px; transform: rotate(-4deg); box-shadow: 3px 3px 0 color-mix(in srgb, var(--ink) 25%, transparent); }
.orb { position: absolute; right: -36px; top: 70px; width: 168px; height: 168px; border-radius: 50%; background: var(--orb); z-index: 0; }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 390 / 140; z-index: 1; display: block; }

.avs { display: inline-flex; align-items: center; }
.av { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; margin-left: -6px; border: 2px solid var(--card); flex: none; }
.avs .av:first-child { margin-left: 0; }
.avs.on-hero .av { width: 32px; height: 32px; font-size: 13px; border-color: #fff; margin-left: -8px; }
.avs.xs .av { width: 18px; height: 18px; font-size: 9px; border-width: 1.5px; margin-left: -4px; }

/* ---------- Seiten ---------- */
.page { padding: 8px 16px 24px; display: grid; gap: 14px; max-width: 720px; margin: 0 auto; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: calc(var(--safe-t) + 20px) 18px 10px; max-width: 720px; margin: 0 auto; }
.top h1 { font-size: 38px; letter-spacing: -0.035em; }
.top h1 small { font-size: 18px; color: var(--mute); font-weight: 700; letter-spacing: 0; }
.sticky { position: sticky; top: 0; z-index: 5; background: var(--bg); padding-top: var(--safe-t); }
.block { display: grid; gap: 10px; margin-top: 8px; }
.block.tight { margin-top: 0; }
.block-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.block-h h2 { font-size: 22px; }
.link { color: var(--cobalt); font-weight: 750; font-size: 14px; text-decoration: none; display: inline-flex; gap: 4px; align-items: center; min-height: 32px; }
.link svg { width: 16px; height: 16px; }
.dayhead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 4px; }
.dayhead h2 { font-size: 26px; }
.dayhead span { color: var(--mute); font-weight: 650; font-size: 14px; white-space: nowrap; }
.foot { text-align: center; color: var(--mute); font-size: 13px; margin-top: 12px; }

/* ---------- Chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 16px 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.page .chips, .sheet .chips { padding: 0; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 14px; background: var(--card); border: 1.5px solid var(--line2); font-weight: 750; font-size: 14px; white-space: nowrap; }
.chip small { font-size: 12px; font-weight: 700; color: var(--mute); }
.chip svg { width: 15px; height: 15px; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.on small { color: #C9C4BA; }
.chip.cat::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }

/* ---------- Sticker & Karten ---------- */
.st { display: inline-block; font-weight: 800; font-size: 12px; line-height: 1; padding: 6px 9px; border-radius: 99px; transform: rotate(-3deg); white-space: nowrap; }
.st.sm { font-size: 11px; padding: 4px 7px; }
.list { display: grid; gap: 12px; }
.card { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px 16px; cursor: pointer; transition: transform .15s ease-out; }
.card:active { transform: scale(0.99); }
.card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.time { font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.ti { font-weight: 750; font-size: 21px; line-height: 1.12; letter-spacing: -0.015em; margin: 9px 0 2px; overflow-wrap: anywhere; }
.ti.sm { font-size: 18px; margin-top: 8px; }
.ar { color: var(--mute); font-size: 14px; }
.note { margin-top: 9px; font-size: 14px; line-height: 1.4; background: var(--soft); border-radius: 12px; padding: 8px 10px; overflow-wrap: anywhere; }
.note.big { font-size: 15px; }
.ft { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-weight: 700; font-size: 13px; color: var(--mute); min-height: 24px; }
.cnt { display: inline-flex; gap: 4px; align-items: center; }
.cnt svg { width: 15px; height: 15px; }
.go { margin-left: auto; color: var(--cobalt); font-weight: 750; text-decoration: none; padding: 6px 0 6px 10px; }
.card.booked { background: var(--ink); color: #fff; border-color: var(--ink); }
.card.booked .ar, .card.booked .ft { color: #BDB8AE; }
.card.booked .note { background: #2B2B2B; }
.card.booked .av { border-color: var(--ink); }
.card.booked .go { color: var(--lime); }
.ok { position: absolute; right: 14px; top: -10px; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: 10px; transform: rotate(5deg); }
.daytag { font-weight: 750; font-size: 12px; color: var(--mute); background: var(--soft); border-radius: 8px; padding: 3px 7px; }

.ideas { display: grid; gap: 10px; }
@media (min-width: 640px) { .ideas { grid-template-columns: 1fr 1fr; } }
.idea { display: flex; gap: 8px; align-items: stretch; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 10px 12px 14px; cursor: pointer; }
.idea-main { flex: 1; min-width: 0; }
.heart { flex: none; width: 52px; border-radius: 16px; display: grid; place-content: center; justify-items: center; gap: 2px; color: var(--mute); font-weight: 800; font-size: 12px; }
.heart svg { width: 26px; height: 26px; }
.heart.on { color: var(--tomato); background: #FFF0EC; }
.heart:active { transform: scale(0.92); }

/* ---------- Heute ---------- */
.news { display: flex; gap: 10px; align-items: flex-start; text-align: left; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; font-size: 14px; line-height: 1.35; width: 100%; }
.news .av { width: 28px; height: 28px; margin: 0; font-size: 12px; }
.news small { display: block; color: var(--mute); margin-top: 2px; font-size: 12px; }
.announce { display: flex; gap: 10px; align-items: flex-start; background: var(--lime); border-radius: var(--r-sm); padding: 10px 12px; font-size: 15px; }
.announce .av { margin: 0; width: 28px; height: 28px; border-color: var(--lime); }
.announce small { display: block; font-size: 12px; opacity: 0.7; }
/* ---------- Buttons & Formulare ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 16px; border-radius: 14px; background: var(--card); border: 1.5px solid var(--line2); font-weight: 750; font-size: 15px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.btn.sm { min-height: 38px; padding: 0 12px; font-size: 14px; border-radius: 12px; }
.btn.primary { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.btn.big { min-height: 52px; font-size: 16px; width: 100%; margin-top: 6px; }
.btn.wide { width: 100%; }
.btn.ghost { background: transparent; border-style: dashed; color: var(--mute); }
.btn.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, white); }
.btn.heartbtn.on { background: #FFF0EC; color: var(--tomato); border-color: #FFC9BC; }
.btn:disabled, .busy { opacity: 0.55; pointer-events: none; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.row-btns.center { justify-content: center; }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--mute); }
.icon:hover { background: var(--soft); color: var(--ink); }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--mute); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
input:not([type=checkbox]):not([type=color]), select, textarea { width: 100%; min-height: 46px; border: 1.5px solid var(--line2); border-radius: 12px; background: var(--card); padding: 10px 12px; font-size: 16px; color: var(--ink); font-weight: 500; }
textarea { resize: vertical; line-height: 1.4; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cobalt) 18%, transparent); }
input[type=color] { width: 60px; height: 40px; border: 1.5px solid var(--line2); border-radius: 10px; padding: 2px; background: var(--card); }
.search { min-height: 44px; }
.switch { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 15px; cursor: pointer; min-height: 40px; }
.switch input { width: 22px; height: 22px; accent-color: var(--ink); }
.switch.small { font-size: 14px; color: var(--mute); }
.inline-add { display: flex; gap: 8px; }
.inline-add input { flex: 1; }
.sync { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--card); border: 1.5px dashed var(--line2); border-radius: var(--r-sm); padding: 10px 12px; }
.sync > span { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; font-size: 15px; }
.sync small { grid-column: 2; color: var(--mute); font-size: 13px; }
.empty { text-align: center; padding: 28px 18px; background: var(--card); border: 1.5px dashed var(--line2); border-radius: var(--r); display: grid; gap: 8px; justify-items: center; }
.empty b { font-size: 18px; }
.empty p { color: var(--mute); font-size: 14px; max-width: 32ch; }
.empty .btn { margin-top: 6px; }

/* Reise */
.info { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; }
.info summary { display: flex; gap: 12px; align-items: center; padding: 12px 0; cursor: pointer; list-style: none; }
.info summary::-webkit-details-marker { display: none; }
.info summary > span:last-child { display: grid; }
.info small { color: var(--mute); font-size: 13px; }
.info p { font-size: 14px; padding-bottom: 12px; color: #3A3833; }
.ic { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; flex: none; }
.members { display: grid; gap: 8px; }
.mem { display: flex; gap: 10px; align-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px; }
.mem .av { width: 34px; height: 34px; margin: 0; font-size: 14px; }
.mem > span { flex: 1; display: grid; }
.mem small { color: var(--mute); font-size: 13px; }

/* ---------- Frag-die-Reise-Leiste ---------- */
.askbar { position: fixed; z-index: 20; left: 14px; right: 14px; bottom: calc(var(--nav-h) + 12px); max-width: 692px; margin: 0 auto; background: var(--card); border: 2px solid var(--ink); border-radius: 20px; padding: 10px 10px 10px 14px; display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 650; box-shadow: 4px 4px 0 var(--ink); text-align: left; }
.askbar span { color: var(--mute); font-weight: 500; flex: 1; }
.askbar b { background: var(--cobalt); color: #fff; border-radius: 12px; padding: 7px 12px; font-size: 14px; }

/* ---------- Navigation ---------- */
.tabbar { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; height: var(--nav-h); padding-bottom: var(--safe-b); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1.5px solid var(--line); display: flex; justify-content: space-around; }
.tabbar a { flex: 1; display: grid; justify-items: center; align-content: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--mute); text-decoration: none; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a.on { color: var(--ink); }
.tabbar a.on svg { stroke-width: 2.8; }

/* ---------- Bottom-Sheet ---------- */
#sheet { position: fixed; inset: 0; z-index: 50; }
.scrim { position: absolute; inset: 0; background: rgba(22, 22, 22, 0.42); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-radius: 26px 26px 0 0; padding: 8px 18px calc(22px + var(--safe-b)); display: grid; gap: 12px; align-content: start; transform: translateY(100%); transition: transform .26s cubic-bezier(.2, .8, .2, 1); max-width: 720px; margin: 0 auto; }
.sheet.tall { min-height: 70dvh; }
.sheet.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .sheet { transition: none; } }
.grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line2); margin: 4px auto 0; }
.sh-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 40px; }
.sh-head h2 { font-size: 24px; display: flex; gap: 8px; align-items: center; }
.sheet > h2 { font-size: 30px; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.sheet h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--mute); margin-top: 8px; }
.who { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--mute); font-weight: 600; }
.when { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.when label:first-child { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 15px; }
.when input[type=time] { width: auto; min-width: 120px; }
details.edit { border-top: 1.5px solid var(--line); padding-top: 10px; margin-top: 6px; }
details.edit summary { display: inline-flex; gap: 6px; align-items: center; font-weight: 750; color: var(--mute); cursor: pointer; min-height: 40px; list-style: none; }
details.edit summary::-webkit-details-marker { display: none; }
details.edit .form { margin-top: 10px; }
.linkbox { font-size: 14px !important; }
.sug-day { display: grid; gap: 6px; }
.sug { display: flex; gap: 10px; align-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 15px; cursor: pointer; }
.sug input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.sug b { flex: 1; font-weight: 650; min-width: 0; overflow-wrap: anywhere; }
.sug .time { min-width: 46px; }
.picklist { display: grid; gap: 6px; }

/* Kommentare */
.thread { display: grid; gap: 10px; }
.cmt { display: flex; gap: 10px; align-items: flex-start; }
.cmt > .av { width: 30px; height: 30px; margin: 0; font-size: 12px; border-color: var(--bg); }
.cmt-b { flex: 1; min-width: 0; background: var(--card); border: 1.5px solid var(--line); border-radius: 4px 16px 16px 16px; padding: 8px 12px; font-size: 15px; overflow-wrap: anywhere; }
.cmt-h { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.cmt-h span { color: var(--mute); }
.cmt-h .x { margin-left: auto; color: var(--mute); padding: 4px; }
.cmt-h .x svg { width: 15px; height: 15px; }
.thumb { margin-top: 8px; max-width: 100%; max-height: 260px; border-radius: 12px; display: block; cursor: zoom-in; background: var(--soft); min-height: 60px; }
.filelink { margin-top: 6px; display: inline-flex; gap: 6px; align-items: center; color: var(--cobalt); font-weight: 700; font-size: 14px; }
.composer { display: flex; gap: 8px; align-items: flex-end; background: var(--card); border: 1.5px solid var(--line2); border-radius: 18px; padding: 6px; }
.composer textarea { border: 0 !important; box-shadow: none !important; min-height: 38px; padding: 8px 4px; resize: none; background: transparent; }
.composer .attach, .composer .send { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; cursor: pointer; color: var(--mute); }
.composer .attach.has { color: var(--cobalt); background: color-mix(in srgb, var(--cobalt) 12%, white); }
.composer .send { background: var(--ink); color: #fff; }

/* Reisebegleiter */
.chat { display: grid; gap: 10px; align-content: start; min-height: 40dvh; max-height: 56dvh; overflow-y: auto; }
.msg { max-width: 88%; font-size: 15px; line-height: 1.45; padding: 10px 13px; border-radius: 18px; overflow-wrap: anywhere; }
.msg.u { justify-self: end; background: var(--cobalt); color: #fff; border-bottom-right-radius: 6px; white-space: pre-wrap; }
.msg.a { justify-self: start; background: var(--card); border: 1.5px solid var(--line); border-bottom-left-radius: 6px; display: grid; gap: 6px; }
.msg.a ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
.msg.err { color: var(--danger); }
.sugg { display: flex; flex-wrap: wrap; gap: 8px; }
.sugg .chip { white-space: normal; text-align: left; min-height: 40px; padding: 8px 12px; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: dot 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .dots i { animation: none; opacity: .6; } }

/* ---------- Diverses ---------- */
.toast { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + 84px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 650; font-size: 15px; max-width: calc(100% - 32px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.offline { background: var(--ink); color: #fff; text-align: center; font-size: 13px; font-weight: 700; padding: calc(var(--safe-t) + 6px) 12px 6px; }
.hintbar { position: relative; margin: 0 16px 14px; max-width: 688px; background: var(--lime); border-radius: var(--r-sm); padding: 12px 44px 12px 14px; font-size: 14px; line-height: 1.4; }
@media (min-width: 720px) { .hintbar { margin: 0 auto 14px; } }
.hintbar .icon { position: absolute; right: 4px; top: 4px; color: var(--ink); }
.gate { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.gate-card { width: 100%; max-width: 420px; display: grid; gap: 14px; }
.gate-card h1 { font-size: 44px; letter-spacing: -0.04em; }
.gate-card > p { color: var(--mute); }
.gate-card .mem { justify-content: space-between; }

/* ---------- Stories ---------- */
.rings { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
.rings::-webkit-scrollbar { display: none; }
.ring { display: grid; justify-items: center; gap: 5px; flex: none; }
.ring-c { width: 68px; height: 68px; border-radius: 50%; padding: 4px; background: var(--ring); display: grid; }
.ring-c b { background: var(--bg); border: 3px solid var(--bg); border-radius: 50%; display: grid; place-items: center; font-size: 24px; font-weight: 800; box-shadow: inset 0 0 0 1.5px var(--line2); }
.ring small { font-size: 12px; font-weight: 700; color: var(--mute); }
.ring.empty .ring-c b { color: var(--mute); }
.story { position: fixed; inset: 0; z-index: 70; background: var(--ink); color: #fff; outline: none; }
.story-bars { position: absolute; z-index: 3; top: calc(var(--safe-t) + 10px); left: 12px; right: 12px; display: flex; gap: 4px; }
.story-bars i { flex: 1; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--sfg, #fff) 30%, transparent); }
.story-bars i.done, .story-bars i.now { background: var(--sfg, #fff); }
.story-x { position: absolute; z-index: 4; top: calc(var(--safe-t) + 22px); right: 10px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--sfg, #fff); }
.slide { position: absolute; inset: 0; background: var(--bg); color: var(--fg); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.slide .orb { top: auto; bottom: 30vw; right: -50px; width: 190px; height: 190px; }
.slide .skyline { height: auto; }
.slide-in { position: relative; z-index: 2; padding: 0 24px calc(var(--safe-b) + 120px); display: grid; gap: 14px; justify-items: start; max-width: 640px; }
.slide.cover .slide-in { padding-bottom: calc(var(--safe-b) + 46vw); margin-bottom: auto; padding-top: calc(var(--safe-t) + 90px); }
.slide h2 { font-size: clamp(42px, 13vw, 68px); line-height: 0.95; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.slide .kick { font-weight: 800; font-size: 15px; letter-spacing: 0.02em; opacity: .85; }
.slide .lead { font-size: 18px; font-weight: 600; line-height: 1.35; opacity: .9; }
.slide .quote { font-size: 17px; line-height: 1.45; background: color-mix(in srgb, var(--fg) 12%, transparent); border-radius: 18px; padding: 14px 16px; max-width: 34ch; }
.slide .tap { font-size: 13px; font-weight: 700; opacity: .7; }
.slide .who { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--fg); }
.slide .who .av { width: 30px; height: 30px; font-size: 12px; border-color: var(--bg); margin-left: -8px; }
.slide .who .av:first-child { margin-left: 0; }
.st.big { font-size: 15px; padding: 8px 12px; }
.slide-act { position: absolute; z-index: 5; left: 24px; right: 24px; bottom: calc(var(--safe-b) + 28px); display: flex; gap: 10px; }
.slide-act .btn { flex: 1; background: var(--fg); color: var(--bg); border-color: var(--fg); }
.flip { position: absolute; z-index: 2; top: 0; bottom: 0; width: 35%; background: transparent; }
.flip.prev { left: 0; } .flip.next { right: 0; width: 65%; }

/* ---------- Teaser, Lieblinge ---------- */
.teaser { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--ink); color: #fff; border-radius: var(--r); padding: 16px; margin-top: 8px; }
.teaser-stack { position: relative; width: 46px; height: 56px; flex: none; }
.teaser-stack i { position: absolute; inset: 0; border-radius: 10px; background: var(--bg); border: 2px solid var(--ink); }
.teaser-stack i:nth-child(1) { transform: rotate(-12deg); background: #FF8AD1; }
.teaser-stack i:nth-child(2) { transform: rotate(6deg); background: #C8F25A; }
.teaser-stack i:nth-child(3) { transform: rotate(-2deg); }
.teaser-t { flex: 1; display: grid; gap: 3px; }
.teaser-t b { font-size: 18px; letter-spacing: -0.01em; }
.teaser-t small { color: #C9C4BA; font-size: 13px; }
.teaser-go { background: var(--lime); color: var(--ink); font-weight: 800; padding: 8px 14px; border-radius: 12px; transform: rotate(-4deg); }
.favs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.favs::-webkit-scrollbar { display: none; }
.fav { position: relative; flex: none; width: 168px; min-height: 128px; text-align: left; background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 14px; display: grid; align-content: space-between; gap: 8px; }
.fav::before { content: ''; position: absolute; left: 14px; top: 14px; width: 28px; height: 8px; border-radius: 4px; background: var(--bg); transform: rotate(-4deg); }
.fav b { font-size: 17px; line-height: 1.12; margin-top: 12px; overflow-wrap: break-word; hyphens: manual; }
.fav small { color: var(--mute); font-size: 12px; font-weight: 650; }
.fav-m { position: absolute; right: 10px; top: -8px; background: var(--tomato); color: var(--ink); font-weight: 800; font-size: 11px; padding: 4px 8px; border-radius: 9px; transform: rotate(6deg); }

/* ---------- Plan: Karte mit Karussell ---------- */
.planmap { position: fixed; inset: 0 0 var(--nav-h) 0; }
.planmap #map { position: absolute; inset: 0; background: #E8E3D8; }
.plan-head { position: relative; z-index: 600; background: linear-gradient(var(--bg) 70%, transparent); padding-top: var(--safe-t); }
.plan-list .plan-head { position: sticky; top: 0; background: var(--bg); }
.plan-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px 0; max-width: 720px; margin: 0 auto; }
.plan-title h1 { font-size: 30px; letter-spacing: -0.03em; display: grid; gap: 2px; }
.plan-title h1 small { font-size: 14px; color: var(--mute); letter-spacing: 0; font-weight: 750; }
.plan-head .chips { max-width: 720px; margin: 0 auto; }
.seg { display: inline-flex; background: var(--soft); border: 1.5px solid var(--line2); border-radius: 12px; padding: 3px; flex: none; }
.seg button { min-height: 34px; padding: 0 12px; border-radius: 9px; font-weight: 750; font-size: 14px; color: var(--mute); }
.seg button.on { background: var(--ink); color: #fff; }
.plan-tools { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
.plan-tools::-webkit-scrollbar { display: none; }
.plan-tools .btn { flex: none; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.page .plan-tools { padding: 0; }
.carousel-wrap { position: absolute; z-index: 600; left: 0; right: 0; bottom: 10px; }
.carousel { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 6px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.mini { flex: none; width: min(78vw, 320px); scroll-snap-align: center; background: var(--card); border: 2px solid var(--card); border-radius: 20px; padding: 12px 14px; box-shadow: 0 6px 20px rgba(0,0,0,.14); cursor: pointer; display: grid; gap: 4px; align-content: start; }
.mini.on { border-color: var(--ink); }
.mini.booked { background: var(--ink); color: #fff; border-color: var(--ink); }
.mini.booked .ar, .mini.booked .ft { color: #BDB8AE; }
.mini.booked .go { color: var(--lime); }
.mini-top { display: flex; align-items: center; gap: 8px; }
.num { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.mini.booked .num { background: var(--lime); color: var(--ink); }
.okmini { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--lime); }
.mini h3 { font-size: 19px; line-height: 1.12; letter-spacing: -0.015em; margin-top: 4px; overflow-wrap: anywhere; }
.mini .ft { margin-top: 4px; }
.mini.add { background: var(--bg); border: 2px dashed var(--line2); box-shadow: none; cursor: default; gap: 8px; }
.mini.add b { font-size: 18px; }
.pin { background: none; border: 0; padding: 0; cursor: pointer; }
/* Tropfen-Pins wie auf einem Stadtplan; Ideen ohne Tag als kleine Punkte */
.pin .drop { display: block; width: 34px; height: 34px; background: var(--c); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: -2px 3px 4px rgba(40, 30, 20, .28); border: 2.5px solid #fff; transition: transform .2s cubic-bezier(.3,1.6,.5,1); transform-origin: 50% 50%; margin-bottom: 4px; }
.pin .drop b { display: grid; place-items: center; width: 100%; height: 100%; transform: rotate(45deg); color: var(--t); font: 800 14px/1 Brico, system-ui; }
.pin.active { z-index: 5; }
.pin.active .drop { transform: rotate(-45deg) scale(1.3); }
.pin.faint span { display: block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.maplibregl-ctrl-attrib { font-size: 10px; }
.maplibregl-map { font-family: Brico, system-ui; }

/* ---------- Swipen ---------- */
.top-r { display: flex; gap: 8px; align-items: center; }
.icon.solid { background: var(--cobalt); color: #fff; }
.sw-wrap { display: grid; gap: 14px; justify-items: center; padding-top: 4px; }
.sw-count { color: var(--mute); font-weight: 700; font-size: 14px; }
.sw-stack { position: relative; width: 100%; max-width: 380px; height: min(58dvh, 470px); }
.swcard { position: absolute; inset: 0; border-radius: 28px; background: var(--card); border: 1.5px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.12); overflow: hidden; display: flex; flex-direction: column; touch-action: pan-y; user-select: none; transform: translateY(calc(var(--d) * 10px)) scale(calc(1 - var(--d) * 0.04)); cursor: grab; }
.sw-top { background: var(--bg); color: var(--fg); padding: 22px 22px 26px; display: grid; gap: 12px; justify-items: start; flex: 1; align-content: end; }
.sw-top h2 { font-size: clamp(30px, 9vw, 40px); line-height: 1; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.sw-top p { font-weight: 650; opacity: .85; }
.sw-body { padding: 16px 20px 20px; display: grid; gap: 10px; }
.sw-body .note { margin: 0; max-height: 8.5em; overflow: hidden; }
.sw-body .who { display: flex; gap: 8px; align-items: center; color: var(--mute); font-weight: 650; font-size: 14px; }
.stamp { position: absolute; top: 26px; font-weight: 800; font-size: 22px; padding: 6px 12px; border: 3px solid; border-radius: 12px; opacity: 0; transition: opacity .1s; background: var(--card); }
.stamp.yes { left: 20px; color: #0E6B47; transform: rotate(-12deg); }
.stamp.no { right: 20px; color: var(--danger); transform: rotate(12deg); }
.swcard.show-yes .stamp.yes, .swcard.show-no .stamp.no { opacity: 1; }
.sw-btns { display: flex; gap: 14px; align-items: center; }
.swb { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.swb svg { width: 26px; height: 26px; }
.swb.yes { width: 68px; height: 68px; background: var(--tomato); color: var(--ink); }
.swb.no { width: 68px; height: 68px; }
.swb.undo, .swb.info { width: 46px; height: 46px; box-shadow: 2px 2px 0 var(--ink); }
.swb.undo svg, .swb.info svg { width: 20px; height: 20px; }
.swb:disabled { opacity: .35; }
.swb:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.sw-done { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 40px 10px; }
.sw-done b { font-size: 26px; letter-spacing: -0.02em; }
.sw-done p { color: var(--mute); max-width: 32ch; }
.match { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(22,22,22,.55); }
.match-in { background: var(--lime); color: var(--ink); border-radius: 28px; padding: 26px 28px; text-align: center; display: grid; gap: 8px; justify-items: center; transform: rotate(-3deg); box-shadow: 6px 6px 0 var(--ink); max-width: 300px; }
.match-st { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; }
.match-in b { font-size: 20px; }
.avs.big .av { width: 34px; height: 34px; font-size: 13px; border-color: var(--lime); }

/* ---------- Einladung ---------- */
.hero.join { min-height: 360px; }
.join-body { padding-top: 22px; }
.join-body h2 { font-size: 26px; }
.seats { display: flex; flex-wrap: wrap; gap: 10px; }
.seat { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 12px; border-radius: 16px; background: var(--card); border: 2px solid var(--ink); font-weight: 800; font-size: 17px; box-shadow: 3px 3px 0 var(--ink); }
.seat i { width: 24px; height: 24px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); }
.trip-pick { width: 100%; text-align: left; }
.trip-pick.on { border-color: var(--ink); }

/* ---------- Fotos ---------- */
img.ph { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--soft); }
img.ph.broken { visibility: hidden; }
.card.has-ph { padding-top: 0; overflow: hidden; }
.card-ph { margin: 0 -16px 12px; height: 150px; overflow: hidden; border-radius: calc(var(--r) - 2px) calc(var(--r) - 2px) 0 0; }
.card.has-ph .ok { top: 10px; }
.idea-ph { width: 78px; flex: none; border-radius: 14px; overflow: hidden; margin: -2px 2px -2px -4px; min-height: 86px; }
.mini.has-ph { grid-template-columns: 76px 1fr; column-gap: 12px; }
.mini.has-ph > :not(.mini-ph) { grid-column: 2; }
.mini-ph { grid-row: 1 / span 4; grid-column: 1; border-radius: 14px; overflow: hidden; align-self: stretch; min-height: 96px; }
.sw-top.with-ph { position: relative; padding: 0; flex: 1; min-height: 0; align-content: start; }
.sw-top.with-ph .sw-ph { position: absolute; inset: 0; }
.sw-top.with-ph .st { position: relative; margin: 16px; z-index: 1; }
.sw-title { padding: 14px 20px 0; display: grid; gap: 4px; }
.sw-title h2 { font-size: clamp(26px, 8vw, 34px); line-height: 1.02; letter-spacing: -0.03em; overflow-wrap: break-word; hyphens: auto; }
.sw-title p { color: var(--mute); font-weight: 650; }
.sw-title + .sw-body { padding-top: 10px; }
.slide-ph { position: absolute; left: 0; right: 0; top: 0; height: 52%; }
.slide-ph::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: linear-gradient(transparent, var(--bg)); }
.slide.with-ph .slide-in { padding-top: 0; }
.fav.has-ph { padding-top: 0; overflow: hidden; }
img.ph.fav-ph { height: 84px; flex: none; margin: 0 -14px 0; width: calc(100% + 28px); border-radius: 18px 18px 0 0; }
.fav.has-ph::before { display: none; }
.fav.has-ph b { margin-top: 2px; }
.sh-ph { margin: 0 -18px; height: 210px; position: relative; }
.sh-ph figcaption { position: absolute; right: 10px; bottom: 8px; font-size: 11px; background: rgba(22,22,22,.6); color: #fff; padding: 3px 8px; border-radius: 8px; }
.sh-ph figcaption a { color: #fff; text-decoration: none; }
