/* Max & Eva auf Weltreise
   Zwei Schriften: Fraunces (weiche Serif, Überschriften & Notizen) und Figtree (Text & Bedienung).
   Farben aus der Landschaft: Waldgrün, Ocker, warmes Papier. */

@font-face { font-family: 'Fraunces'; src: url(/assets/fonts/fraunces.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url(/assets/fonts/fraunces-italic.woff2) format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(/assets/fonts/figtree.woff2) format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(/assets/fonts/figtree-italic.woff2) format('woff2'); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  --paper: #F8F6F1;
  --sand: #EFEAE0;
  --raised: #FFFDF9;
  --ink: #1C2620;
  --green: #2E5B45;
  --green-soft: #DDE6DC;
  --ochre: #C8922E;
  --live: #D9473A;
  --land: #E6E0D2;
  --ochre-ink: #8F6215;
  --line: rgba(28, 38, 32, 0.12);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Figtree', ui-sans-serif, system-ui, sans-serif;
  --pad: clamp(20px, 5.5vw, 48px);
  --max: 1120px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; -webkit-tap-highlight-color: transparent; }
img, video, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 450; font-variation-settings: 'SOFT' 100, 'WONK' 0; letter-spacing: -0.01em; }
.note-i { font-family: var(--serif); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.wrap { width: min(calc(100% - 2 * var(--pad)), var(--max)); margin-inline: auto; }
.ico { width: 22px; height: 22px; flex: none; }
.note { margin: 10px 0 0; font-size: 15px; min-height: 1.5em; }
.warn { color: var(--live); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform 0.15s, background 0.15s; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; }
.btn.wide { width: 100%; }
.btn.ghost { background: none; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.link { padding: 0; border: 0; background: none; color: var(--green); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; cursor: pointer; }

/* ================================================================ Kopfzeile */
.top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: calc(env(safe-area-inset-top) + 14px) var(--pad) 0; color: #fff; }
.top a, .top button { color: inherit; }
.brand { font-family: var(--serif); font-style: italic; font-size: 20px; font-variation-settings: 'SOFT' 100, 'WONK' 1; text-decoration: none; }
.me { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border: 0; background: none; font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; }
.top.solid { position: static; color: var(--ink); padding-bottom: 6px; }
@media (min-width: 900px) { .top { position: static; color: var(--ink); width: min(calc(100% - 2 * var(--pad)), var(--max)); margin: 0 auto; padding: 22px 0 0; } }

/* ================================================================ Titel + Live */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "live"; }
.hero-photo { grid-area: photo; position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--land); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before { content: ''; position: absolute; inset: 0 0 70%; z-index: 1; background: linear-gradient(rgba(10, 14, 11, 0.35), transparent); }
.hero-photo::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(10, 14, 11, 0.62)); }
.hero-text { grid-area: photo; align-self: end; z-index: 1; padding: 0 var(--pad) 26px; color: #fff; }
.hero-kicker { margin: 0 0 6px; font-family: var(--serif); font-style: italic; font-size: 17px; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.hero-title { margin: 0; font-size: clamp(46px, 13vw, 68px); font-weight: 400; line-height: 0.98; letter-spacing: -0.025em; }
.hero-title span { display: block; font-style: italic; font-weight: 300; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.live { grid-area: live; padding: 26px var(--pad) 0; min-width: 0; }
@media (min-width: 900px) {
  .hero { width: min(calc(100% - 2 * var(--pad)), var(--max)); margin: 28px auto 0; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); grid-template-rows: auto 1fr; grid-template-areas: "photo text" "photo live"; column-gap: 56px; }
  .hero-photo { border-radius: 4px; }
  .hero-photo::before, .hero-photo::after { display: none; }
  .hero-text { grid-area: text; align-self: end; padding: 0; color: var(--ink); }
  .hero-kicker { color: var(--green); font-size: 19px; }
  .hero-title { font-size: clamp(64px, 7vw, 98px); }
  .live { padding: 36px 0 0; }
}

.live-where { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.live-top { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.live-dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--live); animation: blink 1.8s ease-in-out infinite; }
.live-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--live); opacity: 0; animation: ping 1.8s ease-out infinite; }
.live-dot.off { background: var(--ochre); animation: none; }
.live-dot.off::after { display: none; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes ping { 0% { transform: scale(0.5); opacity: 0.7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.live-place { display: block; margin-top: 4px; font-family: var(--serif); font-size: clamp(30px, 8vw, 40px); line-height: 1.08; letter-spacing: -0.015em; font-variation-settings: 'SOFT' 100; }
.live-place .ico { display: inline-block; width: 22px; height: 22px; margin-left: 4px; vertical-align: -2px; opacity: 0.5; }
.live-meta { display: block; margin-top: 6px; font-size: 15.5px; }
.live-ms { margin: 14px 0 0; font-family: var(--serif); font-size: 18px; font-variation-settings: 'SOFT' 100; }
.live-ms b { color: var(--ochre-ink); font-style: italic; font-weight: 500; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.live-next { margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-size: 17px; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.live-next b { font-style: normal; font-weight: 500; }
.live-stories { margin-top: 22px; }
.live-label { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.live-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px -4px 0; }
.live-row::-webkit-scrollbar { display: none; }
.ls { position: relative; flex: 0 0 auto; width: 102px; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--land); cursor: pointer; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--live); }
.ls.seen { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--line); }
.ls img { width: 100%; height: 100%; object-fit: cover; }
.ls::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); }
.ls-time { position: absolute; z-index: 1; left: 9px; bottom: 8px; color: #fff; font-size: 12px; font-weight: 600; }
.ls-voice { justify-content: center; }
.ls-voice .ico { width: 30px; height: 30px; }
.ls-text { display: flex; align-items: center; height: 100%; padding: 12px; background: var(--green); color: #fff; font-family: var(--serif); font-size: 15px; line-height: 1.25; text-align: left; }
@media (min-width: 900px) { .ls { width: 122px; } }

.intro { margin: 34px auto 0; }
.intro p { margin: 0; max-width: 34ch; font-family: var(--serif); font-size: clamp(21px, 5.4vw, 25px); line-height: 1.38; font-variation-settings: 'SOFT' 100; }
.intro .sig { display: block; margin-top: 10px; font-style: italic; font-size: 18px; color: var(--green); font-variation-settings: 'SOFT' 100, 'WONK' 1; }

/* ================================================================ Abschnitte */
.block { margin-top: clamp(56px, 10vw, 104px); }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.block-head h2 { margin: 0; font-size: clamp(30px, 7vw, 40px); line-height: 1.05; }
.block-head .sub { font-family: var(--serif); font-style: italic; font-size: 17px; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.seg { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--sand); font-size: 14px; font-weight: 600; }
.seg button { padding: 6px 13px; border: 0; border-radius: 999px; background: none; cursor: pointer; }
.seg button[aria-pressed='true'] { background: var(--raised); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.more { display: inline-block; margin-top: 18px; padding: 0; border: 0; background: none; color: var(--green); font-size: 16px; font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* Momente (Highlights) */
.hl-row { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; padding: 4px max(var(--pad), (100% - var(--max)) / 2) 6px; }
.hl-row::-webkit-scrollbar { display: none; }
.hl { flex: 0 0 auto; width: 80px; padding: 0; border: 0; background: none; cursor: pointer; text-align: center; }
.hl-ring { display: block; width: 80px; height: 80px; padding: 2.5px; border-radius: 50%; background: var(--ochre); }
.hl.seen .hl-ring { background: var(--line); padding: 1.5px; }
.hl-img { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--land); border: 2.5px solid var(--paper); }
.hl-img img { width: 100%; height: 100%; object-fit: cover; }
.hl-name { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 500; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 760px) { .hl, .hl-ring { width: 96px; } .hl-ring { height: 96px; } .hl-row { gap: 22px; } }

/* Karte */
.map-wrap { position: relative; margin-inline: calc(-1 * var(--pad)); }
.map { aspect-ratio: 1 / 0.9; background: var(--paper); }
.map-open { position: absolute; top: 12px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--raised); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); cursor: pointer; }
.map-open .ico { width: 18px; height: 18px; }
@media (min-width: 760px) { .map-wrap { margin-inline: 0; } .map { aspect-ratio: 2.15 / 1; border-radius: 4px; } }
.mapfull { position: fixed; inset: 0; z-index: 35; background: var(--paper); }
.mapfull-map { position: absolute; inset: 0; }
.mapfull-map .map-svg { width: 100%; height: 100%; }
.mapfull-bar { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: calc(env(safe-area-inset-top) + 8px) 14px 10px 8px; background: linear-gradient(var(--paper) 55%, transparent); }
.zoom { position: absolute; z-index: 2; right: 14px; bottom: calc(env(safe-area-inset-bottom) + 18px); display: grid; overflow: hidden; border-radius: 14px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12); }
.zoom button { width: 46px; height: 46px; border: 0; background: var(--raised); font-size: 22px; cursor: pointer; }
.zoom button + button { border-top: 1px solid var(--line); }
.map-svg { width: 100%; height: 100%; }
.map-svg.live { touch-action: none; cursor: grab; }
.land { fill: var(--land); }
.borders { fill: none; stroke: rgba(28, 38, 32, 0.18); stroke-width: 0.7; vector-effect: non-scaling-stroke; }
.route { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.route-future { fill: none; stroke: var(--green); stroke-linecap: round; opacity: 0.7; }
.m-stop { fill: var(--green); stroke: var(--paper); }
.m-ring { fill: none; stroke: var(--ochre); }
.m-home { fill: var(--ink); }
.m-plan { fill: var(--paper); stroke: var(--green); }
.m-label { font-family: var(--sans); font-weight: 600; fill: var(--ink); stroke: var(--paper); paint-order: stroke; stroke-linejoin: round; }
.m-now { fill: var(--ink); font-weight: 750; }
.m-hit { fill: transparent; cursor: pointer; }
.m-cluster circle { fill: var(--green); stroke: var(--paper); }
.m-cluster.now circle { fill: var(--ochre); }
.m-cluster text { fill: #fff; font-family: var(--sans); font-weight: 700; }

.tally { margin: 20px 0 0; max-width: 32ch; font-family: var(--serif); font-size: clamp(20px, 5vw, 24px); line-height: 1.4; font-variation-settings: 'SOFT' 100; }
.tally b { font-weight: 500; color: var(--green); }

/* Reiseverlauf als Zeitleiste */
.timeline { list-style: none; margin: 30px 0 0; padding: 0; }
.tl { position: relative; padding: 0 0 22px 30px; }
.tl::before { content: ''; position: absolute; left: 6px; top: 12px; bottom: -6px; width: 2px; background: var(--green-soft); }
.tl:last-child::before { display: none; }
.tl-dot { position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--paper); }
.tl.plan .tl-dot { background: var(--paper); border: 2px solid var(--green); }
.tl.plan::before { background: repeating-linear-gradient(var(--green-soft) 0 4px, transparent 4px 9px); }
.tl.now .tl-dot { background: var(--ochre); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px rgba(200, 146, 46, 0.35); }
.tl.home .tl-dot { background: var(--ink); width: 10px; height: 10px; left: 2px; top: 8px; }
.tl.ms { padding-bottom: 18px; }
.tl.ms .tl-dot { left: 2px; top: 8px; width: 10px; height: 10px; border-radius: 2px; background: var(--ochre); transform: rotate(45deg); }
.tl-ms { display: block; color: var(--ochre-ink); font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.3; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.tl-ms span { font-size: 15px; }
.tl button { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.tl-date { display: block; font-family: var(--serif); font-style: italic; font-size: 15px; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.tl-name { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; }
.tl-name small { font-size: 15px; font-weight: 400; margin-left: 4px; }
.tl.now .tl-date { color: var(--ochre); font-style: normal; font-family: var(--sans); font-weight: 700; font-size: 13.5px; }
.tl button:hover .tl-name { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* Geschichten */
.stories { display: grid; gap: 34px; }
.story a { display: block; text-decoration: none; }
.story figure { margin: 0 0 14px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: var(--land); }
.story img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform 0.9s var(--ease); }
.story a:hover img { transform: scale(1.025); }
.story-meta { margin: 0 0 4px; font-family: var(--serif); font-style: italic; font-size: 15.5px; color: var(--green); font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.story h3 { margin: 0; font-size: 25px; line-height: 1.15; text-wrap: balance; }
.story-ex { margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-by { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.story.lead figure { aspect-ratio: 4 / 5; margin-inline: calc(-1 * var(--pad)); border-radius: 0; }
.story.lead h3 { font-size: clamp(32px, 8.5vw, 50px); line-height: 1.04; letter-spacing: -0.02em; }
@media (max-width: 759px) {
  .story:not(.lead) a { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; }
  .story:not(.lead) figure { aspect-ratio: 1; margin: 0; }
  .story:not(.lead) h3 { font-size: 21px; }
  .story:not(.lead) .story-ex { -webkit-line-clamp: 2; font-size: 15.5px; }
}
@media (min-width: 760px) {
  .stories { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 30px; row-gap: 52px; }
  .story.lead { grid-column: 1 / -1; }
  .story.lead a { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: center; }
  .story.lead figure { aspect-ratio: 4 / 3; margin: 0; border-radius: 4px; }
  .story.lead.tall a { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .story.lead.tall figure { aspect-ratio: 4 / 5; }
  .story.lead .story-ex { font-size: 18px; -webkit-line-clamp: 5; }
  .stories .more { grid-column: 1 / -1; }
}

/* Abschluss mit Illustration */
.closing { margin-top: clamp(72px, 12vw, 128px); background: var(--sand); }
.closing-photo { position: relative; margin: 0; overflow: hidden; }
.closing-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 14% 50%; }
.closing-photo h2 { position: absolute; top: clamp(22px, 5vw, 64px); left: var(--pad); right: var(--pad); margin: 0; color: #fff; font-size: clamp(36px, 9.6vw, 80px); line-height: 1.02; text-wrap: balance; text-shadow: 0 1px 24px rgba(20, 60, 110, 0.3); }
@media (min-width: 700px) { .closing-photo img { aspect-ratio: 2 / 1; object-position: 50% 20%; } .closing-photo h2 { left: max(var(--pad), calc((100% - var(--max)) / 2)); } }
.closing-in { padding-top: 28px; padding-bottom: 20px; }
.closing-in p { margin: 0 0 16px; max-width: 40ch; }
.foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0 max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; }
.foot a { font-weight: 600; text-decoration: none; }
.gift { font-family: var(--serif); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-size: 15px; }

/* Plus */
.fab {
  position: fixed; z-index: 30; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%;
  background: var(--green); color: #fff; cursor: pointer; box-shadow: 0 8px 22px rgba(46, 91, 69, 0.35); transition: transform 0.2s var(--ease);
}
.fab:active { transform: scale(0.94); }
.fab .ico { width: 26px; height: 26px; stroke-width: 2; }
.fab .badge { position: absolute; top: -2px; right: -2px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--live); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 0 0 2px var(--paper); }

/* Sheet */
.sheet-back { position: fixed; inset: 0; z-index: 40; background: rgba(15, 20, 16, 0.4); opacity: 0; transition: opacity 0.22s; }
.sheet {
  position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; margin-inline: auto; max-width: 560px; max-height: 86vh; overflow-y: auto;
  padding: 8px 22px max(26px, calc(env(safe-area-inset-bottom) + 14px)); background: var(--raised); border-radius: 22px 22px 0 0;
  transform: translateY(100%); transition: transform 0.26s var(--ease);
}
.sheet-open .sheet { transform: none; }
.sheet-open .sheet-back { opacity: 1; }
.sheet-grip { width: 38px; height: 4px; margin: 0 auto 20px; border-radius: 2px; background: var(--line); }
.ss-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ss-img { display: grid; place-items: center; flex: none; width: 62px; height: 62px; border-radius: 50%; overflow: hidden; background: var(--land); color: var(--green); }
.ss-img img { width: 100%; height: 100%; object-fit: cover; }
.ss-head h3 { margin: 0; font-size: 28px; line-height: 1.1; }
.ss-head p { margin: 3px 0 0; font-family: var(--serif); font-style: italic; font-size: 16px; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.ss-list { list-style: none; margin: 16px 0 0; padding: 0; }
.ss-list a { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.ss-list img, .ss-list a > span:first-child { width: 56px; height: 56px; border-radius: 4px; object-fit: cover; background: var(--land); }
.ss-list b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 450; line-height: 1.2; }
.ss-list small { font-size: 13.5px; }
.ss-edit { display: inline-block; margin-top: 20px; font-size: 15px; font-weight: 600; color: var(--green); }
.plus { display: grid; }
.plus a { display: flex; align-items: center; gap: 16px; padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; text-decoration: none; }
.plus a:last-child { border-bottom: 0; }
.plus a .ico { color: var(--green); }
.plus small { margin-left: auto; padding: 1px 8px; border-radius: 10px; background: var(--live); color: #fff; font-size: 12.5px; font-weight: 700; }
.acc h3 { margin: 0 0 4px; font-size: 26px; }
.acc p { margin: 0 0 18px; }
.acc .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }

/* ================================================================ Geschichte */
.post-head { padding: clamp(36px, 7vw, 76px) 0 clamp(26px, 4vw, 44px); }
.post-meta { margin: 0 0 12px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--green); font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.post-title { margin: 0; max-width: 18ch; font-size: clamp(38px, 9vw, 72px); font-weight: 400; line-height: 1.03; letter-spacing: -0.025em; text-wrap: balance; }
.post-cover { margin: 0 0 clamp(32px, 6vw, 60px); }
.post-cover img, .post-cover video { width: 100%; max-height: min(90vh, 960px); object-fit: cover; }
.post-cover.tall { width: min(calc(100% - 2 * var(--pad)), 600px); margin-inline: auto; }
.post-cover.tall img { height: auto; max-height: none; object-fit: fill; border-radius: 4px; }
@media (max-width: 640px) { .post-cover.tall { width: 100%; } .post-cover.tall img { border-radius: 0; } }
.prose { width: min(calc(100% - 2 * var(--pad)), 36rem); margin-inline: auto; font-size: 18.5px; line-height: 1.72; }
.prose p { margin: 0 0 1.15em; hyphens: auto; -webkit-hyphens: auto; }
.prose > p:first-child { font-family: var(--serif); font-size: 1.25em; line-height: 1.5; font-variation-settings: 'SOFT' 100; }
.prose h2 { margin: 1.8em 0 0.5em; font-size: 28px; line-height: 1.2; }
.prose blockquote { margin: 1.6em 0; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.35; color: var(--green); font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.prose blockquote p { margin: 0; }
.prose a { color: var(--green); text-decoration-thickness: 1.5px; text-underline-offset: 0.15em; }
.prose figure { margin: 2.2em 0; }
.prose figure img, .prose figure video { width: 100%; height: auto; }
.bleed { width: min(100vw, 1080px); margin-left: 50% !important; transform: translateX(-50%); }
@media (min-width: 760px) { .bleed { width: min(calc(100vw - 2 * var(--pad)), 1080px); } .bleed img { border-radius: 4px; } }
.prose figure.portrait img { width: auto; max-width: 100%; max-height: 90vh; margin-inline: auto; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 2.2em 0; }
.pair figure { margin: 0; }
.pair img { width: 100% !important; height: 100% !important; aspect-ratio: 3 / 4; object-fit: cover; max-height: none !important; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(56px, 9vw, 100px); padding-top: 18px; border-top: 1px solid var(--line); }
.nb { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.nb-k { font-size: 13.5px; font-weight: 600; color: var(--green); }
.nb span:last-child { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.nb.older { text-align: right; }
.post-missing { padding: 80px 0; }

/* ================================================================ Reaktionen & Kommentare */
.reacts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; max-width: 460px; }
.react { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 44px; padding: 0 4px; border: 0; border-radius: 999px; background: var(--sand); font-size: 20px; cursor: pointer; transition: transform 0.15s, background 0.15s; }
.react b { font-size: 14px; font-weight: 700; }
.react.on { background: var(--green-soft); box-shadow: inset 0 0 0 1.5px var(--green); }
.react.pop { transform: scale(1.14); }
.social { width: min(calc(100% - 2 * var(--pad)), 36rem); margin: clamp(48px, 8vw, 80px) auto 0; }
.cm-title { margin: 44px 0 4px; font-size: 28px; }
.cm-list { list-style: none; margin: 0; padding: 0; }
.cm-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cm-list .avatar { width: 36px; height: 36px; background: var(--sand); color: var(--ink); }
.cm-list li.us .avatar { background: var(--green); color: #fff; }
.cm-head { display: flex; gap: 10px; align-items: baseline; margin: 0; }
.cm-head b { font-size: 15.5px; font-weight: 700; }
.cm-head span { font-family: var(--serif); font-style: italic; font-size: 14px; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.cm-body { margin: 3px 0 0; }
.cm-none { display: block !important; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--green); }
.cm-form { position: relative; display: grid; gap: 8px; margin-top: 18px; }
.cm-form textarea { width: 100%; min-height: 96px; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--sand); font-size: 17px; outline: none; resize: vertical; }
.cm-form textarea:focus { box-shadow: inset 0 0 0 1.5px var(--green); }
.cm-send { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cm-as { font-size: 14px; }
.cm-msg { font-size: 14px; }
.login-hint { margin: 18px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--sand); }

/* ================================================================ Story-Ansicht */
.locked, .locked body { overflow: hidden; }
.viewer { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; background: #090B0A; color: #fff; user-select: none; -webkit-user-select: none; touch-action: none; }
.viewer.open { display: flex; animation: vin 0.2s ease-out; }
@keyframes vin { from { opacity: 0; } }
.v-stage { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; transition: transform 0.18s; }
@media (min-width: 700px) { .v-stage { width: auto; height: min(94vh, 920px); aspect-ratio: 9 / 16; border-radius: 14px; } }
.v-media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.v-media img, .v-media video { width: 100%; height: 100%; object-fit: cover; }
.v-media img.wide, .v-media video.wide { position: relative; object-fit: contain; }
.v-media .v-blur { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(28px) brightness(0.55); }
.v-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent 18%, transparent 58%, rgba(0, 0, 0, 0.6)); }
.viewer.is-text .v-shade { display: none; }
.v-bars { position: absolute; z-index: 3; top: max(10px, env(safe-area-inset-top)); left: 10px; right: 10px; display: flex; gap: 4px; }
.v-bars span { flex: 1; height: 2.5px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, 0.32); }
.v-bars i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.v-top { position: absolute; z-index: 4; top: calc(max(10px, env(safe-area-inset-top)) + 12px); left: 14px; right: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.v-where { font-size: 14.5px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3); }
.v-close, .v-sound { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border: 0; background: none; color: #fff; cursor: pointer; font-size: 13px; font-weight: 600; }
.v-sound { position: absolute; z-index: 4; right: 8px; top: calc(max(10px, env(safe-area-inset-top)) + 54px); }
.v-bottom { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 14px calc(max(12px, env(safe-area-inset-bottom)) + 4px); }
.v-cap { padding: 0 4px; pointer-events: none; }
.v-cap p { margin: 0 0 6px; font-family: var(--serif); font-size: 21px; line-height: 1.3; text-wrap: balance; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); font-variation-settings: 'SOFT' 100; }
.v-by { display: block; font-size: 13.5px; font-weight: 600; }
.v-song { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin-top: 12px; padding: 8px 14px 8px 11px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; text-decoration: none; cursor: pointer; }
.v-song .ico { width: 17px; height: 17px; display: block; }
.v-song.muted { opacity: 0.75; }
.v-song-ico { display: grid; }
.v-song-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 600; }
.v-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.v-reply { flex: 1; height: 44px; padding: 0 18px; border: 1.5px solid rgba(255, 255, 255, 0.65); border-radius: 999px; background: none; color: #fff; font-size: 15px; text-align: left; cursor: pointer; }
.v-heart { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 4px; border: 0; background: none; color: #fff; cursor: pointer; }
.v-heart .ico { width: 30px; height: 30px; stroke-width: 1.8; transition: transform 0.15s; }
.v-heart.on .ico { fill: var(--live); stroke: var(--live); transform: scale(1.08); }
.v-heart b { min-width: 1ch; font-size: 14px; font-weight: 700; }
.v-panel { position: absolute; z-index: 8; left: 0; right: 0; bottom: 0; padding: 12px 18px calc(env(safe-area-inset-bottom) + 18px); background: var(--raised); color: var(--ink); border-radius: 22px 22px 0 0; transform: translateY(100%); transition: transform 0.22s var(--ease); }
.v-panel.open { transform: none; }
.v-panel-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 19px; }
.v-panel-head button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; background: none; cursor: pointer; }
.v-emojis { display: flex; justify-content: space-between; margin: 8px 0 6px; }
.v-emojis button { width: 50px; height: 50px; border: 0; border-radius: 50%; background: none; font-size: 30px; cursor: pointer; transition: transform 0.12s; }
.v-emojis button:active { transform: scale(1.25); }
.v-emojis button.on { background: var(--green-soft); }
.v-burst { position: absolute; z-index: 9; font-size: 46px; pointer-events: none; animation: burst 0.9s ease-out forwards; }
@keyframes burst { 0% { opacity: 0; transform: translate(-50%, 0) scale(0.5); } 20% { opacity: 1; transform: translate(-50%, -30px) scale(1.25); } 100% { opacity: 0; transform: translate(-50%, -170px) scale(1); } }
.v-tap { position: absolute; z-index: 1; top: 0; bottom: 0; border: 0; background: none; opacity: 0; }
.v-prev { left: 0; width: 33%; }
.v-next { right: 0; width: 67%; }
.v-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 36px 30px; background: var(--green); color: #fff; }
.v-text p { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(30px, 8.5vw, 42px); line-height: 1.15; text-wrap: balance; font-variation-settings: 'SOFT' 100; }
.v-text p.long { font-size: 25px; line-height: 1.35; }
.v-text span { font-family: var(--serif); font-style: italic; font-size: 18px; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.v-arrow { display: none; }
@media (min-width: 700px) and (hover: hover) {
  .v-arrow { display: block; position: fixed; top: 50%; transform: translateY(-50%); padding: 24px; border: 0; background: none; color: #fff; font-size: 26px; cursor: pointer; }
  .v-arrow:disabled { visibility: hidden; }
  .v-arrow-l { left: 4vw; }
  .v-arrow-r { right: 4vw; }
}

/* ================================================================ Willkommen (Zugang) */
.welcome { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; }
.welcome-art { background: var(--sand); padding: calc(env(safe-area-inset-top) + 28px) var(--pad) 0; }
.welcome-art svg { width: 100%; max-width: 520px; margin: 0 auto -2px; }
.welcome main { width: min(calc(100% - 2 * var(--pad)), 460px); margin: 0 auto; padding: 34px 0 60px; }
.welcome h1 { margin: 0; font-size: clamp(40px, 11vw, 56px); line-height: 1; letter-spacing: -0.025em; }
.welcome h1 span { display: block; font-style: italic; font-weight: 300; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.welcome .lede { margin: 16px 0 26px; font-size: 17.5px; }
.tabs { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--sand); margin-bottom: 22px; }
.tabs button { flex: 1; padding: 10px; border: 0; border-radius: 999px; background: none; font-weight: 600; cursor: pointer; }
.tabs button[aria-selected='true'] { background: var(--raised); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.form { display: grid; gap: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 13px 16px; border: 0; border-radius: 12px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); font-size: 17px; outline: none; -webkit-appearance: none; }
.field textarea { resize: none; min-height: 76px; }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--green); }
.check { display: flex; gap: 10px; align-items: center; font-size: 15.5px; }
.check input { width: 20px; height: 20px; accent-color: var(--green); }
.done-msg h2 { margin: 0 0 8px; font-size: 30px; }

/* ================================================================ Schreiben / Verwalten */
.compose main { max-width: 640px; margin: 0 auto; padding-bottom: max(48px, env(safe-area-inset-bottom)); }
.c-bar {
  position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 52px 1fr 92px; align-items: center;
  min-height: 56px; padding: env(safe-area-inset-top) 6px 0; background: rgba(248, 246, 241, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.c-bar h1 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 450; text-align: center; }
.c-icon { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.c-act { text-align: right; padding-right: 10px; }
.c-act button, .c-act a { padding: 8px 0; border: 0; background: none; color: var(--green); font-size: 16px; font-weight: 750; text-decoration: none; cursor: pointer; }
.c-act button:disabled { opacity: 0.4; }
.c-progress { position: sticky; top: calc(56px + env(safe-area-inset-top)); z-index: 10; height: 3px; background: var(--land); }
.c-progress i { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); transition: transform 0.25s; }
.c-pad { padding-inline: var(--pad); }
.c-label { display: block; margin: 28px 0 4px; font-size: 13px; font-weight: 600; }

.c-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 3px; }
.c-add { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 1; background: var(--land); font-size: 13.5px; font-weight: 650; cursor: pointer; }
.c-add:only-child { grid-column: 1 / -1; aspect-ratio: 2.4 / 1; }
.c-add .ico { width: 28px; height: 28px; stroke-width: 1.8; }
.c-add input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.c-thumb { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--land); }
.c-thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-thumb.busy::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--green); transform-origin: left; animation: busy 1.1s ease-in-out infinite; }
@keyframes busy { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.c-thumb.bad { outline: 3px solid var(--green); outline-offset: -3px; }
.c-x { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgba(10, 11, 14, 0.6); color: #fff; cursor: pointer; }
.c-x .ico { width: 16px; height: 16px; stroke-width: 2; }
.c-badge { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; background: rgba(10, 11, 14, 0.6); color: #fff; font-size: 11.5px; font-weight: 650; }
.c-first { background: var(--green); }
.c-vid { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 650; }

.c-title { width: 100%; margin-top: 18px; padding: 6px 0; border: 0; background: none; font-family: var(--serif); font-size: 28px; font-weight: 450; letter-spacing: -0.01em; outline: none; color: inherit; }
.c-text { width: 100%; min-height: 3em; margin-top: 8px; padding: 8px 0; border: 0; background: none; font: inherit; font-size: 17px; line-height: 1.55; outline: none; resize: none; color: inherit; }
.c-title::placeholder, .c-text::placeholder, .c-v input::placeholder { color: var(--ink); opacity: 0.4; }
.c-help { margin: 4px 0 0; font-size: 13px; font-weight: 500; }

.c-rows { margin-top: 18px; border-top: 1px solid var(--line); }
.c-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding-inline: var(--pad); border-bottom: 1px solid var(--line); }
.c-k { flex: none; width: 100px; font-size: 15px; font-weight: 620; }
.c-v { flex: 1; min-width: 0; display: flex; justify-content: flex-end; align-items: center; gap: 14px; font-size: 15.5px; }
.c-v input, .c-v select { width: 100%; min-width: 0; padding: 12px 0; border: 0; border-radius: 0; background: none; font: inherit; color: inherit; text-align: right; outline: none; -webkit-appearance: none; appearance: none; }
.c-v select { color: var(--green); font-weight: 650; text-align-last: right; cursor: pointer; }
.c-v input[type='datetime-local'], .c-v input[type='date'] { width: auto; }
.c-v input:focus { color: var(--green); }
.c-hint { font-size: 14px; font-weight: 500; white-space: nowrap; }
.c-link { padding: 4px 0; border: 0; background: none; color: var(--green); font-size: 14.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.c-seg { display: flex; gap: 16px; }
.c-seg button { padding: 4px 0; border: 0; border-bottom: 2px solid transparent; background: none; font-weight: 600; cursor: pointer; }
.c-seg button[aria-pressed='true'] { color: var(--green); border-bottom-color: var(--green); }
.c-switch { position: relative; display: inline-block; width: 46px; height: 28px; cursor: pointer; }
.c-switch input { position: absolute; opacity: 0; }
.c-switch span { position: absolute; inset: 0; border-radius: 14px; background: var(--land); transition: background 0.2s; }
.c-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 0.2s var(--ease); }
.c-switch input:checked + span { background: var(--green); }
.c-switch input:checked + span::after { transform: translateX(18px); }
.c-status { min-height: 1.5em; margin: 16px 0 0; font-size: 15px; font-weight: 500; }

.c-results { list-style: none; margin: 0; padding: 0; background: var(--raised); }
.c-results button { display: block; width: 100%; padding: 12px var(--pad); border: 0; border-bottom: 1px solid var(--line); background: none; font-size: 14.5px; text-align: left; cursor: pointer; }

.c-sec { margin-top: 32px; }
.c-sec h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 22px; font-weight: 450; }
.c-covers { display: flex; gap: 8px; overflow-x: auto; padding: 4px var(--pad) 6px; scrollbar-width: none; }
.c-covers button { flex: none; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; background: var(--land); cursor: pointer; }
.c-covers img { width: 100%; height: 100%; object-fit: cover; }
.c-covers button[aria-pressed='true'] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--green); }

.c-entries, .c-stations, .c-queue ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.c-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px var(--pad); border-bottom: 1px solid var(--line); }
.c-entry a, .c-stations a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; text-decoration: none; min-width: 0; }
.c-entry img, .c-noimg { width: 48px; height: 48px; object-fit: cover; background: var(--land); }
.c-noimg { display: block; background: var(--green); }
.c-entry b, .c-stations b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 620; }
.c-entry small, .c-stations small { display: block; font-size: 13px; font-weight: 500; }
.c-entry select { max-width: 120px; padding: 6px 0; border: 0; background: none; color: var(--green); font: inherit; font-size: 13.5px; font-weight: 650; text-align: right; text-align-last: right; -webkit-appearance: none; appearance: none; cursor: pointer; }
.c-stations li { padding: 8px var(--pad); border-bottom: 1px solid var(--line); }
.c-stations a { grid-template-columns: 52px minmax(0, 1fr); }
.c-circle .ico, .ss-img .ico { width: 22px; height: 22px; margin: auto; }
.c-circle { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--land); }
.c-circle img { width: 100%; height: 100%; object-fit: cover; }
.c-danger { margin-top: 28px; }
.c-queue { margin-top: 24px; }
.c-queue h2 { margin: 0 0 8px; font-size: 15px; color: var(--green); }
.c-queue li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.c-queue .btn { margin-top: 14px; }
.compose .plus { margin-top: 12px; }

/* Song-Auswahl in der Schreib-App */
.c-songval { display: flex; align-items: center; justify-content: flex-end; gap: 4px; min-width: 0; }
.c-songchip { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 4px 0; border: 0; background: none; text-align: right; cursor: pointer; }
.c-songchip img, .c-songchip .ico { width: 38px; height: 38px; object-fit: cover; flex: none; order: 2; }
.c-songchip span { display: flex; flex-direction: column; min-width: 0; }
.c-songchip b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 650; }
.c-songchip small { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-songx .ico { width: 16px; height: 16px; }
.c-songsheet { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: var(--paper); }
.c-search { width: 100%; margin: 14px 0 8px; padding: 13px 14px; border: 0; border-radius: 10px; background: var(--raised); font: inherit; font-size: 17px; outline: none; -webkit-appearance: none; }
.c-songs { list-style: none; margin: 0; padding: 0; }
.c-songs li { display: flex; align-items: center; gap: 10px; padding: 8px var(--pad); border-bottom: 1px solid var(--line); }
.c-songs-msg { font-size: 15px; }
.c-pick { flex: 1; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.c-pick img { width: 52px; height: 52px; object-fit: cover; background: var(--land); }
.c-pick span { min-width: 0; }
.c-pick b, .c-pick small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-pick b { font-weight: 650; }
.c-pick small { font-size: 13.5px; }
.c-play { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; cursor: pointer; }
.c-comments { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.c-comments li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px var(--pad); border-bottom: 1px solid var(--line); }
.c-comments p { margin: 0; }
.c-comments p:first-child { font-size: 13.5px; }


/* Verwalten: Anfragen, Startseite, Mitreisende */
.c-req { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.c-req li { padding: 14px var(--pad); border-bottom: 1px solid var(--line); }
.c-req .who { display: flex; align-items: center; gap: 12px; }
.c-req .who b { display: block; font-weight: 650; }
.who .avatar { position: relative; overflow: hidden; }
.who .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-req li.big .avatar { width: 72px; height: 72px; font-size: 26px; }
.c-req li.big .msg, .c-req li.big .acts { margin-left: 84px; }
.c-req .who small { display: block; font-size: 13.5px; }
.c-req .msg { margin: 8px 0 0 48px; font-family: var(--serif); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.c-req .acts { display: flex; gap: 10px; margin: 12px 0 0 48px; }
.c-req .btn { padding: 9px 18px; font-size: 15px; }
.c-hero { position: relative; margin: 4px var(--pad) 0; aspect-ratio: 4 / 5; max-width: 320px; overflow: hidden; border-radius: 6px; background: var(--land); cursor: crosshair; }
.c-hero img { width: 100%; height: 100%; object-fit: cover; }
.c-hero .focus { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.3); pointer-events: none; }
.c-hero-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px var(--pad) 0; }
.c-hero-acts label { position: relative; overflow: hidden; }
.c-hero-acts input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.c-intro { display: block; width: calc(100% - 2 * var(--pad)); margin: 10px var(--pad) 0; min-height: 110px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--serif); font-size: 18px; line-height: 1.45; outline: none; resize: vertical; }
.c-arrive { padding: 24px var(--pad); }
.c-arrive .place { margin: 8px 0 4px; font-family: var(--serif); font-size: 34px; line-height: 1.1; }

.offline { position: sticky; top: 0; z-index: 30; margin: 0; padding: calc(env(safe-area-inset-top) + 8px) var(--pad) 8px; background: var(--ink); color: #fff; font-size: 14px; text-align: center; }

/* Als App aufs Handy */
.inst h3 { margin: 0 0 8px; font-size: 26px; }
.inst p { margin: 0 0 16px; }
.inst h4 { margin: 18px 0 6px; font-size: 15px; font-weight: 700; }
.inst-steps { margin: 0; padding-left: 22px; }
.inst-steps li { margin: 0 0 10px; padding-left: 4px; line-height: 1.45; }
.inst-tip { margin: 0 0 18px; }
.dr-app { display: block; padding: 11px 0; border: 0; background: none; font-family: var(--serif); font-size: 24px; line-height: 1.2; text-align: left; cursor: pointer; font-variation-settings: 'SOFT' 100; }

/* ================================================================ Seitenmenü */
.burger { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.burger .ico { width: 26px; height: 26px; stroke-width: 1.8; }
.drawer-back { position: fixed; inset: 0; z-index: 45; background: rgba(15, 20, 16, 0.4); opacity: 0; transition: opacity 0.25s; }
.drawer { position: fixed; z-index: 46; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); overflow-y: auto; overscroll-behavior: contain; padding: calc(env(safe-area-inset-top) + 10px) 22px calc(env(safe-area-inset-bottom) + 28px); background: var(--paper); transform: translateX(-102%); transition: transform 0.28s var(--ease); }
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-back { opacity: 1; }
.dr-head { display: flex; align-items: center; justify-content: space-between; margin: 0 -10px 6px 0; }
.dr-head .brand { font-size: 22px; }
.dr-nav { list-style: none; margin: 0 0 8px; padding: 0; }
.dr-nav a { display: block; padding: 11px 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; text-decoration: none; font-variation-settings: 'SOFT' 100; }
.dr-k { margin: 26px 0 6px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.dr-land h4 { margin: 14px 0 2px; font-family: var(--serif); font-style: italic; font-size: 19px; font-weight: 450; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.dr-st { list-style: none; margin: 0; padding: 0; }
.dr-st button { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 10px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.dr-st span { display: inline-flex; align-items: center; gap: 8px; font-size: 16.5px; font-weight: 560; }
.dr-st small { flex: none; font-size: 13.5px; font-weight: 500; }
.dr-st .cur span { color: var(--live); font-weight: 650; }
.dr-st .cur small { color: var(--live); }
.dr-st .live-dot { width: 8px; height: 8px; }
.dr-st.plan span { font-weight: 500; }
.dr-start { text-wrap: balance; margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-size: 16px; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.dr-foot { display: flex; gap: 22px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.dr-foot a, .dr-foot .link { font-size: 16px; font-weight: 650; color: var(--green); text-decoration: none; }

/* ================================================================ Geschenk-Seite (/fuer-euch) */
.geschenk { min-height: 100vh; background: var(--paper); }
.gift-in { max-width: 560px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 48px) var(--pad) calc(env(safe-area-inset-bottom) + 64px); text-align: center; }
.gift-face { display: block; width: 148px; height: 148px; margin: 0 auto 22px; }
.gift-kicker { margin: 0; color: var(--ochre-ink); font-family: var(--serif); font-style: italic; font-size: 17px; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.gift-text h1 { margin: 10px 0 28px; font-size: clamp(32px, 9vw, 44px); line-height: 1.1; font-weight: 420; font-variation-settings: 'SOFT' 100, 'WONK' 1; text-wrap: balance; }
.gift-text h2 { margin: 36px 0 20px; color: var(--green); font-size: clamp(28px, 8vw, 36px); line-height: 1.1; font-weight: 450; font-variation-settings: 'SOFT' 100, 'WONK' 1; text-wrap: balance; }
.gift-text p { margin: 0 0 18px; font-size: 17.5px; line-height: 1.6; text-wrap: pretty; }
.gift-text a { color: var(--green); font-weight: 600; white-space: nowrap; }
.gift-text p b { font-weight: 650; letter-spacing: 0.02em; white-space: nowrap; }
.gift-text ul { margin: 4px 0 34px; padding: 0; list-style: none; }
.gift-text li { padding: 0 6px; font-size: 17px; line-height: 1.5; text-wrap: balance; }
.gift-text li + li::before { content: ''; display: block; width: 5px; height: 5px; margin: 13px auto; border-radius: 50%; background: var(--ochre); }
.gift-text > p:last-child { margin: 34px 0 34px; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.45; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.gift-go { display: flex; justify-content: center; width: 100%; min-height: 56px; margin-top: 12px; font-size: 17px; }
.gift-small { margin: 18px 0 0; text-align: center; font-size: 15px; }
.gift-small a { color: var(--green); font-weight: 650; }
@media (prefers-reduced-motion: no-preference) {
  .gift-in > * { animation: giftIn 0.7s var(--ease) both; }
  .gift-in > :nth-child(2) { animation-delay: 0.15s; }
  .gift-in > :nth-child(3) { animation-delay: 0.3s; }
  .gift-in > :nth-child(4) { animation-delay: 0.6s; }
  .gift-text li { animation: giftIn 0.5s var(--ease) both; animation-delay: calc(0.45s + var(--i, 0) * 0.05s); }
}
@keyframes giftIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Selfie bei der Konto-Anfrage */
.field .selfie { display: flex; align-items: center; gap: 16px; margin: 0; font-weight: 400; cursor: pointer; }
.selfie-img { flex: none; display: grid; place-items: center; width: 76px; height: 76px; overflow: hidden; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.selfie-img svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.selfie-img img { width: 100%; height: 100%; object-fit: cover; }
.selfie-txt { display: flex; flex-direction: column; gap: 3px; font-size: 15px; line-height: 1.4; }
.selfie-txt b { color: var(--green); font-size: 16px; }

/* Anmelden in der Schreib-App: wer bist du? */
.field .label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.who-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; }
.who-pick button { min-height: 64px; padding: 0; border: 0; border-radius: 12px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--serif); font-size: 24px; cursor: pointer; }
.who-pick button[aria-pressed='true'] { background: var(--green); color: #fff; box-shadow: none; }

/* ================================================================ Jetzt */
.jz-on, .jz-on main { background: #0d0f0e; }
.jz-on .compose main, .compose.jz-on main { padding-bottom: 0; }
.jz { display: flex; flex-direction: column; min-height: 100dvh; color: #fff; }
.jz-top { display: grid; grid-template-columns: 52px 1fr 104px; align-items: center; min-height: 56px; padding: env(safe-area-inset-top) 6px 0; }
.jz-top b { text-align: center; font-family: var(--serif); font-size: 23px; font-weight: 450; font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.jz-x { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.jz-clock { padding-right: 12px; text-align: right; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.jz-clock.late { color: var(--ochre); font-size: 13.5px; }
.jz-stage { position: relative; flex: none; width: min(100%, 520px); aspect-ratio: 3 / 4; margin: 0 auto; overflow: hidden; border-radius: 16px; background: #000; }
.jz-stage video, .jz-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jz video.mirror { transform: scaleX(-1); }
.jz-hint { position: absolute; left: 0; right: 0; top: 50%; margin: 0; padding: 0 24px; transform: translateY(-50%); text-align: center; font-family: var(--serif); font-size: 28px; line-height: 1.3; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5); pointer-events: none; }
.jz-hint.big { font-size: 110px; font-weight: 400; }
.jz-hint label { pointer-events: auto; font-family: var(--sans); text-shadow: none; }
.jz-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.jz-stage.flash .jz-flash { animation: jzflash 0.35s ease-out; }
@keyframes jzflash { from { opacity: 0.85; } to { opacity: 0; } }
.jz-bottom { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: min(100%, 520px); margin: 0 auto; padding: 18px var(--pad) calc(18px + env(safe-area-inset-bottom)); }
.jz-shutter { width: 80px; height: 80px; padding: 0; border: 5px solid #fff; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px #0d0f0e; cursor: pointer; transition: transform 0.12s; }
.jz-shutter:active { transform: scale(0.93); }
.jz-shutter:disabled { opacity: 0.35; }
.jz-cap { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.25); border-radius: 0; background: none; color: #fff; font-size: 17px; outline: none; }
.jz-cap::placeholder { color: rgba(255, 255, 255, 0.55); }
.jz-row { display: flex; justify-content: center; width: 100%; }
.jz-who button { color: rgba(255, 255, 255, 0.65); }
.jz-who button[aria-pressed='true'] { color: #fff; border-bottom-color: #fff; }
.jz-acts { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; width: 100%; }
.jz .btn { min-height: 52px; background: #fff; color: var(--ink); }
.jz .btn.ghost { background: none; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.jz-status { min-height: 1.4em; margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 14.5px; text-align: center; }
.jz-shot { cursor: pointer; }

.c-sub { margin-left: 8px; color: var(--ochre-ink); font-size: 16px; font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.c-intro-t { margin: 0 0 16px; font-size: 15.5px; line-height: 1.5; }
.jz-box p { margin: 0; }
.jz-onstate { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.jz-onstate .live-dot { background: var(--green); }
.jz-onstate .live-dot::after { border-color: var(--green); }
.jz-btns { display: flex; gap: 24px; margin-top: 12px; }
.jz-msg { min-height: 1.3em; margin-top: 10px !important; font-size: 14.5px; }
.jz-note { margin-top: 6px !important; font-size: 14.5px; }
.c-due { display: block; text-decoration: none; }
.c-due b { color: var(--live) !important; font-style: normal !important; }

.v-edit { display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; color: #fff; }
.v-edit .ico { width: 21px; height: 21px; }
.post-edit { display: inline-block; margin-top: 10px; color: var(--green); font-size: 15px; font-weight: 650; }
.v-jetzt { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.38); font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; }

/* ================================================================ Sprachnachrichten */
.vplay { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vplay-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--green); color: #fff; cursor: pointer; }
.vplay-btn .ico { width: 18px; height: 18px; }
.vplay-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.vplay-label { font-size: 15px; font-weight: 620; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vplay-bar { position: relative; height: 3px; background: var(--land); overflow: hidden; }
.vplay-bar i { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(0); }
.vplay-dur { flex: none; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

.c-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.c-tools .c-help { margin: 0; }
.c-mic { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--green); font-size: 15.5px; font-weight: 700; cursor: pointer; }
.c-mic .ico { width: 21px; height: 21px; }
.c-mic.busy { opacity: 0.55; }
.c-mic.busy .ico { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(0.82); } }
.c-voice { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 6px 0; }
#vstatus { margin: 4px 0 0; min-height: 0; }
#vstatus:empty { display: none; }
.c-voice .vplay { flex: 1; }
.c-voice .c-x { position: static; flex: none; width: 34px; height: 34px; background: var(--land); color: var(--ink); }
.c-pin { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--ink); opacity: 0.45; cursor: pointer; }
.c-pin[aria-pressed='true'] { color: var(--green); opacity: 1; }
.c-pin[aria-pressed='true'] .ico { fill: var(--green-soft); }
.c-pin.busy .ico { animation: pulse 0.9s ease-in-out infinite; }
.c-send { margin-top: 22px; }
.c-ms { margin: 20px 0 4px; font-family: var(--serif); font-size: 18px; line-height: 1.4; font-variation-settings: 'SOFT' 100; }
.c-ms b { color: var(--ochre-ink); font-weight: 500; font-style: italic; }
.c-send .btn { min-height: 52px; }

.rec { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; background: rgba(15, 20, 16, 0.45); opacity: 0; transition: opacity 0.2s; }
.rec.open { opacity: 1; }
.rec-box { width: min(100%, 520px); padding: 26px var(--pad) calc(24px + env(safe-area-inset-bottom)); background: var(--paper); border-radius: 18px 18px 0 0; transform: translateY(30px); transition: transform 0.25s var(--ease); text-align: center; }
.rec.open .rec-box { transform: none; }
.rec-state { margin: 0; font-size: 15.5px; font-weight: 600; }
.rec-time { margin: 6px 0 0; font-family: var(--serif); font-size: 46px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rec-bars { display: flex; align-items: center; justify-content: center; gap: 4px; height: 64px; margin: 14px 0 18px; }
.rec-bars i { width: 4px; height: 100%; border-radius: 2px; background: var(--green); transform: scaleY(0.1); transition: transform 0.08s; }
.rec-acts { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.rec-cancel { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; font-size: 16px; font-weight: 600; cursor: pointer; }
.rec-stop { display: grid; place-items: center; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 5px var(--paper), 0 0 0 7px rgba(217, 71, 58, 0.35); cursor: pointer; }
.rec-stop span { width: 24px; height: 24px; border-radius: 5px; background: #fff; }
.rec-stop:disabled { opacity: 0.4; }
.rec-box .vplay { margin: 18px 0 22px; text-align: left; }
.rec-pick { display: grid; gap: 10px; }
.rec-pick .btn { min-height: 52px; }
.rec-pick .link { justify-self: center; margin-top: 4px; min-height: 36px; }
.rec-foot { display: flex; justify-content: space-between; margin-top: 18px; }
.rec-foot .link { color: var(--ink); font-weight: 600; text-decoration-color: var(--line); }

.post-voice { margin: 0 0 28px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.v-voice { pointer-events: auto; display: inline-flex; align-items: center; gap: 9px; margin: 12px 8px 0 0; padding: 8px 14px 8px 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 13.5px; font-weight: 650; cursor: pointer; }
.v-voice.ask { background: #fff; color: var(--ink); }
.v-wave { display: inline-flex; align-items: center; gap: 3px; height: 16px; }
.v-wave i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform: scaleY(0.35); }
.v-voice.on .v-wave i, .v-text-voice .v-wave i { animation: wave 0.9s ease-in-out infinite; }
.v-wave i:nth-child(2n) { animation-delay: -0.3s !important; }
.v-wave i:nth-child(3n) { animation-delay: -0.6s !important; }
@keyframes wave { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.v-text-voice { gap: 18px; align-items: center; }
.v-text-voice .v-wave { height: 72px; gap: 7px; }
.v-text-voice .v-wave i { width: 6px; border-radius: 3px; }

/* iPhone zoomt in Felder mit Schrift unter 16 px – das verhindern */
@media (pointer: coarse) { input, select, textarea { font-size: max(16px, 1em) !important; } }

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