/* Reise-Planer neu (Testseite /planer-neu, 27.09.2026) — Gestaltung zur Schicht planer-neu.js.
   Gilt nur mit body[data-pn="1"]; /trips bleibt unberührt.
   Leitlinien: mobil zuerst (Leiste unten, Sheets von unten, Daumen-Tippflächen ≥ 44 px), Glas statt Kästen,
   Fotos tragen die Orientierung, EINE laute Aktion je Ansicht, Warnfarben nur für Warnstufen (Regel 2),
   Überschriften in Unbounded, Knöpfe aus der Kappen-Familie (.kp). Bewegung aus bei „weniger Bewegung". */

body[data-pn="1"] {
  --pn-lila: #9B7FFF;
  --pn-lila-2: #7B5CFF;
  --pn-lila-weich: rgba(155,127,255,0.16);
  --pn-glas: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025)), rgba(10,16,38,0.66);
  --pn-glas-dicht: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)), rgba(8,13,32,0.94);
  --pn-kante: inset 0 0 0 1px rgba(255,255,255,0.085), inset 0 1px 0 rgba(255,255,255,0.07);
  --pn-schatten: 0 18px 44px rgba(0,0,0,0.38);
  --pn-r: 22px;
  --pn-r-klein: 14px;
  --pn-leiste-h: 64px;
  --pn-unten: env(safe-area-inset-bottom, 0px);
  --pn-weich: cubic-bezier(.2,.85,.25,1);
}

/* ── Altes, das der neue Aufbau ersetzt (bleibt im DOM, Knöpfe werden per .click() ausgelöst) ────────────── */
body[data-pn="1"] .td-back,
body[data-pn="1"] .trip-detail > .td-head,
body[data-pn="1"] .trip-detail > .tab-bar,
body[data-pn="1"] #trip-guide,
body[data-pn="1"] #welcome-banner,
body[data-pn="1"] .pl-knoepfe,
body[data-pn="1"] .pl-wege,
body[data-pn="1"] #btn-add-stop,
body[data-pn="1"] #btn-cal-toggle { display: none !important; }

/* #list-view { display: grid } in trips.html schlug [hidden] — die Startfläche stand über jeder geöffneten Reise */
body[data-pn="1"] #list-view[hidden], body[data-pn="1"] [hidden].pn-tabs { display: none !important; }

/* Die Reise steht ohne Kasten auf der Seite — Tiefe kommt aus Foto, Karten und Schatten */
body[data-pn="1"] .trip-detail {
  background: none; border: 0; padding: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
body[data-pn="1"].pn-in-reise { padding-bottom: calc(var(--pn-leiste-h) + 40px + var(--pn-unten)); }
body[data-pn="1"].pn-in-reise footer { margin-bottom: 30px; }
body[data-pn="1"] .tab-panel { padding-top: 6px; }

/* ── Runde Glasknöpfe ───────────────────────────────────────────────────────────────────────────────────── */
.pn-i { width: 22px; height: 22px; flex: none; display: block; }
.pn-rund {
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; flex: none;
  display: grid; place-items: center; cursor: pointer; color: var(--text);
  background: rgba(255,255,255,0.08); box-shadow: var(--pn-kante);
  transition: transform .15s ease, background .15s ease;
}
.pn-rund .pn-i { width: 20px; height: 20px; }
.pn-rund:hover { background: rgba(255,255,255,0.15); }
.pn-rund:active { transform: scale(.94); }
.pn-rund.glas { background: rgba(6,10,24,0.42); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.pn-rund:focus-visible, .pn-tab:focus-visible, .pn-aktion:focus-visible, .pn-weg:focus-visible, .pn-tag:focus-visible, .pn-chip:focus-visible, .pn-fab:focus-visible, .pn-status-opt:focus-visible {
  outline: 2px solid var(--pn-lila); outline-offset: 2px;
}

/* ── Chips (Status, Lage, Filter) ───────────────────────────────────────────────────────────────────────── */
.pn-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 11px; border: 0; border-radius: 999px;
  font: 600 13px/1 var(--font); color: var(--text); cursor: pointer; white-space: nowrap;
  background: rgba(255,255,255,0.09); box-shadow: var(--pn-kante);
  transition: background .15s ease, transform .15s ease;
}
.pn-chip:hover { background: rgba(255,255,255,0.15); }
.pn-chip:active { transform: scale(.97); }
.pn-chip .pn-i { width: 16px; height: 16px; }
.pn-chip.an { background: linear-gradient(90deg, rgba(123,92,255,0.5), rgba(155,127,255,0.32)); box-shadow: inset 0 0 0 1px rgba(190,170,255,0.55); }
.pn-chip.stufe i { width: 9px; height: 9px; border-radius: 50%; background: var(--pn-stufe); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pn-stufe) 28%, transparent); }
.pn-chip.stufe.s0 { --pn-stufe: #0A9E8A; }
.pn-chip.stufe.s1 { --pn-stufe: #E8A73C; }
.pn-chip.stufe.s2 { --pn-stufe: #E2732B; }
.pn-chip.stufe.s3 { --pn-stufe: #CE2350; }
/* Statusfarben bewusst außerhalb der Warnpalette (Regel 2) */
.pn-chip.status, .pn-status-opt { --pn-st: #9B7FFF; }
.s-booked { --pn-st: #5FB3FF !important; }
.s-active { --pn-st: #3DE0FF !important; }
.s-completed { --pn-st: #8FA6C8 !important; }
.s-cancelled { --pn-st: #6B7890 !important; }
.pn-chip.status { background: color-mix(in srgb, var(--pn-st) 22%, rgba(6,10,24,0.5)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pn-st) 45%, transparent); }
.pn-chip.status .pn-i { color: var(--pn-st); }

/* ── Foto-Kopf einer Reise ──────────────────────────────────────────────────────────────────────────────── */
.pn-held {
  position: relative; isolation: isolate; overflow: hidden; align-items: stretch; gap: 20px;
  border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  margin: -16px calc(50% - 50vw + var(--sbw, 0px) / 2) 18px;
  min-height: clamp(300px, 44vw, 440px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 14px max(16px, calc(50vw - 600px)) 26px;
}
.pn-held-bild { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #0A1330; }
.pn-held-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 60% 40%; animation: pnFahrt 22s var(--pn-weich) both; }
.pn-held::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4,9,20,0.55) 0%, rgba(4,9,20,0) 28%, rgba(4,9,20,0.1) 50%, rgba(4,9,20,0.86) 88%, var(--bg, #040914) 100%),
    linear-gradient(90deg, rgba(4,9,20,0.55), rgba(4,9,20,0) 60%);
}
.pn-held-leiste { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pn-held-rechts { display: flex; gap: 10px; }
.pn-held-text { max-width: 760px; display: grid; gap: 8px; animation: pnAuf .6s var(--pn-weich) .1s both; }
.pn-held-countdown {
  margin: 0; justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  font: 700 11.5px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #E6DEFF;
}
.pn-held-countdown::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--pn-lila); box-shadow: 0 0 12px var(--pn-lila); }
.pn-held-countdown.live::before { background: #3DE0FF; box-shadow: 0 0 12px #3DE0FF; animation: pnPuls 1.8s ease-in-out infinite; }
.pn-held-titel {
  margin: 0; font-family: var(--font-brand); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08;
  font-size: clamp(27px, 4.6vw, 48px); text-wrap: balance; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.pn-held-daten { margin: 0; font: 500 14.5px/1.4 var(--font); color: rgba(235,242,255,0.86); }
.pn-held-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pn-held-chips .pn-chip { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* ── Navigation der Reise ───────────────────────────────────────────────────────────────────────────────── */
.pn-tabs {
  position: fixed; z-index: 700; left: 10px; right: 10px; bottom: calc(10px + var(--pn-unten));
  height: var(--pn-leiste-h); padding: 6px; box-sizing: border-box;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px;
  border-radius: 24px; background: rgba(8,13,32,0.82);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.09), 0 18px 40px rgba(0,0,0,0.5);
  animation: pnHoch .45s var(--pn-weich) backwards;
}
.pn-tabs[hidden] { display: none; }
.pn-tabs-marke {
  position: absolute; left: 0; top: 6px; bottom: 6px; width: 0; border-radius: 18px; pointer-events: none;
  background: linear-gradient(180deg, rgba(155,127,255,0.34), rgba(123,92,255,0.2)); box-shadow: inset 0 0 0 1px rgba(190,170,255,0.35);
  transition: transform .35s var(--pn-weich), width .35s var(--pn-weich);
}
.pn-tab {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; border-radius: 18px; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--text3); font: 600 10.5px/1 var(--font); letter-spacing: .01em; transition: color .2s ease;
}
.pn-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-tab .pn-i { width: 22px; height: 22px; transition: transform .25s var(--pn-weich); }
.pn-tab:hover { color: var(--text2); }
.pn-tab.an { color: #fff; }
.pn-tab.an .pn-i { transform: translateY(-1px) scale(1.06); color: #D9CCFF; }
@media (min-width: 900px) {
  /* Am Desktop dieselbe Leiste als Dock unten in der Mitte, Beschriftung neben dem Symbol */
  .pn-tabs { left: 50%; right: auto; bottom: 22px; transform: translateX(-50%); width: max-content; height: 58px;
    grid-template-columns: repeat(5, max-content); border-radius: 999px; animation: pnHochMitte .45s var(--pn-weich) backwards; }
  .pn-tab { flex-direction: row; gap: 8px; padding: 0 18px; font-size: 13.5px; border-radius: 999px; }
  .pn-tabs-marke { border-radius: 999px; }
  .pn-tab .pn-i { width: 19px; height: 19px; }
}
@keyframes pnHochMitte { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translateX(-50%); } }

/* ── Schwebender Knopf ──────────────────────────────────────────────────────────────────────────────────── */
.pn-fab {
  position: fixed; z-index: 710; right: 16px; bottom: calc(18px + var(--pn-unten));
  height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, #8C6BFF, #6A4DF0 60%, #5A3FE0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 14px 34px rgba(106,77,240,0.55), 0 4px 12px rgba(0,0,0,0.35);
  transition: transform .2s var(--pn-weich), box-shadow .2s ease, bottom .3s var(--pn-weich);
  animation: pnPop .5s var(--pn-weich) .2s backwards; /* nicht „both": sonst hält die Animation transform fest und „verdeckt" greift nicht */
}
.pn-fab .pn-i { width: 22px; height: 22px; stroke-width: 2.4; transition: transform .3s var(--pn-weich); }
.pn-fab:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 18px 40px rgba(106,77,240,0.65), 0 4px 12px rgba(0,0,0,0.35); }
.pn-fab:hover .pn-i { transform: rotate(90deg); }
.pn-fab:active { transform: scale(.96); }
/* In einer Reise: rund, über der Leiste */
.pn-fab.in-reise { width: 58px; height: 58px; padding: 0; justify-content: center; bottom: calc(var(--pn-leiste-h) + 24px + var(--pn-unten)); }
.pn-fab.in-reise span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pn-fab.in-reise .pn-i { width: 26px; height: 26px; }
body[data-pn="1"].pn-sheet-offen .pn-fab { transform: scale(.8); opacity: 0; pointer-events: none; }
@media (min-width: 900px) {
  .pn-fab { right: max(24px, calc(50vw - 640px)); bottom: 28px; }
  .pn-fab.in-reise { width: auto; height: 56px; padding: 0 22px 0 18px; bottom: 28px; }
  .pn-fab.in-reise span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .pn-fab.in-reise .pn-i { width: 22px; height: 22px; }
}

/* ── Sheets ─────────────────────────────────────────────────────────────────────────────────────────────── */
.pn-sheet-wrap { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: flex-end; justify-content: center; }
.pn-sheet-grund {
  position: absolute; inset: 0; background: rgba(2,5,14,0.58);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .28s ease;
}
.pn-sheet {
  position: relative; width: 100%; max-height: min(88vh, 88dvh); display: flex; flex-direction: column;
  border-radius: 28px 28px 0 0; background: var(--pn-glas-dicht);
  -webkit-backdrop-filter: blur(30px) saturate(1.5); backdrop-filter: blur(30px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), inset 0 0 0 1px rgba(255,255,255,0.07), 0 -20px 60px rgba(0,0,0,0.5);
  transform: translateY(104%); transition: transform .38s var(--pn-weich);
}
.pn-sheet::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 120px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 100% at 0% 0%, rgba(155,127,255,0.16), transparent 60%), radial-gradient(90% 100% at 100% 0%, rgba(61,224,255,0.07), transparent 60%);
}
.pn-sheet-wrap.offen .pn-sheet-grund { opacity: 1; }
.pn-sheet-wrap.offen .pn-sheet { transform: none; }
.pn-sheet-griff { width: 42px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.22); margin: 10px auto 2px; flex: none; }
.pn-sheet-kopf { margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 18px 12px 22px; flex: none; }
.pn-sheet-kopf h2 { margin: 0; font-family: var(--font-brand); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.pn-sheet-kopf p { margin: 5px 0 0; font-size: 13.5px; color: var(--text3); }
.pn-sheet-kopf .pn-rund { width: 38px; height: 38px; margin-top: -2px; }
.pn-sheet:focus { outline: none; }
.pn-sheet-inhalt { position: relative; overflow-y: auto; overscroll-behavior: contain; padding: 4px 12px calc(20px + var(--pn-unten)); }
@media (min-width: 760px) {
  .pn-sheet-wrap { align-items: center; padding: 24px; }
  .pn-sheet { width: min(540px, 100%); max-height: min(84vh, 760px); border-radius: 28px; transform: translateY(18px) scale(.97); opacity: 0; transition: transform .32s var(--pn-weich), opacity .22s ease; }
  .pn-sheet-wrap.offen .pn-sheet { opacity: 1; }
  .pn-sheet-griff { visibility: hidden; height: 0; margin: 6px auto 0; }
  .pn-sheet-inhalt { padding-bottom: 20px; }
  .pn-sheet.pn-sheet-wege { width: min(720px, 100%); }
}

/* Aktionsliste im Sheet */
.pn-aktionen { display: grid; gap: 2px; }
.pn-aktion {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; align-items: center; gap: 14px;
  min-height: 62px; padding: 9px 12px; border: 0; border-radius: 16px; background: none; cursor: pointer; text-align: left; color: var(--text);
  transition: background .15s ease, transform .15s ease;
  animation: pnAuf .34s var(--pn-weich) both;
}
.pn-aktion:hover { background: rgba(255,255,255,0.06); }
.pn-aktion:active { transform: scale(.985); background: rgba(255,255,255,0.09); }
.pn-aktion:disabled { opacity: .45; cursor: default; }
.pn-aktion-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #D4C7FF; background: var(--pn-lila-weich); box-shadow: inset 0 0 0 1px rgba(155,127,255,0.22); }
.pn-aktion-ico .pn-i { width: 21px; height: 21px; }
.pn-aktion-text { display: grid; gap: 3px; min-width: 0; }
.pn-aktion-text b { font: 600 15px/1.25 var(--font); }
.pn-aktion-text span { font-size: 12.5px; line-height: 1.35; color: var(--text3); }
.pn-aktion-pfeil { width: 17px; height: 17px; color: var(--text4); transition: transform .2s var(--pn-weich), color .2s ease; }
.pn-aktion:hover .pn-aktion-pfeil { transform: translateX(3px); color: var(--text2); }
.pn-aktion.haupt .pn-aktion-ico { color: #fff; background: linear-gradient(135deg, #8C6BFF, #5A3FE0); box-shadow: 0 8px 20px rgba(106,77,240,0.45); }
/* Löschen: ruhig, nicht rot — Rot gehört den Warnstufen (Regel 2); trips.js fragt vor dem Löschen nach */
.pn-aktion.gefahr .pn-aktion-ico { color: var(--text2); background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); }
.pn-aktion.gefahr b { color: var(--text2); }
.pn-trenner { margin: 12px 14px 4px; font: 700 10.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--text4); }
.pn-trenner:empty { height: 1px; margin: 10px 14px; background: rgba(255,255,255,0.08); }
.pn-aktionen > :nth-child(1) { animation-delay: 0ms; } .pn-aktionen > :nth-child(2) { animation-delay: 25ms; }
.pn-aktionen > :nth-child(3) { animation-delay: 50ms; } .pn-aktionen > :nth-child(4) { animation-delay: 75ms; }
.pn-aktionen > :nth-child(5) { animation-delay: 100ms; } .pn-aktionen > :nth-child(6) { animation-delay: 125ms; }
.pn-aktionen > :nth-child(n+7) { animation-delay: 150ms; }
.pn-leise-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 14px 0 2px; }
.pn-leise-knoepfe button { border: 0; background: none; color: var(--text3); font: 500 13px/1 var(--font); padding: 12px 6px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.2); }
.pn-leise-knoepfe button:hover { color: var(--text); }

/* „Neue Reise": vier Wege als Fotokacheln */
.pn-wege { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 4px 6px 6px; }
.pn-weg {
  position: relative; isolation: isolate; overflow: hidden; border: 0; padding: 0; cursor: pointer; text-align: left; color: #fff;
  min-height: 186px; border-radius: 20px; display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 10px 26px rgba(0,0,0,0.35);
  animation: pnAuf .45s var(--pn-weich) both; animation-delay: calc(var(--i, 0) * 60ms + 60ms);
  transition: transform .25s var(--pn-weich), box-shadow .25s ease;
}
.pn-weg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--pn-weich); }
.pn-weg::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,8,22,0) 20%, rgba(4,8,22,0.55) 55%, rgba(4,8,22,0.92)); }
.pn-weg:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(190,170,255,0.45), 0 16px 34px rgba(0,0,0,0.45); }
.pn-weg:hover img { transform: scale(1.06); }
.pn-weg:active { transform: scale(.98); }
.pn-weg-text { display: grid; gap: 5px; padding: 14px 14px 15px; }
.pn-weg-text b { font-family: var(--font-brand); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.pn-weg-text span { font-size: 12.5px; line-height: 1.35; color: rgba(235,242,255,0.82); }
.pn-weg-pfeil { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; padding: 7px; box-sizing: border-box; border-radius: 50%; background: rgba(6,10,24,0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .25s var(--pn-weich); }
.pn-weg:hover .pn-weg-pfeil { transform: translateX(3px); }
@media (min-width: 760px) { .pn-weg { min-height: 220px; } .pn-weg-text b { font-size: 17px; } }

/* Status wählen */
.pn-status-wahl { display: grid; gap: 6px; padding: 2px 4px 4px; }
.pn-status-opt {
  display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 60px; padding: 10px 16px;
  border: 0; border-radius: 16px; cursor: pointer; text-align: left; color: var(--text); background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); transition: background .15s ease, box-shadow .15s ease;
  animation: pnAuf .34s var(--pn-weich) both; animation-delay: calc(var(--i, 0) * 35ms);
}
.pn-status-opt i { width: 14px; height: 14px; border-radius: 50%; background: var(--pn-st); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pn-st) 22%, transparent); }
.pn-status-opt > span { display: grid; gap: 3px; }
.pn-status-opt b { font: 600 15px/1.2 var(--font); }
.pn-status-opt span span { font-size: 12.5px; color: var(--text3); }
.pn-status-opt:hover { background: rgba(255,255,255,0.08); }
.pn-status-opt.an { background: color-mix(in srgb, var(--pn-st) 16%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--pn-st) 60%, transparent); }

/* ── Karten ─────────────────────────────────────────────────────────────────────────────────────────────── */
.pn-karte { border-radius: var(--pn-r); background: var(--pn-glas); box-shadow: var(--pn-kante), var(--pn-schatten); padding: 18px; }
.pn-kicker { margin: 0 0 4px; font: 700 10.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #BBA9FF; }
.pn-karte h3 { margin: 0; font-family: var(--font-brand); font-size: 17px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; text-wrap: balance; }
.pn-leise { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text3); }
.pn-karte-kopf { display: flex; align-items: center; gap: 14px; }
.pn-karte-kopf > .pn-i { width: 44px; height: 44px; padding: 11px; box-sizing: border-box; border-radius: 14px; color: #D4C7FF; background: var(--pn-lila-weich); }

/* „Als Nächstes" */
.pn-naechstes { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px 16px; align-items: center; margin: 0 0 18px; }
.pn-n-ring {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--pn-lila) calc(var(--p, 0) * 1%), rgba(255,255,255,0.09) 0);
  animation: pnRing 1s var(--pn-weich) .2s both;
}
.pn-n-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #0B1330; }
.pn-n-ring span { position: relative; font: 700 14px/1 var(--font-mono); font-variant-numeric: tabular-nums; color: #E6DEFF; }
.pn-n-text p:not(.pn-kicker) { margin: 5px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--text2); }
.pn-n-knoepfe { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 760px) {
  .pn-naechstes { grid-template-columns: 62px minmax(0, 1fr) auto; }
  .pn-n-knoepfe { grid-column: auto; justify-content: flex-end; max-width: 420px; }
}

/* ── Plan: Tagesleiste, Bänder, Fotos ───────────────────────────────────────────────────────────────────── */
.pn-tage {
  position: sticky; top: var(--pn-nav-h, 62px); z-index: 40; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  margin: 0 0 16px; padding: 10px 16px;
  background: linear-gradient(180deg, rgba(4,9,20,0.97), rgba(4,9,20,0.9) 82%, rgba(4,9,20,0));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pn-tage::-webkit-scrollbar { display: none; }
.pn-tag {
  position: relative; flex: none; scroll-snap-align: center; width: 60px; min-height: 76px; border: 0; border-radius: 18px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text2);
  background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
  transition: background .2s ease, transform .2s var(--pn-weich), color .2s ease;
}
.pn-tag span { font: 600 11px/1 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--text3); }
.pn-tag b { font: 700 21px/1 var(--font-brand); color: var(--text); }
.pn-tag small { font: 500 10px/1 var(--font); color: var(--text4); }
.pn-tag i { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; display: grid; place-items: center; font: 700 10px/1 var(--font-mono); font-style: normal; color: #fff; background: #5A3FE0; box-shadow: 0 0 0 2px #070D1F; }
.pn-tag:hover { background: rgba(255,255,255,0.1); }
.pn-tag.an { background: linear-gradient(160deg, rgba(155,127,255,0.55), rgba(90,63,224,0.45)); box-shadow: inset 0 0 0 1px rgba(200,185,255,0.5), 0 8px 20px rgba(90,63,224,0.35); transform: translateY(-1px); }
.pn-tag.an span, .pn-tag.an small { color: #EDE7FF; }
.pn-tag.heute::after { content: ''; position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: #3DE0FF; }
@media (min-width: 900px) { .pn-tage { padding: 10px 0; } }
body[data-pn="1"] .timeline-day { scroll-margin-top: calc(var(--pn-nav-h, 62px) + 110px); }
body[data-pn="1"] .timeline-day.pn-blitz { animation: pnBlitz 1.1s ease-out; }

/* Land und Stadt mit Foto */
body[data-pn="1"] .js-stop-head.pn-mit-foto {
  position: relative; isolation: isolate; overflow: hidden; min-height: 128px; align-items: flex-end;
  padding: 18px; border-radius: 20px;
  background: linear-gradient(0deg, rgba(4,9,20,0.9), rgba(4,9,20,0.35) 70%, rgba(4,9,20,0.15)), var(--pn-foto) center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 14px 32px rgba(0,0,0,0.35);
}
body[data-pn="1"] .js-stop-head.pn-mit-foto { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto !important; grid-template-areas: "flag title actions" !important; gap: 12px !important; min-height: 156px; }
body[data-pn="1"] .js-stop-head.pn-mit-foto .js-stop-drag { position: absolute; top: 12px; left: 12px; opacity: .7; }
body[data-pn="1"] .js-stop-head.pn-mit-foto .js-stop-flag { grid-area: flag; align-self: end; }
body[data-pn="1"] .js-stop-head.pn-mit-foto .js-stop-meta { grid-area: title; min-width: 0; align-self: end; }
body[data-pn="1"] .js-stop-head.pn-mit-foto .js-stop-actions { grid-area: actions; align-self: start; flex-direction: row !important; }
body[data-pn="1"] .js-stop-head.pn-mit-foto .js-stop-num { display: block; font-size: 11px; letter-spacing: .12em; opacity: .75; margin-bottom: 2px; }
body[data-pn="1"] .js-stop-head.pn-mit-foto .js-stop-sub { color: rgba(235,242,255,0.86); }
body[data-pn="1"] .js-stop-head.pn-mit-foto .js-stop-title { font-size: clamp(21px, 3vw, 28px); text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
body[data-pn="1"] .js-city-band-head.pn-mit-foto {
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(90deg, rgba(4,9,20,0.92) 30%, rgba(4,9,20,0.45)), var(--pn-foto) center / cover no-repeat !important;
}

/* Hinweise als schmale Bänder */
body[data-pn="1"] .pn-band {
  display: flex !important; align-items: center; gap: 12px; margin: 0 0 12px !important; padding: 12px 14px !important;
  border: 0 !important; border-radius: 18px !important; background: var(--pn-glas) !important; box-shadow: var(--pn-kante) !important;
}
body[data-pn="1"] .pn-band .ai-cta-text, body[data-pn="1"] .pn-band .ai-cta-meta, body[data-pn="1"] .pn-band .ai-quota-pill { display: none !important; }
body[data-pn="1"] .pn-band .ai-cta-icon, body[data-pn="1"] .pn-band .js-accom-reminder-icon { font-size: 20px; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--pn-lila-weich); }
body[data-pn="1"] .pn-band .ai-cta-body, body[data-pn="1"] .pn-band .js-accom-reminder-text { flex: 1; min-width: 0; }
body[data-pn="1"] .pn-band .ai-cta-head strong, body[data-pn="1"] .pn-band .js-accom-reminder-head { font-size: 14px; line-height: 1.3; }
body[data-pn="1"] .pn-band .ai-cta-btn { flex: none; }
body[data-pn="1"] .pn-band-hinweis { cursor: pointer; }
body[data-pn="1"] .pn-band .js-accom-reminder-head { color: var(--text); }
body[data-pn="1"] .pn-band .js-accom-reminder-sub { color: var(--text3); font-size: 12.5px; }
@media (max-width: 560px) {
  body[data-pn="1"] .pn-band { flex-wrap: wrap; }
  body[data-pn="1"] .pn-band .ai-cta-btn { width: 100%; justify-content: center; }
}

/* Zeile mit Zahlen und Kartenschalter */
body[data-pn="1"] .journey-actions { gap: 10px; margin-bottom: 14px; }
/* Zahlen und Countdown stehen schon im Foto-Kopf */
body[data-pn="1"] .journey-actions .journey-stats, body[data-pn="1"] .journey-actions .journey-progress { display: none !important; }
@media (max-width: 1099px) { body[data-pn="1"] .journey-actions { display: none !important; } }

/* Einträge: Aktionen je Eintrag ohne Hover sichtbar (am Handy gibt es kein Hover) */
@media (hover: none) {
  body[data-pn="1"] .td-slot-actions, body[data-pn="1"] .ci-remove, body[data-pn="1"] .ci-add-std { opacity: 1 !important; }
}

/* ── Überblick: Kosten und Notizen ──────────────────────────────────────────────────────────────────────── */
.pn-kosten, .pn-notiz { margin-top: 16px; display: grid; gap: 12px; }
.pn-kosten h3 { font-size: 21px; font-variant-numeric: tabular-nums; }
.pn-notiz textarea {
  width: 100%; box-sizing: border-box; min-height: 110px; resize: vertical; padding: 14px 16px; border: 0; border-radius: 16px;
  font: 400 15px/1.5 var(--font); color: var(--text); background: rgba(0,0,0,0.25); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.09);
}
.pn-notiz textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--pn-lila); }
.pn-notiz-fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ── Checkliste: Aktionen immer sichtbar ────────────────────────────────────────────────────────────────── */
body[data-pn="1"] .pn-checkliste .ci-remove, body[data-pn="1"] .pn-checkliste .ci-add-std { opacity: .75; }
body[data-pn="1"] .pn-checkliste .ci-remove { min-width: 36px; min-height: 36px; display: inline-grid; place-items: center; }
body[data-pn="1"] .pn-checkliste .check-cat { border-radius: var(--pn-r); background: var(--pn-glas); box-shadow: var(--pn-kante); padding: 16px 16px 12px; margin-bottom: 14px; border: 0; }
body[data-pn="1"] .pn-checkliste .check-item { min-height: 48px; }

/* ── Startansicht „Meine Reisen" ────────────────────────────────────────────────────────────────────────── */
.pn-kopf-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pn-kopf-knoepfe .kp { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pn-filter { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; }
.pn-filter::-webkit-scrollbar { display: none; }
body[data-pn="1"]:not(.pn-in-reise) { padding-bottom: calc(90px + var(--pn-unten)); }
@media (max-width: 640px) {
  .pn-kopf-knoepfe .kp { flex: 1 1 100%; justify-content: flex-start; }
}

/* ── Alle bestehenden Dialoge im selben Stil: am Handy von unten, am Desktop mittig ──────────────────────── */
body[data-pn="1"] .modal, body[data-pn="1"] .tp-modal, body[data-pn="1"] .tw-modal, body[data-pn="1"] .pn-dlg > div {
  border: 0 !important; border-radius: 28px !important;
  background: var(--pn-glas-dicht) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), inset 0 0 0 1px rgba(255,255,255,0.08), 0 40px 90px rgba(0,0,0,0.6) !important;
}
body[data-pn="1"] .modal-close, body[data-pn="1"] .tp-modal-close {
  width: 38px !important; height: 38px !important; border-radius: 50% !important; border: 0 !important;
  background: rgba(255,255,255,0.08) !important; box-shadow: var(--pn-kante) !important;
}
@media (max-width: 759px) {
  body[data-pn="1"] .modal-overlay, body[data-pn="1"] .tp-modal-overlay, body[data-pn="1"] .pn-dlg { align-items: flex-end !important; padding: 0 !important; }
  body[data-pn="1"] .modal, body[data-pn="1"] .tp-modal, body[data-pn="1"] .pn-dlg > div {
    width: 100% !important; max-width: none !important; max-height: 92vh !important; max-height: 92dvh !important;
    border-radius: 28px 28px 0 0 !important; padding-bottom: calc(18px + var(--pn-unten)) !important;
    animation: pnSheetHoch .38s var(--pn-weich) both !important;
  }
  body[data-pn="1"] .modal::before, body[data-pn="1"] .tp-modal::before, body[data-pn="1"] .pn-dlg > div::before {
    content: ''; display: block; width: 42px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.22); margin: -12px auto 14px;
  }
  body[data-pn="1"] .modal-actions { margin-left: -18px; margin-right: -18px; padding-bottom: calc(14px + var(--pn-unten)); border-radius: 0; }
}

/* ── Auftritt ───────────────────────────────────────────────────────────────────────────────────────────── */
.pn-auf { animation: pnAuf .5s var(--pn-weich) both; animation-delay: calc(var(--pn-i, 0) * 55ms); }
body[data-pn="1"] .tab-panel.active { animation: pnBlende .3s ease both; }

@keyframes pnAuf { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pnBlende { from { opacity: 0; } to { opacity: 1; } }
@keyframes pnHoch { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pnSheetHoch { from { transform: translateY(60%); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes pnPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes pnFahrt { from { transform: scale(1.14) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02); } }
@keyframes pnPuls { 50% { box-shadow: 0 0 0 6px rgba(61,224,255,0); opacity: .6; } }
@keyframes pnRing { from { background: conic-gradient(var(--pn-lila) 0%, rgba(255,255,255,0.09) 0); } }
@keyframes pnBlitz { 0% { box-shadow: 0 0 0 0 rgba(155,127,255,0.7); } 100% { box-shadow: 0 0 0 18px rgba(155,127,255,0); } }

@media (prefers-reduced-motion: reduce) {
  body[data-pn="1"] *, body[data-pn="1"] *::before, body[data-pn="1"] *::after { animation: none !important; transition: none !important; }
}

/* ── Runde 2: Plan ruhiger ──────────────────────────────────────────────────────────────────────────────── */
/* „+ Stadt" steht schon im Länderkopf und im „+"-Sheet */
body[data-pn="1"] .js-cities > .js-add-city-btn { display: none !important; }
body[data-pn="1"] .js-city-chip { border-radius: 18px !important; }
/* Countdown, Zeitraum und Zahlen stehen im Foto-Kopf — der alte Countdown-Block im Überblick fällt weg (lief am Handy auch seitlich über) */
body[data-pn="1"] #tab-overview .ov-hero { display: none !important; }
body[data-pn="1"] #tab-overview > * + * { margin-top: 16px; }

/* ── Runde 2: Checkliste ohne Eingabe-Wand, „Als Nächstes" nur wo es hingehört ─────────────────────────── */
body[data-pn="1"] .pn-checkliste .check-cat:not(.pn-offen) .add-check-row { display: none !important; }
body[data-pn="1"] .pn-checkliste .check-cat h4 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pn-eigen {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 9px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 12.5px/1 var(--font); letter-spacing: 0; text-transform: none; color: #D4C7FF; background: var(--pn-lila-weich); box-shadow: inset 0 0 0 1px rgba(155,127,255,0.25);
}
.pn-eigen .pn-i { width: 16px; height: 16px; transition: transform .25s var(--pn-weich); }
.pn-offen .pn-eigen .pn-i { transform: rotate(45deg); }
.pn-eigen:hover { background: rgba(155,127,255,0.26); }
body[data-pn="1"] .pn-checkliste .check-cat.pn-offen .add-check-row { animation: pnAuf .3s var(--pn-weich) both; }
body[data-pn="1"][data-pn-tab="map"] .pn-naechstes, body[data-pn="1"][data-pn-tab="briefing"] .pn-naechstes, body[data-pn="1"][data-pn-tab="checklist"] .pn-naechstes { display: none; }
/* Handy: Karten mit Luft zum Rand (die Seite selbst hat am Handy keinen Innenabstand) */
@media (max-width: 640px) {
  body[data-pn="1"] #detail-view .trip-detail { padding: 0 12px; }
  body[data-pn="1"] .pn-tage { margin-left: -12px; margin-right: -12px; }
}
.pn-fab.verdeckt:not(.in-reise) { transform: translateY(20px) scale(.85); opacity: 0; pointer-events: none; }

/* ══ Runde 2: neue Struktur — Tage · Route · Karte · Infos · Packliste ══════════════════════════════════════ */
/* Die alte Reiseverlauf-Darstellung bleibt als Motor im DOM, sichtbar sind nur die neuen Ansichten */
body[data-pn="1"] #tab-journey > :not(.pn-ansicht) { display: none !important; }
body[data-pn="1"] .pn-ansicht { display: none; }
body[data-pn="1"][data-pn-ansicht="tage"] #pn-tageplan, body[data-pn="1"][data-pn-ansicht="route"] #pn-route { display: block; animation: pnBlende .3s ease both; }
/* Infos = Überblick und Länder-Briefing untereinander */
body[data-pn="1"][data-pn-ansicht="infos"] #tab-overview, body[data-pn="1"][data-pn-ansicht="infos"] #tab-briefing { display: block !important; opacity: 1 !important; }
body[data-pn="1"] #tab-overview .ov-grid { display: none !important; }
body[data-pn="1"] .pn-naechstes { display: none; }
body[data-pn="1"][data-pn-ansicht="tage"] .pn-naechstes { display: grid; }
body[data-pn="1"] .pn-flagge { width: 30px; height: auto; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,0.18); flex: none; }
.pn-chip.klein { height: 28px; padding: 0 11px 0 9px; font-size: 12px; }
.pn-rund.klein { width: 36px; height: 36px; }
.pn-rund.klein .pn-i { width: 18px; height: 18px; }
.pn-klein-knopf {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 13px/1 var(--font); color: var(--text2); background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.pn-klein-knopf .pn-i { width: 17px; height: 17px; }
.pn-klein-knopf:hover { background: rgba(255,255,255,0.12); color: var(--text); }
.pn-klein-knopf:active { transform: scale(.97); }
.pn-klein-knopf.haupt { color: #E6DEFF; background: var(--pn-lila-weich); box-shadow: inset 0 0 0 1px rgba(155,127,255,0.3); }
.pn-klein-knopf.haupt:hover { background: rgba(155,127,255,0.28); }
.pn-frei { margin: 4px 0 0; font-size: 14px; color: var(--text3); }
.pn-leer { text-align: left; display: grid; gap: 10px; }
.pn-leer-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Eintrag-Sheet ── */
.pn-fakten { margin: 0 6px 12px; display: grid; gap: 2px; }
.pn-fakten > div { display: grid; grid-template-columns: 22px 64px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 4px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.pn-fakten .pn-i { width: 18px; height: 18px; color: var(--pn-farbe, #BBA9FF); align-self: center; }
.pn-fakten dt { font: 600 11.5px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--text3); }
.pn-fakten dd { margin: 0; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.pn-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 6px 10px; }
.pn-links:empty, .pn-mehr-info:empty, .pn-stadt-extra:empty { display: none; }
.pn-mehr-info, .pn-stadt-extra { margin: 12px 6px 0; display: grid; gap: 12px; }
.pn-tagwahl { display: grid; gap: 6px; padding: 2px 4px 4px; }
.pn-tagwahl .pn-status-opt { --pn-st: #9B7FFF; }

/* ── Route ── */

body[data-pn="1"] #pn-route .pn-land { margin-bottom: 14px; border-radius: var(--pn-r); background: var(--pn-glas); box-shadow: var(--pn-kante), var(--pn-schatten); overflow: hidden; }
.pn-land-kopf {
  position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  min-height: 150px; margin: 0; padding: 16px 16px 14px; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  background: linear-gradient(0deg, rgba(8,13,32,0.96), rgba(4,9,20,0.25) 80%), var(--pn-foto, linear-gradient(135deg, #1B2352, #0C1230)) center / cover no-repeat;
}
.pn-land-kopf .pn-flagge { width: 38px; }
.pn-staedte { padding: 10px 12px 14px; display: grid; gap: 6px; position: relative; }
.pn-stadt {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 16px; align-items: center; gap: 12px; width: 100%;
  min-height: 72px; padding: 8px 10px; border: 0; border-radius: 16px; cursor: pointer; text-align: left; color: var(--text); background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); transition: background .15s ease, transform .15s ease;
}
.pn-stadt:hover { background: rgba(255,255,255,0.08); }
.pn-stadt:active { transform: scale(.99); }
.pn-stadt-bild { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #BBA9FF; background: var(--pn-lila-weich) center / cover no-repeat; }
.pn-stadt-bild.mit-bild .pn-i { display: none; }
.pn-stadt-text { display: grid; gap: 3px; min-width: 0; }
.pn-stadt-text > b { font-family: var(--font-brand); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.pn-stadt-text > span { font-size: 13px; color: var(--text3); }
.pn-stadt-text .pn-stadt-nacht { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pn-stadt-nacht .pn-i { width: 15px; height: 15px; color: #BBA9FF; flex: none; }
.pn-stadt-nacht.fehlt { color: #D9CCFF; }
.pn-weg-zwischen {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; margin: 0 0 0 26px; padding: 0 14px 0 10px;
  border: 0; border-radius: 999px; cursor: pointer; font: 500 13px/1.2 var(--font); color: var(--text2); text-align: left;
  background: rgba(155,127,255,0.1); box-shadow: inset 0 0 0 1px rgba(155,127,255,0.22); position: relative;
}
.pn-weg-zwischen::before { content: ''; position: absolute; left: 17px; top: -8px; bottom: -8px; width: 2px; background: rgba(155,127,255,0.25); z-index: -1; }
.pn-weg-zwischen .pn-i { width: 17px; height: 17px; color: #BBA9FF; flex: none; }
.pn-weg-zwischen b { color: var(--text); font-weight: 600; }
.pn-weg-zwischen.offen { background: rgba(255,255,255,0.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); border: 1px dashed transparent; }
.pn-weg-zwischen:hover { background: rgba(155,127,255,0.18); }
.pn-land-fuss { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.pn-route-fuss { display: flex; justify-content: center; margin: 4px 0 18px; }
.pn-heim:empty { display: none; }
.pn-heim { margin-bottom: 14px; }
/* Heimat-Verbinder aus trips.js ruhiger */
body[data-pn="1"] .pn-heim .ts-connector { border-radius: 18px !important; background: var(--pn-glas) !important; box-shadow: var(--pn-kante) !important; border: 0 !important; margin: 0 !important; }
/* Infos: Titel und Zeitraum stehen im Foto-Kopf */
body[data-pn="1"] #tab-briefing .briefing-h1, body[data-pn="1"] #tab-briefing .briefing-sub { display: none !important; }
body[data-pn="1"] #tab-briefing > .pn-band, body[data-pn="1"] #tab-briefing > .pn-karte { margin-top: 16px !important; }
body[data-pn="1"][data-pn-ansicht="infos"] #tab-briefing { padding-top: 10px; }

@media (min-width: 900px) {
  /* Tage und Route als ruhige Lesespalte; Karte und Infos behalten die volle Breite */
  body[data-pn="1"] #pn-tageplan, body[data-pn="1"] #pn-route { max-width: 880px; margin-inline: auto; }
  body[data-pn="1"][data-pn-ansicht="tage"] .pn-naechstes { max-width: 880px; margin-inline: auto; }
  body[data-pn="1"].pn-in-reise { padding-bottom: 110px; }
}

/* trips.js setzt display auf .action-hint und #trip-guide — [hidden] muss trotzdem wirken */
body[data-pn="1"] .action-hint[hidden], body[data-pn="1"] #trip-guide[hidden] { display: none !important; }

/* ══ Runde 3: Aufenthalte, Reisetage, Zeitleiste, Wetter, Fotos ════════════════════════════════════════════ */
.pn-held-route { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 600 13.5px/1.3 var(--font); color: rgba(235,242,255,0.9); }
.pn-held-route i { font-style: normal; color: #BBA9FF; }
.pn-chip.fehlt { background: rgba(155,127,255,0.22); box-shadow: inset 0 0 0 1px rgba(190,170,255,0.5); }

/* Das alte Kopfbild (.has-hero) ragte am Handy 20 px über den Rand — der Foto-Kopf der Testseite ersetzt es */
body[data-pn="1"] .trip-detail.has-hero { background: none !important; margin: 0 !important; overflow: visible; }
body[data-pn="1"] .trip-detail.has-hero::before, body[data-pn="1"] .trip-detail.has-hero::after { content: none !important; display: none !important; }
/* Route: größere Stadtbilder */
.pn-stadt { grid-template-columns: 84px minmax(0, 1fr) 16px; min-height: 92px; padding: 8px 10px 8px 8px; }
.pn-stadt-bild { width: 84px; height: 76px; border-radius: 14px; }
.pn-stadt-bild.mit-bild { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }

/* ══ Runde 4: Tage als Reise-Zeitleiste — klar, luftig, bewegt ═══════════════════════════════════════════ */
body[data-pn="1"] {
  --pn-f1: #0C1230;           /* Fläche */
  --pn-f2: #131B40;           /* erhabene Karte */
  --pn-f3: #1A2350;           /* Hover */
  --pn-linie: rgba(255,255,255,0.07);
}
/* Tagesleiste: schwebende Glasleiste; jede Stadt färbt das Band unter ihren Tagen, Punkte = wie voll der Tag ist */
.pn-tl-rahmen { position: sticky; top: calc(var(--pn-nav-h, 62px) + 8px); z-index: 40; margin: 0 0 20px; }
.pn-tagleiste {
  position: relative; display: flex; align-items: stretch; gap: 4px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 6px; border-radius: 24px; width: 100%; box-sizing: border-box; transition: background-color .35s ease, box-shadow .35s ease;
  /* genau wie das Menü unten (Martin): gleiches Glas, gleiche Kante, gleicher Schatten, gleiche Marke */
  background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)), rgba(12,16,32,0.45);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: var(--pn-kante), 0 18px 40px -14px rgba(0,0,0,0.6);
}
.pn-tagleiste::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .pn-tl-rahmen { margin-left: -4px; margin-right: -4px; } }
.pn-tl-marke { position: absolute; left: 0; top: 6px; bottom: 6px; width: 0; border-radius: 18px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(155,127,255,0.34), rgba(123,92,255,0.2)); box-shadow: inset 0 0 0 1px rgba(190,170,255,0.35);
  transition: transform .45s var(--pn-weich), width .45s var(--pn-weich), opacity .3s ease; }
.pn-tl-monat { flex: none; align-self: center; writing-mode: vertical-rl; transform: rotate(180deg); padding: 6px 2px; margin: 0 1px;
  font: 800 9.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #C9B8FF; border-left: 1px solid rgba(205,190,255,0.22); }
.pn-tl-monat:first-of-type { border-left: 0; }
.pn-tagleiste .pn-tag { position: relative; z-index: 1; flex: 1 0 50px; width: auto; min-height: 64px; padding: 8px 0 12px; border: 0; border-radius: 18px; cursor: pointer; scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: transparent; box-shadow: none; color: var(--text3);
  transition: color .25s ease, background .2s ease, transform .15s ease; }
/* Farbband der Stadt: durchgehend, wenn Nachbartage dieselbe Stadt haben */
.pn-tagleiste .pn-tag::before { content: ''; position: absolute; left: 3px; right: 3px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--pn-tf); opacity: .8; }
.pn-tagleiste .pn-tag span { font: 700 10px/1 var(--font); text-transform: uppercase; letter-spacing: .1em; color: inherit; }
.pn-tagleiste .pn-tag b { font: 700 20px/1 var(--font-brand); color: var(--text); transition: color .25s ease; font-variant-numeric: tabular-nums; }
.pn-tagleiste .pn-tag em { display: flex; gap: 3px; height: 4px; font-style: normal; }
.pn-tagleiste .pn-tag em i { position: static; width: 4px; height: 4px; min-width: 0; padding: 0; border-radius: 50%; background: #C9B8FF; box-shadow: none; }
.pn-tagleiste .pn-tag.leer b { color: var(--text3); }
.pn-tagleiste .pn-tag.leer em::before { content: ''; width: 10px; height: 4px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(205,190,255,0.35); }
.pn-tagleiste .pn-tag:hover:not(.an) { background: rgba(255,255,255,0.07); }
.pn-tagleiste .pn-tag:active { transform: scale(.94); }
.pn-tagleiste .pn-tag.an { background: transparent; box-shadow: none; color: #F1ECFF; }
.pn-tagleiste .pn-tag.an b { color: #fff; }
.pn-tagleiste .pn-tag.an em i { background: #fff; }
.pn-tagleiste .pn-tag.an::before { background: #fff; opacity: .9; }
.pn-tagleiste .pn-tag.heute::after { content: 'heute'; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); padding: 1px 5px; border-radius: 6px;
  font: 800 8px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #06202A; background: #3DE0FF; }
.pn-tagleiste .pn-tag:hover:not(.an) b { color: #fff; }

.pn-tagliste { display: grid; gap: 26px; }

/* Landwechsel: ruhiges Band statt Fotokasten */
.pn-landwechsel { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 6px 2px 14px; border-bottom: 1px solid var(--pn-linie); min-height: 0; margin: 6px 0 0; background: none; box-shadow: none; border-radius: 0; }
.pn-landwechsel .pn-flagge { width: 46px; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.15); }
.pn-lw-text { flex: 1; min-width: 0; }
.pn-lw-text h3 { margin: 2px 0 0; font-family: var(--font-brand); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; text-shadow: none; }
.pn-lw-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) { .pn-landwechsel .pn-lw-knoepfe { flex-basis: 100%; } }

/* Aufenthalt: großes Foto, darunter die Tage an einer Schiene, die sich beim Scrollen füllt */
.pn-aufenthalt { position: relative; display: grid; gap: 14px; }
.pn-af-kopf {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  min-height: 300px; margin: 0; padding: 20px; border: 0; border-radius: 28px;
  background: linear-gradient(180deg, rgba(4,9,20,0) 20%, rgba(4,9,20,0.35) 50%, rgba(6,10,26,0.94) 100%), var(--pn-foto, linear-gradient(135deg, color-mix(in srgb, var(--pn-stadt) 45%, #0C1230), #0C1230 70%)) center / cover no-repeat;
  box-shadow: 0 24px 50px rgba(0,0,0,0.45); -webkit-backdrop-filter: none; backdrop-filter: none;
}
.pn-af-kopf::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); pointer-events: none; }
.pn-af-kopf:not(.mit-foto)::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%); background-size: 250% 100%; animation: pnSchimmer 1.6s linear infinite; }
@keyframes pnSchimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.pn-af-text { display: grid; gap: 6px; max-width: 640px; }
.pn-af-text .pn-kicker { color: #fff; opacity: .9; display: inline-flex; align-items: center; gap: 8px; }
.pn-af-text .pn-kicker::before { content: ''; width: 18px; height: 3px; border-radius: 2px; background: var(--pn-stadt); }
.pn-af-text h3 { margin: 0; font-family: var(--font-brand); font-size: clamp(32px, 7vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,0.5); }
.pn-af-auszug { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(235,242,255,0.86); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pn-af-auszug:empty { display: none; }
.pn-af-fuss { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pn-af-knoepfe { display: flex; gap: 8px; flex: none; }
.pn-af-knoepfe .pn-rund.fehlt { box-shadow: inset 0 0 0 2px rgba(190,170,255,0.8); }
.pn-streifen { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.pn-streifen::-webkit-scrollbar { display: none; }
.pn-streifen span { flex: 0 0 auto; width: 50px; display: grid; justify-items: center; gap: 3px; padding: 8px 2px; border-radius: 14px; background: rgba(6,10,24,0.42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); }
.pn-streifen small { font: 600 10px/1 var(--font); text-transform: uppercase; letter-spacing: .08em; color: rgba(235,242,255,0.75); }
.pn-streifen i { font-style: normal; font-size: 18px; line-height: 1.1; min-height: 20px; }
.pn-streifen b { font: 700 13px/1 var(--font); color: #fff; min-height: 13px; }
.pn-streifen span:has(b:empty) { display: none; }

.pn-af-tage { position: relative; display: grid; gap: 22px; padding: 6px 0 4px 34px; }
.pn-schiene { position: absolute; left: 12px; top: 18px; bottom: 30px; width: 3px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.pn-schiene i { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--pn-fuell, 0) * 100%); border-radius: inherit; background: linear-gradient(180deg, color-mix(in srgb, var(--pn-stadt) 40%, transparent), var(--pn-stadt)); box-shadow: 0 0 14px var(--pn-stadt); transition: height .15s linear; }
.pn-aufenthalt.ist-reisetag .pn-schiene { background: repeating-linear-gradient(180deg, rgba(155,127,255,0.35) 0 6px, transparent 6px 12px); }

/* Reisetag: zwei Fotos, dazwischen ein Pfeil */
.pn-rt-kopf { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: stretch; gap: 0; margin: 0; padding: 0; border: 0; border-radius: 22px; overflow: hidden; min-height: 96px; background: #0C1230; box-shadow: 0 16px 34px rgba(0,0,0,0.35); -webkit-backdrop-filter: none; backdrop-filter: none; }
.pn-rt-ort { position: relative; display: flex; align-items: flex-end; padding: 12px 14px; background: linear-gradient(0deg, rgba(4,9,20,0.9), rgba(4,9,20,0.15)), var(--pn-foto, linear-gradient(135deg, #1B2352, #0C1230)) center / cover no-repeat; }
.pn-rt-ort b { font-family: var(--font-brand); font-size: clamp(13px, 3.6vw, 17px); font-weight: 700; line-height: 1.15; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); hyphens: auto; min-width: 0; }
.pn-rt-ort:last-child { justify-content: flex-end; text-align: right; }
.pn-rt-pfeil { display: grid; place-items: center; background: linear-gradient(180deg, #2A1F6B, #150F3A); color: #E6DEFF; }
.pn-rt-pfeil .pn-i { width: 20px; height: 20px; animation: pnFahren 2.4s ease-in-out infinite; }
@keyframes pnFahren { 50% { transform: translateX(4px); } }

/* Ein Tag = ein Kapitel ohne Kasten */
.pn-tagkarte { position: relative; display: grid; gap: 10px; background: none; box-shadow: none; padding: 0; border-radius: 0; scroll-margin-top: calc(var(--pn-nav-h, 62px) + 96px); }
.pn-tagkarte.vorbei { opacity: .6; }
.pn-tagkarte.heute .pn-tk-titel b { color: #3DE0FF; }
.pn-tagkarte.pn-blitz .pn-tk-kopf { animation: pnBlitzText 1.2s ease-out; }
@keyframes pnBlitzText { 0% { background: rgba(155,127,255,0.3); } 100% { background: transparent; } }
.pn-tk-kopf { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 4px 6px 4px 0; border: 0; border-radius: 14px; background: none; cursor: pointer; text-align: left; color: var(--text); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pn-tk-kopf::before { content: ''; position: absolute; left: -29px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #070C22; box-shadow: 0 0 0 3px var(--pn-stadt), 0 0 14px color-mix(in srgb, var(--pn-stadt) 60%, transparent); }
.pn-tk-titel { flex: 1; min-width: 0; display: grid; gap: 3px; }
.pn-tk-titel b { font-family: var(--font-brand); font-size: 19px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
.pn-tk-titel small { font: 500 13px/1.3 var(--font); color: var(--text3); }
.pn-heute { font-style: normal; margin-left: 6px; padding: 3px 8px; border-radius: 999px; font: 700 10.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #041018; background: #3DE0FF; vertical-align: middle; }
.pn-tk-kopf:hover .pn-tk-titel b { color: #D9CCFF; }
.pn-wetter { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 7px 11px; border-radius: 999px; background: var(--pn-f2); box-shadow: inset 0 0 0 1px var(--pn-linie); }
.pn-wetter:empty { display: none; }
.pn-wetter span { font-size: 17px; animation: pnSchweben 4s ease-in-out infinite; }
.pn-wetter b { font: 700 14.5px/1 var(--font); color: var(--text); }
.pn-wetter small { font-size: 12px; color: var(--text3); }
@keyframes pnSchweben { 50% { transform: translateY(-2px); } }
.pn-tag-infos { margin: -4px 0 0; display: flex; flex-wrap: wrap; gap: 2px 0; font: 500 12.5px/1.5 var(--font); color: var(--text3); }
.pn-tag-infos:empty { display: none; }
.pn-tag-infos .pn-info { display: inline; min-height: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; color: var(--text3); font: inherit; }
.pn-tag-infos .pn-info + .pn-info::before { content: '·'; margin: 0 8px; color: var(--text4); }
.pn-tag-infos .pn-info.tipp { color: #CFC2FF; background: none; box-shadow: none; }
.pn-tag-infos .pn-info.pn-fest { color: #F7C6E0; background: none; box-shadow: none; }

/* Zeitleiste */
.pn-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pn-tl > li { position: relative; }
.pn-tl-e { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; align-items: start; }
.pn-tl-e::before { content: ''; position: absolute; left: -26px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--pn-farbe); box-shadow: 0 0 0 3px #070C22; }
.pn-tl-zeit { display: grid; gap: 3px; padding-top: 14px; font-variant-numeric: tabular-nums; }
.pn-tl-zeit b { font: 700 15px/1 var(--font); color: var(--text); }
.pn-tl-zeit small { font: 500 11.5px/1.2 var(--font); color: var(--text3); }
.pn-tl-karte {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 12px 12px 16px; border: 0; border-radius: 18px; cursor: pointer; text-align: left; color: var(--text);
  background: var(--pn-f2); box-shadow: inset 0 0 0 1px var(--pn-linie), 0 6px 18px rgba(0,0,0,0.22);
  transition: transform .2s var(--pn-weich), background .2s ease, box-shadow .2s ease;
}
.pn-tl-karte:hover { background: var(--pn-f3); transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 12px 26px rgba(0,0,0,0.3); }
.pn-tl-karte:active { transform: scale(.985); }
.pn-tl-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.pn-tl-art { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px/1.2 var(--font); letter-spacing: .02em; color: var(--pn-farbe); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pn-tl-art .pn-i { width: 14px; height: 14px; flex: none; }
.pn-tl-text > b { font: 600 15.5px/1.3 var(--font); overflow-wrap: anywhere; }
.pn-tl-text > span { font-size: 13px; line-height: 1.4; color: var(--text3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pn-tl-foto { flex: none; width: 64px; height: 64px; border-radius: 14px; background: var(--pn-f3) center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.pn-tl-foto:not(.mit-foto) { display: none; }
.pn-tl-foto.mit-foto { animation: pnBlende .5s ease both; }
.pn-tl-e.ueber .pn-tl-karte { box-shadow: inset 0 0 0 1.5px rgba(242,138,192,0.55); }
.pn-hinweis { font-style: normal; font-size: 12px; color: #F7C6E0; }

/* Ticket für Wege */
.pn-ticket {
  position: relative; width: 100%; display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; grid-template-areas: "von linie nach" "fuss fuss fuss"; align-items: center; gap: 6px 12px;
  padding: 14px 16px; border: 0; border-radius: 20px; cursor: pointer; text-align: left; color: var(--text);
  background: radial-gradient(120% 140% at 0% 0%, rgba(155,127,255,0.28), transparent 55%), linear-gradient(135deg, #1E1752, #121A3D);
  box-shadow: inset 0 0 0 1px rgba(190,170,255,0.22), 0 10px 26px rgba(40,20,120,0.3);
  transition: transform .2s var(--pn-weich), box-shadow .2s ease;
}
.pn-ticket:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(190,170,255,0.35), 0 16px 32px rgba(40,20,120,0.4); }
.pn-ticket::before, .pn-ticket::after { content: ''; position: absolute; top: 50%; width: 14px; height: 14px; margin-top: 1px; border-radius: 50%; background: #070C22; }
.pn-ticket::before { left: -7px; } .pn-ticket::after { right: -7px; }
.pn-ti-ort { grid-area: von; display: grid; gap: 3px; min-width: 0; }
.pn-ti-ort.rechts { grid-area: nach; text-align: right; }
.pn-ti-ort b { font: 700 19px/1 var(--font); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pn-ticket.offen .pn-ti-ort b { font-size: 15px; }
.pn-ti-ort sup { font-size: 11px; margin-left: 2px; color: #BBA9FF; }
.pn-ti-ort small { font-size: 12.5px; color: var(--text3); }
.pn-ti-linie { grid-area: linie; position: relative; height: 28px; background: repeating-linear-gradient(90deg, rgba(190,170,255,0.5) 0 6px, transparent 6px 12px) center / 100% 2px no-repeat; background-size: 100% 2px; }
.pn-ti-linie i { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #8C6BFF, #5A3FE0); box-shadow: 0 6px 16px rgba(90,63,224,0.5); animation: pnReise 5s ease-in-out infinite; }
.pn-ti-linie .pn-i { width: 16px; height: 16px; }
@keyframes pnReise { 0%, 100% { left: 22%; } 50% { left: 78%; } }
.pn-ti-fuss { grid-area: fuss; display: flex; align-items: center; gap: 6px; font: 500 12.5px/1.3 var(--font); color: #CFC2FF; }
.pn-ti-fuss .pn-i { width: 15px; height: 15px; }
.pn-ticket.offen { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(190,170,255,0.35); }
.pn-ticket.offen::before, .pn-ticket.offen::after { display: none; }
.pn-ticket.offen .pn-ti-linie i { animation: none; background: rgba(155,127,255,0.25); box-shadow: none; }

/* Übernachtung, Lücken, Plus, Jetzt */
.pn-nacht { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 8px 14px; border: 0; border-radius: 16px; cursor: pointer; text-align: left; color: var(--text); background: rgba(155,127,255,0.08); box-shadow: inset 0 0 0 1px rgba(155,127,255,0.16); transition: background .2s ease; }
.pn-nacht > .pn-i:first-child { width: 20px; height: 20px; color: #BBA9FF; flex: none; }
.pn-nacht span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pn-nacht b { font: 600 14.5px/1.25 var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-nacht small { font-size: 12px; color: var(--text3); }
.pn-nacht.fehlt { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(190,170,255,0.45); }
.pn-nacht.fehlt b { color: #D9CCFF; }
.pn-nacht:hover { background: rgba(155,127,255,0.16); }
.pn-tl-e.nacht::before { background: #BBA9FF; }
.pn-tl-luecke { padding-left: 60px; }
.pn-luecke { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; padding: 4px 6px 4px 12px; border: 0; border-left: 2px dashed rgba(155,127,255,0.35); border-radius: 0 12px 12px 0; background: none; cursor: pointer; text-align: left; color: var(--text3); font: 500 12.5px/1.3 var(--font); }
.pn-luecke b { color: var(--text2); font-weight: 600; }
.pn-luecke em { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; font-style: normal; font-weight: 600; color: #D9CCFF; background: rgba(155,127,255,0.12); opacity: .0; transition: opacity .2s ease; }
.pn-luecke em .pn-i { width: 13px; height: 13px; }
.pn-luecke:hover em, .pn-luecke:focus-visible em { opacity: 1; }
@media (hover: none) { .pn-luecke em { opacity: 1; } }
.pn-tl-frei { padding: 12px 16px; border-radius: 16px; font-size: 13.5px; color: var(--text3); background: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 10px, transparent 10px 20px); box-shadow: inset 0 0 0 1px var(--pn-linie); }
.pn-tl-plus { display: flex; gap: 8px; flex-wrap: wrap; padding-left: 60px; }
.pn-plus { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; cursor: pointer; font: 600 13px/1 var(--font); color: #CFC2FF; background: transparent; box-shadow: inset 0 0 0 1px rgba(155,127,255,0.3); transition: background .2s ease, color .2s ease; }
.pn-plus .pn-i { width: 16px; height: 16px; }
.pn-plus:hover { background: rgba(155,127,255,0.14); color: #fff; }
.pn-tl-jetzt { display: flex; align-items: center; gap: 8px; }
.pn-tl-jetzt::before { content: ''; position: absolute; left: -29px; width: 12px; height: 12px; border-radius: 50%; background: #3DE0FF; box-shadow: 0 0 0 4px rgba(61,224,255,0.25); animation: pnPuls 1.8s ease-in-out infinite; }
.pn-tl-jetzt::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, #3DE0FF, transparent); }
.pn-tl-jetzt span { font: 700 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #3DE0FF; }

/* Tag-Sheet */
.pn-tag-sheet { display: grid; gap: 4px; }
.pn-ts-teil { margin: 0 6px 14px; }
.pn-ts-teil h4 { margin: 0 0 10px; font: 700 10.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #BBA9FF; }
.pn-wetter-gross { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.pn-wetter-gross > span { font-size: 44px; line-height: 1; animation: pnSchweben 4s ease-in-out infinite; }
.pn-wetter-gross b { display: block; font: 600 17px/1.3 var(--font); }
.pn-wetter-gross small { font-size: 12.5px; color: var(--text3); }
.pn-werte { margin: 0 0 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pn-werte > div { padding: 10px 12px; border-radius: 14px; background: var(--pn-f2); box-shadow: inset 0 0 0 1px var(--pn-linie); }
.pn-werte dt { font: 600 10.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--text3); margin-bottom: 6px; }
.pn-werte dd { margin: 0; font: 700 15px/1.2 var(--font); }
.pn-tipps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pn-tipps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 8px; align-items: baseline; padding: 10px 12px; border-radius: 14px; background: rgba(155,127,255,0.07); }
.pn-tipps li > span { grid-row: span 2; font-size: 18px; }
.pn-tipps b { font: 600 14px/1.3 var(--font); }
.pn-tipps small { font-size: 12.5px; color: var(--text3); }

/* Einblenden beim Scrollen und Ansichtswechsel mit Richtung */
.pn-rein-bereit { opacity: 0; transform: translateY(24px) scale(.985); }
.pn-rein-bereit.pn-rein { opacity: 1; transform: none; transition: opacity .6s ease, transform .7s var(--pn-weich); }
body[data-pn="1"][data-pn-richtung="vor"] .pn-ansicht, body[data-pn="1"][data-pn-richtung="vor"] .tab-panel.active { animation: pnVonRechts .45s var(--pn-weich) both; }
body[data-pn="1"][data-pn-richtung="zurueck"] .pn-ansicht, body[data-pn="1"][data-pn-richtung="zurueck"] .tab-panel.active { animation: pnVonLinks .45s var(--pn-weich) both; }
@keyframes pnVonRechts { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes pnVonLinks { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) { .pn-af-kopf { min-height: 340px; padding: 28px; } .pn-af-tage { padding-left: 40px; } .pn-schiene { left: 14px; } .pn-tk-kopf::before { left: -33px; } .pn-tl-e::before { left: -30px; } .pn-tl-jetzt::before { left: -33px; } }
@media (prefers-reduced-motion: reduce) { .pn-rein-bereit { opacity: 1; transform: none; } }

/* ── Runde 4: Infos „auf einen Blick" ── */
.pn-blick { display: grid; gap: 14px; margin: 4px 0 18px; }
.pn-blick-kopf h2, .pn-route-kopf h2 { margin: 2px 0 0; font-family: var(--font-brand); font-size: clamp(20px, 4vw, 26px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.pn-route-kopf { margin: 2px 0 16px; }
.pn-kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 760px) { .pn-kacheln { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.pn-kachel { display: grid; gap: 4px; padding: 14px 12px; border-radius: 18px; background: var(--pn-f2); box-shadow: inset 0 0 0 1px var(--pn-linie); }
.pn-kachel .pn-i { width: 18px; height: 18px; color: #BBA9FF; }
.pn-kachel b { font: 700 26px/1 var(--font-brand); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pn-kachel span { font-size: 12.5px; color: var(--text3); }
.pn-vorbereitung { display: grid; gap: 14px; padding: 18px; border-radius: 22px; background: radial-gradient(120% 120% at 0% 0%, rgba(155,127,255,0.18), transparent 55%), var(--pn-f2); box-shadow: inset 0 0 0 1px var(--pn-linie); }
@media (min-width: 760px) { .pn-vorbereitung { grid-template-columns: 180px minmax(0, 1fr); align-items: center; } }
.pn-vb-ring { position: relative; display: grid; place-items: center; justify-self: center; }
.pn-vb-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.pn-vb-ring b { font: 700 30px/1 var(--font-brand); }
.pn-vb-ring small { font-size: 12px; color: var(--text3); }
.pn-ring-wert { stroke-dashoffset: var(--u); animation: pnRingZeichnen 1.3s var(--pn-weich) .2s forwards; }
@keyframes pnRingZeichnen { to { stroke-dashoffset: var(--z); } }
.pn-vb-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pn-vb-liste button { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 10px; border: 0; border-radius: 14px; background: none; cursor: pointer; text-align: left; color: var(--text); transition: background .2s ease; }
.pn-vb-liste button:hover { background: rgba(255,255,255,0.05); }
.pn-vb-liste span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pn-vb-liste b { font: 600 14.5px/1.25 var(--font); }
.pn-vb-liste small { font-size: 12.5px; color: var(--text3); }
.pn-temperatur { padding: 18px; border-radius: 22px; background: var(--pn-f2); box-shadow: inset 0 0 0 1px var(--pn-linie); }
.pn-temperatur h3 { margin: 0 0 10px; font-family: var(--font-brand); font-size: 17px; font-weight: 700; }
.pn-temp-scroll { overflow-x: auto; scrollbar-width: none; margin: 0 -6px 6px; }
.pn-temp-scroll svg { display: block; }
.pn-temp-sym { font-size: 28px; font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
.pn-temp-tag { animation: pnAuf .6s var(--pn-weich) both; animation-delay: calc(var(--k) * 60ms); }
.pn-temp-hoch { fill: #F7C6E0; font: 700 16px var(--font); }
.pn-temp-tief { fill: #AFCBFF; font: 600 14px var(--font); }
.pn-temp-achse { fill: rgba(223,235,255,0.6); font: 700 12px var(--font); letter-spacing: .04em; text-transform: uppercase; }
/* Infos: Briefing-Länder als ruhige Karten */
body[data-pn="1"] #tab-briefing .brief-stop { border: 0 !important; border-radius: 22px !important; background: var(--pn-f2) !important; box-shadow: inset 0 0 0 1px var(--pn-linie) !important; padding: 18px !important; margin: 0 0 14px !important; }
body[data-pn="1"] #tab-briefing .brief-stop-num { display: none; }
body[data-pn="1"] #tab-overview .pretrip-banner { border-radius: 18px !important; }

/* ── Runde 4: Packliste ── */
.pn-pack-status { display: flex; align-items: center; gap: 16px; margin: 4px 0 14px; padding: 16px 18px; border-radius: 22px; background: radial-gradient(120% 120% at 0% 0%, rgba(61,224,255,0.14), transparent 55%), var(--pn-f2); box-shadow: inset 0 0 0 1px var(--pn-linie); }
.pn-pack-status .pn-ring { flex: none; width: 88px; height: 88px; }
.pn-pack-status h3 { margin: 2px 0 4px; font-family: var(--font-brand); font-size: 20px; font-weight: 700; }
body[data-pn="1"] .pn-checkliste .check-cat { background: var(--pn-f2) !important; box-shadow: inset 0 0 0 1px var(--pn-linie) !important; border-radius: 22px !important; padding: 16px !important; }
body[data-pn="1"] .pn-checkliste .check-cat h4 { font-family: var(--font-brand) !important; font-size: 15px !important; letter-spacing: -0.01em !important; text-transform: none !important; color: var(--text) !important; }
body[data-pn="1"] .pn-checkliste .check-cat h4::before { display: none !important; }
body[data-pn="1"] .pn-checkliste .check-item { border-radius: 14px !important; padding: 10px 12px !important; transition: background .2s ease; }
body[data-pn="1"] .pn-checkliste .check-item.done .ci-text { text-decoration-color: rgba(155,127,255,0.8); }
body[data-pn="1"] .pn-checkliste .check-box { width: 24px !important; height: 24px !important; border-radius: 8px !important; transition: transform .2s var(--pn-weich), background .2s ease; }
body[data-pn="1"] .pn-checkliste .check-item.done .check-box { transform: scale(1.08); }
body[data-pn="1"] .pn-checkliste .sugg-chip { border-radius: 999px !important; background: rgba(155,127,255,0.08) !important; border: 0 !important; box-shadow: inset 0 0 0 1px rgba(155,127,255,0.25) !important; color: #D9CCFF !important; }
body[data-pn="1"] .pn-checkliste .sugg-chip:hover { background: rgba(155,127,255,0.2) !important; }

/* ── Runde 4: Karte ── */
body[data-pn="1"] .trip-map-wrap { border: 0 !important; background: none !important; padding: 0 !important; }
body[data-pn="1"] .trip-map-toolbar { display: flex !important; flex-wrap: wrap; gap: 8px !important; padding: 0 !important; margin-bottom: 12px !important; background: none !important; border: 0 !important; box-shadow: none !important; }
body[data-pn="1"] .tm-mode-group, body[data-pn="1"] .tm-style-group { display: inline-flex !important; gap: 2px !important; padding: 4px !important; border-radius: 999px !important; background: var(--pn-f2) !important; box-shadow: inset 0 0 0 1px var(--pn-linie) !important; border: 0 !important; }
body[data-pn="1"] .tm-mode-btn, body[data-pn="1"] .tm-style-btn { min-height: 34px; padding: 0 14px !important; border: 0 !important; border-radius: 999px !important; background: none !important; font: 600 12.5px/1 var(--font) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--text3) !important; box-shadow: none !important; }
body[data-pn="1"] .tm-mode-btn.active, body[data-pn="1"] .tm-style-btn.active { background: linear-gradient(160deg, #8C6BFF, #5A3FE0) !important; color: #fff !important; }
body[data-pn="1"] .tm-day-strip { flex-basis: 100%; }
body[data-pn="1"] .trip-map { border-radius: 24px !important; overflow: hidden; box-shadow: 0 20px 44px rgba(0,0,0,0.4) !important; border: 0 !important; }
body[data-pn="1"] .trip-map-insight, body[data-pn="1"] .trip-map-legend { border-radius: 18px !important; background: var(--pn-f2) !important; border: 0 !important; box-shadow: inset 0 0 0 1px var(--pn-linie) !important; }

/* ── Runde 4: Route als Linie ── */
body[data-pn="1"] .pn-staedte { position: relative; }
body[data-pn="1"] .pn-staedte::before { content: ''; position: absolute; left: 62px; top: 24px; bottom: 58px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #9B7FFF, #3DE0FF); opacity: .35; }
.pn-stadt { position: relative; background: var(--pn-f2); box-shadow: inset 0 0 0 1px var(--pn-linie); transition: transform .2s var(--pn-weich), background .2s ease; }
.pn-stadt:hover { transform: translateY(-2px); background: var(--pn-f3); }
.pn-weg-zwischen { margin-left: 48px; background: rgba(155,127,255,0.14); }
.pn-weg-zwischen::before { display: none; }
.pn-weg-zwischen .pn-i { animation: pnFahren 2.4s ease-in-out infinite; }
body[data-pn="1"] #pn-route .pn-land { background: var(--pn-f1); box-shadow: inset 0 0 0 1px var(--pn-linie), 0 20px 44px rgba(0,0,0,0.35); border-radius: 26px; }

/* ── Runde 4: ruhigere Flächen überall ── */
body[data-pn="1"] .pn-karte { background: var(--pn-f2); box-shadow: inset 0 0 0 1px var(--pn-linie), 0 12px 30px rgba(0,0,0,0.25); }
body[data-pn="1"] .pn-band { background: var(--pn-f2) !important; box-shadow: inset 0 0 0 1px var(--pn-linie) !important; }
.pn-leer-bild { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #8C6BFF, #3DE0FF); box-shadow: 0 12px 28px rgba(90,63,224,0.45); animation: pnSchweben 4s ease-in-out infinite; }
.pn-leer-bild .pn-i { width: 30px; height: 30px; }
/* trips.html gibt jedem <header> Fläche, Rahmen und Innenabstand — die eigenen Köpfe bleiben schlicht */
body[data-pn="1"] .pn-blick-kopf, body[data-pn="1"] .pn-route-kopf { display: block; margin: 2px 0 4px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pn-land-kopf .pn-lw-text { flex: 1 1 100%; display: flex; align-items: center; gap: 12px; }
.pn-land-kopf .pn-lw-text h3 { font-size: clamp(24px, 5vw, 30px); text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
.pn-land-kopf .pn-lw-text p { margin: 4px 0 0; font-size: 13.5px; color: rgba(235,242,255,0.86); }

/* ══ Runde 5: jede Unterfunktion im selben Stil — Formulare, Blätter mit Fotos, Hinzufügen als Raster ══════ */
/* Eine Schrift: die Schreibmaschinen-Stellen von trips.js übernehmen die Textschrift, Ziffern bleiben gleich breit */
body[data-pn="1"] { --font-mono: var(--font); }
body[data-pn="1"] .modal, body[data-pn="1"] .tp-modal, body[data-pn="1"] .pn-dlg, body[data-pn="1"] #tab-briefing { font-variant-numeric: tabular-nums; }
/* trips.js setzt display auf viele Bausteine — [hidden] muss in Dialogen und Blättern trotzdem wirken */
body[data-pn="1"] .modal [hidden], body[data-pn="1"] .tp-modal [hidden], body[data-pn="1"] .pn-dlg [hidden], .pn-sheet [hidden] { display: none !important; }
body[data-pn="1"] .tpi-quota:empty, body[data-pn="1"] .tpi-status:empty, body[data-pn="1"] .dt-summary:empty { display: none !important; }

/* Blatt mit Foto: Stadt, Ort, Land oder Tag — das Bild gleitet auf, zoomt langsam, der Titel liegt darauf */
.pn-sheet-foto { position: relative; flex: none; height: 0; overflow: hidden; border-radius: 28px 28px 0 0; background: center / cover no-repeat; opacity: 0;
  transition: height .5s var(--pn-weich), opacity .5s ease; }
.pn-sheet-foto::before { content: ''; position: absolute; inset: 0; background: inherit; animation: pnZoom 18s ease-out both; }
.pn-sheet-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,13,32,0.25) 0%, rgba(8,13,32,0) 30%, rgba(8,13,32,0.55) 68%, rgba(9,14,34,0.98) 100%); }
.pn-sheet.mit-foto .pn-sheet-foto { height: 196px; opacity: 1; }
.pn-sheet.mit-foto::before { display: none; }
.pn-sheet.mit-foto .pn-sheet-griff { position: absolute; top: 0; left: 50%; margin-left: -21px; z-index: 3; background: rgba(255,255,255,0.6); }
.pn-sheet.mit-foto .pn-sheet-kopf { margin-top: -78px; z-index: 2; }
.pn-sheet.mit-foto .pn-sheet-kopf h2 { font-size: 23px; text-shadow: 0 2px 18px rgba(0,0,0,0.6); }
.pn-sheet.mit-foto .pn-sheet-kopf p { color: rgba(255,255,255,0.82); text-shadow: 0 1px 10px rgba(0,0,0,0.7); }
.pn-sheet.mit-foto .pn-sheet-kopf .pn-rund { margin-top: -96px; background: rgba(6,10,26,0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@keyframes pnZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

/* „Was möchtest du hinzufügen?" als Raster: eine große Hauptkachel, darunter Kacheln mit eigenen Farben */
.pn-aktionen.pn-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 4px 8px 6px; }
.pn-raster .pn-aktion { grid-template-columns: 1fr; align-content: start; gap: 12px; min-height: 132px; padding: 16px 14px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)); box-shadow: var(--pn-kante); }
.pn-raster .pn-aktion:hover { background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04)); transform: translateY(-2px); }
.pn-raster .pn-aktion-pfeil, .pn-raster .pn-trenner { display: none; }
.pn-raster .pn-aktion-text b { font-size: 15.5px; }
.pn-raster .pn-aktion.haupt { grid-column: 1 / -1; grid-template-columns: 52px minmax(0, 1fr) 20px; align-items: center; min-height: 0; padding: 16px;
  background: linear-gradient(135deg, rgba(140,107,255,0.3), rgba(90,63,224,0.14)); box-shadow: inset 0 0 0 1px rgba(155,127,255,0.35), 0 12px 30px rgba(70,45,190,0.3); }
.pn-raster .pn-aktion.haupt .pn-aktion-ico { width: 52px; height: 52px; border-radius: 16px; }
.pn-raster .pn-aktion.haupt .pn-aktion-pfeil { display: block; color: #D4C7FF; }
.pn-raster .pn-aktion:nth-of-type(2) .pn-aktion-ico { color: #A9D4FF; background: rgba(91,157,255,0.16); box-shadow: inset 0 0 0 1px rgba(91,157,255,0.3); }
.pn-raster .pn-aktion:nth-of-type(3) .pn-aktion-ico { color: #FFB8E6; background: rgba(255,122,208,0.14); box-shadow: inset 0 0 0 1px rgba(255,122,208,0.28); }
.pn-raster .pn-aktion:nth-of-type(4) .pn-aktion-ico { color: #9FF0FF; background: rgba(61,224,255,0.12); box-shadow: inset 0 0 0 1px rgba(61,224,255,0.26); }
.pn-raster .pn-aktion:nth-of-type(5) .pn-aktion-ico { color: #C7CFFF; background: rgba(120,140,255,0.16); box-shadow: inset 0 0 0 1px rgba(120,140,255,0.3); }
.pn-raster .pn-aktion:nth-of-type(6) .pn-aktion-ico { color: #E6D9FF; background: linear-gradient(135deg, rgba(155,127,255,0.3), rgba(61,224,255,0.16)); box-shadow: inset 0 0 0 1px rgba(155,127,255,0.35); }
.pn-raster .pn-aktion:last-of-type:nth-of-type(odd):not(.haupt) { grid-column: 1 / -1; min-height: 0; grid-template-columns: 44px minmax(0, 1fr); align-items: center; }

/* Tagesausflüge im Stadt-Blatt: „+" steht schon im Text */
.pn-stadt-extra .sugg-chip::before { content: none; }

/* ── Formulare in allen Dialogen: klare Beschriftung, große Felder, feste Fußleiste ─────────────────────── */
body[data-pn="1"] .modal { padding: 24px 22px 0 !important; }
@media (max-width: 759px) {
  body[data-pn="1"] .modal { padding-bottom: 0 !important; }
  body[data-pn="1"] .modal::before { position: absolute; top: 8px; left: 50%; margin: 0 0 0 -21px !important; z-index: 6; }
  body[data-pn="1"] .modal > h2 { margin-top: 10px; }
}
body[data-pn="1"] .modal > h2, body[data-pn="1"] .tp-modal-title { position: relative; z-index: 1; font-size: 22px !important; letter-spacing: -0.02em; padding-right: 48px; text-wrap: balance; }
body[data-pn="1"] .modal-close, body[data-pn="1"] .tp-modal-close { z-index: 7; }
body[data-pn="1"] .modal .field { margin-bottom: 18px; }
body[data-pn="1"] .modal .field label, body[data-pn="1"] .tp-modal label:not(.chip):not([class*="opt"]) {
  font: 600 13px/1.35 var(--font) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--text2) !important; margin-bottom: 8px;
}
body[data-pn="1"] .modal .field label::before { display: none !important; }
body[data-pn="1"] .modal :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]), select, textarea),
body[data-pn="1"] .tp-modal :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]), select, textarea) {
  min-height: 50px; box-sizing: border-box; border-radius: 14px !important; border: 1px solid rgba(255,255,255,0.1) !important;
  background: rgba(255,255,255,0.05) !important; color: var(--text) !important; font: 500 16px/1.3 var(--font) !important; padding: 0 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
body[data-pn="1"] .modal textarea, body[data-pn="1"] .tp-modal textarea { min-height: 104px; padding: 12px 14px !important; line-height: 1.5 !important; }
body[data-pn="1"] .modal :is(input, select, textarea):focus, body[data-pn="1"] .tp-modal :is(input, select, textarea):focus {
  outline: none !important; border-color: rgba(155,127,255,0.75) !important; background: rgba(255,255,255,0.075) !important; box-shadow: 0 0 0 4px rgba(155,127,255,0.18) !important;
}
body[data-pn="1"] .modal ::placeholder, body[data-pn="1"] .tp-modal ::placeholder { color: var(--text4); opacity: 1; }
/* Mehrere Felder in einer Zeile brechen um, statt aus dem Bild zu laufen */
body[data-pn="1"] .modal .field .row { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; }
body[data-pn="1"] .modal .field .row > * { min-width: 0; width: 100%; }
body[data-pn="1"] #add-activity-modal .field .row { grid-template-columns: 1fr 1fr; }
body[data-pn="1"] #add-activity-modal #ai-date { grid-column: 1 / -1; }
/* Auswahl-Chips: Pillen, die gewählte leuchtet */
body[data-pn="1"] .modal .chips { display: flex; flex-wrap: wrap; gap: 8px; }
body[data-pn="1"] .modal .chips .chip:not(:has(small, strong, b, div, span + span)) {
  min-height: 40px; padding: 0 16px; border-radius: 999px !important; border: 1px solid rgba(255,255,255,0.1) !important; background: rgba(255,255,255,0.05) !important;
  color: var(--text2) !important; font: 600 13.5px/1 var(--font) !important; letter-spacing: 0 !important; text-transform: none !important;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
body[data-pn="1"] .modal .chips .chip:not(:has(small, strong, b, div, span + span)):hover { background: rgba(255,255,255,0.09) !important; color: var(--text) !important; }
body[data-pn="1"] .modal .chips .chip:active { transform: scale(.95); }
body[data-pn="1"] .modal .chips .chip.active:not(:has(small, strong, b, div, span + span)) {
  color: #fff !important; border-color: rgba(155,127,255,0.65) !important; background: linear-gradient(135deg, rgba(140,107,255,0.42), rgba(90,63,224,0.28)) !important;
  box-shadow: 0 6px 18px rgba(106,77,240,0.32); animation: pnPop .3s var(--pn-weich);
}
@keyframes pnPop { 40% { transform: scale(1.06); } }
/* Fußleiste: fest unten, deckend, nichts scheint durch; am Handy über dem Home-Balken */
body[data-pn="1"] .modal .modal-actions {
  position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px;
  margin: 22px -22px 0 !important; padding: 14px 22px calc(14px + var(--pn-unten)) !important;
  background: rgba(10,15,36,0.97) !important; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 0 !important; border-top: 1px solid rgba(255,255,255,0.08) !important; border-radius: 0 !important;
}
@media (min-width: 760px) { body[data-pn="1"] .modal .modal-actions { border-radius: 0 0 28px 28px !important; } }
@media (max-width: 759px) { body[data-pn="1"] .modal .modal-actions > :is(.btn-primary, .kp-primary) { flex: 1 1 auto; } }
/* Kappen-Knöpfe werden nie gestaucht (sonst überdeckt die Kappe den Text) */
body[data-pn="1"] .kp, body[data-pn="1"] .btn-primary { flex-shrink: 0; max-width: 100%; }
body[data-pn="1"] .ai-cta-btn { justify-content: flex-start !important; }
/* Einblenden der Felder beim Öffnen */
body[data-pn="1"] .modal-overlay.open .modal > h2, body[data-pn="1"] .modal-overlay.open .modal form > .field { animation: pnAuf .42s var(--pn-weich) both; }
body[data-pn="1"] .modal-overlay.open .modal form > .field:nth-of-type(2) { animation-delay: 40ms; }
body[data-pn="1"] .modal-overlay.open .modal form > .field:nth-of-type(3) { animation-delay: 80ms; }
body[data-pn="1"] .modal-overlay.open .modal form > .field:nth-of-type(n+4) { animation-delay: 120ms; }

/* Foto oben im Dialog (Stadt der Aktivität oder Unterkunft, sonst das Reisebild) */
body[data-pn="1"] .pn-mfoto { display: none; }
body[data-pn="1"] .modal.pn-mit-mfoto .pn-mfoto {
  display: block; position: relative; height: 150px; margin: -24px -22px -58px; background: center / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  animation: pnBildAuf .6s ease both;
}
@keyframes pnBildAuf { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
body[data-pn="1"] .modal.pn-mit-mfoto > h2 { text-shadow: 0 2px 16px rgba(0,0,0,0.65); }

/* Länder-Briefing: das Landfoto trägt den Kopf jeder Länderkarte */
body[data-pn="1"] #tab-briefing .brief-stop.pn-mit-kulisse { position: relative; overflow: hidden; isolation: isolate; }
body[data-pn="1"] #tab-briefing .brief-stop.pn-mit-kulisse::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 440px; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(11,16,32,0.45) 0, rgba(11,16,32,0.08) 110px, rgba(11,16,32,0.2) 240px, rgba(11,16,32,0.7) 380px),
    linear-gradient(90deg, rgba(11,16,32,0.55) 0, rgba(11,16,32,0.2) 45%, rgba(11,16,32,0) 75%),
    var(--pn-foto);
  background-size: 100% 100%, 100% 100%, cover; background-position: 0 0, 0 0, center 42%; background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent);
  filter: saturate(1.08); animation: pnKulisse .9s ease both;
}
body[data-pn="1"] #tab-briefing .brief-stop.pn-mit-kulisse[data-pn-nachweis]::after {
  content: attr(data-pn-nachweis); position: absolute; top: 12px; right: 16px; max-width: 55%; z-index: 0;
  font: 400 10px/1.3 var(--font); color: rgba(255,255,255,0.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
}
@keyframes pnKulisse { from { opacity: 0; } to { opacity: 1; } }
body[data-pn="1"] #tab-briefing .pn-mit-kulisse .brief-stop-head {
  min-height: 150px; align-items: flex-end !important; background: none !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding: 0 0 6px !important; margin-bottom: 14px !important;
}
body[data-pn="1"] #tab-briefing .pn-mit-kulisse .brief-stop-title { color: #fff; font-size: clamp(26px, 4vw, 38px) !important; text-shadow: 0 2px 18px rgba(0,0,0,0.6); }
body[data-pn="1"] #tab-briefing .pn-mit-kulisse .brief-stop-meta { color: rgba(255,255,255,0.88); letter-spacing: 0.02em; text-transform: none; text-shadow: 0 1px 10px rgba(0,0,0,0.6); }
body[data-pn="1"] #tab-briefing .pn-mit-kulisse .brief-city-pill { background: rgba(8,16,36,0.45) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pn-raster .pn-aktion:nth-of-type(6) { grid-column: 1 / -1; min-height: 0; grid-template-columns: 44px minmax(0, 1fr); align-items: center;
  background: linear-gradient(120deg, rgba(155,127,255,0.16), rgba(61,224,255,0.07)); }
body[data-pn="1"] .modal.pn-mit-mfoto .modal-close { background: rgba(6,10,26,0.55) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff !important; }
/* Reise-Guide: offene Schritte oben, erledigte leiser, Stand als Ring */
.pn-guide-stand { display: flex; align-items: center; gap: 14px; margin: 0 10px 10px; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,0.04); box-shadow: var(--pn-kante); }
.pn-guide-stand .pn-n-ring { width: 56px; height: 56px; flex: none; }
.pn-guide-stand p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--text2); }
.pn-aktion.erledigt { opacity: .6; }
.pn-aktion.erledigt .pn-aktion-ico { color: #fff; background: linear-gradient(135deg, rgba(140,107,255,0.55), rgba(90,63,224,0.4)); }
.pn-aktion.erledigt b { text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.3); }
/* Längere Titel: Foto etwas höher, Titel sitzt tiefer im Bild */
.pn-sheet.mit-foto.pn-eintrag .pn-sheet-foto { height: 216px; }
/* Unterkunft: Buchungs-Import als ruhige Zeile, leere Liste ohne Großbuchstaben */
body[data-pn="1"] .ac2-empty { text-transform: none !important; letter-spacing: 0 !important; font-size: 13.5px !important; color: var(--text3) !important; }
body[data-pn="1"] .ac2-paste-details > summary { list-style: none; cursor: pointer; font: 600 14px/1.4 var(--font); }
body[data-pn="1"] .ac2-paste-details > summary::-webkit-details-marker { display: none; }
/* Fußleiste: „Abbrechen" als leiser Textknopf, damit Speichern Platz hat */
body[data-pn="1"] .modal .modal-actions > .btn-ghost { background: none !important; box-shadow: none !important; padding: 0 10px !important; min-height: 44px; color: var(--text3) !important; }
body[data-pn="1"] .modal .modal-actions > .btn-ghost:hover { color: var(--text) !important; }

/* ══ Runde 5b: Eingabefelder als Feld-Kacheln — Martin: „Diese Eingabefelder sehen schlecht aus" ══════════════ */
/* Eine Kachel je Angabe: Symbol links, kleine Beschriftung im Feld, Eingabe darunter; beim Tippen leuchtet die Kachel */
body[data-pn="1"] [data-pn-feld] {
  position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-items: center;
  margin: 0 0 10px; padding: 9px 14px 7px; border-radius: 16px; cursor: text;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  transition: box-shadow .2s ease, background .2s ease;
}
body[data-pn="1"] [data-pn-feld]:hover { background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.045)); }
body[data-pn="1"] [data-pn-feld]:focus-within {
  background: linear-gradient(180deg, rgba(155,127,255,0.12), rgba(155,127,255,0.05));
  box-shadow: inset 0 0 0 1.5px rgba(155,127,255,0.75), 0 0 0 4px rgba(155,127,255,0.13), 0 10px 26px rgba(40,20,120,0.25);
}
body[data-pn="1"] [data-pn-feld]::before {
  content: ''; grid-column: 1; grid-row: 1 / span 2; align-self: center; width: 20px; height: 20px; background-color: var(--text3);
  -webkit-mask: var(--pn-feld-ico) center / contain no-repeat; mask: var(--pn-feld-ico) center / contain no-repeat; transition: background-color .2s ease;
}
body[data-pn="1"] [data-pn-feld]:focus-within::before { background-color: #B9A6FF; }
body[data-pn="1"] [data-pn-feld] > * { grid-column: 2; }
body[data-pn="1"] [data-pn-feld] > :is(label, .drp-leg-label) {
  margin: 0 !important; padding: 0 !important; font: 600 11.5px/1.3 var(--font) !important; letter-spacing: .01em !important; text-transform: none !important;
  color: var(--text3) !important; cursor: text; transition: color .2s ease;
}
body[data-pn="1"] [data-pn-feld]:focus-within > :is(label, .drp-leg-label) { color: #C9B8FF !important; }
body[data-pn="1"] [data-pn-feld] :is(input, select, textarea) {
  min-height: 32px !important; height: auto; width: 100%; padding: 2px 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important; font: 500 16px/1.35 var(--font) !important; color: var(--text) !important;
}
body[data-pn="1"] [data-pn-feld] :is(input, select, textarea):focus { box-shadow: none !important; background: transparent !important; }
body[data-pn="1"] [data-pn-feld][data-pn-hoch] { align-items: start; }
body[data-pn="1"] [data-pn-feld][data-pn-hoch]::before { grid-row: 1; align-self: start; margin-top: 1px; }
body[data-pn="1"] [data-pn-feld] textarea { min-height: 76px !important; resize: vertical; }
body[data-pn="1"] [data-pn-feld] > .city-search-wrap { position: relative; }
/* Mehrere Kacheln nebeneinander (Telefon | Zimmer, Preise, Check-in → Check-out) */
body[data-pn="1"] .modal :is(.row-2col, .row-3col) { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
body[data-pn="1"] .modal :is(.row-2col, .row-3col) > [data-pn-feld] { margin: 0; }
body[data-pn="1"] .modal .field .row.drp-pair { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); align-items: center; gap: 6px; }
body[data-pn="1"] .modal .drp-pair .drp-arrow { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; color: #C9B8FF; background: rgba(155,127,255,0.14); }
body[data-pn="1"] .drp-leg[data-pn-feld] { margin: 0; padding: 9px 12px 7px; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; }
body[data-pn="1"] .drp-leg[data-pn-feld]::before { width: 17px; height: 17px; }
body[data-pn="1"] .drp-leg[data-pn-feld] > :is(input, .pn-datum) { grid-row: 2; grid-column: 2; }
body[data-pn="1"] .drp-leg input.pn-datum-an { color: transparent !important; caret-color: transparent; }
body[data-pn="1"] .pn-datum { pointer-events: none; align-self: center; font: 600 15px/1.35 var(--font); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body[data-pn="1"] .modal .drp-duration { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 7px 12px; border-radius: 999px; border: 0 !important;
  background: rgba(155,127,255,0.12) !important; color: #D9CCFF !important; font: 600 13px/1 var(--font); }
/* Feldgruppe mit eigener Überschrift (Zeitraum, Wann, Typ): die Überschrift als ruhige Zwischenzeile */
body[data-pn="1"] .modal .field:not([data-pn-feld]) > label { font: 700 12px/1.3 var(--font) !important; letter-spacing: .06em !important; text-transform: uppercase !important; color: var(--text4) !important; margin: 6px 0 10px 2px !important; }
body[data-pn="1"] .modal .field[data-pn-feld] { margin-bottom: 10px; }
body[data-pn="1"] .modal .field:not([data-pn-feld]) { margin-bottom: 16px; }
/* Leere Hotel-Liste: kein Kasten, nur ein leiser Hinweis */
body[data-pn="1"] .ac2-osm-list:has(> .ac2-empty:only-child) { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; min-height: 0 !important; }
body[data-pn="1"] .ac2-osm-list > .ac2-empty:only-child { padding: 0 2px !important; text-align: left !important; background: none !important; border: 0 !important; }
/* Stadt der Unterkunft und Buchungs-Import als klare Zeilen */
body[data-pn="1"] .ac2-city-label { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-size: 14.5px; }
body[data-pn="1"] .ac2-paste-details { margin: 0 0 16px; border-radius: 16px; background: rgba(61,224,255,0.05) !important; box-shadow: inset 0 0 0 1px rgba(61,224,255,0.16); border: 0 !important; overflow: hidden; }
body[data-pn="1"] .ac2-paste-details > summary { display: grid; grid-template-columns: 38px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 12px 14px; color: var(--text) !important; }
body[data-pn="1"] .ac2-paste-details > summary > .pn-i:first-child { width: 38px; height: 38px; padding: 9px; box-sizing: border-box; border-radius: 12px; color: #9FF0FF; background: rgba(61,224,255,0.12); }
body[data-pn="1"] .ac2-paste-details > summary b { display: block; font: 600 14.5px/1.3 var(--font); }
body[data-pn="1"] .ac2-paste-details > summary small { display: block; margin-top: 2px; font: 500 12.5px/1.35 var(--font); color: var(--text3); }
body[data-pn="1"] .ac2-paste-details .pn-sum-pfeil { width: 17px; height: 17px; color: var(--text3); transition: transform .25s var(--pn-weich); }
body[data-pn="1"] .ac2-paste-details[open] .pn-sum-pfeil { transform: rotate(90deg); }
body[data-pn="1"] .ac2-paste-details .ac2-paste-body { padding: 0 14px 14px; }
body[data-pn="1"] [data-pn-ico="stift"] { --pn-feld-ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2020h4L19%209a2.8%202.8%200%200%200-4-4L4%2016v4Z'/%3E%3Cpath%20d='m13.5%206.5%204%204'/%3E%3C/svg%3E"); }
body[data-pn="1"] [data-pn-ico="pin"] { --pn-feld-ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2021s-7-6.2-7-11.5a7%207%200%200%201%2014%200C19%2014.8%2012%2021%2012%2021Z'/%3E%3Ccircle%20cx='12'%20cy='9.5'%20r='2.5'/%3E%3C/svg%3E"); }
body[data-pn="1"] [data-pn-ico="telefon"] { --pn-feld-ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%204h4l2%205-2.5%201.5a11%2011%200%200%200%205%205L15%2013l5%202v4a2%202%200%200%201-2%202A16%2016%200%200%201%203%206a2%202%200%200%201%202-2Z'/%3E%3C/svg%3E"); }
body[data-pn="1"] [data-pn-ico="bett"] { --pn-feld-ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2018V6M3%2014h18v4M21%2014v-2a3%203%200%200%200-3-3h-7v5'/%3E%3Ccircle%20cx='7'%20cy='11'%20r='2'/%3E%3C/svg%3E"); }
body[data-pn="1"] [data-pn-ico="geld"] { --pn-feld-ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='6'%20width='18'%20height='12'%20rx='2.5'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='2.5'/%3E%3Cpath%20d='M6.5%209.5h.01M17.5%2014.5h.01'/%3E%3C/svg%3E"); }
body[data-pn="1"] [data-pn-ico="kalender"] { --pn-feld-ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3.5'%20y='5'%20width='17'%20height='15'%20rx='3'/%3E%3Cpath%20d='M3.5%2010h17M8%203v4M16%203v4'/%3E%3C/svg%3E"); }
body[data-pn="1"] [data-pn-ico="uhr"] { --pn-feld-ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='8.5'/%3E%3Cpath%20d='M12%207.5V12l3%202'/%3E%3C/svg%3E"); }
body[data-pn="1"] [data-pn-ico="link"] { --pn-feld-ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M10%2014a4.5%204.5%200%200%200%206.4%200l3-3a4.5%204.5%200%200%200-6.4-6.4l-1%201'/%3E%3Cpath%20d='M14%2010a4.5%204.5%200%200%200-6.4%200l-3%203a4.5%204.5%200%200%200%206.4%206.4l1-1'/%3E%3C/svg%3E"); }
body[data-pn="1"] [data-pn-ico="notiz"] { --pn-feld-ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%203h12a1%201%200%200%201%201%201v17l-7-4-7%204V4a1%201%200%200%201%201-1Z'/%3E%3C/svg%3E"); }
body[data-pn="1"] [data-pn-ico="stadt"] { --pn-feld-ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2021V8l6-3v16M10%2021h10V11l-5-2M7%2010v.01M7%2013v.01M7%2016v.01M14%2013h2M14%2016h2'/%3E%3C/svg%3E"); }
body[data-pn="1"] [data-pn-ico="land"] { --pn-feld-ico: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2021V4M5%204h11l-2%204%202%204H5'/%3E%3C/svg%3E"); }

/* Innen in der Kachel kein zweiter Kasten (stärker als die allgemeine Feldregel) */
body[data-pn="1"] .modal [data-pn-feld] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]), select, textarea) {
  min-height: 32px !important; padding: 2px 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
}
body[data-pn="1"] .modal [data-pn-feld] :is(input, select, textarea):focus { border: 0 !important; background: transparent !important; box-shadow: none !important; }
body[data-pn="1"] .ac2-paste-details > summary::before, body[data-pn="1"] .ac2-paste-details > summary::after { content: none !important; display: none !important; }
/* Datum und Uhrzeit ohne eigene Beschriftung: Symbol im Feld wie bei den Kacheln */
body[data-pn="1"] .modal .field .row > input[type="date"]:not([hidden]):not([disabled]) { padding-left: 46px !important; background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23B8BCD6'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3.5'%20y='5'%20width='17'%20height='15'%20rx='3'/%3E%3Cpath%20d='M3.5%2010h17M8%203v4M16%203v4'/%3E%3C/svg%3E") 15px center / 20px no-repeat, linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035)) !important; }
body[data-pn="1"] .modal .field .row > input[type="time"]:not([hidden]):not([disabled]) { padding-left: 46px !important; background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23B8BCD6'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='8.5'/%3E%3Cpath%20d='M12%207.5V12l3%202'/%3E%3C/svg%3E") 15px center / 20px no-repeat, linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035)) !important; }
/* Häkchen als Schalter */
body[data-pn="1"] .modal input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 46px; height: 28px; margin: 0 10px 0 0; border-radius: 999px; cursor: pointer; vertical-align: middle;
  background: rgba(255,255,255,0.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); transition: background .25s ease;
}
body[data-pn="1"] .modal input[type="checkbox"]::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.35); transition: transform .25s var(--pn-weich);
}
body[data-pn="1"] .modal input[type="checkbox"]:checked { background: linear-gradient(135deg, #8C6BFF, #5A3FE0); }
body[data-pn="1"] .modal input[type="checkbox"]:checked::after { transform: translateX(18px); }
body[data-pn="1"] .modal input[type="checkbox"]:focus-visible { outline: 2px solid #B9A6FF; outline-offset: 2px; }
body[data-pn="1"] .modal label:has(> input[type="checkbox"]) { display: flex !important; align-items: center; min-height: 52px; padding: 0 14px; border-radius: 16px; cursor: pointer;
  font: 500 15px/1.3 var(--font) !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--text) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
/* Handy: bei drei Knöpfen fällt „Abbrechen" weg (Schließen-Kreuz und Wischen bleiben) — Speichern steht in derselben Zeile */
@media (max-width: 759px) {
  body[data-pn="1"] .modal .modal-actions:has(> :nth-child(3)) > .pn-abbrechen { display: none !important; }
  body[data-pn="1"] .modal .modal-actions { flex-wrap: nowrap; }
}
/* Datum: der ISO-Wert bleibt im Feld, sichtbar ist nur die deutsche Schreibweise */
body[data-pn="1"] .modal .drp-leg[data-pn-feld] input.pn-datum-an:not([type="checkbox"]):not([type="radio"]):not([hidden]) { color: transparent !important; -webkit-text-fill-color: transparent; }

/* ══ Runde 6: Aktivitäten als Fotokarten — Martin: „in den Reiseplan auch die Aktivitäten mit Bildern" ══════ */
/* Jede Karte hat ein Bild: sofort das Kategoriefoto, darüber blendet das Foto des Ortes ein, sobald es geladen ist */
.pn-tl-karte.pn-fk { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; border-radius: 22px; isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 14px 34px rgba(0,0,0,0.34); }
.pn-fk-bild { position: relative; display: block; height: 128px; background: #11183A center / cover no-repeat; overflow: hidden; }
.pn-fk-bild::before { content: ''; position: absolute; inset: 0; background: var(--pn-ersatz) center / cover no-repeat; transition: opacity .7s ease, transform 6s ease; }
.pn-fk-bild.mit-foto::before { opacity: 0; }
.pn-fk-bild::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,10,26,0.35) 0%, rgba(6,10,26,0) 38%, rgba(6,10,26,0) 62%, rgba(12,18,48,0.9) 100%); }
.pn-fk-bild.mit-foto { animation: pnBlende .7s ease both; }
.pn-tl-karte.pn-fk:hover .pn-fk-bild::before { transform: scale(1.06); }
.pn-fk-etikett, .pn-fk-dauer { position: absolute; z-index: 1; top: 10px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px;
  font: 600 12px/1 var(--font); color: #fff; background: rgba(8,12,30,0.5); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); }
.pn-fk-etikett { left: 10px; }
.pn-fk-etikett .pn-i { width: 14px; height: 14px; color: var(--pn-farbe); }
.pn-fk-dauer { right: 10px; font-variant-numeric: tabular-nums; }
.pn-tl-karte.pn-fk .pn-tl-text { padding: 12px 16px 14px; gap: 4px; }
.pn-tl-karte.pn-fk .pn-tl-text > b { font: 700 16.5px/1.28 var(--font); letter-spacing: -0.01em; }
.pn-fk-ort { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px/1.3 var(--font); color: var(--text2); min-width: 0; }
.pn-fk-ort .pn-i { width: 14px; height: 14px; flex: none; color: var(--pn-farbe); }
/* Kategorie-Farbe als feine Leiste unten an der Karte */
.pn-tl-karte.pn-fk::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--pn-farbe); opacity: .75; }
.pn-tl-karte.pn-fk { position: relative; }
/* Zeitspalte zur Bildkarte: Uhrzeit auf Höhe des Etiketts */
.pn-tl-e:has(> .pn-fk) .pn-tl-zeit { padding-top: 12px; }
.pn-tl-e:has(> .pn-fk)::before { top: 18px; }
@media (min-width: 720px) {
  .pn-tl-karte.pn-fk { flex-direction: row; min-height: 128px; }
  .pn-fk-bild { flex: 0 0 min(280px, 38%); height: auto; min-height: 118px; }
  .pn-fk-bild::after { background: linear-gradient(90deg, rgba(6,10,26,0) 55%, rgba(12,18,48,0.85) 100%), linear-gradient(180deg, rgba(6,10,26,0.3), rgba(6,10,26,0) 40%); }
  .pn-tl-karte.pn-fk .pn-tl-text { align-self: center; padding: 16px 18px; }
}
/* KI-Hinweis im Kopf als eine schlanke Zeile: ganze Zeile antippbar, Knopf als runder Pfeil */
@media (max-width: 640px) {
  body[data-pn="1"] .pn-band.pn-band-ki { flex-wrap: nowrap; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; cursor: pointer; }
  body[data-pn="1"] .pn-band.pn-band-ki .ai-cta-btn { width: 44px !important; min-width: 44px; height: 44px; min-height: 44px; padding: 0 !important; font-size: 0 !important; border-radius: 50% !important; }
  body[data-pn="1"] .pn-band.pn-band-ki .ai-cta-btn::after { width: 100%; clip-path: none; border-radius: 50%; }
}
/* Packliste: leere Kategorien ohne Vorschläge schrumpfen auf eine Zeile — der Blick bleibt bei dem, was zu packen ist */
body[data-pn="1"] #tab-checklist .check-cat:not(:has(.sugg-chip, input[type="checkbox"])) { padding-top: 10px !important; padding-bottom: 10px !important; }
body[data-pn="1"] #tab-checklist .check-cat:not(:has(.sugg-chip, input[type="checkbox"])) h4 { font-size: 16px !important; margin: 0 !important; opacity: .8; }
body[data-pn="1"] #tab-checklist .check-cat:not(:has(.sugg-chip, input[type="checkbox"])) .pn-eigen { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
/* Karte: Maus-Hinweis nur mit Maus */
@media (hover: none) { body[data-pn="1"] .tm-zoom-hint { display: none !important; } }

/* ══ Runde 7: Glas wie im Reise-Journal, in Lila — Martin: „mehr Transparenz, wie in der Watchlist, auf das Reisejournal
   mit etwas Lila" ═══════════════════════════════════════════════════════════════════════════════════════════════
   Werte aus journal.css (--jn-glas, --jn-kante, 22 px Unschärfe) und den Fensterregeln #1070 (riskmap-optik.css),
   Gold gegen das Violett des Planers getauscht; der goldene Hauch oben rechts bleibt als Familienmerkmal. */
body[data-pn="1"] {
  --pn-glas: linear-gradient(155deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.05) 38%, rgba(190,170,255,0.06) 100%), rgba(10,12,26,0.54);
  --pn-glas-dicht: linear-gradient(155deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 45%), rgba(12,16,32,0.62);
  --pn-f1: linear-gradient(155deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 45%), rgba(10,12,28,0.46);
  --pn-f2: linear-gradient(155deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.045) 40%, rgba(190,170,255,0.05) 100%), rgba(10,12,28,0.5);
  --pn-f3: linear-gradient(155deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.07) 40%, rgba(190,170,255,0.08) 100%), rgba(14,16,36,0.56);
  --pn-linie: rgba(205,190,255,0.2);
  --pn-kante: inset 0 1px 0 rgba(236,228,255,0.3), inset 0 0 0 1px rgba(190,170,255,0.22);
  --pn-kante-lila: inset 0 1px 0 rgba(236,228,255,0.45), inset 0 0 0 1px rgba(190,170,255,0.42);
  --pn-blur: blur(22px) saturate(1.5);
  --pn-verlauf-text: linear-gradient(100deg, #F3EEFF 0%, #CDBDFF 38%, #A58CFF 68%, #FFD278 100%);
  --pn-fenster: radial-gradient(90% 60% at 0% 0%, rgba(155,127,255,0.16), transparent 62%), radial-gradient(80% 55% at 100% 0%, rgba(255,180,84,0.08), transparent 60%), rgba(8,16,36,0.62);
  background: #040914;
}
/* Das Foto hinter der Seite: lila Schleier über dem entsättigten Bild, wie der goldene im Journal */
.pn-grund { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(155,127,255,0.34), transparent 75%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(123,92,255,0.26), transparent 70%),
    linear-gradient(180deg, rgba(34,20,84,0.8) 0%, rgba(40,24,96,0.66) 40%, rgba(26,16,66,0.74) 72%, rgba(8,8,24,0.94) 100%),
    var(--pn-grund-bild, none) center 40% / cover no-repeat, #040914;
  background-blend-mode: normal, normal, normal, luminosity, normal;
  transition: opacity .6s ease; }
body[data-pn="1"] :is(.page-wrap, main, #list-view, #detail-view, .trip-detail) { background: transparent !important; }
body[data-pn="1"] .trip-detail { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border: 0 !important; box-shadow: none !important; }

/* Glaskarten: halbdurchsichtig, 22 px Unschärfe, helle Oberkante, lila Innenlinie */
body[data-pn="1"] :is(.pn-tl-karte, .pn-kachel, .pn-temperatur, .pn-vorbereitung, .pn-pack-status, .pn-stadt, .pn-karte, .pn-band, .pn-werte > div, .pn-wetter, .pn-nacht, .pn-ticket, .pn-streifen > *),
body[data-pn="1"] #tab-briefing .brief-stop, body[data-pn="1"] .pn-checkliste .check-cat, body[data-pn="1"] #pn-route .pn-land,
body[data-pn="1"] :is(.trip-map-insight, .trip-map-legend) {
  -webkit-backdrop-filter: var(--pn-blur) !important; backdrop-filter: var(--pn-blur) !important;
}
body[data-pn="1"] :is(.pn-tl-karte, .pn-kachel, .pn-temperatur, .pn-vorbereitung, .pn-pack-status, .pn-stadt, .pn-karte, .pn-band) { box-shadow: var(--pn-kante), 0 16px 40px -18px rgba(0,0,0,0.7) !important; }
body[data-pn="1"] :is(.pn-tl-karte, .pn-stadt, .pn-karte):hover { box-shadow: var(--pn-kante-lila), 0 26px 50px -18px rgba(0,0,0,0.8), 0 0 36px -12px rgba(155,127,255,0.5) !important; }
body[data-pn="1"] #tab-briefing .brief-stop, body[data-pn="1"] .pn-checkliste .check-cat { box-shadow: var(--pn-kante), 0 16px 40px -18px rgba(0,0,0,0.7) !important; }
body[data-pn="1"] .pn-nacht { background: var(--pn-f1) !important; box-shadow: var(--pn-kante) !important; }
/* Fotokarten: Fläche unter dem Text ebenfalls Glas */
.pn-tl-karte.pn-fk { background: var(--pn-f2); }
/* Punkte und Kerben richteten sich nach dem alten dunklen Grund — jetzt Glas statt Farbfleck */
.pn-tl-e::before { box-shadow: 0 0 0 3px rgba(10,10,30,0.7), 0 0 10px color-mix(in srgb, var(--pn-farbe) 70%, transparent); }
.pn-tk-kopf::before { background: rgba(14,12,40,0.9); }
.pn-ticket::before, .pn-ticket::after { display: none; }
.pn-n-ring::before { background: rgba(12,12,34,0.92); }
.pn-rt-kopf { background: rgba(10,12,28,0.5); }

/* Kicker und betonte Worte im Lila-Gold-Verlauf (im Journal Gold) */
body[data-pn="1"] .pn-kicker, body[data-pn="1"] .pn-held-kicker, body[data-pn="1"] .pn-trenner:not(:empty) {
  background: var(--pn-verlauf-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Fenster und Blätter nach den Fensterregeln #1070: Glas 0,62, 16 px Unschärfe, 28 px Ecken, feine Innenlinie, tiefer Schatten */
body[data-pn="1"] .modal, body[data-pn="1"] .tp-modal, body[data-pn="1"] .tw-modal, body[data-pn="1"] .pn-dlg > div, .pn-sheet {
  background: var(--pn-fenster) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.5) !important; backdrop-filter: blur(16px) saturate(1.5) !important;
  box-shadow: inset 0 1px 0 rgba(236,228,255,0.2), inset 0 0 0 1px rgba(255,255,255,0.1), 0 40px 90px rgba(0,0,0,0.6) !important;
}
.pn-sheet::before { display: none; }
body[data-pn="1"] .modal-overlay, body[data-pn="1"] .tp-modal-overlay, body[data-pn="1"] .pn-dlg { background: rgba(2,6,16,0.34) !important; -webkit-backdrop-filter: blur(3px) !important; backdrop-filter: blur(3px) !important; }
.pn-sheet-grund { background: rgba(2,6,16,0.34); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@media (max-width: 759px) { .pn-sheet { border-radius: 22px 22px 0 0; } }
/* Die feste Fußleiste der Dialoge: Glas statt deckend, mit Oberkante */
body[data-pn="1"] .modal .modal-actions { background: linear-gradient(180deg, rgba(14,18,42,0.72), rgba(10,14,34,0.9)) !important; -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border-top: 1px solid rgba(205,190,255,0.14) !important; }
/* Feld-Kacheln mit der Oberkante der Glaskarten */
body[data-pn="1"] [data-pn-feld] { box-shadow: inset 0 1px 0 rgba(236,228,255,0.16), inset 0 0 0 1px rgba(205,190,255,0.16); }
/* Untere Leiste und Tagesleiste: Glas der Journal-Leiste */
body[data-pn="1"] .pn-tabs { background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)), rgba(12,16,32,0.45) !important; -webkit-backdrop-filter: blur(24px) saturate(1.6) !important; backdrop-filter: blur(24px) saturate(1.6) !important; box-shadow: var(--pn-kante), 0 18px 40px -14px rgba(0,0,0,0.6) !important; }
/* Termin und Unterkunft ohne eigenes Foto: Farbfläche der Kategorie mit großem Symbol statt eines fremden Bildes */
.pn-fk-bild.ohne-ersatz::before { background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--pn-farbe) 42%, transparent), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--pn-farbe) 22%, rgba(14,14,40,0.8)), rgba(10,12,28,0.6)); }
.pn-fk-symbol { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: color-mix(in srgb, var(--pn-farbe) 80%, #fff); opacity: .55; }
.pn-fk-symbol .pn-i { width: 46px; height: 46px; }
.pn-fk-bild.mit-foto .pn-fk-symbol { display: none; }
/* Das Seitenfoto liegt hinter allem: der dunkle Grund gehört an html, nicht an body (sonst deckt body das Foto zu) */
html:has(> body[data-pn="1"]) { background: #040914 !important; }
body[data-pn="1"] { background: transparent !important; }

/* ══ Runde 7b: Aktivität-Dialog neu — Martin: „Eingabefelder noch schöner und state of the art, komplett überarbeiten" ══ */
/* Lesbarkeit zuerst: Dialoge tragen dichteres Glas (dahinter scheinen sonst Karten und Texte durch die Felder) */
body[data-pn="1"] :is(.modal, .tp-modal, .tw-modal, .pn-dlg > div) {
  background: radial-gradient(90% 50% at 0% 0%, rgba(155,127,255,0.18), transparent 62%), radial-gradient(80% 45% at 100% 0%, rgba(255,180,84,0.07), transparent 60%), rgba(10,12,30,0.9) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.5) !important; backdrop-filter: blur(28px) saturate(1.5) !important;
}
.pn-sheet { background: radial-gradient(90% 50% at 0% 0%, rgba(155,127,255,0.18), transparent 62%), rgba(10,12,30,0.9) !important; -webkit-backdrop-filter: blur(28px) saturate(1.5) !important; backdrop-filter: blur(28px) saturate(1.5) !important; }

/* Titel: ein großes Feld ohne Kasten-im-Kasten, die Frage als Platzhalter */
body[data-pn="1"] .pn-akt .pn-titel-feld[data-pn-feld] { padding: 14px 16px 12px; border-radius: 20px; background: rgba(255,255,255,0.07); }
body[data-pn="1"] .pn-akt .pn-titel-feld[data-pn-feld] > label { font-size: 12px !important; }
body[data-pn="1"] .pn-akt .pn-titel-feld[data-pn-feld] input { font: 600 19px/1.3 var(--font) !important; min-height: 38px !important; }
/* „Aus Link übernehmen" als leise Zeile mit Symbol */
body[data-pn="1"] .pn-akt .pn-seed { display: inline-flex !important; align-items: center; gap: 8px; height: 36px !important; min-height: 0; padding: 0 14px 0 12px !important; margin: 0 0 12px; border-radius: 999px !important;
  background: rgba(255,255,255,0.07) !important; box-shadow: inset 0 0 0 1px rgba(205,190,255,0.18) !important; color: var(--text2) !important;
  font: 600 13px/1 var(--font) !important; letter-spacing: 0 !important; text-transform: none !important; }
body[data-pn="1"] .pn-akt .pn-seed::after, body[data-pn="1"] .pn-akt .pn-seed::before { content: none !important; display: none !important; }
body[data-pn="1"] .pn-akt .pn-seed .pn-i { width: 16px; height: 16px; color: #C9B8FF; }

/* Wann: Das Originalfeld (Datum, Zeiten) ist nur noch Speicher — sichtbar ist die neue Wahl */
body[data-pn="1"] .pn-akt .pn-row-alt { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pn-wann { display: grid; gap: 12px; }
/* Tag-Leiste: jeder Reisetag als Kachel mit Wochentag, Zahl und Stadt; wischbar */
.pn-tagwahl-leiste { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px 2px 4px; margin: 0 -2px; }
.pn-tagwahl-leiste::-webkit-scrollbar { display: none; }
.pn-tagwahl-leiste button { flex: 0 0 auto; scroll-snap-align: center; display: grid; justify-items: center; gap: 3px; min-width: 66px; padding: 10px 10px 9px; border: 0; border-radius: 18px; cursor: pointer;
  background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.14); color: var(--text2); transition: background .2s ease, box-shadow .2s ease, transform .15s ease; }
.pn-tagwahl-leiste button:hover { background: rgba(255,255,255,0.1); }
.pn-tagwahl-leiste button:active { transform: scale(.95); }
.pn-tagwahl-leiste small { font: 700 10.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--text3); }
.pn-tagwahl-leiste b { font: 700 22px/1 var(--font-brand); color: var(--text); font-variant-numeric: tabular-nums; }
.pn-tagwahl-leiste em { max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 11px/1.2 var(--font); font-style: normal; color: var(--text3); }
.pn-tagwahl-leiste button.an { background: linear-gradient(160deg, rgba(155,127,255,0.55), rgba(90,63,224,0.35)); box-shadow: inset 0 0 0 1.5px rgba(205,190,255,0.7), 0 10px 24px -8px rgba(106,77,240,0.7); }
.pn-tagwahl-leiste button.an small, .pn-tagwahl-leiste button.an em { color: #E6DEFF; }
/* Beginn → Ende als zwei große Zeitkacheln; das echte Feld liegt unsichtbar darüber (Antippen = Uhr des Geräts) */
.pn-zeitwahl { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); align-items: center; gap: 6px; }
.pn-zeitkachel { position: relative; display: grid; gap: 4px; padding: 12px 16px; border-radius: 18px; cursor: pointer;
  background: rgba(255,255,255,0.06); box-shadow: inset 0 1px 0 rgba(236,228,255,0.14), inset 0 0 0 1px rgba(205,190,255,0.16); transition: box-shadow .2s ease, background .2s ease; }
.pn-zeitkachel:focus-within { background: rgba(155,127,255,0.12); box-shadow: inset 0 0 0 1.5px rgba(155,127,255,0.75), 0 0 0 4px rgba(155,127,255,0.13); }
.pn-zeitkachel small { font: 600 11.5px/1.2 var(--font); color: var(--text3); }
.pn-zeit-wert { font: 700 26px/1 var(--font-brand); letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.pn-zeitkachel.leer .pn-zeit-wert { font: 600 17px/1.5 var(--font); color: var(--text4); }
body[data-pn="1"] .pn-zeitkachel input[type="time"] { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; min-height: 0 !important; opacity: 0 !important; cursor: pointer; padding: 0 !important; border: 0 !important; }
body[data-pn="1"] .pn-zeitkachel input[type="time"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; opacity: 0; cursor: pointer; }
.pn-zeit-pfeil { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #C9B8FF; background: rgba(155,127,255,0.14); }
.pn-zeit-pfeil .pn-i { width: 15px; height: 15px; }
/* Schnellwahl: Tageszeit mit Uhrzeit; Dauer als Pillen */
.pn-schnell { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pn-schnell button, .pn-dauerwahl button { border: 0; cursor: pointer; color: var(--text2); background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.12);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease; }
.pn-schnell button { display: grid; gap: 3px; justify-items: center; padding: 9px 4px; border-radius: 14px; }
.pn-schnell b { font: 600 12.5px/1.1 var(--font); }
.pn-schnell small { font: 500 11px/1 var(--font); color: var(--text3); font-variant-numeric: tabular-nums; }
.pn-dauerwahl { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.pn-dauerwahl::-webkit-scrollbar { display: none; }
.pn-dauerwahl > span { flex: none; margin-right: 2px; font: 600 12px/1 var(--font); color: var(--text3); }
.pn-dauerwahl button { flex: none; height: 34px; padding: 0 13px; border-radius: 999px; font: 600 12.5px/1 var(--font); white-space: nowrap; }
.pn-schnell button:hover, .pn-dauerwahl button:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.pn-schnell button:active, .pn-dauerwahl button:active { transform: scale(.95); }
.pn-schnell button.an, .pn-dauerwahl button.an { color: #fff; background: linear-gradient(135deg, rgba(140,107,255,0.45), rgba(90,63,224,0.28)); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.6); }
.pn-schnell button.an small { color: #E6DEFF; }
/* Zeit-Hinweis: eine leise Zeile statt eines Kastens */
body[data-pn="1"] .pn-akt #ai-time-assist { margin-top: 10px; padding: 0 2px !important; border: 0 !important; background: none !important; box-shadow: none !important; font: 500 12.5px/1.45 var(--font) !important; color: var(--text3) !important; }
body[data-pn="1"] .pn-akt #ai-time-assist::before { content: '✦ '; color: #C9B8FF; }
/* Typ: Symbolkacheln in der Kategoriefarbe, gewählt leuchtet sie */
body[data-pn="1"] .pn-akt .chips.pn-typen { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
body[data-pn="1"] .pn-akt .chips.pn-typen .chip { display: grid !important; justify-items: center; align-content: center; gap: 7px; min-height: 76px !important; height: auto !important; padding: 10px 4px !important;
  border: 0 !important; border-radius: 18px !important; background: rgba(255,255,255,0.05) !important; box-shadow: inset 0 0 0 1px rgba(205,190,255,0.12) !important;
  color: var(--text2) !important; font: 600 11.5px/1.2 var(--font) !important; text-align: center; white-space: normal; letter-spacing: 0 !important; text-transform: none !important; }
body[data-pn="1"] .pn-akt .chips.pn-typen .chip::before, body[data-pn="1"] .pn-akt .chips.pn-typen .chip::after { content: none !important; display: none !important; }
body[data-pn="1"] .pn-akt .chips.pn-typen .chip .pn-i { width: 24px; height: 24px; color: var(--pn-farbe); transition: transform .25s var(--pn-weich); }
body[data-pn="1"] .pn-akt .chips.pn-typen .chip:hover { background: rgba(255,255,255,0.09) !important; color: var(--text) !important; }
body[data-pn="1"] .pn-akt .chips.pn-typen .chip.active {
  color: #fff !important; background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--pn-farbe) 40%, transparent), transparent 75%), rgba(255,255,255,0.08) !important;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--pn-farbe) 80%, transparent), 0 10px 24px -10px color-mix(in srgb, var(--pn-farbe) 70%, transparent) !important;
}
body[data-pn="1"] .pn-akt .chips.pn-typen .chip.active .pn-i { transform: scale(1.12); }
@media (max-width: 380px) { .pn-schnell { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Vorschläge im Aktivität-Dialog bleiben in der Spalte */
body[data-pn="1"] .pn-akt #ai-suggestions-field, body[data-pn="1"] .pn-akt .ai-suggestions { min-width: 0; max-width: 100%; overflow-x: hidden; }
body[data-pn="1"] .pn-akt .ai-suggestions * { max-width: 100%; box-sizing: border-box; }
body[data-pn="1"] .pn-akt .ai-suggestions :is([class*="filter"], [class*="-row"]) { overflow-x: auto; scrollbar-width: none; }

/* ── Vorschläge im Aktivität-Dialog: wischbare Fotokarten, ein Filterknopf ─────────────────────────────── */
body[data-pn="1"] .pn-akt #ai-suggestions-field > label { display: flex !important; align-items: baseline; justify-content: space-between; gap: 10px; }
body[data-pn="1"] .pn-akt .ai-sugg-sort-label { font: 500 11.5px/1.2 var(--font) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--text4) !important; }
body[data-pn="1"] .pn-akt .ai-suggestions { display: grid !important; gap: 12px; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; overflow: visible !important; }
body[data-pn="1"] .pn-akt .ai-sugg-controls { display: grid; gap: 8px; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
body[data-pn="1"] .pn-akt .ai-sugg-ctrl-row { display: flex !important; align-items: center; gap: 8px; min-width: 0; }
body[data-pn="1"] .pn-akt .ai-sugg-ctrl-label { display: none !important; }
body[data-pn="1"] .pn-akt .ai-sugg-ctrl-chips { display: flex !important; flex-wrap: nowrap !important; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; padding: 1px; }
body[data-pn="1"] .pn-akt .ai-sugg-ctrl-chips::-webkit-scrollbar { display: none; }
body[data-pn="1"] .pn-akt .pn-filterzeile { display: none !important; }
body[data-pn="1"] .pn-akt #ai-suggestions[data-pn-filter="1"] .pn-filterzeile { display: flex !important; animation: pnAuf .3s var(--pn-weich) both; }
body[data-pn="1"] .pn-akt :is(.ai-sugg-ctrl-chip, .pn-filterknopf) {
  flex: none; display: inline-flex !important; align-items: center; gap: 6px; height: 34px !important; padding: 0 13px !important; border: 0 !important; border-radius: 999px !important; cursor: pointer;
  background: rgba(255,255,255,0.06) !important; box-shadow: inset 0 0 0 1px rgba(205,190,255,0.14) !important; color: var(--text2) !important;
  font: 600 12.5px/1 var(--font) !important; letter-spacing: 0 !important; text-transform: none !important; white-space: nowrap; }
body[data-pn="1"] .pn-akt .ai-sugg-ctrl-chip.active { color: #fff !important; background: linear-gradient(135deg, rgba(140,107,255,0.45), rgba(90,63,224,0.28)) !important; box-shadow: inset 0 0 0 1px rgba(205,190,255,0.6) !important; }
body[data-pn="1"] .pn-akt .ai-sugg-ctrl-count { margin-left: 2px; padding: 2px 6px; border-radius: 999px; background: rgba(255,255,255,0.12); font-size: 11px; }
body[data-pn="1"] .pn-akt .ai-sugg-ctrl-chip-icon { display: none; }
body[data-pn="1"] .pn-akt .pn-filterknopf { margin-left: auto; }
body[data-pn="1"] .pn-akt .pn-filterknopf .pn-i { width: 15px; height: 15px; color: #C9B8FF; }
body[data-pn="1"] .pn-akt .pn-filterknopf[aria-expanded="true"] { color: #fff !important; box-shadow: inset 0 0 0 1px rgba(205,190,255,0.6) !important; }
/* Die Reihe: große Karten, wischbar, rastet ein */
.pn-reihe { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 10px; margin: 0 -2px; }
.pn-reihe::-webkit-scrollbar { display: none; }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg {
  flex: 0 0 min(76%, 250px); scroll-snap-align: start; display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 0 !important;
  min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 20px !important; overflow: hidden; cursor: pointer; text-align: left;
  background: rgba(255,255,255,0.06) !important; box-shadow: inset 0 1px 0 rgba(236,228,255,0.14), inset 0 0 0 1px rgba(205,190,255,0.14), 0 14px 30px -14px rgba(0,0,0,0.7) !important;
  transition: transform .25s var(--pn-weich), box-shadow .25s ease; }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.4), 0 20px 36px -14px rgba(0,0,0,0.8), 0 0 30px -12px rgba(155,127,255,0.55) !important; }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg:active { transform: scale(.97); }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-thumb {
  position: relative; flex: none; width: 100% !important; height: 130px !important; min-height: 0 !important; margin: 0 !important; border-radius: 0 !important;
  background-color: #141838 !important; background-size: cover !important; background-position: center !important; }
/* Das Kategoriebild liegt immer darunter: lädt das echte Foto nicht, bleibt die Karte trotzdem nicht leer */
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-thumb:not([style*="background-image"]), body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-thumb.pn-kaputt { background-image: var(--pn-ersatz) !important; }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,10,26,0.25), transparent 40%, rgba(10,12,30,0.35)); pointer-events: none; }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-thumb-fallback { display: none !important; }
body[data-pn="1"] .pn-akt .pn-reihe :is(.ai-sugg-tier, .ai-sugg-btod) {
  position: absolute !important; z-index: 1; top: 9px !important; display: grid !important; place-items: center; width: 30px !important; height: 30px !important; border-radius: 50% !important; font-size: 14px !important;
  background: rgba(8,12,30,0.5) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18) !important; }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-tier { left: 9px !important; right: auto !important; }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-btod { right: 9px !important; left: auto !important; }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-body { display: grid !important; gap: 5px; padding: 11px 14px 13px !important; min-width: 0; }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 700 15px/1.25 var(--font) !important; color: var(--text) !important; }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-reason { font: 500 12.5px/1.35 var(--font) !important; color: var(--text3) !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal !important; }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-meta { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; font: 600 12px/1 var(--font) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--text2) !important; }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-meta > span { padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,0.08); }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-must { color: #C9B8FF; }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-name :is([class*="badge"], [class*="dist"], [class*="top"]) { font-size: 11px !important; }
body[data-pn="1"] .pn-akt .pn-sortzeile .ai-sugg-ctrl-chips { flex: 1 1 auto; }
body[data-pn="1"] .pn-akt .pn-sortzeile { gap: 8px; }
/* Vorschlag im Detail: großes Foto, klarer Titel, zwei Knöpfe — Lila statt der Stufenfarbe der Vorlage (Regel 2) */
body[data-pn="1"] .pn-akt .ai-detail { --att-color: #9B7FFF !important; display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 22px !important; overflow: hidden;
  background: rgba(255,255,255,0.06) !important; box-shadow: inset 0 1px 0 rgba(236,228,255,0.14), inset 0 0 0 1px rgba(205,190,255,0.16), 0 16px 34px -16px rgba(0,0,0,0.7) !important; animation: pnAuf .35s var(--pn-weich) both; }
body[data-pn="1"] .pn-akt .ai-detail-thumb { width: 100% !important; height: 170px !important; margin: 0 !important; border-radius: 0 !important; background-color: #141838; background-size: cover !important; background-position: center !important; font-size: 0 !important; color: transparent !important; }
body[data-pn="1"] .pn-akt .ai-detail-thumb.ai-detail-thumb-fb, body[data-pn="1"] .pn-akt .ai-detail-thumb:not([style*="background-image"]) { background-image: url('/assets/st-t-sehen-960.webp') !important; }
body[data-pn="1"] .pn-akt .ai-detail-body { display: grid !important; gap: 10px; padding: 16px 16px 14px !important; }
body[data-pn="1"] .pn-akt .ai-detail-head { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px; }
body[data-pn="1"] .pn-akt .ai-detail-head h4 { margin: 0; font: 700 20px/1.2 var(--font-brand) !important; letter-spacing: -0.02em; text-transform: none !important; color: var(--text) !important; }
body[data-pn="1"] .pn-akt .ai-detail-must { padding: 5px 10px; border-radius: 999px; font: 700 11.5px/1 var(--font) !important; letter-spacing: 0 !important; text-transform: none !important; color: #E6DEFF !important; background: rgba(155,127,255,0.22) !important; border: 0 !important; }
body[data-pn="1"] .pn-akt :is(.ai-detail-meta, .ai-detail-reason) { font: 500 13px/1.45 var(--font) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--text2) !important; }
body[data-pn="1"] .pn-akt .ai-detail-reason { padding: 10px 12px; border-radius: 14px; background: rgba(155,127,255,0.1); border: 0 !important; }
body[data-pn="1"] .pn-akt .ai-detail-reason strong { color: #E6DEFF; }
body[data-pn="1"] .pn-akt :is(.ai-detail-note, .ai-detail-extract) { margin: 0; font: 400 14px/1.55 var(--font) !important; color: var(--text2) !important; }
body[data-pn="1"] .pn-akt .ai-detail-actions { display: flex !important; align-items: center; gap: 10px; margin-top: 4px; }
body[data-pn="1"] .pn-akt .ai-detail-spacer { flex: 1; }
body[data-pn="1"] .pn-akt .ai-detail-add { height: 44px !important; padding: 0 58px 0 18px !important; font-size: 12px !important; }
body[data-pn="1"] .pn-akt .ai-detail-back { height: 44px !important; }
body[data-pn="1"] .pn-akt .ai-detail-actions { flex-direction: row !important; flex-wrap: nowrap !important; justify-content: space-between !important; padding-top: 12px; border-top: 1px solid rgba(205,190,255,0.12); }
body[data-pn="1"] .pn-akt .ai-detail-actions > * { margin: 0 !important; width: auto !important; }
body[data-pn="1"] .pn-akt .ai-detail-add { flex: 1 1 auto; max-width: 240px; }
body[data-pn="1"] .pn-akt .ai-detail, body[data-pn="1"] .pn-akt .ai-detail * { text-transform: none !important; letter-spacing: normal; text-align: left !important; }
body[data-pn="1"] .pn-akt .ai-detail-head h4 { letter-spacing: -0.02em !important; }
body[data-pn="1"] .pn-akt .ai-detail-add, body[data-pn="1"] .pn-akt .ai-detail-back { text-transform: uppercase !important; letter-spacing: .08em !important; }
/* Liniensymbole statt Emoji: gleiche Größe wie die Schrift, Farbe je Bedeutung */
.pn-sym { display: inline-flex; align-items: center; justify-content: center; margin-right: 5px; vertical-align: -0.15em; line-height: 0; }
.pn-sym .pn-i { width: 1.05em; height: 1.05em; }
.pn-sym-stern .pn-i { fill: currentColor; color: #C9B8FF; }
.pn-sym-glanz .pn-i { color: #D9CCFF; }
.pn-sym-sonne .pn-i, .pn-sym-mond .pn-i { color: #E6DEFF; }
.pn-sym-guide .pn-i { color: #C9B8FF; }
.pn-sym-pin .pn-i { color: #B9A6FF; }
body[data-pn="1"] .pn-akt .pn-reihe :is(.ai-sugg-tier, .ai-sugg-btod) .pn-sym { margin: 0; }
body[data-pn="1"] .pn-akt .pn-reihe :is(.ai-sugg-tier, .ai-sugg-btod) .pn-sym .pn-i { width: 15px; height: 15px; }
body[data-pn="1"] .pn-akt .pn-reihe .ai-sugg-tier .pn-sym-stern .pn-i { color: #FFFFFF; }
/* Tageszeile: farbige Pillen mit Symbol — auf einen Blick erkennbar, was gemeint ist */
.pn-tag-infos { display: flex !important; flex-wrap: wrap; gap: 6px; }
.pn-tag-infos .pn-info { display: inline-flex !important; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px !important; border-radius: 999px !important;
  font: 600 12.5px/1 var(--font) !important; color: var(--pn-ic, #D9CCFF) !important; background: color-mix(in srgb, var(--pn-ic, #9B7FFF) 16%, rgba(10,12,28,0.5)) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pn-ic, #9B7FFF) 34%, transparent) !important; font-variant-numeric: tabular-nums; }
.pn-tag-infos .pn-info + .pn-info::before { content: none !important; }
.pn-tag-infos .pn-info .pn-i { width: 15px; height: 15px; flex: none; }
.pn-tag-infos .pn-i-sonne { --pn-ic: #FFC2A6; }
.pn-tag-infos .pn-i-uv { --pn-ic: #F7A8D8; }
.pn-tag-infos .pn-i-wind { --pn-ic: #A9D4FF; }
.pn-tag-infos .pn-i-regen { --pn-ic: #8FB8FF; }
.pn-tag-infos .pn-i-kalt { --pn-ic: #9FE7FF; }
.pn-tag-infos .pn-i-tipp { --pn-ic: #CDBDFF; }
.pn-tag-infos .pn-info.pn-fest { --pn-ic: #F7C6E0; }
.pn-tipp-ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: var(--pn-ic, #CDBDFF); background: color-mix(in srgb, var(--pn-ic, #9B7FFF) 16%, transparent); }
.pn-tipp-ico .pn-i { width: 18px; height: 18px; }
.pn-tipp-ico.pn-i-regen { --pn-ic: #8FB8FF; } .pn-tipp-ico.pn-i-kalt { --pn-ic: #9FE7FF; } .pn-tipp-ico.pn-i-wind { --pn-ic: #A9D4FF; } .pn-tipp-ico.pn-i-tipp { --pn-ic: #CDBDFF; } .pn-tipp-ico.pn-i-fest { --pn-ic: #F7C6E0; }

/* ══ Runde 8: echtes Glas in allen Blättern und Dialogen — Martin: „warum ist das Fenster nicht im besprochenen Design? kein Glas" ══
   Durchsicht wie Journal/Watchlist (dahinter bleibt die Seite als weicher Schimmer), Lesbarkeit über starke Unschärfe
   statt Deckkraft; innen gruppierte Glaskarten statt flacher Listen. Gilt für .pn-sheet und alle Dialoge (.modal …). */
body[data-pn="1"] {
  --pn-blatt: linear-gradient(160deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.04) 32%, rgba(255,255,255,0.02) 100%),
              radial-gradient(90% 55% at 0% 0%, rgba(155,127,255,0.24), transparent 62%),
              radial-gradient(70% 45% at 100% 0%, rgba(255,180,84,0.08), transparent 60%),
              rgba(14,13,38,0.4);
  --pn-blatt-blur: blur(26px) saturate(1.7);
  --pn-blatt-kante: inset 0 1px 0 rgba(255,255,255,0.22), inset 0 0 0 1px rgba(205,190,255,0.2), 0 40px 90px rgba(0,0,0,0.55);
  --pn-kachel-glas: linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
}
.pn-sheet, body[data-pn="1"] :is(.modal, .tp-modal, .tw-modal, .pn-dlg > div) {
  background: var(--pn-blatt) !important;
  -webkit-backdrop-filter: var(--pn-blatt-blur) !important; backdrop-filter: var(--pn-blatt-blur) !important;
  box-shadow: var(--pn-blatt-kante) !important;
}
.pn-sheet-grund { background: rgba(4,6,20,0.42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
body[data-pn="1"] :is(.modal-overlay, .tp-modal-overlay, .pn-dlg) { background: rgba(4,6,20,0.42) !important; -webkit-backdrop-filter: blur(4px) !important; backdrop-filter: blur(4px) !important; }
/* Fußleiste der Dialoge: Glas statt deckend */
body[data-pn="1"] .modal .modal-actions { background: linear-gradient(180deg, rgba(20,18,50,0.35), rgba(14,13,38,0.72)) !important; -webkit-backdrop-filter: blur(30px) saturate(1.6) !important; backdrop-filter: blur(30px) saturate(1.6) !important; }
/* Foto oben läuft weich ins Glas aus (vorher: harte dunkle Kante) */
.pn-sheet-foto::after { background: linear-gradient(180deg, rgba(8,10,28,0.2) 0%, rgba(8,10,28,0) 30%, rgba(14,13,38,0.35) 62%, rgba(14,13,38,0.72) 100%) !important; }

/* Eckdaten (Wann, Ort, Notiz): eine Glaskarte, Symbol im farbigen Kreis, Beschriftung ruhig statt Großbuchstaben */
.pn-fakten { margin: 4px 8px 14px !important; padding: 4px 14px !important; gap: 0 !important; border-radius: 20px; background: var(--pn-kachel-glas); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 0 0 1px rgba(205,190,255,0.14); }
.pn-fakten > div { grid-template-columns: 34px minmax(0, 1fr) !important; grid-template-rows: auto auto; column-gap: 12px !important; row-gap: 2px !important; align-items: center !important; padding: 11px 0 !important; border-bottom: 1px solid rgba(205,190,255,0.1) !important; }
.pn-fakten > div:last-child { border-bottom: 0 !important; }
.pn-fakten > div > .pn-i { grid-row: 1 / span 2; align-self: center !important; width: 34px !important; height: 34px !important; padding: 8px; box-sizing: border-box; border-radius: 12px;
  color: var(--pn-farbe, #C9B8FF) !important; background: color-mix(in srgb, var(--pn-farbe, #9B7FFF) 18%, transparent); }
.pn-fakten dt { grid-column: 2; font: 600 11.5px/1.2 var(--font) !important; letter-spacing: .01em !important; text-transform: none !important; color: var(--text3) !important; }
.pn-fakten dd { grid-column: 2; font: 500 15px/1.45 var(--font) !important; color: var(--text) !important; }

/* Aktionen: gruppierte Glaskarte (wie Einstellungen am Handy), Löschen als eigene kleine Karte */
.pn-sheet .pn-aktionen:not(.pn-raster) { margin: 0 8px; padding: 6px; gap: 0; border-radius: 22px; background: var(--pn-kachel-glas); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 0 0 1px rgba(205,190,255,0.14); }
.pn-sheet .pn-aktionen:not(.pn-raster) .pn-aktion { min-height: 60px; border-radius: 16px; }
.pn-sheet .pn-aktionen:not(.pn-raster) .pn-aktion + .pn-aktion { box-shadow: 0 -1px 0 rgba(205,190,255,0.08); }
.pn-sheet .pn-aktionen:not(.pn-raster) .pn-aktion:hover { background: rgba(255,255,255,0.07); box-shadow: none; }
.pn-sheet .pn-aktionen:not(.pn-raster) .pn-trenner:empty { height: 0; margin: 6px -6px; border-top: 6px solid transparent; background: none; }
.pn-sheet .pn-aktionen:not(.pn-raster) .pn-trenner:not(:empty) { margin: 10px 10px 4px; }
.pn-sheet .pn-aktion-ico { width: 40px; height: 40px; border-radius: 13px; }
/* Links (Karte, Link öffnen) als Glas-Pillen über der Karte */
.pn-sheet .pn-links { margin: 0 8px 14px !important; }
/* Tag-Blatt und Guide: Stand-Kasten, Wetterwerte und Tipps als Glaskacheln */
.pn-sheet .pn-wetter-gross { padding: 14px 16px; border-radius: 20px; }
.pn-sheet :is(.pn-guide-stand, .pn-werte > div, .pn-tipps li, .pn-wetter-gross) { background: var(--pn-kachel-glas) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), inset 0 0 0 1px rgba(205,190,255,0.12) !important; }
/* Wegkarte im Eintrag: Karte mit Nadel, Name, Adresse, Entfernung, „Route dorthin" */
.pn-wegkarte { margin: 4px 8px 14px; border-radius: 22px; overflow: hidden; background: var(--pn-kachel-glas); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 0 0 1px rgba(205,190,255,0.16); }
.pn-wk-karte { position: relative; display: block; height: 150px; overflow: hidden; background: linear-gradient(rgba(155,127,255,0.07) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(155,127,255,0.07) 1px, transparent 1px) 0 0 / 28px 28px, #1b2140; }
.pn-wk-kacheln { position: absolute; left: 50%; top: 50%; width: 1280px; height: 768px; }
.pn-wk-kacheln img { position: absolute; width: 256px; height: 256px; max-width: none; filter: saturate(.85) brightness(.9); }
.pn-wk-karte::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 50% 50%, transparent 55%, rgba(14,13,38,0.35)), linear-gradient(180deg, transparent 60%, rgba(14,13,38,0.35)); }
.pn-wk-nadel { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; margin: -38px 0 0 -19px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: linear-gradient(135deg, #9B7FFF, #5A3FE0); box-shadow: 0 8px 18px rgba(60,30,180,0.55), inset 0 0 0 2px rgba(255,255,255,0.85); animation: pnNadel .6s var(--pn-weich) both; }
.pn-wk-nadel .pn-i { width: 18px; height: 18px; color: #fff; transform: rotate(45deg); }
@keyframes pnNadel { from { transform: rotate(-45deg) translate(8px, -14px); opacity: 0; } }
.pn-wk-quelle { position: absolute; right: 8px; bottom: 6px; z-index: 1; font: 500 9.5px/1 var(--font); color: rgba(20,20,40,0.75); background: rgba(255,255,255,0.7); padding: 2px 5px; border-radius: 4px; }
.pn-wk-text { display: grid; gap: 4px; padding: 13px 16px 4px; }
.pn-wk-text b { font: 700 16px/1.3 var(--font); color: var(--text); }
.pn-wk-text > span { font: 500 13.5px/1.4 var(--font); color: var(--text2); }
.pn-wk-weg { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font-weight: 600 !important; color: #D9CCFF !important; }
.pn-wk-weg .pn-i { width: 16px; height: 16px; flex: none; color: #B9A6FF; }
.pn-wk-weg.leise { color: var(--text3) !important; font-weight: 500 !important; }
.pn-wk-knoepfe { display: flex; align-items: center; gap: 10px; padding: 10px 14px 14px; }
.pn-wk-knoepfe .kp { flex: 1 1 auto; justify-content: flex-start; height: 44px; }
.pn-wk-mini { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 999px; font: 600 13px/1 var(--font); color: var(--text2); background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.16); text-decoration: none; }
.pn-wk-mini .pn-i { width: 16px; height: 16px; }
/* Lange Notizen (etwa ein Wikipedia-Auszug) bleiben kurz, bis man „Weiterlesen" tippt */
.pn-fakten .pn-kurz { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pn-fakten .pn-kurz.offen { display: block; -webkit-line-clamp: unset; }
.pn-weiterlesen { grid-column: 2; justify-self: start; margin-top: 2px; padding: 4px 0; border: 0; background: none; cursor: pointer; font: 600 13px/1 var(--font); color: #C9B8FF; }
.pn-wk-kacheln img { width: 257px !important; height: 257px !important; }

/* ── Runde 8b: jedes Fenster in derselben Sprache ───────────────────────────────────────────
   Hinweise in Lila-Glas statt Orange/Türkis (Warnfarben gehören nur zu Warnstufen),
   Symbole als Linien statt Emoji, Tagesausflug mit Tag-Leiste, Zeitkacheln und Verkehrsmittel-Chips. */
body[data-pn="1"] :is(.tp-mode-banner, .tp-mode-banner-rec, .tp-mode-banner-partial, .tp-reason-line, .tp-active-caveat, .tp-active-note, .tp-active-warn, .tp-active-hint) {
  display: flex; align-items: flex-start; gap: 10px; flex-wrap: nowrap;
  background: linear-gradient(135deg, rgba(155,127,255,0.14), rgba(155,127,255,0.05)) !important;
  border: 1px solid rgba(190,170,255,0.2) !important; border-left: 1px solid rgba(190,170,255,0.2) !important;
  border-radius: 16px !important; color: #E3DBFF !important; padding: 11px 14px !important;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
body[data-pn="1"] .tp-active-hint { background: none !important; border: 0 !important; padding: 4px 2px !important; color: var(--text3) !important; }
body[data-pn="1"] :is(.tp-mode-banner, .tp-reason-line, .tp-active-caveat, .tp-active-note, .tp-active-warn) .pn-sym { color: #C9B8FF; margin-top: 1px; }
body[data-pn="1"] .tp-confidence-chip { background: rgba(155,127,255,0.22) !important; color: #E6DEFF !important; }
body[data-pn="1"] .tp-mode-chip.tp-mode-chip-mixed { border-color: rgba(190,170,255,0.4) !important; }
body[data-pn="1"] .tp-mode-chip.tp-mode-chip-mixed.active { background: rgba(155,127,255,0.22) !important; border-color: #9B7FFF !important; box-shadow: 0 0 0 2px rgba(155,127,255,0.22) !important; }
body[data-pn="1"] .tp-mode-icon { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(155,127,255,0.14); color: #D9CCFF; }
body[data-pn="1"] .tp-mode-icon .pn-sym, body[data-pn="1"] .tp-active-icon .pn-sym { margin: 0; }
body[data-pn="1"] .tp-mode-icon .pn-i { width: 19px; height: 19px; }
body[data-pn="1"] .tp-mode-chip.active .tp-mode-icon { background: rgba(155,127,255,0.4); color: #fff; }
body[data-pn="1"] .tp-active-icon { display: inline-flex; color: #D9CCFF; }
body[data-pn="1"] .tp-chip-caveat-flag .pn-sym { margin: 0 0 0 4px; color: #C9B8FF; }
body[data-pn="1"] .tp-second-link .pn-sym { color: #C9B8FF; }
/* Import: Reiter als Segment-Schalter mit Symbol */
body[data-pn="1"] .tpi-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
body[data-pn="1"] .tpi-tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0 !important; border-radius: 12px !important; padding: 10px 8px !important; color: var(--text3) !important; background: none !important; }
body[data-pn="1"] .tpi-tab.active { background: linear-gradient(160deg, rgba(155,127,255,0.45), rgba(90,63,224,0.3)) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(205,190,255,0.45); }
body[data-pn="1"] .tpi-drop-icon .pn-sym { margin: 0; }
body[data-pn="1"] .tpi-drop-icon .pn-i { width: 30px; height: 30px; color: #C9B8FF; }
/* Stadt-Fenster: Chips aus dem Reiseführer einheitlich als Glas, Farbe nur im Symbol */
body[data-pn="1"] .pn-sheet .ct-chip, body[data-pn="1"] .pn-sheet .ct-chip:is(.ct-safety, .ct-go-next, .ct-lead, [class*="ct-climate-"]) {
  background: rgba(255,255,255,0.06) !important; border: 1px solid rgba(255,255,255,0.12) !important; color: var(--text) !important;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 999px !important; padding: 9px 14px !important;
}
body[data-pn="1"] .pn-sheet .ct-chip:hover { background: rgba(155,127,255,0.16) !important; border-color: rgba(190,170,255,0.4) !important; }
body[data-pn="1"] .pn-sheet .ct-chip .pn-sym { color: #C9B8FF; }
body[data-pn="1"] .pn-sheet .ct-chip-more { background: rgba(155,127,255,0.3) !important; color: #fff !important; }
/* Tagesausflug */
body[data-pn="1"] .pn-dt .pn-row-alt, body[data-pn="1"] .pn-dt .pn-dt-tag:not(.ohne-tage) > input { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body[data-pn="1"] .pn-dt .pn-dt-tag:not(.ohne-tage) { display: grid; gap: 10px; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
body[data-pn="1"] .pn-dt .pn-dt-tag:not(.ohne-tage)::before { display: none !important; }
body[data-pn="1"] .pn-dt .pn-dt-tag:not(.ohne-tage) > label { position: static !important; padding: 0 !important; font: 700 11px/1.2 var(--font) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--text3) !important; }
body[data-pn="1"] .pn-dt .pn-dt-tag.ohne-tage .pn-tagwahl-leiste { display: none; }
body[data-pn="1"] .pn-dt .dt-times-grid { display: grid; gap: 12px; }
body[data-pn="1"] .pn-dt .pn-dt-weg { display: grid; gap: 10px; padding: 14px !important; border-radius: 22px !important; background: var(--pn-kachel-glas, rgba(255,255,255,0.05)) !important; border: 1px solid rgba(255,255,255,0.1) !important; }
body[data-pn="1"] .pn-dt .dt-time-head { display: flex; align-items: center; gap: 8px; font: 600 14px/1.3 var(--font) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--text) !important; }
body[data-pn="1"] .pn-dt .pn-dt-sym { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(155,127,255,0.18); color: #D9CCFF; }
body[data-pn="1"] .pn-dt .pn-dt-sym .pn-i { width: 17px; height: 17px; }
.pn-dt-zeile { display: grid; gap: 10px; }
.pn-dt-mittel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pn-dt-mittel::-webkit-scrollbar { display: none; }
.pn-dt-mittel button { flex: 0 0 auto; display: grid; justify-items: center; align-content: center; gap: 4px; min-width: 0; padding: 9px 2px; border: 0; border-radius: 16px; cursor: pointer;
  background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); color: var(--text3); font: 600 11px/1.1 var(--font); transition: background .2s, transform .15s; }
.pn-dt-mittel button .pn-i { width: 19px; height: 19px; }
.pn-dt-mittel button:active { transform: scale(.95); }
.pn-dt-mittel button.an { background: linear-gradient(160deg, rgba(155,127,255,0.55), rgba(90,63,224,0.35)); box-shadow: inset 0 0 0 1.5px rgba(205,190,255,0.7); color: #fff; }
body[data-pn="1"] .pn-dt .pn-dt-tag:not(.ohne-tage) > :is(label, .pn-tagwahl-leiste) { margin-left: 0 !important; padding-left: 0 !important; }
.pn-dt-mittel button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body[data-pn="1"] .pn-dt .pn-dt-tag:not(.ohne-tage) { grid-template-columns: minmax(0, 1fr) !important; cursor: default; }
body[data-pn="1"] .pn-dt .pn-dt-tag:not(.ohne-tage) > * { grid-column: 1 !important; }

/* ── Infos: Länder-Briefing so breit wie die Karten darüber und darunter; „Ganzes Briefing" als großer Knopf ── */
body[data-pn="1"] #tab-briefing .briefing-tab { max-width: none !important; margin: 0 !important; padding: 0 !important; }
body[data-pn="1"] #tab-briefing .briefing-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 16px !important; padding: 16px 18px !important;
  border: 0 !important; border-radius: 22px !important; background: var(--pn-f2) !important; box-shadow: var(--pn-kante), 0 16px 40px -18px rgba(0,0,0,0.7) !important;
}
body[data-pn="1"] #tab-briefing .briefing-actions-hint { flex: 1 1 260px; order: -1; font-size: 13.5px !important; line-height: 1.45; color: var(--text2, #C7CFE6) !important; }
body[data-pn="1"] #tab-briefing .brief-mehr { display: grid !important; gap: 10px; margin: 4px 0 16px !important; }
body[data-pn="1"] #tab-briefing .brief-mehr > .kp { width: 100%; height: 58px; font-size: 13.5px !important; justify-content: flex-start;
  box-shadow: 0 14px 34px -14px rgba(123,92,255,0.75); }
body[data-pn="1"] #tab-briefing .brief-mehr-hint { min-width: 0 !important; padding: 0 4px; font-size: 12.5px; line-height: 1.5; text-align: center; }
.pn-bf-gross { display: inline; margin-left: 4px; padding: 0; border: 0; background: none; cursor: pointer; font: 600 12.5px/1.5 var(--font); color: #C9B8FF; text-decoration: underline; text-underline-offset: 3px; }
body[data-pn="1"] #tab-briefing .brief-budget .pn-sym { color: #C9B8FF; }
/* Eingebettetes Briefing: zu = der Anfang, weich nach unten ausblendend; auf = volle Länge */
.pn-bf { position: relative; margin: 4px -18px 10px; }
.pn-bf-fenster { position: relative; overflow: hidden; transition: max-height .6s cubic-bezier(.2,.8,.2,1); }
.pn-bf.zu .pn-bf-fenster { max-height: 560px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.pn-bf:not(.zu) .pn-bf-fenster { max-height: none; }
.pn-bf-rahmen { display: block; width: 100%; height: 560px; border: 0; background: transparent; color-scheme: dark; }
.pn-bf:not(.bereit) .pn-bf-rahmen { position: absolute; visibility: hidden; }
.pn-bf.bereit .pn-bf-lade, .pn-bf.pn-bf-ohne { display: none; }
.pn-bf-lade { padding: 26px 18px; text-align: center; font: 500 13px/1.4 var(--font); color: var(--text3); }
/* Aufgeklappt bleibt „Einklappen" beim Lesen unten im Blick, bis das Briefing zu Ende ist */
body[data-pn="1"] #tab-briefing .pn-bf-auf .brief-mehr { position: sticky; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 6; }
body[data-pn="1"] #tab-briefing .pn-bf-auf .brief-mehr-hint { display: none; }
body[data-pn="1"] #tab-briefing .pn-bf-auf .brief-mehr > .kp { background: rgba(22,18,52,0.92) !important; -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 18px 40px -10px rgba(0,0,0,0.8), 0 0 0 1px rgba(205,190,255,0.35); }
body[data-pn="1"].pn-bf-lesen .pn-fab { transform: scale(.8); opacity: 0; pointer-events: none; }

/* ── Zurück: als Pille mit Wort, im Foto-Kopf und beim Scrollen oben links schwebend ─────────────────────── */
.pn-zurueck { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; height: 42px; padding: 0 16px 0 10px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 14px/1 var(--font); color: #fff; background: rgba(6,10,24,0.5); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.35), 0 8px 24px -10px rgba(0,0,0,0.7);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); transition: transform .15s ease, background .2s ease; }
.pn-zurueck .pn-i { width: 20px; height: 20px; color: #D9CCFF; }
.pn-zurueck:hover { background: rgba(123,92,255,0.35); }
.pn-zurueck:active { transform: scale(.96); }
.pn-zurueck:focus-visible { outline: 2px solid #B9A6FF; outline-offset: 3px; }
.pn-zurueck-schwebend { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); z-index: 690; max-width: min(72vw, 420px);
  background: rgba(22,18,52,0.82); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  opacity: 0; transform: translateY(-10px) scale(.96); pointer-events: none; transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.pn-zurueck-schwebend.an { opacity: 1; transform: none; pointer-events: auto; }
.pn-zurueck-schwebend small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 12.5px/1 var(--font); color: rgba(223,235,255,0.6); }
.pn-zurueck-schwebend small:not(:empty)::before { content: '·'; margin: 0 6px 0 2px; color: rgba(223,235,255,0.35); }
@media (prefers-reduced-motion: reduce) { .pn-zurueck-schwebend { transition: none; } }
@media (max-width: 760px) {
  /* Handy: unten links über der Leiste, im Daumenbereich — oben würde die Pille Tag-Leiste und Karten verdecken */
  .pn-zurueck-schwebend { top: auto !important; bottom: calc(var(--pn-leiste-h, 64px) + 22px + var(--pn-unten, 0px)); height: 44px; padding-right: 16px; }
  .pn-zurueck-schwebend small { display: none; }
  .pn-zurueck-schwebend:not(.an) { transform: translateY(10px) scale(.96); }
}

/* ── Wettersymbole Stil A: SVG mit Verlauf, sanft schwebend ─────────────────────────────────────────────── */
.pn-wsym { display: block; flex: none; overflow: visible; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.35)); }
.pn-wetter .pn-wsym { width: 22px; height: 22px; margin-right: 2px; }
.pn-temp-sym { overflow: visible; }
.pn-wetter-gross .pn-wg-sym { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; flex: none;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.14), rgba(255,255,255,0.03)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 0 0 1px rgba(205,190,255,0.14); animation: pnSchweben 4s ease-in-out infinite; }
.pn-wetter-gross.pn-wg-klar .pn-wg-sym, .pn-wetter-gross.pn-wg-heiter .pn-wg-sym { background: radial-gradient(circle at 35% 30%, rgba(255,200,80,0.28), rgba(255,160,60,0.06)); }
.pn-wetter-gross:is(.pn-wg-regen, .pn-wg-niesel, .pn-wg-gewitter) .pn-wg-sym { background: radial-gradient(circle at 35% 30%, rgba(90,170,255,0.26), rgba(61,123,255,0.06)); }
.pn-wetter-gross b { font-size: 18px !important; }
@media (prefers-reduced-motion: reduce) { .pn-wetter-gross .pn-wg-sym { animation: none; } }
.pn-zurueck-schwebend.an.scrollt { opacity: .22; transition: opacity .15s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.pn-zurueck-schwebend.an.scrollt:hover { opacity: 1; }

/* ── Keine leeren Flächen: Aktivitätskarten, freie Tage, fehlende Unterkunft ─────────────────────────────── */
/* Breite Karten: rechts neben dem Foto dasselbe Foto weich verschwommen — Farbe statt dunkler Leere */
@media (min-width: 700px) {
  .pn-tl-karte.pn-fk::before { content: ''; position: absolute; inset: -30px; z-index: -1; pointer-events: none;
    background: var(--pn-kbild, none) center / cover no-repeat; filter: blur(34px) saturate(1.4) brightness(.42); opacity: .95; transition: opacity .6s ease; }
  .pn-tl-karte.pn-fk .pn-tl-text { position: relative; }
  .pn-tl-karte.pn-fk .pn-tl-text > b { font-size: 18px; text-shadow: 0 1px 12px rgba(0,0,0,0.45); }
}
.pn-fk-zeit { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px/1.3 var(--font); color: var(--text2); font-variant-numeric: tabular-nums; }
.pn-fk-zeit .pn-i { width: 14px; height: 14px; color: var(--pn-farbe); }
/* Freier Tag: einladende Karte statt Schraffur */
.pn-tl-frei { display: flex !important; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px !important; border-radius: 20px !important;
  background: linear-gradient(135deg, rgba(155,127,255,0.16), rgba(61,224,255,0.06)) !important; box-shadow: inset 0 0 0 1px rgba(205,190,255,0.22), inset 0 1px 0 rgba(255,255,255,0.12) !important; color: var(--text) !important; }
.pn-frei-sym { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; flex: none; color: #fff;
  background: linear-gradient(140deg, #9B7FFF, #5A3FE0); box-shadow: 0 10px 22px -8px rgba(106,77,240,0.8); animation: pnSchweben 4s ease-in-out infinite; }
.pn-frei-sym .pn-i { width: 20px; height: 20px; }
.pn-frei-text { display: grid; gap: 2px; flex: 1 1 180px; min-width: 0; }
.pn-frei-text b { font: 700 15px/1.25 var(--font); }
.pn-frei-text small { font: 500 12.5px/1.35 var(--font); color: var(--text3); }
.pn-frei-knoepfe { display: flex; gap: 8px; }
.pn-frei-knoepfe button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 13px/1 var(--font); color: #fff; background: rgba(255,255,255,0.1); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.3); transition: background .2s ease, transform .15s ease; }
.pn-frei-knoepfe button:first-child { background: linear-gradient(140deg, #8C6BFF, #6A4DF0); box-shadow: 0 8px 20px -8px rgba(106,77,240,0.8); }
.pn-frei-knoepfe button:hover { background: rgba(155,127,255,0.3); }
.pn-frei-knoepfe button:active { transform: scale(.96); }
.pn-frei-knoepfe .pn-i { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .pn-frei-sym { animation: none; } }
/* Fehlende Unterkunft: gestrichelte Lila-Kante, Plus als Knopf */
.pn-nacht.fehlt { background: linear-gradient(135deg, rgba(155,127,255,0.1), rgba(155,127,255,0.03)) !important; box-shadow: none !important; outline: 1.5px dashed rgba(190,170,255,0.4); outline-offset: -1.5px; }
.pn-nacht.fehlt .pn-e-pfeil { width: 30px; height: 30px; padding: 6px; box-sizing: border-box; border-radius: 50%; color: #fff; background: linear-gradient(140deg, #8C6BFF, #6A4DF0); }
.pn-nacht.fehlt:hover { outline-color: rgba(205,190,255,0.7); }

/* Beim Scrollen wird die Tag-Leiste durchsichtiger, in Ruhe wieder dicht (Martin 27.09.2026) */
.pn-tl-rahmen.scrollt .pn-tagleiste { background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)), rgba(12,16,32,0.22); }
.pn-tagleiste .pn-tag::before { left: 6px; right: 6px; }
body[data-pn="1"] .pn-tabs { transition: background .35s ease, box-shadow .35s ease; }
body[data-pn="1"] .pn-tabs.scrollt { background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)), rgba(12,16,32,0.22) !important; }

/* ── Reiseband: Städte als Fotokreise, Strecke zeichnet sich, Verkehrsmittel fährt mit ─────────────────────── */
.pn-reiseband { margin: 18px -4px 4px; padding: 18px 16px 14px; border-radius: 24px; overflow-x: auto; scrollbar-width: none;
  background: radial-gradient(80% 120% at 0% 0%, rgba(155,127,255,0.22), transparent 60%), linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  box-shadow: var(--pn-kante), 0 18px 40px -18px rgba(0,0,0,0.7); }
.pn-reiseband::-webkit-scrollbar { display: none; }
.pn-reiseband ol { display: flex; align-items: flex-start; margin: 0; padding: 0; list-style: none; min-width: max-content; }
.pn-rb-halt { flex: none; width: 92px; animation: pnRbHalt .6s cubic-bezier(.2,.9,.3,1.3) both; animation-delay: calc(var(--i) * 420ms); }
.pn-rb-halt button { display: grid; justify-items: center; gap: 6px; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: var(--text); text-align: center; }
.pn-rb-foto { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: var(--text3);
  background: #1b2140 center / cover no-repeat; box-shadow: 0 0 0 3px rgba(12,16,32,0.9), 0 0 0 5px var(--pn-rb-farbe), 0 12px 26px -8px rgba(0,0,0,0.8);
  transition: transform .3s cubic-bezier(.2,.9,.3,1.3), box-shadow .3s ease; }
.pn-rb-foto.mit-bild > svg { display: none; }
.pn-rb-foto .pn-i { width: 24px; height: 24px; }
.pn-rb-halt button:hover .pn-rb-foto { transform: translateY(-3px) scale(1.06); box-shadow: 0 0 0 3px rgba(12,16,32,0.9), 0 0 0 5px var(--pn-rb-farbe), 0 0 26px 4px color-mix(in srgb, var(--pn-rb-farbe) 50%, transparent); }
.pn-rb-halt b { max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 13px/1.2 var(--font); }
.pn-rb-halt small { font: 600 11px/1.2 var(--font); color: var(--text3); }
.pn-rb-weg { position: relative; flex: 1 0 70px; height: 64px; display: grid; place-items: center; }
.pn-rb-linie { position: absolute; left: -6px; right: -6px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; transform-origin: left center;
  background: linear-gradient(90deg, rgba(190,170,255,0.9), rgba(61,224,255,0.9)); box-shadow: 0 0 12px rgba(155,127,255,0.55);
  animation: pnRbLinie .5s ease-out both; animation-delay: calc(var(--i) * 420ms - 260ms); }
.pn-rb-weg.offen .pn-rb-linie { background: repeating-linear-gradient(90deg, rgba(190,170,255,0.6) 0 6px, transparent 6px 12px); box-shadow: none; }
.pn-rb-weg i { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-style: normal; color: #fff;
  background: linear-gradient(140deg, #9B7FFF, #5A3FE0); box-shadow: 0 0 0 3px rgba(12,16,32,0.85), 0 6px 16px -4px rgba(106,77,240,0.9);
  animation: pnRbFahrt 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * 420ms + 300ms); }
.pn-rb-weg.offen i { background: rgba(30,26,64,0.95); color: #C9B8FF; box-shadow: 0 0 0 3px rgba(12,16,32,0.85), inset 0 0 0 1px rgba(205,190,255,0.4); animation: none; }
.pn-rb-weg i .pn-i { width: 15px; height: 15px; }
.pn-rb-weg small { position: absolute; top: calc(50% + 20px); font: 600 10.5px/1 var(--font); color: var(--text3); white-space: nowrap; font-variant-numeric: tabular-nums; }
@keyframes pnRbHalt { from { opacity: 0; transform: translateY(10px) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes pnRbLinie { from { transform: scaleX(0); opacity: .2; } to { transform: scaleX(1); opacity: 1; } }
@keyframes pnRbFahrt { 0%, 100% { transform: translateX(-14px); } 50% { transform: translateX(14px); } }
@media (prefers-reduced-motion: reduce) { .pn-rb-halt, .pn-rb-linie, .pn-rb-weg i { animation: none; } }

/* ── Runde 10: Reisekachel als Bordkarte ─────────────────────────────────────────────────────────────────
   Kopf (Verkehrsmittel, Dauer, Hinweis) · groß Abfahrt → Ankunft · dazwischen die Strecke als Bogen, der sich zeichnet,
   während das Fahrzeug auf ihm fährt. Flug: hoher Bogen; Bus, Zug, Auto, Fähre: flache Welle. */
.pn-ticket.pn-rk { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: none; gap: 12px; padding: 14px 18px 16px; overflow: hidden; isolation: isolate;
  --rk-a: #9B7FFF; --rk-b: #3DE0FF;
  background: radial-gradient(90% 140% at 0% 0%, color-mix(in srgb, var(--rk-a) 34%, transparent), transparent 60%),
    radial-gradient(70% 120% at 100% 100%, color-mix(in srgb, var(--rk-b) 18%, transparent), transparent 60%),
    radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1.2px) 0 0 / 14px 14px, rgba(20,17,52,0.72) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 0 0 1px rgba(205,190,255,0.2), 0 18px 40px -16px rgba(40,20,120,0.7) !important; }
.pn-ticket.pn-rk.m-transport, .pn-ticket.pn-rk.m-auto { --rk-b: #F28AC0; }
.pn-ticket.pn-rk.m-zug { --rk-b: #6FA8FF; }
.pn-ticket.pn-rk.m-schiff { --rk-b: #3DE0FF; --rk-a: #6FA8FF; }
.pn-ticket.pn-rk:hover { transform: translateY(-2px); }
.pn-rk-kopf { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pn-rk-modus, .pn-rk-dauer, .pn-rk-hinweis { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font: 700 12px/1 var(--font); white-space: nowrap; }
.pn-rk-modus { color: #fff; background: linear-gradient(135deg, var(--rk-a), color-mix(in srgb, var(--rk-a) 55%, #3a2a9a)); box-shadow: 0 6px 16px -6px var(--rk-a); }
.pn-rk-dauer { color: var(--text); background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); font-variant-numeric: tabular-nums; }
.pn-rk-hinweis { color: #E6DEFF; background: rgba(155,127,255,0.16); font-weight: 600; }
.pn-rk-kopf .pn-i { width: 14px; height: 14px; }
.pn-rk-strecke { display: grid; grid-template-columns: auto minmax(70px, 1fr) auto; align-items: end; gap: 12px; }
.pn-rk-ort { display: grid; gap: 2px; min-width: 0; }
.pn-rk-ort.rechts { text-align: right; justify-items: end; }
.pn-rk-ort b { font: 700 28px/1 var(--font-brand); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff; }
.pn-rk-ort sup { font: 700 12px/1 var(--font); margin-left: 3px; color: var(--rk-b); vertical-align: super; }
.pn-rk-ort em { font: 600 14px/1.25 var(--font); font-style: normal; color: var(--text); max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-rk-ort small { font: 500 11.5px/1.2 var(--font); color: var(--text3); }
.pn-rk-bahn { position: relative; height: 58px; align-self: center; }
.pn-rk-bahn svg { position: absolute; inset: 4px 0 4px; width: 100%; height: calc(100% - 8px); overflow: visible; }
.pn-rk-grund { fill: none; stroke: rgba(205,190,255,0.35); stroke-width: 2; stroke-dasharray: 1.2 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pn-rk-spur { fill: none; stroke: var(--rk-b); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: var(--rk-len, 2000px); stroke-dashoffset: var(--rk-len, 2000px);
  filter: drop-shadow(0 0 6px var(--rk-b)); animation: pnRkSpur 4.2s cubic-bezier(.45,.05,.55,.95) infinite; }
.pn-rk-punkt { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--rk-a) 55%, transparent), 0 0 14px var(--rk-a); }
.pn-rk-punkt { top: 29px; }
.pn-rk.m-flug .pn-rk-punkt { top: 43px; }
.pn-rk-punkt.a { left: -3px; } .pn-rk-punkt.b { right: -3px; background: var(--rk-b); animation: pnRkZiel 4.2s ease-in-out infinite; }
.pn-rk-fahrzeug { position: absolute; z-index: 1; left: 0; top: 34px; width: 32px; height: 32px; margin: -16px 0 0 -16px; display: grid; place-items: center; border-radius: 50%; font-style: normal; color: #fff;
  background: linear-gradient(140deg, var(--rk-a), color-mix(in srgb, var(--rk-a) 50%, #2a1f7a)); box-shadow: 0 0 0 3px rgba(20,17,52,0.9), 0 8px 20px -4px var(--rk-a), 0 0 22px -2px var(--rk-a);
  animation: pnRkX 4.2s cubic-bezier(.45,.05,.55,.95) infinite, pnRkWelle 4.2s linear infinite; }
.pn-rk-fahrzeug .pn-i { width: 16px; height: 16px; }
.pn-rk.m-flug .pn-rk-fahrzeug { animation: pnRkX 4.2s cubic-bezier(.45,.05,.55,.95) infinite, pnRkBogen 4.2s cubic-bezier(.45,.05,.55,.95) infinite; }
.pn-rk.m-flug .pn-rk-fahrzeug .pn-i { animation: pnRkNeigung 4.2s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes pnRkX { 0% { left: 0%; opacity: 0; } 6% { opacity: 1; } 80% { left: 100%; opacity: 1; } 88%, 100% { left: 100%; opacity: 0; } }
@keyframes pnRkSpur { 0% { stroke-dashoffset: var(--rk-len, 2000px); opacity: 1; } 80% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes pnRkBogen { 0% { top: 48px; } 40% { top: 11px; } 80%, 100% { top: 48px; } }
@keyframes pnRkWelle { 0% { transform: translateY(0); } 20% { transform: translateY(-5px); } 40% { transform: translateY(4px); } 60% { transform: translateY(-4px); } 80%, 100% { transform: translateY(0); } }
@keyframes pnRkNeigung { 0% { transform: rotate(-25deg); } 40% { transform: rotate(0deg); } 80%, 100% { transform: rotate(25deg); } }
@keyframes pnRkZiel { 0%, 70% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--rk-b) 45%, transparent), 0 0 10px var(--rk-b); } 82% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--rk-b) 0%, transparent), 0 0 24px var(--rk-b); } 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--rk-b) 45%, transparent), 0 0 10px var(--rk-b); } }
/* Heute unterwegs: das Fahrzeug steht in der Mitte und pulsiert statt zu pendeln */
.pn-ticket.pn-rk.laeuft .pn-rk-fahrzeug { left: 50%; animation: pnPuls 2s ease-in-out infinite; }
.pn-ticket.pn-rk.laeuft.m-flug .pn-rk-fahrzeug { top: 11px; }
.pn-ticket.pn-rk.laeuft .pn-rk-spur { animation: none; stroke-dashoffset: calc(var(--rk-len, 2000px) / 2); }
@media (max-width: 480px) { .pn-rk-ort b { font-size: 23px; } .pn-rk-strecke { gap: 8px; } .pn-rk-ort em { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .pn-rk-fahrzeug, .pn-rk-fahrzeug .pn-i, .pn-rk-spur, .pn-rk-punkt.b { animation: none !important; } .pn-rk-fahrzeug { left: 50%; } .pn-rk-spur { stroke-dashoffset: 0; } }

/* ── Runde 10: Zeitleiste mit Wow-Effekt ────────────────────────────────────────────────────────────────
   Die Schiene füllt sich beim Scrollen in der Stadtfarbe, vorne fliegt ein leuchtender Komet; Tage sind Scheiben mit
   Datum, jeder Eintrag ein Symbolknoten — alles, was der Komet passiert hat, leuchtet auf. */
.pn-schiene { width: 4px; left: 12px; overflow: visible; background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04)); border-radius: 4px; }
.pn-schiene i { border-radius: 4px; background: linear-gradient(180deg, #9B7FFF, var(--pn-stadt) 70%); box-shadow: 0 0 12px color-mix(in srgb, var(--pn-stadt) 70%, transparent), 0 0 26px color-mix(in srgb, var(--pn-stadt) 35%, transparent); transition: height .12s linear; }
.pn-schiene b { position: absolute; left: 50%; top: calc(var(--pn-fuell, 0) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; opacity: 0; transition: opacity .3s ease, top .12s linear;
  background: radial-gradient(circle, #fff 0 30%, var(--pn-stadt) 60%, transparent 72%); box-shadow: 0 0 18px 6px color-mix(in srgb, var(--pn-stadt) 65%, transparent), 0 0 44px 10px color-mix(in srgb, var(--pn-stadt) 30%, transparent); }
.pn-schiene b::before { content: ''; position: absolute; left: 50%; bottom: 50%; width: 4px; height: 80px; margin-left: -2px; border-radius: 4px; background: linear-gradient(0deg, color-mix(in srgb, #fff 70%, var(--pn-stadt)), transparent); opacity: .55; }
.pn-af-tage.laeuft .pn-schiene b { opacity: 1; animation: pnKomet 1.6s ease-in-out infinite; }
@keyframes pnKomet { 50% { box-shadow: 0 0 24px 9px color-mix(in srgb, var(--pn-stadt) 75%, transparent), 0 0 60px 16px color-mix(in srgb, var(--pn-stadt) 35%, transparent); } }

/* Tagesscheibe mit Datum statt Punkt */
.pn-tk-kopf::before { content: attr(data-pn-nr) !important; left: -40px !important; width: 36px !important; height: 36px !important; margin-top: -18px !important; display: grid; place-items: center;
  font: 700 14px/1 var(--font-brand); color: var(--text2); font-variant-numeric: tabular-nums;
  background: rgba(16,14,40,0.92) !important; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--pn-stadt) 55%, transparent), 0 0 0 4px rgba(10,10,30,0.85) !important;
  transition: background .35s ease, color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.2,.9,.3,1.4); }
.pn-tk-kopf.erreicht::before { color: #fff; background: linear-gradient(140deg, color-mix(in srgb, var(--pn-stadt) 85%, #fff), color-mix(in srgb, var(--pn-stadt) 70%, #3a2a9a)) !important;
  box-shadow: 0 0 0 4px rgba(10,10,30,0.85), 0 0 22px color-mix(in srgb, var(--pn-stadt) 70%, transparent) !important; transform: scale(1.08); }
.pn-tagkarte.heute .pn-tk-kopf::before { box-shadow: inset 0 0 0 2px #3DE0FF, 0 0 0 4px rgba(10,10,30,0.85), 0 0 18px rgba(61,224,255,0.6) !important; }

/* Eintragsknoten mit Symbol */
.pn-tl-e:has(> .pn-tl-knoten)::before { display: none !important; }
.pn-tl-knoten { position: absolute; z-index: 2; left: -35px; top: 12px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  color: color-mix(in srgb, var(--pn-farbe) 85%, #fff); background: rgba(16,14,40,0.95);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--pn-farbe) 45%, transparent), 0 0 0 3px rgba(10,10,30,0.85);
  transition: background .35s ease, color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.2,.9,.3,1.5); }
.pn-tl-knoten .pn-i { width: 13px; height: 13px; }
.pn-tl-knoten.erreicht { color: #fff; transform: scale(1.12);
  background: linear-gradient(140deg, color-mix(in srgb, var(--pn-farbe) 90%, #fff), color-mix(in srgb, var(--pn-farbe) 65%, #2a1f7a));
  box-shadow: 0 0 0 3px rgba(10,10,30,0.85), 0 0 16px color-mix(in srgb, var(--pn-farbe) 75%, transparent); }
.pn-tl-e:has(> .pn-fk) > .pn-tl-knoten { top: 16px; }
.pn-tl-e.ist-weg > .pn-tl-knoten { top: 18px; }
.pn-tl-e.nacht > .pn-tl-knoten { top: 14px; }
/* Die Karte, deren Knoten gerade erreicht wurde, glimmt kurz in ihrer Farbe */
.pn-tl-e:has(> .pn-tl-knoten.erreicht) > .pn-tl-zeit b { color: #fff; text-shadow: 0 0 12px color-mix(in srgb, var(--pn-farbe) 60%, transparent); }
@media (min-width: 900px) {
  .pn-schiene { left: 14px; }
  .pn-tk-kopf::before { left: -44px !important; }
  .pn-tl-knoten { left: -39px; }
}
@media (prefers-reduced-motion: reduce) {
  .pn-tl-knoten { color: #fff; background: linear-gradient(140deg, color-mix(in srgb, var(--pn-farbe) 90%, #fff), color-mix(in srgb, var(--pn-farbe) 65%, #2a1f7a)); }
  .pn-schiene b { display: none; }
}

/* Leiste und Menü beim Scrollen fast unsichtbar, nur noch durchschimmernd (Martin) */
.pn-tl-rahmen.scrollt .pn-tagleiste, body[data-pn="1"] .pn-tabs.scrollt { opacity: .28; background: rgba(12,16,32,0.08) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08) !important; }
.pn-tagleiste, body[data-pn="1"] .pn-tabs { transition: opacity .3s ease, background .35s ease, box-shadow .35s ease !important; }
.pn-tl-rahmen.scrollt .pn-tagleiste:hover, body[data-pn="1"] .pn-tabs.scrollt:hover { opacity: 1; }

/* ── Runde 11: Reisetag-Kopf — zwei Stadtfotos verschmelzen, das Verkehrsmittel zieht darüber ─────────────── */
.pn-rt-kopf.pn-rt2 { position: relative; display: block; min-height: 150px; overflow: hidden; isolation: isolate; border-radius: 24px;
  background: linear-gradient(135deg, #1B2352, #0C1230) !important; box-shadow: inset 0 0 0 1px rgba(205,190,255,0.16), 0 18px 40px -16px rgba(0,0,0,0.75); }
.pn-rt2 .pn-rt-ort { position: absolute; top: 0; bottom: 0; padding: 0; display: block; background: var(--pn-foto, linear-gradient(135deg, #2A2F6B, #151A3D)) center / cover no-repeat !important;
  transition: opacity .8s ease; }
.pn-rt2 .pn-rt-ort.von { left: 0; width: 64%; -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%); mask-image: linear-gradient(90deg, #000 45%, transparent 100%); animation: pnRtLinks 22s ease-in-out infinite alternate; }
.pn-rt2 .pn-rt-ort.nach { right: 0; width: 64%; -webkit-mask-image: linear-gradient(270deg, #000 45%, transparent 100%); mask-image: linear-gradient(270deg, #000 45%, transparent 100%); animation: pnRtRechts 22s ease-in-out infinite alternate; }
@keyframes pnRtLinks { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.12) translateX(-3%); } }
@keyframes pnRtRechts { from { transform: scale(1.12) translateX(3%); } to { transform: scale(1.04) translateX(0); } }
/* Dunkler Verlauf für lesbare Namen, ein Lila-Schimmer in der Naht */
.pn-rt2::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(40% 90% at 50% 50%, rgba(123,92,255,0.35), transparent 70%), linear-gradient(0deg, rgba(6,8,24,0.88) 0%, rgba(6,8,24,0.2) 55%, rgba(6,8,24,0.35) 100%); }
/* Lichtschein, der über die Nahtstelle zieht */
.pn-rt-glanz { position: absolute; z-index: 2; top: -20%; bottom: -20%; left: 0; width: 26%; pointer-events: none; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent); mix-blend-mode: screen; animation: pnRtGlanz 5.5s ease-in-out infinite; }
@keyframes pnRtGlanz { 0%, 30% { transform: translateX(-120%) skewX(-18deg); } 70%, 100% { transform: translateX(480%) skewX(-18deg); } }
/* Bogen mit Fahrzeug in der Mitte (dieselbe Mechanik wie die Reisekachel) */
.pn-rt-bahn { position: absolute; z-index: 3; left: 18%; right: 18%; top: 16px; height: 58px; --rk-a: #9B7FFF; --rk-b: #3DE0FF; }
.pn-rt-bahn.m-transport, .pn-rt-bahn.m-auto { --rk-b: #F28AC0; } .pn-rt-bahn.m-zug { --rk-b: #6FA8FF; }
.pn-rt-bahn svg { position: absolute; inset: 4px 0 4px; width: 100%; height: calc(100% - 8px); overflow: visible; }
.pn-rt-bahn .pn-rk-grund { stroke: rgba(255,255,255,0.55); }
.pn-rt2.offen .pn-rk-spur, .pn-rt2.offen .pn-rk-fahrzeug { animation: none; }
.pn-rt2.offen .pn-rk-spur { display: none; }
.pn-rt2.offen .pn-rk-fahrzeug { left: 50%; background: rgba(30,26,64,0.9); box-shadow: 0 0 0 3px rgba(20,17,52,0.6), inset 0 0 0 1px rgba(205,190,255,0.5); }
.pn-rt-text { position: absolute; z-index: 3; bottom: 14px; display: grid; gap: 2px; max-width: 40%; }
.pn-rt-text.von { left: 18px; } .pn-rt-text.nach { right: 18px; text-align: right; justify-items: end; }
.pn-rt-text small { font: 700 10px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.pn-rt-text b { font: 700 clamp(16px, 4.4vw, 24px)/1.1 var(--font-brand); color: #fff; letter-spacing: -0.01em; text-shadow: 0 2px 16px rgba(0,0,0,0.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pn-rt-chip { position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; white-space: nowrap;
  font: 700 11.5px/1 var(--font); color: #fff; background: rgba(14,12,40,0.55); -webkit-backdrop-filter: blur(12px) saturate(1.5); backdrop-filter: blur(12px) saturate(1.5); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.35); }
.pn-rt-chip .pn-i { width: 14px; height: 14px; color: #D9CCFF; }
@media (max-width: 560px) { .pn-rt-kopf.pn-rt2 { min-height: 168px; } .pn-rt-chip { bottom: auto; top: 76px; } .pn-rt-bahn { left: 12%; right: 12%; } .pn-rt-text { max-width: 46%; } }
/* R25 (28.09.2026): gespeicherter Landweg über Wasser (Zug nach Thinadhoo) — Hinweis unter dem Reisetag-Kopf, ein Tipp
   öffnet „Verkehrsmittel ändern". Keine Warnfarbe (die gehören den Warnstufen), sondern Lila wie der Reisetag. */
/* R27 (28.09.2026): Wetter unter „Von …" und „Nach …" im Reisetag-Kopf */
.pn-rt-kopf.pn-rt2:has(.pn-rt-wetter) { min-height: 150px; }
@media (max-width: 560px) { .pn-rt-kopf.pn-rt2:has(.pn-rt-wetter) { min-height: 204px; } }   /* Platz für die Wetterzeile unter der Chip */
.pn-rt-wetter { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 3px 9px 3px 6px; border-radius: 999px; background: rgba(8,10,26,0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12.5px; font-weight: 600; line-height: 1; color: #EEF2FF; font-variant-numeric: tabular-nums; }
.pn-rt-wetter:empty { display: none; }
.pn-rt-wetter svg { width: 18px; height: 18px; flex: none; }
.pn-rt-text .pn-rt-wetter small { font: 500 11px/1 var(--font); letter-spacing: 0; text-transform: none; color: rgba(220,228,250,0.7); }
.pn-rt-wetter .pn-wt-typ { font-style: normal; font-size: 10px; color: rgba(220,228,250,0.7); }
.pn-rt-text .pn-rt-wetter { justify-self: start; } .pn-rt-text.nach .pn-rt-wetter { justify-self: end; }
.pn-weg-wasser { display: flex; align-items: center; gap: 10px; width: 100%; margin: 8px 0 4px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(190,170,255,0.45); background: rgba(155,127,255,0.14); color: #EEF2FF; font: inherit; font-size: 13.5px; line-height: 1.35; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.pn-weg-wasser .pn-i { width: 18px; height: 18px; flex: none; color: #C9B8FF; }
.pn-weg-wasser span { flex: 1; min-width: 0; }
.pn-weg-wasser b { flex: none; padding: 5px 12px; border-radius: 999px; background: rgba(155,127,255,0.35); font-size: 12.5px; font-weight: 700; }
.pn-weg-wasser:hover { background: rgba(155,127,255,0.24); border-color: rgba(210,195,255,0.7); }
@media (prefers-reduced-motion: reduce) { .pn-rt2 .pn-rt-ort, .pn-rt-glanz { animation: none; } .pn-rt-glanz { display: none; } }

/* Fahrzeug ohne Kreis: nur das lila Flugzeug (bzw. Symbol) auf der Linie, Lage und Drehung setzt fahrtBild() */
.pn-rk-fahrzeug, .pn-rk.m-flug .pn-rk-fahrzeug, .pn-ticket.pn-rk.laeuft .pn-rk-fahrzeug, .pn-rt2.offen .pn-rk-fahrzeug {
  left: 0 !important; top: 0 !important; width: 26px; height: 26px; margin: -13px 0 0 -13px; animation: none !important;
  background: none !important; box-shadow: none !important; border-radius: 0; color: #B79BFF; will-change: transform;
  filter: drop-shadow(0 0 6px rgba(155,127,255,0.85)) drop-shadow(0 2px 4px rgba(0,0,0,0.5)); transition: opacity .2s linear; }
.pn-rk-fahrzeug .pn-i { width: 20px; height: 20px; animation: none !important; stroke-width: 2.2; }
.pn-flieger { width: 30px; height: 30px; display: block; fill: #9B7FFF; stroke: #D9CCFF; stroke-width: .8; stroke-linejoin: round; }
.pn-rk-spur { animation: none !important; transition: none; }
.pn-rt2.offen .pn-rk-fahrzeug { color: #C9B8FF; opacity: .8; }

/* ── Runde 12: Aktivität-Dialog — Ideen entdecken | Selbst eintragen ─────────────────────────────────────────── */
.pn-schritte { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 4px 0 16px; padding: 5px; border-radius: 18px;
  background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); }
.pn-schritte button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 0; border-radius: 14px; cursor: pointer;
  font: 700 14px/1 var(--font); color: var(--text3); background: none; transition: color .2s ease, background .25s ease, box-shadow .25s ease; }
.pn-schritte button .pn-i { width: 18px; height: 18px; }
.pn-schritte button.an { color: #fff; background: linear-gradient(160deg, rgba(155,127,255,0.5), rgba(90,63,224,0.35)); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.45), 0 8px 22px -10px rgba(106,77,240,0.9); }
/* Ideen-Schritt: nur Typ, Ideen und „selbst eintragen" */
.pn-akt[data-pn-schritt="ideen"] form > :not(.pn-typ-feld):not(#ai-suggestions-field):not(.pn-ideen-fuss):not(.pn-ideen-ohne):not(input[type="hidden"]) { display: none !important; }
.pn-akt[data-pn-schritt="form"] #ai-suggestions-field, .pn-akt[data-pn-schritt="form"] .pn-ideen-fuss { display: none !important; }
.pn-akt #ai-suggestions-field > label { display: none !important; }
/* Die Karten des Motors bleiben unsichtbar (Datenquelle); gezeigt werden die eigenen */
.pn-akt #ai-suggestions > .pn-reihe, .pn-akt #ai-suggestions > .ai-sugg, .pn-akt #ai-suggestions .ai-detail { display: none !important; }
.pn-ideen-fuss { display: flex; justify-content: center; margin: 6px 0 2px; }
.pn-ideen-selbst { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; font: 600 14px/1 var(--font); color: var(--text); background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.3); }
.pn-ideen-selbst .pn-i { width: 16px; height: 16px; color: #C9B8FF; }
.pn-ideen { display: grid; gap: 12px; margin-top: 4px; }
.pn-ideen-kopf b { display: block; font: 700 19px/1.2 var(--font-brand); letter-spacing: -0.01em; }
.pn-ideen-kopf small { font: 500 12.5px/1.3 var(--font); color: var(--text3); }
.pn-ideen-suche { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: 16px; background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); cursor: text; }
.pn-ideen-suche:focus-within { box-shadow: inset 0 0 0 1.5px rgba(155,127,255,0.75), 0 0 0 4px rgba(155,127,255,0.13); }
.pn-ideen-suche .pn-i { width: 18px; height: 18px; color: var(--text3); flex: none; }
body[data-pn="1"] .pn-ideen-suche input { flex: 1; min-width: 0; height: 100% !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; font: 500 15px/1 var(--font) !important; color: var(--text) !important; }
.pn-ideen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.pn-idee { display: grid; grid-template-rows: auto 1fr; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: pointer; text-align: left; color: var(--text);
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 14px 30px -16px rgba(0,0,0,0.8);
  transition: transform .25s cubic-bezier(.2,.9,.3,1.2), box-shadow .25s ease; animation: pnAuf .5s var(--pn-weich) both; animation-delay: calc(var(--k) * 40ms); }
.pn-idee:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.35), 0 20px 40px -16px rgba(0,0,0,0.85), 0 0 30px -12px rgba(155,127,255,0.6); }
.pn-idee:active { transform: scale(.98); }
.pn-idee-bild, .pn-idee-d-bild { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--pn-ersatz) center / cover no-repeat, #1b2140; }
.pn-idee-bild.mit-foto, .pn-idee-d-bild.mit-foto { background-size: cover; background-position: center; animation: pnBlende .6s ease both; }
.pn-idee-bild::after, .pn-idee-d-bild::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,8,24,0.35) 0%, transparent 35%, transparent 60%, rgba(6,8,24,0.55) 100%); }
.pn-idee-quelle, .pn-idee-top { position: absolute; z-index: 1; top: 8px; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font: 700 10.5px/1 var(--font); color: #fff;
  background: rgba(8,10,28,0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pn-idee-quelle { left: 8px; } .pn-idee-top { right: 8px; background: linear-gradient(135deg, rgba(155,127,255,0.85), rgba(90,63,224,0.85)); }
.pn-idee-quelle .pn-i, .pn-idee-top .pn-i { width: 12px; height: 12px; }
.pn-idee-art { position: absolute; z-index: 1; left: 10px; bottom: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 10px; color: #fff; background: rgba(8,10,28,0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pn-idee-art .pn-i { width: 15px; height: 15px; }
.pn-idee-text { display: grid; align-content: start; gap: 5px; padding: 11px 13px 13px; }
.pn-idee-text b { font: 700 15px/1.25 var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pn-idee-text small { font: 500 12.5px/1.35 var(--font); color: var(--text3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pn-idee-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 2px 0 0; font: 600 12px/1.2 var(--font); color: var(--text2); font-variant-numeric: tabular-nums; }
.pn-idee-meta span { display: inline-flex; align-items: center; gap: 4px; }
.pn-idee-meta .pn-i { width: 13px; height: 13px; color: #C9B8FF; }
.pn-ideen-mehr { justify-self: center; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; font: 600 13.5px/1 var(--font); color: #fff; background: rgba(155,127,255,0.2); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.35); }
.pn-ideen-leer { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 0; padding: 18px; border-radius: 16px; color: var(--text3); background: rgba(255,255,255,0.04); }
.pn-ideen-leer .pn-i { width: 20px; height: 20px; flex: none; }
.pn-ideen-quellen { margin: 4px 2px 0; font: 500 11.5px/1.5 var(--font); color: var(--text4); }
/* Detailblatt einer Idee */
.pn-ideen.detail > :not(.pn-idee-detail):not(.pn-ideen-quellen) { display: none !important; }
.pn-idee-detail { display: grid; gap: 0; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); animation: pnAuf .4s var(--pn-weich) both; }
.pn-idee-d-leiste { position: sticky; top: 0; z-index: 3; padding: 10px; background: linear-gradient(180deg, rgba(14,13,38,0.9), rgba(14,13,38,0)); }
.pn-idee-zurueck { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; cursor: pointer; font: 600 13.5px/1 var(--font); color: #fff; background: rgba(8,10,28,0.6); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pn-idee-zurueck .pn-i { width: 18px; height: 18px; }
.pn-idee-d-bild { margin-top: -56px; aspect-ratio: 16 / 9; }
.pn-idee-d-bild .pn-idee-quelle { top: auto; bottom: 10px; }
.pn-idee-d-text { display: grid; gap: 10px; padding: 14px 16px 6px; }
.pn-idee-d-text h4 { margin: 0; font: 700 22px/1.2 var(--font-brand); letter-spacing: -0.015em; }
.pn-idee-warum { display: flex; gap: 10px; margin: 0; padding: 10px 12px; border-radius: 14px; font: 500 13.5px/1.45 var(--font); background: rgba(155,127,255,0.12); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.2); }
.pn-idee-warum .pn-i { width: 18px; height: 18px; flex: none; color: #C9B8FF; margin-top: 1px; }
.pn-idee-notiz, .pn-idee-auszug { margin: 0; font: 400 14px/1.55 var(--font); color: var(--text2); }
.pn-idee-auszug:empty { display: none; }
.pn-idee-karte { border-radius: 16px; height: 130px; }
.pn-idee-herkunft { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 12px/1.4 var(--font); color: var(--text3); }
.pn-idee-herkunft .pn-i { width: 14px; height: 14px; flex: none; }
.pn-idee-herkunft a { color: #C9B8FF; }
.pn-idee-d-aktionen { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px 14px; background: linear-gradient(0deg, rgba(14,13,38,0.95) 60%, rgba(14,13,38,0)); }
.pn-idee-d-aktionen button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 0; border-radius: 16px; cursor: pointer; font: 700 14px/1 var(--font); color: #fff; }
.pn-idee-uebernehmen { background: rgba(255,255,255,0.09); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.35); }
.pn-idee-sofort { background: linear-gradient(140deg, #8C6BFF, #5A3FE0); box-shadow: 0 12px 26px -10px rgba(106,77,240,0.9); }
.pn-idee-d-aktionen .pn-i { width: 18px; height: 18px; }
@media (max-width: 420px) { .pn-idee-d-aktionen { grid-template-columns: 1fr; } }
/* Nach dem Übernehmen: Hinweis oben, geänderte Felder leuchten kurz */
.pn-aus-idee { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border-radius: 16px; font: 500 13px/1.4 var(--font); color: var(--text); background: linear-gradient(135deg, rgba(155,127,255,0.2), rgba(61,224,255,0.07)); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.3); animation: pnAuf .4s var(--pn-weich) both; }
.pn-aus-idee .pn-i { width: 18px; height: 18px; flex: none; color: #D9CCFF; }
.pn-aus-idee span { flex: 1; min-width: 0; }
.pn-aus-idee button { flex: none; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer; font: 600 12.5px/1 var(--font); color: #fff; background: rgba(255,255,255,0.1); }
.pn-uebernommen { animation: pnUebernommen 1.6s ease-out; }
@keyframes pnUebernommen { 0% { box-shadow: inset 0 0 0 2px rgba(155,127,255,0.95), 0 0 0 6px rgba(155,127,255,0.25); } 100% { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 0 0 0 rgba(155,127,255,0); } }
@media (prefers-reduced-motion: reduce) { .pn-idee, .pn-uebernommen, .pn-aus-idee, .pn-idee-detail { animation: none; } }
/* Knoten und Tagesscheiben exakt mittig auf der Schiene (Mitte 14 px, ab 900 px 16 px), dunkler Rand nur noch 2 px */
.pn-tl-knoten { left: -33px; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--pn-farbe) 45%, transparent), 0 0 0 2px rgba(10,10,30,0.7); }
.pn-tl-knoten.erreicht { box-shadow: 0 0 0 2px rgba(10,10,30,0.7), 0 0 16px color-mix(in srgb, var(--pn-farbe) 75%, transparent); }
.pn-tk-kopf::before { left: -38px !important; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--pn-stadt) 55%, transparent), 0 0 0 2px rgba(10,10,30,0.7) !important; }
.pn-tk-kopf.erreicht::before { box-shadow: 0 0 0 2px rgba(10,10,30,0.7), 0 0 22px color-mix(in srgb, var(--pn-stadt) 70%, transparent) !important; }
.pn-tagkarte.heute .pn-tk-kopf::before { box-shadow: inset 0 0 0 2px #3DE0FF, 0 0 0 2px rgba(10,10,30,0.7), 0 0 18px rgba(61,224,255,0.6) !important; }
@media (min-width: 900px) { .pn-tl-knoten { left: -37px; } .pn-tk-kopf::before { left: -42px !important; } }
body[data-pn="1"] .modal .pn-ideen-suche input[type="search"] { flex: 1; min-width: 0; height: 100% !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: none !important; box-shadow: none !important; outline: none; font: 500 15px/1 var(--font) !important; color: var(--text) !important; -webkit-appearance: none; appearance: none; }
.pn-ideen #ai-suggestions { margin: 0; }
.pn-idee-bild.mit-foto, .pn-idee-d-bild.mit-foto { background-color: #1b2140; }
/* Reisetag-Kopf ohne zweiten Bogen: flacher, Richtungspfeile in der Naht, Chip mittig (Martin: „nicht doppelt") */
.pn-rt-kopf.pn-rt2 { min-height: 112px; }
.pn-rt-fluss { position: absolute; z-index: 3; left: 50%; top: 22px; width: 120px; height: 20px; margin-left: -60px; pointer-events: none; }
.pn-rt-fluss i { position: absolute; top: 3px; left: 0; width: 12px; height: 12px; border-top: 2.5px solid #fff; border-right: 2.5px solid #fff; border-radius: 2px; transform: rotate(45deg); opacity: 0;
  filter: drop-shadow(0 0 6px rgba(155,127,255,0.9)); animation: pnRtFluss 2.4s ease-in-out infinite; }
.pn-rt-fluss i:nth-child(2) { animation-delay: .3s; } .pn-rt-fluss i:nth-child(3) { animation-delay: .6s; }
@keyframes pnRtFluss { 0% { left: 0; opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { left: 108px; opacity: 0; } }
.pn-rt2.offen .pn-rt-fluss i { border-color: rgba(255,255,255,0.55); filter: none; animation-duration: 3.6s; }
.pn-rt-chip { bottom: 16px; }
@media (max-width: 560px) { .pn-rt-kopf.pn-rt2 { min-height: 132px; } .pn-rt-chip { top: 48px; bottom: auto; } .pn-rt-fluss { top: 16px; } }
@media (prefers-reduced-motion: reduce) { .pn-rt-fluss i { animation: none; opacity: .8; } .pn-rt-fluss i:nth-child(1) { left: 36px; } .pn-rt-fluss i:nth-child(2) { left: 54px; } .pn-rt-fluss i:nth-child(3) { left: 72px; } }
body[data-pn="1"] #add-activity-modal #ai-suggestions-field > label { display: none !important; }
body[data-pn="1"] #add-activity-modal .pn-ideen-suche input[type="search"] { height: 100% !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
.pn-wetter-bald { display: flex; gap: 10px; margin: -2px 0 12px; padding: 10px 12px; border-radius: 14px; font: 500 12.5px/1.45 var(--font); color: var(--text2); background: rgba(155,127,255,0.1); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.18); }
.pn-wetter-bald .pn-i { width: 16px; height: 16px; flex: none; color: #C9B8FF; margin-top: 1px; }
/* Kartennadel neu: Tropfen mit Verlauf, weißer Kern, pulsierender Ring am Punkt, fällt beim Öffnen weich herein */
.pn-wk-nadel { position: absolute; left: 50%; top: 50%; z-index: 2; width: 34px; height: 44px; margin: -44px 0 0 -17px; display: block;
  border-radius: 0 !important; transform: none !important; background: none !important; box-shadow: none !important; animation: pnNadelFall .7s cubic-bezier(.2,.9,.3,1.35) both !important; }
.pn-wk-tropfen { position: relative; z-index: 1; display: block; width: 34px; height: 44px; filter: drop-shadow(0 6px 8px rgba(20,10,60,0.55)) drop-shadow(0 0 10px rgba(155,127,255,0.55)); }
.pn-wk-puls { position: absolute; left: 50%; bottom: -5px; width: 14px; height: 6px; margin-left: -7px; border-radius: 50%; background: rgba(106,77,240,0.55); }
.pn-wk-puls::before, .pn-wk-puls::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 6px; margin: -3px 0 0 -7px; border-radius: 50%;
  border: 2px solid rgba(155,127,255,0.8); animation: pnNadelPuls 2.2s ease-out infinite; }
.pn-wk-puls::after { animation-delay: 1.1s; }
@keyframes pnNadelFall { 0% { transform: translateY(-26px) !important; opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes pnNadelPuls { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(5.5); opacity: 0; } }
.pn-wk-nadel .pn-i { display: none; }
@media (prefers-reduced-motion: reduce) { .pn-wk-nadel { animation: none !important; } .pn-wk-puls::before, .pn-wk-puls::after { animation: none; opacity: 0; } }
/* Fahrzeuge etwas größer (Martin: „man erkennt es kaum") */
.pn-rk-fahrzeug, .pn-rk.m-flug .pn-rk-fahrzeug, .pn-ticket.pn-rk.laeuft .pn-rk-fahrzeug { width: 34px; height: 34px; margin: -17px 0 0 -17px;
  filter: drop-shadow(0 0 8px rgba(155,127,255,0.95)) drop-shadow(0 3px 6px rgba(0,0,0,0.55)); }
.pn-flieger { width: 34px !important; height: 34px !important; stroke-width: .7; }
.pn-rk-fahrzeug .pn-i { width: 24px; height: 24px; stroke-width: 2.3; color: #C9B8FF; }
/* Timeline-Kreise: Rand in Schiefergrau mit Violettstich statt Schwarz – passt zur Glas-Fläche,
   trennt den Kreis sauber von der leuchtenden Linie; oben ein feiner Glanz wie bei den Glas-Knöpfen */
.pn-tl-knoten { box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 0 0 2px #2E2B45, 0 0 0 3px rgba(255,255,255,0.1) !important; }
.pn-tl-knoten.erreicht { box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 0 0 2px #2E2B45, 0 0 0 3px rgba(255,255,255,0.12), 0 0 16px color-mix(in srgb, var(--pn-farbe) 70%, transparent) !important; }
.pn-tk-kopf::before { box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 0 0 2px #2E2B45, 0 0 0 3px rgba(255,255,255,0.1) !important; }
.pn-tagkarte.heute .pn-tk-kopf::before { box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 0 0 2px #2E2B45, 0 0 0 3px rgba(61,224,255,0.45), 0 0 18px rgba(61,224,255,0.55) !important; }
/* ── Runde 13: Ideen aus /api/places/ideen — Kategorien, Ladezustand, Ausflüge, Fakten ─────────────────────────── */
.pn-akt[data-pn-schritt="ideen"] .pn-typ-feld, .pn-ideen #ai-suggestions { display: none !important; }
.pn-ideen-kats { display: flex; gap: 8px; margin: 0 -2px; padding: 2px 2px 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.pn-ideen-kats::-webkit-scrollbar { display: none; }
.pn-ideen-kats button { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px 0 12px; border: 0; border-radius: 999px; cursor: pointer; font: 600 13.5px/1 var(--font); color: var(--text2); background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.pn-ideen-kats button:hover { color: var(--text); background: rgba(255,255,255,0.1); }
.pn-ideen-kats button:active { transform: scale(.96); }
.pn-ideen-kats button .pn-i { width: 16px; height: 16px; color: #C9B8FF; }
.pn-ideen-kats button small { min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; font: 700 11px/1 var(--font); color: var(--text3); background: rgba(255,255,255,0.08); font-variant-numeric: tabular-nums; }
.pn-ideen-kats button.an { color: #fff; background: linear-gradient(140deg, rgba(140,107,255,0.95), rgba(90,63,224,0.95)); box-shadow: 0 10px 22px -12px rgba(106,77,240,0.95), inset 0 0 0 1px rgba(255,255,255,0.18); }
.pn-ideen-kats button.an .pn-i { color: #fff; }
.pn-ideen-kats button.an small { color: #fff; background: rgba(255,255,255,0.22); }
.pn-ideen-stand { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 12.5px/1.4 var(--font); color: var(--text3); }
.pn-ideen-stand i { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(201,184,255,0.25); border-top-color: #C9B8FF; animation: pnDreh 0.9s linear infinite; }
@keyframes pnDreh { to { transform: rotate(360deg); } }
.pn-idee-skelett { cursor: default; pointer-events: none; }
.pn-idee-skelett .pn-idee-bild, .pn-idee-skelett b, .pn-idee-skelett small { background: linear-gradient(100deg, rgba(255,255,255,0.05) 30%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.05) 70%) 0 0 / 300% 100%; animation: pnIdeeSchimmer 1.4s ease-in-out infinite; }
.pn-idee-skelett b { height: 16px; width: 70%; border-radius: 6px; }
.pn-idee-skelett small { height: 12px; width: 90%; border-radius: 6px; }
@keyframes pnIdeeSchimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.pn-ideen-trenner { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 8px 0 -2px; font: 700 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--text3); }
.pn-ideen-trenner .pn-i { width: 15px; height: 15px; color: #C9B8FF; }
.pn-ideen-trenner::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(205,190,255,0.3), transparent); }
.pn-idee-welterbe { background: linear-gradient(135deg, rgba(61,224,255,0.85), rgba(60,120,240,0.85)) !important; }
.pn-ideen-leer a { color: #C9B8FF; white-space: nowrap; }
.pn-idee-d-kat { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; font: 700 11.5px/1 var(--font); letter-spacing: .05em; text-transform: uppercase; color: #C9B8FF; }
.pn-idee-d-kat > .pn-i, .pn-idee-d-kat span .pn-i { width: 14px; height: 14px; }
.pn-idee-d-kat span { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; color: #fff; background: rgba(155,127,255,0.22); letter-spacing: .02em; }
.pn-idee-d-kurz { margin: -4px 0 0; font: 500 14px/1.4 var(--font); color: var(--text2); }
.pn-idee-fakten { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pn-idee-fakten:empty { display: none; }
.pn-idee-fakten li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); font: 500 13.5px/1.4 var(--font); color: var(--text); overflow-wrap: anywhere; }
.pn-idee-fakten li > .pn-i { width: 17px; height: 17px; flex: none; margin-top: 1px; color: #C9B8FF; }
.pn-idee-fakten small { display: block; margin-bottom: 2px; font: 600 11px/1.2 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--text3); }
.pn-idee-fakten a { color: #C9B8FF; }
@media (prefers-reduced-motion: reduce) { .pn-ideen-stand i, .pn-idee-skelett .pn-idee-bild, .pn-idee-skelett b, .pn-idee-skelett small { animation: none; } }
.pn-wt-typ { font: 700 11px/1 var(--font); font-style: normal; color: var(--text3); margin-right: -2px; }
/* ── Runde 13b: Nachtreise = EINE Karte ─────────────────────────────────────────────────────────────────────────
   Abfahrtstag: volle Bordkarte, unten ein Band „Nacht im Flugzeug · Ankunft Di., 13. Okt., 02:30" mit Pfeil nach unten.
   Die Nacht zeigt „unterwegs" statt „Unterkunft eintragen". Folgetag: nur die Ankunft als schmale Fortsetzung, die Linie
   kommt gestrichelt von oben — man sieht, dass es dieselbe Reise ist. */
.pn-ticket.pn-rk.ueber-nacht { padding-bottom: 0; }
.pn-rk-weiter { display: flex; align-items: center; gap: 10px; margin: 2px -18px 0; padding: 10px 18px 12px; font: 600 12.5px/1.3 var(--font); color: var(--text2); text-align: left;
  background: linear-gradient(180deg, rgba(155,127,255,0.05), rgba(155,127,255,0.14)); border-top: 1px dashed rgba(205,190,255,0.28); }
.pn-rk-weiter b { color: #fff; font-weight: 700; }
.pn-rk-mond { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; color: #D9CCFF; background: radial-gradient(circle at 35% 35%, rgba(217,204,255,0.35), rgba(90,63,224,0.3)); box-shadow: 0 0 14px -2px rgba(155,127,255,0.8); }
.pn-rk-mond .pn-i { width: 14px; height: 14px; }
.pn-rk-weiter > span:nth-child(2) { flex: 1; min-width: 0; }
.pn-rk-runter { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; color: #C9B8FF; background: rgba(255,255,255,0.06); }
.pn-rk-runter .pn-i { width: 15px; height: 15px; transform: rotate(90deg); animation: pnRunter 1.8s ease-in-out infinite; }
@keyframes pnRunter { 0%, 100% { transform: rotate(90deg) translateX(-2px); opacity: .6; } 50% { transform: rotate(90deg) translateX(3px); opacity: 1; } }
.pn-nacht-weg { display: flex; align-items: center; gap: 12px; margin: 0; min-height: 50px; padding: 8px 14px; border-radius: 16px; color: var(--text2);
  background: repeating-linear-gradient(135deg, rgba(155,127,255,0.07) 0 10px, rgba(155,127,255,0.03) 10px 20px); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.14); }
.pn-nacht-weg > .pn-i { width: 20px; height: 20px; flex: none; color: #C9B8FF; }
.pn-nacht-weg b { display: block; font: 600 14px/1.25 var(--font); color: var(--text); }
.pn-nacht-weg small { font: 500 12px/1.3 var(--font); color: var(--text3); }
.pn-ankunft { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 10px 14px; border: 0; border-radius: 16px; cursor: pointer; text-align: left; color: var(--text);
  background: linear-gradient(90deg, rgba(155,127,255,0.16), rgba(155,127,255,0.05)); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.22); transition: background .2s ease, transform .15s ease; }
.pn-ankunft:hover { background: linear-gradient(90deg, rgba(155,127,255,0.22), rgba(155,127,255,0.08)); }
.pn-ankunft:active { transform: scale(.99); }
.pn-ank-spur { position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 12px; color: #C9B8FF; background: rgba(8,10,28,0.45); }
.pn-ank-spur .pn-i, .pn-ank-spur .pn-flieger { width: 20px !important; height: 20px !important; }
.pn-ank-spur .pn-flieger { transform: rotate(160deg); fill: #9B7FFF; stroke: #D9CCFF; stroke-width: .8; }
.pn-ank-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pn-ank-text b { font: 700 14.5px/1.25 var(--font); }
.pn-ank-text small { font: 500 12px/1.35 var(--font); color: var(--text3); }
.pn-ankunft > .pn-e-pfeil { width: 18px; height: 18px; flex: none; color: var(--text3); }
/* die Fortsetzung hängt sichtbar an der Nacht davor: gestrichelte Linie von oben in den Knoten */
.pn-tl-e.fortsetzung > .pn-tl-knoten::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 0; height: 26px; margin-left: -1px; border-left: 2px dashed rgba(205,190,255,0.55); }
@media (prefers-reduced-motion: reduce) { .pn-rk-runter .pn-i { animation: none; } }
/* ── Runde 13c: Foto oben im Blatt läuft weich und tiefer in die Glasfläche aus (wie Reisetag-Kopf und Briefing) ──
   Vorher endete das Foto mit einer Kante direkt unter dem Titel. Jetzt reicht es 90 px tiefer hinter Titel und Inhalt
   und blendet über eine Maske aus; Titel und Knopf bleiben an ihrem Platz (Kopf rückt um dieselben 90 px nach oben). */
.pn-sheet.mit-foto .pn-sheet-foto { height: 286px; margin-bottom: 0; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0,0,0,0.55) 74%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0,0,0,0.55) 74%, transparent 100%); }
.pn-sheet.mit-foto.pn-eintrag .pn-sheet-foto { height: 306px; }
.pn-sheet.mit-foto .pn-sheet-kopf { margin-top: -168px; }
.pn-sheet.mit-foto .pn-sheet-inhalt { position: relative; z-index: 1; }
.pn-sheet-foto::after { background: linear-gradient(180deg, rgba(8,10,28,0.22) 0%, rgba(8,10,28,0) 26%, rgba(14,13,38,0.3) 48%, rgba(14,13,38,0.5) 70%, rgba(14,13,38,0) 100%) !important; }
/* ── Runde 14: Reiseband — jede Etappe fährt wie die Reisekachel ────────────────────────────────────────────── */
.pn-route-zahlen { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.pn-route-zahlen span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font: 600 12.5px/1 var(--font); color: var(--text2); background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.09); }
.pn-route-zahlen .pn-i { width: 14px; height: 14px; color: #C9B8FF; }
.pn-route-zahlen em { font-style: normal; color: #F2C98A; }
.pn-reiseband ol { align-items: stretch; }
.pn-rb-halt { width: 112px; }
.pn-rb-halt button, .pn-rb-heimknopf { display: grid; justify-items: center; gap: 4px; }
.pn-rb-halt .pn-rb-naechte { color: #C9B8FF; font-weight: 700; }
.pn-rb-bett { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #1b1440; background: #F2C98A; box-shadow: 0 0 0 2px rgba(12,16,32,0.9); }
.pn-rb-bett.da { color: #fff; background: linear-gradient(140deg, #8C6BFF, #5A3FE0); }
.pn-rb-bett .pn-i { width: 12px !important; height: 12px !important; display: block !important; }
.pn-rb-halt.heim .pn-rb-foto { width: 48px; height: 48px; margin-top: 8px; color: #C9B8FF; background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1.5px rgba(205,190,255,0.35); }
.pn-rb-halt.heim b { color: var(--text2); }
.pn-rb-weg { flex: 1 0 168px; height: auto; display: block; }
.pn-rb-weg > button { display: grid; gap: 4px; width: 100%; padding: 0 4px; border: 0; background: none; cursor: pointer; color: var(--text); text-align: center; }
.pn-rb-bahn { position: relative; display: block; height: 52px; margin: 6px -10px 0; --rk-a: #9B7FFF; --rk-b: #3DE0FF; }
.pn-rb-bahn.m-transport, .pn-rb-bahn.m-auto { --rk-b: #F28AC0; } .pn-rb-bahn.m-zug { --rk-b: #6FA8FF; } .pn-rb-bahn.m-schiff { --rk-b: #3DE0FF; --rk-a: #6FA8FF; }
.pn-rb-bahn svg { position: absolute; inset: 4px 0; width: 100%; height: calc(100% - 8px); overflow: visible; }
.pn-rb-weg.offen .pn-rk-grund { stroke: rgba(205,190,255,0.45); stroke-dasharray: 4 6; }
.pn-rb-plus { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; margin: -13px 0 0 -15px; border-radius: 50%; font-style: normal; color: #fff; background: rgba(155,127,255,0.35); box-shadow: 0 0 0 3px rgba(12,16,32,0.85), inset 0 0 0 1px rgba(205,190,255,0.5); }
.pn-rb-plus .pn-i { width: 15px; height: 15px; }
.pn-rb-weg.offen > button:hover .pn-rb-plus { background: linear-gradient(140deg, #8C6BFF, #5A3FE0); }
.pn-rb-info { display: grid; justify-items: center; gap: 2px; }
.pn-rb-info b { display: inline-flex; align-items: center; gap: 5px; font: 700 12.5px/1.2 var(--font); }
.pn-rb-info b .pn-i { width: 14px; height: 14px; color: #C9B8FF; }
.pn-rb-info small { font: 600 11px/1.25 var(--font); color: var(--text3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pn-rb-weg > button:hover .pn-rb-info b { color: #fff; }
.pn-rb-weg .pn-rb-linie { display: none; }
/* alte Kreis-Regel der Etappen-Symbole gilt nicht für Fahrzeug und Plus */
.pn-rb-weg i.pn-rk-fahrzeug { position: absolute; left: 0 !important; top: 0 !important; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 0; background: none !important; box-shadow: none !important; animation: none !important; color: #C9B8FF; }
.pn-rb-weg i.pn-rk-fahrzeug .pn-flieger { width: 28px !important; height: 28px !important; }
.pn-rb-weg i.pn-rk-fahrzeug .pn-i { width: 20px; height: 20px; }
.pn-rb-weg.offen i.pn-rb-plus { position: absolute; animation: none; }
.pn-rb-weg .pn-rb-info small { position: static; top: auto; }
/* ── Runde 14: Tageswetter ausführlich ─────────────────────────────────────────────────────────────────────── */
.pn-wd:empty { display: none; }
.pn-wd { display: grid; gap: 12px; margin-top: 12px; }
.pn-wd-laden { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 12.5px/1.4 var(--font); color: var(--text3); }
.pn-wd-laden i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(201,184,255,0.25); border-top-color: #C9B8FF; animation: pnDreh .9s linear infinite; }
.pn-wd-kopf { display: flex; align-items: center; gap: 6px; margin: 0; font: 600 11.5px/1.3 var(--font); letter-spacing: .03em; color: var(--text3); }
.pn-wd-kopf .pn-i { width: 13px; height: 13px; }
.pn-wd-verlauf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.pn-wd-verlauf li { display: grid; justify-items: center; gap: 4px; padding: 10px 4px 9px; border-radius: 16px; background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.pn-wd-verlauf small { font: 600 11px/1 var(--font); color: var(--text3); }
.pn-wd-verlauf b { font: 700 17px/1 var(--font-brand); font-variant-numeric: tabular-nums; }
.pn-wd-regen { position: relative; display: block; width: 78%; height: 16px; border-radius: 8px; overflow: hidden; font: 700 10px/16px var(--font); text-align: center; color: #BFE9FF; background: rgba(111,168,255,0.12); }
.pn-wd-regen::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p); background: linear-gradient(90deg, rgba(111,168,255,0.35), rgba(61,224,255,0.55)); border-radius: 8px; z-index: 0; }
.pn-wd-regen { isolation: isolate; } .pn-wd-regen::before { z-index: -1; }
.pn-wd-fakten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.pn-wd-fakten li { display: flex; gap: 9px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); font: 600 13.5px/1.3 var(--font); }
.pn-wd-fakten li > .pn-i { width: 16px; height: 16px; flex: none; margin-top: 2px; color: #C9B8FF; }
.pn-wd-fakten small { display: block; margin-bottom: 2px; font: 600 10.5px/1.2 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--text3); }
.pn-wd-titel { margin: 6px 0 -2px; font: 700 12px/1 var(--font); letter-spacing: .07em; text-transform: uppercase; color: #C9B8FF; }
@media (prefers-reduced-motion: reduce) { .pn-wd-laden i { animation: none; } }
/* ── Runde 15: Karte neu — Vektorkarte in Glas ──────────────────────────────────────────────────────────────── */
body[data-pn="1"] #tab-map:not(.pn-kt-alt) > :not(.pn-kt) { display: none !important; }
.pn-kt { display: grid; gap: 12px; margin: 4px 0 24px; }
.pn-kt-oben { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pn-kt-modi, .pn-kt-stil { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--pn-f1, rgba(255,255,255,0.06)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); }
.pn-kt-modi button, .pn-kt-stil button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; font: 600 13.5px/1 var(--font); color: var(--text2); background: none; transition: background .25s, color .25s; }
.pn-kt-stil button { height: 32px; padding: 0 12px; font-size: 12.5px; }
.pn-kt-modi button .pn-i { width: 16px; height: 16px; }
.pn-kt-modi button.an, .pn-kt-stil button.an { color: #fff; background: linear-gradient(140deg, rgba(140,107,255,0.95), rgba(90,63,224,0.95)); box-shadow: 0 8px 20px -10px rgba(106,77,240,0.95); }
.pn-kt-tage, .pn-kt-ideen-kats { display: none; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); }
.pn-kt-tage::-webkit-scrollbar, .pn-kt-ideen-kats::-webkit-scrollbar { display: none; }
.pn-kt[data-modus="tag"] .pn-kt-tage, .pn-kt[data-modus="ideen"] .pn-kt-tage, .pn-kt[data-modus="ideen"] .pn-kt-ideen-kats { display: flex; }
.pn-kt-tage button { flex: none; scroll-snap-align: center; position: relative; display: grid; justify-items: center; gap: 2px; width: 74px; padding: 8px 4px 9px; border: 0; border-radius: 16px; cursor: pointer; color: var(--text2); background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); transition: background .2s, transform .15s; }
.pn-kt-tage button::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--pn-tf); opacity: .7; }
.pn-kt-tage small { font: 700 10.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--text3); }
.pn-kt-tage b { font: 700 20px/1.1 var(--font-brand); color: var(--text); }
.pn-kt-tage em { max-width: 66px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 10.5px/1.2 var(--font); font-style: normal; color: var(--text3); }
.pn-kt-tage i { position: absolute; top: 5px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; font: 700 10px/16px var(--font); font-style: normal; color: #fff; background: rgba(155,127,255,0.55); }
.pn-kt-tage button.an { background: linear-gradient(160deg, rgba(155,127,255,0.4), rgba(90,63,224,0.25)); box-shadow: inset 0 0 0 1.5px rgba(205,190,255,0.7); transform: translateY(-2px); }
.pn-kt-ideen-kats button { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer; font: 600 12.5px/1 var(--font); color: var(--text2); background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); }
.pn-kt-ideen-kats button .pn-i { width: 15px; height: 15px; color: #C9B8FF; }
.pn-kt-ideen-kats button small { font: 700 10.5px/1 var(--font); color: var(--text3); }
.pn-kt-ideen-kats button.an { color: #fff; background: linear-gradient(140deg, rgba(140,107,255,0.95), rgba(90,63,224,0.95)); } .pn-kt-ideen-kats button.an .pn-i, .pn-kt-ideen-kats button.an small { color: #fff; }
.pn-kt-flaeche { position: relative; height: clamp(440px, 70vh, 780px); border-radius: 26px; overflow: hidden; isolation: isolate; background: #0e0d26; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 30px 60px -30px rgba(0,0,0,0.8); }
.pn-kt-karte { position: absolute; inset: 0; }
.pn-kt-flaeche::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 60px 10px rgba(14,13,38,0.55); }
.pn-kt .maplibregl-ctrl-attrib, .pn-kt .maplibregl-ctrl-logo { display: none !important; }
.pn-kt-knoepfe { position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; gap: 6px; }
.pn-kt-knoepfe button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 14px; cursor: pointer; color: #fff; background: rgba(14,13,38,0.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background .2s; }
.pn-kt-knoepfe button:hover { background: rgba(90,63,224,0.6); }
.pn-kt-knoepfe .pn-i { width: 18px; height: 18px; }
.pn-kt-quelle { margin: -4px 4px 0; font: 500 11px/1.4 var(--font); color: var(--text4); }
.pn-kt-quelle a { color: var(--text3); }
.pn-kt.voll { position: fixed; z-index: 400; inset: 0; margin: 0; padding: calc(env(safe-area-inset-top, 0px) + 12px) 12px calc(env(safe-area-inset-bottom, 0px) + 12px); background: rgba(10,9,28,0.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); grid-template-rows: auto auto auto 1fr auto; }
.pn-kt.voll .pn-kt-flaeche { height: auto; min-height: 0; }
/* Pins */
.pn-kt-pin { position: relative; display: grid; justify-items: center; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; }
.pn-kt-pin-foto { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #C9B8FF; background: #1b2140 center / cover no-repeat; box-shadow: 0 0 0 3px rgba(12,16,32,0.92), 0 0 0 5px var(--pn-rb-farbe), 0 10px 24px -6px rgba(0,0,0,0.8), 0 0 26px -2px color-mix(in srgb, var(--pn-rb-farbe) 60%, transparent); transition: transform .25s var(--pn-weich, ease); }
.pn-kt-pin-foto.mit-bild > svg { display: none; }
.pn-kt-pin:hover .pn-kt-pin-foto { transform: scale(1.08) translateY(-2px); }
.pn-kt-pin > i { position: absolute; top: -4px; right: -6px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; font: 800 11.5px/1 var(--font); font-style: normal; color: #fff; background: linear-gradient(140deg, #8C6BFF, #5A3FE0); box-shadow: 0 0 0 2px rgba(12,16,32,0.9); }
.pn-kt-pin-name { display: grid; justify-items: center; padding: 4px 10px 5px; border-radius: 12px; background: rgba(14,13,38,0.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pn-kt-pin-name b { font: 700 12.5px/1.2 var(--font); color: #fff; white-space: nowrap; }
.pn-kt-pin-name small { font: 600 10.5px/1.2 var(--font); color: #C9B8FF; }
.pn-kt-heim { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 8px; border-radius: 999px; font: 700 12px/1 var(--font); color: #fff; background: rgba(14,13,38,0.8); box-shadow: inset 0 0 0 1.5px rgba(205,190,255,0.5); }
.pn-kt-heim .pn-i { width: 16px; height: 16px; color: #C9B8FF; }
.pn-kt-stopp { position: relative; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--pn-farbe) 85%, #fff), var(--pn-farbe)); box-shadow: 0 0 0 3px rgba(12,16,32,0.9), 0 8px 18px -6px rgba(0,0,0,0.8), 0 0 18px -2px var(--pn-farbe); transition: scale .2s; }
.pn-kt-stopp span .pn-i { width: 17px; height: 17px; }
.pn-kt-stopp b { position: absolute; top: -7px; left: -7px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 800 11px/1 var(--font); color: #1b1440; background: #fff; box-shadow: 0 0 0 2px rgba(12,16,32,0.9); }
.pn-kt-stopp.an, .pn-kt-stopp:hover, .pn-kt-idee.an, .pn-kt-idee:hover { z-index: 5; }
.pn-kt-bett { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 12px; cursor: pointer; color: #fff; background: linear-gradient(140deg, #8C6BFF, #5A3FE0); box-shadow: 0 0 0 3px rgba(12,16,32,0.9), 0 0 20px -2px rgba(140,107,255,0.9); }
.pn-kt-bett .pn-i { width: 17px; height: 17px; }
.pn-kt-idee { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(90,63,224,0.92); box-shadow: 0 0 0 2.5px rgba(12,16,32,0.9), 0 6px 14px -4px rgba(0,0,0,0.8); transition: scale .2s; }
.pn-kt-idee .pn-i { width: 16px; height: 16px; }
.pn-kt-idee.k-kultur { background: #5A7BE0; } .pn-kt-idee.k-natur { background: #3F8F7E; } .pn-kt-idee.k-strand { background: #2B9ACB; }
.pn-kt-idee.k-essen, .pn-kt-idee.k-cafe { background: #B0579A; } .pn-kt-idee.k-abends { background: #7A4FD0; } .pn-kt-idee.k-familie, .pn-kt-idee.k-aktiv { background: #4F6FD0; } .pn-kt-idee.k-shopping { background: #8C6BFF; }
.pn-kt-idee.top { width: 38px; height: 38px; box-shadow: 0 0 0 2.5px rgba(12,16,32,0.9), 0 0 0 5px rgba(205,190,255,0.55), 0 6px 14px -4px rgba(0,0,0,0.8); }
/* Kartenreihe unten */
.pn-kt-reihe { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 12px 14px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: linear-gradient(180deg, transparent, rgba(10,9,28,0.75) 40%); }
.pn-kt-reihe::-webkit-scrollbar { display: none; }
.pn-kt-reihe[hidden] { display: none; }
.pn-kt-k { flex: none; scroll-snap-align: center; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; width: min(280px, 78vw); padding: 8px; border: 0; border-radius: 18px; cursor: pointer; text-align: left; color: var(--text); background: rgba(20,18,48,0.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); transition: transform .2s, box-shadow .2s; }
.pn-kt-k.an { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--pn-farbe), 0 14px 28px -12px rgba(0,0,0,0.9), 0 0 24px -8px var(--pn-farbe); }
.pn-kt-k-bild { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; color: #fff; background: var(--pn-ersatz) center / cover no-repeat, #1b2140; background-size: cover; }
.pn-kt-k-bild .pn-i { width: 18px; height: 18px; opacity: .9; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.7)); }
.pn-kt-k-bild b { position: absolute; top: -6px; left: -6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 800 11px/1 var(--font); color: #1b1440; background: #fff; box-shadow: 0 0 0 2px rgba(12,16,32,0.9); }
.pn-kt-k-text { display: grid; gap: 3px; min-width: 0; }
.pn-kt-k-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 14px/1.25 var(--font); }
.pn-kt-k-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 12px/1.3 var(--font); color: var(--text3); }
.pn-kt-k-text em { display: flex; gap: 8px; font: 600 11.5px/1 var(--font); font-style: normal; color: #C9B8FF; }
.pn-kt-k-text em .pn-i { width: 12px; height: 12px; vertical-align: -2px; margin-right: 3px; }
.pn-kt-k-text em i { font-style: normal; color: var(--text3); }
.pn-kt-leer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; width: 100%; padding: 12px 14px; border-radius: 18px; background: rgba(20,18,48,0.78); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.pn-kt-leer > .pn-i { width: 22px; height: 22px; color: #C9B8FF; flex: none; }
.pn-kt-leer > span { display: grid; gap: 2px; flex: 1 1 200px; }
.pn-kt-leer b { font: 700 14px/1.25 var(--font); } .pn-kt-leer small { font: 500 12px/1.35 var(--font); color: var(--text3); }
.pn-kt-leer button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; font: 700 13px/1 var(--font); color: #fff; background: linear-gradient(140deg, #8C6BFF, #5A3FE0); }
.pn-kt-leer button + button { background: rgba(255,255,255,0.1); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.35); }
.pn-kt-leer button .pn-i { width: 15px; height: 15px; }
/* Infokarte in Glas (Popup) */
.pn-kt .pn-kt-pop .maplibregl-popup-content { padding: 0; border-radius: 20px; background: transparent; box-shadow: none; }
.pn-kt .pn-kt-pop .maplibregl-popup-tip { display: none; }
.pn-kt .pn-kt-pop .maplibregl-popup-close-button { z-index: 2; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 26px; color: #fff; background: rgba(8,10,28,0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pn-kt-glas { width: 280px; max-width: 78vw; overflow: hidden; border-radius: 20px; color: var(--text); background: rgba(20,18,48,0.78); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 24px 50px -20px rgba(0,0,0,0.9); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); animation: pnAuf .35s var(--pn-weich, ease) both; }
.pn-kt-glas-bild { position: relative; height: 112px; background: var(--pn-ersatz) center / cover no-repeat, #1b2140; background-size: cover; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.pn-kt-glas-bild > span { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 999px; font: 700 11px/1 var(--font); color: #fff; background: rgba(8,10,28,0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pn-kt-glas-bild > span .pn-i { width: 13px; height: 13px; }
.pn-kt-glas-text { display: grid; gap: 4px; margin-top: -24px; padding: 0 14px 10px; position: relative; }
.pn-kt-glas-text b { font: 700 17px/1.2 var(--font-brand); letter-spacing: -0.01em; }
.pn-kt-glas-text small { font: 500 12.5px/1.35 var(--font); color: var(--text2); }
.pn-kt-glas-text ul { display: grid; gap: 5px; margin: 6px 0 0; padding: 0; list-style: none; }
.pn-kt-glas-text li { display: flex; gap: 7px; align-items: flex-start; font: 500 12.5px/1.35 var(--font); color: var(--text2); }
.pn-kt-glas-text li .pn-i { width: 14px; height: 14px; flex: none; margin-top: 1px; color: #C9B8FF; }
.pn-kt-glas-text li em { font-style: normal; color: #F2C98A; }
.pn-kt-glas-knoepfe { display: flex; gap: 6px; padding: 4px 12px 12px; }
.pn-kt-glas-knoepfe button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 36px; border: 0; border-radius: 12px; cursor: pointer; font: 700 12.5px/1 var(--font); color: #fff; background: rgba(255,255,255,0.09); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.3); }
.pn-kt-glas-knoepfe button.haupt { background: linear-gradient(140deg, #8C6BFF, #5A3FE0); box-shadow: none; }
.pn-kt-glas-knoepfe .pn-i { width: 15px; height: 15px; }
@media (max-width: 560px) { .pn-kt-modi button { padding: 0 12px; } .pn-kt-stil { display: none; } .pn-kt-flaeche { height: clamp(420px, 66vh, 640px); border-radius: 22px; } .pn-kt-pin-foto { width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .pn-kt-glas { animation: none; } }
.pn-kt-karte, .pn-kt-karte.maplibregl-map { position: absolute !important; inset: 0; width: 100%; height: 100%; }
.pn-kt.fern .pn-kt-pin-name { display: none; }
.pn-kt.fern .pn-kt-pin-foto { width: 34px; height: 34px; }
.pn-kt.fern .pn-kt-pin > i { min-width: 18px; height: 18px; font-size: 10px; top: -6px; right: -8px; }
/* Kartenfläche passt zwischen Kopf und untere Leiste; der Knopf „+" hat hier nichts zu suchen (Ideen übernehmen geht in der Karte) */
.pn-kt-flaeche { height: clamp(380px, calc(100dvh - var(--pn-leiste-h) - 340px - var(--pn-unten)), 780px); scroll-margin: 90px 0 calc(var(--pn-leiste-h) + 26px + var(--pn-unten)); }
body[data-pn="1"][data-pn-ansicht="karte"] .pn-fab.in-reise { display: none; }
.pn-kt-glas-text small, .pn-kt-glas-text li span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.pn-kt-glas-text small { -webkit-line-clamp: 2; }
.pn-kt-pin { transition: opacity .25s; }
.pn-kt-pin.verdeckt { opacity: 0; visibility: hidden; pointer-events: none; }
.pn-kt-pin[data-mehr]:not([data-mehr=""])::after { content: attr(data-mehr); position: absolute; top: auto; bottom: -12px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; min-width: 24px; height: 22px; padding: 0 6px; border-radius: 999px; font: 800 11px/22px var(--font); color: #1b1440; background: #fff; box-shadow: 0 0 0 2px rgba(12,16,32,0.9), 0 4px 10px -2px rgba(0,0,0,0.6); }
.pn-kt.fern .pn-kt-pin[data-mehr]:not([data-mehr=""])::after { min-width: 20px; height: 18px; font-size: 10px; line-height: 18px; }
.pn-kt { scroll-margin-top: 172px; }
@media (max-width: 760px) { .pn-kt { scroll-margin-top: 120px; } }
/* Ladezustand der Karte (statt der alten Karte, die sonst Sekunden lang zu sehen war) */
.pn-kt-laden { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 12px; font: 600 13px/1 var(--font); color: var(--text3); background: radial-gradient(ellipse at 50% 40%, rgba(90,63,224,0.22), transparent 65%), #0e0d26; transition: opacity .5s; }
.pn-kt-laden i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(201,184,255,0.18); border-top-color: #C9B8FF; animation: pnDreh 0.9s linear infinite; }
.pn-kt.bereit .pn-kt-laden { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .pn-kt-laden i { animation: none; } }
/* ── Runde 15c: Pins mit Mini-Info, Wege mit Fahrzeug, Info-Glas, Route abspielen ─────────────────────────────── */
.pn-kt-info { position: absolute; z-index: 3; top: 14px; left: 14px; max-width: min(360px, calc(100% - 90px)); display: grid; gap: 3px; padding: 11px 14px 12px; border-radius: 18px; color: var(--text); background: rgba(16,14,40,0.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 14px 30px -16px rgba(0,0,0,0.9); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); animation: pnAuf .35s var(--pn-weich, ease) both; }
.pn-kt-info[hidden] { display: none; }
.pn-kt-info b { display: flex; align-items: center; gap: 8px; font: 700 14px/1.25 var(--font); }
.pn-kt-info small { font: 500 12px/1.35 var(--font); color: var(--text2); }
.pn-kt-info em { font-style: normal; color: #F2C98A; }
.pn-kt-info-wetter { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; padding: 2px 8px 2px 4px; border-radius: 999px; font: 700 12px/1 var(--font); background: rgba(255,255,255,0.08); }
.pn-kt-info-wetter svg { width: 18px; height: 18px; }
.pn-kt-info button { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 32px; margin-top: 6px; padding: 0 13px 0 10px; border: 0; border-radius: 999px; cursor: pointer; font: 700 12.5px/1 var(--font); color: #fff; background: linear-gradient(140deg, #8C6BFF, #5A3FE0); box-shadow: 0 8px 18px -10px rgba(106,77,240,0.95); }
.pn-kt-info button .pn-i { width: 14px; height: 14px; fill: currentColor; }
/* Stopps des Tages: Kreis mit Nummer und Symbol, daneben Zeit und Name; fallen nacheinander herein */
.pn-kt-stopp { display: block; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; cursor: pointer; transition: none; }
.pn-kt-stopp-kreis { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--pn-farbe) 80%, #fff), var(--pn-farbe)); box-shadow: 0 0 0 3px rgba(12,16,32,0.92), 0 8px 18px -6px rgba(0,0,0,0.8), 0 0 18px -2px var(--pn-farbe); animation: pnKtFallen .55s cubic-bezier(.2,.9,.3,1.3) both; animation-delay: calc(var(--i, 0) * 90ms); transition: scale .2s; }
.pn-kt-stopp-kreis .pn-i { width: 16px; height: 16px; }
.pn-kt-stopp-kreis b { position: absolute; top: -7px; left: -7px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; font: 800 10.5px/1 var(--font); color: #1b1440; background: #fff; box-shadow: 0 0 0 2px rgba(12,16,32,0.9); }
.pn-kt-stopp-info { position: absolute; left: 30px; top: 50%; translate: 0 -50%; display: flex; align-items: center; gap: 6px; max-width: 190px; padding: 5px 10px 5px 14px; border-radius: 0 999px 999px 0; white-space: nowrap; font: 600 12px/1.2 var(--font); color: #fff; background: rgba(14,13,38,0.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); z-index: -1; animation: pnKtAusrollen .45s var(--pn-weich, ease) both; animation-delay: calc(var(--i, 0) * 90ms + 250ms); }
.pn-kt-stopp-info small { font: 700 11px/1 var(--font); color: #C9B8FF; }
.pn-kt-stopp-info em { overflow: hidden; text-overflow: ellipsis; font-style: normal; }
.pn-kt-stopp:hover .pn-kt-stopp-kreis, .pn-kt-stopp.an .pn-kt-stopp-kreis { scale: 1.12; }
.pn-kt-stopp.an .pn-kt-stopp-kreis::after, .pn-kt-idee.an .pn-kt-idee-kreis::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--pn-farbe, #C9B8FF); animation: pnKtPuls 1.6s ease-out infinite; pointer-events: none; }
.pn-kt-stopp.an { z-index: 6; }
.pn-kt:not(.nah) .pn-kt-stopp-info { max-width: 150px; }
@keyframes pnKtFallen { 0% { opacity: 0; translate: 0 -22px; scale: .5; } 60% { opacity: 1; translate: 0 2px; scale: 1.06; } 100% { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes pnKtAusrollen { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes pnKtPuls { from { opacity: .9; scale: 1; } to { opacity: 0; scale: 1.9; } }
@keyframes pnKtPlopp { 0% { opacity: 0; scale: .3; } 70% { opacity: 1; scale: 1.12; } 100% { opacity: 1; scale: 1; } }
.pn-kt-bett { display: block; width: auto; height: auto; padding: 0; border: 0; background: none; box-shadow: none; }
.pn-kt-bett > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; color: #fff; background: linear-gradient(140deg, #8C6BFF, #5A3FE0); box-shadow: 0 0 0 3px rgba(12,16,32,0.9), 0 0 20px -2px rgba(140,107,255,0.9); animation: pnKtPlopp .5s var(--pn-weich, ease) both; }
.pn-kt-bett .pn-i { width: 16px; height: 16px; }
/* Ideen: Kreis in Kategoriefarbe, Name darunter (Top-Ideen, beim Zeigen, nah herangezoomt) — ploppen nacheinander auf */
.pn-kt-idee { display: grid; justify-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 0; background: none !important; box-shadow: none !important; cursor: pointer; transition: none; }
.pn-kt-idee-kreis { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--pn-idee, rgba(90,63,224,0.95)); box-shadow: 0 0 0 2.5px rgba(12,16,32,0.9), 0 6px 14px -4px rgba(0,0,0,0.8); animation: pnKtPlopp .45s var(--pn-weich, ease) both; animation-delay: calc(var(--i, 0) * 35ms); transition: scale .2s; }
.pn-kt-idee .pn-i { width: 15px; height: 15px; }
.pn-kt-idee.top .pn-kt-idee-kreis { width: 36px; height: 36px; box-shadow: 0 0 0 2.5px rgba(12,16,32,0.9), 0 0 0 5px rgba(205,190,255,0.5), 0 6px 14px -4px rgba(0,0,0,0.8); }
.pn-kt-idee.top { width: 36px; height: 36px; }
.pn-kt-idee-name { position: absolute; top: calc(100% + 5px); left: 50%; translate: -50% 0; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 8px 4px; border-radius: 8px; font: 600 11px/1.2 var(--font); color: #fff; background: rgba(14,13,38,0.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); pointer-events: none; opacity: 0; transition: opacity .2s; }
.pn-kt-idee.mit-name .pn-kt-idee-name, .pn-kt-idee:hover .pn-kt-idee-name, .pn-kt-idee.an .pn-kt-idee-name, .pn-kt-idee:focus-visible .pn-kt-idee-name { opacity: 1; }
.pn-kt-idee:hover, .pn-kt-idee.an { z-index: 6; scale: 1; }
.pn-kt-idee:hover .pn-kt-idee-kreis, .pn-kt-idee.an .pn-kt-idee-kreis { scale: 1.15; }
.pn-kt-idee.k-kultur { --pn-idee: #5A7BE0; } .pn-kt-idee.k-natur { --pn-idee: #3F8F7E; } .pn-kt-idee.k-strand { --pn-idee: #2B9ACB; }
.pn-kt-idee.k-essen, .pn-kt-idee.k-cafe { --pn-idee: #B0579A; } .pn-kt-idee.k-abends { --pn-idee: #7A4FD0; } .pn-kt-idee.k-familie, .pn-kt-idee.k-aktiv { --pn-idee: #4F6FD0; } .pn-kt-idee.k-shopping { --pn-idee: #8C6BFF; } .pn-kt-idee.k-sehen { --pn-idee: #6A4DF0; }
/* Wege: Glas-Chip mit Fahrzeug und Dauer in der Mitte der Etappe; Strecke zwischen Stopps */
.pn-kt-wegchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 4px; border: 0; border-radius: 999px; cursor: pointer; font: 700 11.5px/1 var(--font); color: #fff; background: rgba(14,13,38,0.86); box-shadow: inset 0 0 0 1.5px var(--pn-weg, rgba(205,190,255,0.5)), 0 8px 18px -8px rgba(0,0,0,0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .25s; }
.pn-kt-wegchip > i { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: #0c1020; background: var(--pn-weg, #C9B8FF); animation: pnKtSchweben 2.6s ease-in-out infinite; }
.pn-kt-wegchip > i svg { width: 14px; height: 14px; }
.pn-kt-wegchip.a-flug { --pn-weg: #3DE0FF; } .pn-kt-wegchip.a-zug { --pn-weg: #6FA8FF; } .pn-kt-wegchip.a-auto, .pn-kt-wegchip.a-transport { --pn-weg: #F28AC0; } .pn-kt-wegchip.a-schiff { --pn-weg: #3DE0FF; }
.pn-kt-wegchip.offen { --pn-weg: rgba(221,210,255,0.55); padding-right: 4px; } .pn-kt-wegchip.offen > i { animation: none; }
.pn-kt-wegchip.verdeckt { visibility: hidden; pointer-events: none; }   /* MapLibre setzt opacity inline am Marker */
.pn-kt-wegchip.an { box-shadow: inset 0 0 0 2px var(--pn-weg), 0 0 22px -4px var(--pn-weg); }
.pn-kt-strecke { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font: 600 10.5px/1 var(--font); color: #DDD2FF; background: rgba(14,13,38,0.78); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.25); pointer-events: none; white-space: nowrap; }
.pn-kt-strecke .pn-i { width: 12px; height: 12px; }
.pn-kt:not(.nah) .pn-kt-strecke { opacity: .85; }
@keyframes pnKtSchweben { 0%, 100% { translate: 0 0; } 50% { translate: 0 -2px; } }
/* Fahrzeug, das beim Abspielen die Route entlangfährt */
.pn-kt-fahrer { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; pointer-events: none; }
.pn-kt-fahrer > i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #0c1020; background: #fff; box-shadow: 0 0 0 4px rgba(12,16,32,0.85), 0 0 34px 6px rgba(255,255,255,0.55); }
.pn-kt-fahrer > i svg { width: 22px; height: 22px; }
.pn-kt-fahrer.a-flug > i { background: #3DE0FF; } .pn-kt-fahrer.a-auto > i, .pn-kt-fahrer.a-transport > i { background: #F28AC0; } .pn-kt-fahrer.a-zug > i { background: #6FA8FF; }
.pn-kt.spielt .pn-kt-wegchip { visibility: hidden; pointer-events: none; }
/* Kartenreihe: Etappen und Wege als eigene Karten */
.pn-kt-k-bild.fahrzeug { background: linear-gradient(150deg, color-mix(in srgb, var(--pn-farbe) 45%, #1b1440), #151233); color: var(--pn-farbe); }
.pn-kt-k-bild.fahrzeug svg { width: 26px; height: 26px; opacity: 1; filter: none; }
.pn-kt-k.offen { background: rgba(20,18,48,0.55); box-shadow: inset 0 0 0 1.5px rgba(221,210,255,0.3); }
.pn-kt-k.offen .pn-kt-k-bild.fahrzeug { color: #DDD2FF; background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1.5px rgba(221,210,255,0.35); }
.pn-kt-k-text em { flex-wrap: wrap; gap: 4px 10px; }
.pn-kt-k-text em > span { display: inline-flex; align-items: center; gap: 3px; }
.pn-kt-k-text em i.sucht { color: var(--text3); animation: pnKtBlinken 1.4s ease-in-out infinite; }
@keyframes pnKtBlinken { 50% { opacity: .45; } }
/* Infokarte einer Idee: Fakten, Mehr erfahren, Links — der Textteil scrollt, Foto und Knöpfe bleiben */
.pn-kt-glas { display: flex; flex-direction: column; max-height: var(--pn-kt-pop-max, 70vh); }
.pn-kt-glas-bild, .pn-kt-glas-knoepfe { flex: none; }
.pn-kt-glas-text { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.pn-kt-glas-idee { width: 310px; }
.pn-kt-fakten { display: grid; gap: 6px; margin: 8px 0 2px; }
.pn-kt-fakten > div { display: grid; grid-template-columns: 16px 64px minmax(0, 1fr); gap: 7px; align-items: start; font: 500 12.5px/1.35 var(--font); }
.pn-kt-fakten .pn-i { width: 14px; height: 14px; margin-top: 1px; color: #C9B8FF; }
.pn-kt-fakten dt { font: 600 11px/1.5 var(--font); letter-spacing: .03em; text-transform: uppercase; color: var(--text3); }
.pn-kt-fakten dd { margin: 0; color: var(--text); }
.pn-kt-mehr { margin-top: 6px; border-radius: 12px; background: rgba(255,255,255,0.05); }
.pn-kt-mehr summary { display: flex; align-items: center; gap: 6px; padding: 8px 10px; cursor: pointer; list-style: none; font: 700 12.5px/1 var(--font); color: #DDD2FF; }
.pn-kt-mehr summary::-webkit-details-marker { display: none; }
.pn-kt-mehr summary .pn-i { width: 14px; height: 14px; }
.pn-kt-mehr p { margin: 0; padding: 0 10px 10px; font: 500 12.5px/1.5 var(--font); color: var(--text2); }
.pn-kt-mehr p em { font-style: normal; font-weight: 700; color: #C9B8FF; }
.pn-kt-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.pn-kt-links a { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font: 600 11.5px/1 var(--font); color: #DDD2FF; text-decoration: none; background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.25); }
.pn-kt-links a:hover { background: rgba(140,107,255,0.3); }
.pn-kt-quellen { margin: 8px 0 0; font: 500 10.5px/1.3 var(--font); color: var(--text4); }
.pn-kt.wechsel .pn-kt-laden { background: rgba(14,13,38,0.55); }
@media (max-width: 560px) { .pn-kt-info { top: 10px; left: 10px; padding: 9px 12px 10px; max-width: calc(100% - 74px); } .pn-kt-stopp-info { max-width: 130px; } .pn-kt-glas-idee { width: 280px; } }
@media (prefers-reduced-motion: reduce) { .pn-kt-stopp-kreis, .pn-kt-stopp-info, .pn-kt-idee-kreis, .pn-kt-bett > span, .pn-kt-wegchip > i, .pn-kt-info { animation: none; } .pn-kt-stopp.an .pn-kt-stopp-kreis::after, .pn-kt-idee.an .pn-kt-idee-kreis::after { animation: none; opacity: 0; } }
/* Höhe je Modus: Reise hat keine Tagesleiste, Ideen zusätzlich die Kategorien — die Kartenreihe bleibt über der Navigation */
.pn-kt[data-modus="reise"] .pn-kt-flaeche { height: clamp(400px, calc(100dvh - var(--pn-leiste-h) - 270px - var(--pn-unten)), 780px); }
.pn-kt[data-modus="ideen"] .pn-kt-flaeche { height: clamp(360px, calc(100dvh - var(--pn-leiste-h) - 392px - var(--pn-unten)), 780px); }
/* Handy: Infokarte als Blatt unten in der Kartenfläche; Kartenreihe und Info-Glas treten so lange zurück */
.pn-kt .maplibregl-popup.pn-kt-pop.blatt { top: auto !important; bottom: 10px; left: 10px; right: 10px; transform: none !important; max-width: none !important; z-index: 5; }
.pn-kt .pn-kt-pop.blatt .pn-kt-glas, .pn-kt .pn-kt-pop.blatt .pn-kt-glas-idee { width: 100%; max-width: none; animation: pnKtBlatt .35s var(--pn-weich, ease) both; }
/* :has — Blatt offen */ .pn-kt.pop-offen .pn-kt-flaeche:has(.pn-kt-pop.blatt) .pn-kt-reihe, .pn-kt.pop-offen .pn-kt-flaeche:has(.pn-kt-pop.blatt) .pn-kt-info { visibility: hidden; }
@keyframes pnKtBlatt { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
/* ── Runde 16: Bestätigen im Glas-Blatt ───────────────────────────────────────────────────────────────────── */
.pn-frage { display: grid; gap: 18px; padding: 2px 2px 6px; }
.pn-frage p { margin: 0; font: 500 15px/1.55 var(--font); color: var(--text); }
.pn-frage-knoepfe { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
body[data-pn="1"] .pn-frage .kp-gefahr { color: #fff; background: linear-gradient(140deg, #7A4FD0, #4B2FB0); box-shadow: inset 0 0 0 1.5px rgba(255,200,220,0.55); }
/* Packliste: der Motor zeigt den Fortschritt noch einmal als Streifen — oben steht er schon; „+" (Aktivität, Stadt …)
   gehört nicht hierher und verdeckte auf dem Handy „Eigener Punkt" */
body[data-pn="1"] #tab-checklist > div[style*="margin-bottom:18px"][style*="padding:14px 18px"] { display: none !important; }
body[data-pn="1"][data-pn-ansicht="packliste"] .pn-fab.in-reise { display: none; }

/* R16 · Abgeschlossene Reise: Hinzufügen gedämpft (Klick zeigt den Hinweis), Sperr-Banner neutral im Planer-Glas
   statt Gelb-Rot — Regel 2: Warnfarben nur für Warnstufen. Unterstützen-Knopf in der Reise weg: dort liegen
   Hinzufügen-Knopf und Tab-Leiste, er überlagerte beide. In der Reiseliste bleibt er. */
body[data-pn="1"].pn-gesperrt .pn-fab.in-reise,
body[data-pn="1"].pn-gesperrt [data-pn-land-neu],
body[data-pn="1"].pn-gesperrt [data-pn-tu="land"] { opacity: .45; filter: grayscale(.5); }
body[data-pn="1"] .locked-banner {
  margin: 0 0 18px;
  background: linear-gradient(100deg, rgba(122,79,208,.16), rgba(255,255,255,.04));
  border: 1px solid rgba(160,130,255,.28);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-radius: 18px;
}
body[data-pn="1"].pn-in-reise #donate-btn { display: none; }
@media (max-width: 700px) { body[data-pn="1"] .locked-banner { margin: 0 14px 18px; } }
body[data-pn="1"] .locked-banner .locked-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: rgba(160,130,255,.16); color: #CDBEFF; filter: none; }
body[data-pn="1"] .locked-banner .locked-icon .pn-i { width: 20px; height: 20px; }

/* Karte: Fahrzeug frei ohne Kreis, mittig auf der Linie, Flugzeug im Winkel der Linie (wie im Reiseverlauf).
   Lage setzt MapLibre am Marker (anchor center), Drehung ktFzDrehen() am inneren .pn-kt-fz. */
body[data-pn="1"] .pn-kt-wegchip { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 0;
  background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; }
body[data-pn="1"] .pn-kt-wegchip > .pn-kt-fz, body[data-pn="1"] .pn-kt-fahrer > .pn-kt-fz { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 0;
  background: none; box-shadow: none; animation: none; color: #fff; transform-origin: 50% 50%;
  filter: drop-shadow(0 0 6px var(--pn-weg, rgba(155,127,255,0.9))) drop-shadow(0 2px 4px rgba(0,0,0,0.6)); }
body[data-pn="1"] .pn-kt-fz .pn-flieger { width: 30px !important; height: 30px !important; fill: #9B7FFF; stroke: #EDE6FF; stroke-width: .9; }
body[data-pn="1"] .pn-kt-fz .pn-i { width: 22px; height: 22px; stroke-width: 2.3; }
body[data-pn="1"] .pn-kt-wegchip > span { position: absolute; left: 50%; top: calc(100% + 1px); transform: translateX(-50%); white-space: nowrap; padding: 4px 8px; border-radius: 999px;
  font: 700 11px/1 var(--font); color: #fff; background: rgba(14,13,38,0.86); box-shadow: inset 0 0 0 1.2px var(--pn-weg, rgba(205,190,255,0.5)), 0 6px 14px -6px rgba(0,0,0,0.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
body[data-pn="1"] .pn-kt-wegchip.offen > .pn-kt-fz { width: 26px; height: 26px; border-radius: 50%; background: rgba(14,13,38,0.86); box-shadow: inset 0 0 0 1.5px var(--pn-weg); filter: none; }
body[data-pn="1"] .pn-kt-wegchip.an > .pn-kt-fz { filter: drop-shadow(0 0 10px var(--pn-weg, #C9B8FF)) drop-shadow(0 2px 4px rgba(0,0,0,0.6)); }
body[data-pn="1"] .pn-kt-wegchip.an > span { box-shadow: inset 0 0 0 2px var(--pn-weg), 0 0 18px -4px var(--pn-weg); }
body[data-pn="1"] .pn-kt-fahrer { width: 38px; height: 38px; border-radius: 0; }
body[data-pn="1"] .pn-kt-fahrer > .pn-kt-fz { width: 38px; height: 38px; }
body[data-pn="1"] .pn-kt-fahrer .pn-kt-fz .pn-flieger { width: 36px !important; height: 36px !important; }
body[data-pn="1"] .pn-kt-fz:has(.pn-flieger) { filter: drop-shadow(0 0 7px rgba(155,127,255,0.95)) drop-shadow(0 2px 4px rgba(0,0,0,0.6)); }
/* Info neben dem Fahrzeug: am fahrenden Fahrzeug Strecke + Verkehrsmittel + Reisezeit + km, am stehenden die Dauer —
   rechts daneben, dreht nicht mit */
body[data-pn="1"] .pn-kt-wegchip > span { left: calc(100% + 2px); top: 50%; transform: translateY(-50%); }
/* KEIN position hier: MapLibre setzt .maplibregl-marker { position: absolute } — relative verschob das Fahrzeug */
body[data-pn="1"] .pn-kt-fahrer { overflow: visible; }
body[data-pn="1"] .pn-kt-fahrer-info { position: absolute; left: calc(100% + 6px); top: 50%; transform: translateY(-50%); display: grid; gap: 3px; white-space: nowrap;
  padding: 7px 11px; border-radius: 12px; color: #fff; background: rgba(14,13,38,0.88); box-shadow: inset 0 0 0 1.2px rgba(205,190,255,0.45), 0 10px 22px -10px rgba(0,0,0,0.9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); pointer-events: none; animation: pnKtPlopp .35s cubic-bezier(.2,.9,.3,1.3) both; }
body[data-pn="1"] .pn-kt-fahrer-info b { font: 700 12px/1.1 var(--font); }
body[data-pn="1"] .pn-kt-fahrer-info small { font: 600 11px/1.1 var(--font); color: #CDBEFF; }
body[data-pn="1"] .pn-kt-punkt { width: 14px; height: 14px; border-radius: 50%; background: #EDE6FF; box-shadow: 0 0 0 3px rgba(155,127,255,0.45), 0 0 16px 4px rgba(155,127,255,0.7); }
body[data-pn="1"] .pn-kt-wegchip.links > span { left: auto; right: calc(100% + 2px); }
body[data-pn="1"] .pn-kt-fahrer.links .pn-kt-fahrer-info { left: auto; right: calc(100% + 6px); }
@media (max-width: 559px) { body[data-pn="1"] .pn-kt.spielt .pn-kt-reihe { opacity: 0; pointer-events: none; transition: opacity .3s; } }
/* Marker IMMER absolut: MapLibre rechnet die Lage per transform relativ zur Karten-Ecke. Jede eigene position
   (auch aus einer Regel mit höherem Gewicht) schiebt das Symbol neben seinen Punkt — Martin: „nicht exakt auf der Linie" */
body[data-pn="1"] .pn-kt .maplibregl-marker { position: absolute !important; }
body[data-pn="1"] .pn-kt-wegchip.unten > span, body[data-pn="1"] .pn-kt-fahrer.unten .pn-kt-fahrer-info { left: 50%; right: auto; top: calc(100% + 4px); transform: translateX(-50%); }
/* KI-Tagesplan läuft: Band schimmert, nicht doppelt antippbar */
body[data-pn="1"] #ai-plan-cta.pn-ki-laeuft { pointer-events: none; position: relative; overflow: hidden; }
body[data-pn="1"] #ai-plan-cta.pn-ki-laeuft::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(205,190,255,0.22) 50%, transparent 80%); animation: pnKiSchimmer 1.4s linear infinite; }
@keyframes pnKiSchimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { body[data-pn="1"] #ai-plan-cta.pn-ki-laeuft::after { animation: none; } }

/* ── R17 · Martin 28.09.: Leisten seitlich bewegbar, Kartenfenster höher, alle Filter sichtbar, neue Uhrzeitauswahl ── */
/* Pfeile an seitlich bewegbaren Leisten — kleben an den Rändern, erscheinen nur, wenn es in die Richtung weitergeht */
body[data-pn="1"] .pn-wisch { position: sticky; z-index: 4; flex: none; align-self: center; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  color: #fff; background: rgba(20,18,48,0.88); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.35), 0 8px 18px -6px rgba(0,0,0,0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s, transform .15s; }
body[data-pn="1"] .pn-wisch .pn-i { width: 18px; height: 18px; }
body[data-pn="1"] .pn-wisch.l { left: 0; margin-right: -36px; }
body[data-pn="1"] .pn-wisch.l .pn-i { transform: rotate(180deg); }
body[data-pn="1"] .pn-wisch.r { right: 0; margin-left: -36px; order: 999; }
body[data-pn="1"] .kann-l > .pn-wisch.l, body[data-pn="1"] .kann-r > .pn-wisch.r { opacity: 1; visibility: visible; }
body[data-pn="1"] .pn-wisch:hover { transform: scale(1.08); background: linear-gradient(140deg, #8C6BFF, #5A3FE0); }
body[data-pn="1"] .pn-kt-reihe .pn-wisch { width: 42px; height: 42px; }
body[data-pn="1"] .pn-kt-reihe .pn-wisch.l { margin-right: -42px; } body[data-pn="1"] .pn-kt-reihe .pn-wisch.r { margin-left: -42px; }
body[data-pn="1"] .pn-kt-reihe.zieht, body[data-pn="1"] .pn-kt-tage.zieht, body[data-pn="1"] .pn-kt-ideen-kats.zieht { cursor: grabbing; scroll-snap-type: none; user-select: none; }
body[data-pn="1"] .pn-kt-reihe.zieht .pn-kt-k { pointer-events: none; }
@media (hover: none) { body[data-pn="1"] .pn-wisch { display: none; } }

/* Kartenfenster in Tag und Ideen höher — Infokarten bekommen mehr Platz (Martin: „schwer zu erkennen und zu navigieren") */
body[data-pn="1"] .pn-kt[data-modus="tag"] .pn-kt-flaeche, body[data-pn="1"] .pn-kt[data-modus="ideen"] .pn-kt-flaeche {
  height: clamp(520px, calc(100dvh - var(--pn-leiste-h) - 210px - var(--pn-unten)), 920px); }
@media (max-width: 560px) { body[data-pn="1"] .pn-kt[data-modus="tag"] .pn-kt-flaeche, body[data-pn="1"] .pn-kt[data-modus="ideen"] .pn-kt-flaeche { height: clamp(500px, calc(100dvh - var(--pn-leiste-h) - 190px - var(--pn-unten)), 860px); } }
/* Infokarte: breiter, größeres Foto, gut lesbar */
body[data-pn="1"] .pn-kt-glas { width: 340px; }
body[data-pn="1"] .pn-kt-glas-idee { width: 360px; }
body[data-pn="1"] .pn-kt-glas-bild { height: 150px; }
body[data-pn="1"] .pn-kt-glas-text b { font-size: 18.5px; }
body[data-pn="1"] .pn-kt-glas-text small, body[data-pn="1"] .pn-kt-glas-text li { font-size: 13.5px; }
@media (max-width: 560px) { body[data-pn="1"] .pn-kt-glas, body[data-pn="1"] .pn-kt-glas-idee { width: 100%; } body[data-pn="1"] .pn-kt-glas-bild { height: 140px; } }

/* Aktivität hinzufügen: alle Filter sichtbar (umbrechen statt versteckt seitlich) */
body[data-pn="1"] .pn-ideen-kats { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; margin: 0; padding: 2px 0 4px; }
body[data-pn="1"] .pn-ideen-kats button { height: 38px; padding: 0 13px 0 11px; }

/* Uhrzeit: Kacheln öffnen die eigene Auswahl, das Feld darunter nimmt keine Klicks mehr an */
body[data-pn="1"] .pn-zeitkachel input[type="time"] { pointer-events: none !important; }
body[data-pn="1"] .pn-zeitkachel:focus-visible { outline: 2px solid #B79BFF; outline-offset: 2px; }
.pn-uhr-wrap { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; background: rgba(6,6,20,0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s; }
.pn-uhr-wrap.offen { opacity: 1; } .pn-uhr-wrap.geht { opacity: 0; }
.pn-uhr { width: min(440px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 18px 18px 16px; border-radius: 26px; color: #fff; background: linear-gradient(160deg, rgba(38,32,86,0.97), rgba(18,16,44,0.98));
  box-shadow: inset 0 0 0 1px rgba(205,190,255,0.22), 0 40px 80px -30px rgba(0,0,0,0.95); transform: translateY(12px) scale(.98); transition: transform .22s cubic-bezier(.2,.9,.3,1.2); font-family: var(--font); }
.pn-uhr-wrap.offen .pn-uhr { transform: none; }
.pn-uhr-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.pn-uhr-kopf small { display: inline-flex; align-items: center; gap: 6px; font: 700 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #CDBEFF; }
.pn-uhr-kopf small .pn-i { width: 14px; height: 14px; }
.pn-uhr-anzeige { display: flex; align-items: baseline; gap: 2px; margin-top: 8px; font: 800 52px/1 var(--font-brand); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pn-uhr-anzeige i { font-style: normal; color: #9B7FFF; animation: pnUhrBlink 1.2s steps(2) infinite; }
@keyframes pnUhrBlink { 50% { opacity: .35; } }
.pn-uhr-hinweis { display: block; min-height: 16px; margin-top: 6px; font: 600 12.5px/1.2 var(--font); font-style: normal; color: #CDBEFF; }
.pn-uhr-hinweis.warn { color: #fff; opacity: .7; }
.pn-uhr-zu { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); }
.pn-uhr-zu .pn-i { width: 18px; height: 18px; }
.pn-uhr-titel { margin: 14px 0 8px; font: 700 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.pn-uhr-stunden { display: grid; grid-template-columns: 92px repeat(6, minmax(0, 1fr)); gap: 6px; align-items: center; }
.pn-uhr-zeit { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font); color: rgba(255,255,255,0.6); }
.pn-uhr-zeit .pn-i { width: 14px; height: 14px; color: #B79BFF; }
.pn-uhr-minuten { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.pn-uhr-stunden button, .pn-uhr-minuten button { height: 44px; padding: 0; border: 0; border-radius: 14px; cursor: pointer; font: 700 16px/1 var(--font); font-variant-numeric: tabular-nums; color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); transition: background .15s, transform .12s, box-shadow .15s; }
.pn-uhr-stunden button:hover, .pn-uhr-minuten button:hover { background: rgba(155,127,255,0.22); }
.pn-uhr-stunden button:active, .pn-uhr-minuten button:active { transform: scale(.94); }
.pn-uhr-stunden button:focus-visible, .pn-uhr-minuten button:focus-visible { outline: 2px solid #B79BFF; outline-offset: 2px; }
.pn-uhr-stunden button.an, .pn-uhr-minuten button.an { color: #fff; background: linear-gradient(140deg, #8C6BFF, #5A3FE0); box-shadow: 0 10px 22px -10px rgba(106,77,240,0.95), inset 0 0 0 1px rgba(255,255,255,0.2); }
.pn-uhr-fuss { display: flex; gap: 10px; margin-top: 18px; }
.pn-uhr-fuss .kp { flex: 1; justify-content: center; }
.pn-uhr-fuss .kp[disabled] { opacity: .45; pointer-events: none; }
@media (max-width: 560px) {
  .pn-uhr-wrap { place-items: end stretch; padding: 0; }
  .pn-uhr { width: 100%; border-radius: 26px 26px 0 0; padding: 16px 14px calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateY(40px); }
  .pn-uhr-stunden { grid-template-columns: 74px repeat(6, minmax(0, 1fr)); gap: 5px; }
  .pn-uhr-stunden button, .pn-uhr-minuten button { height: 42px; font-size: 15px; border-radius: 12px; }
  .pn-uhr-anzeige { font-size: 46px; }
}
@media (prefers-reduced-motion: reduce) { .pn-uhr, .pn-uhr-wrap { transition: none; } .pn-uhr-anzeige i { animation: none; } }

/* Karten-Pins mit Foto (Martin: „Bilder von Unterkunft oder Aktivitäten nicht immer angezeigt") — Farbring = Art,
   Symbol als kleines Abzeichen; ohne Foto das Kategoriebild, nie ein leerer weißer Kreis */
body[data-pn="1"] .pn-kt-stopp-kreis.mit-bild { width: 46px; height: 46px; color: #fff; background: var(--pn-bild) center / cover no-repeat, #1b2140;
  box-shadow: 0 0 0 3px var(--pn-farbe, #9B7FFF), 0 0 0 5px rgba(12,16,32,0.92), 0 10px 22px -6px rgba(0,0,0,0.85), 0 0 20px -2px var(--pn-farbe, #9B7FFF); }
body[data-pn="1"] .pn-kt-stopp-sym { position: absolute; right: -7px; bottom: -7px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal;
  color: #fff; background: var(--pn-farbe, #9B7FFF); box-shadow: 0 0 0 2px rgba(12,16,32,0.92); }
body[data-pn="1"] .pn-kt-stopp-sym .pn-i { width: 12px; height: 12px; }
body[data-pn="1"] .pn-kt-stopp-kreis:not(.mit-bild) .pn-kt-stopp-sym { position: static; width: auto; height: auto; background: none; box-shadow: none; }
body[data-pn="1"] .pn-kt-stopp-kreis:not(.mit-bild) .pn-kt-stopp-sym .pn-i { width: 16px; height: 16px; }
body[data-pn="1"] .pn-kt-bett.mit-bild { position: relative; }
body[data-pn="1"] .pn-kt-bett-foto { display: block; width: 40px; height: 40px; border-radius: 13px; background: var(--pn-bild) center / cover no-repeat, #1b2140;
  box-shadow: 0 0 0 3px #8C6BFF, 0 0 0 5px rgba(12,16,32,0.92), 0 0 20px -2px rgba(140,107,255,0.9); animation: pnKtPlopp .5s var(--pn-weich, ease) both; }
body[data-pn="1"] .pn-kt-bett-sym { position: absolute; right: -7px; bottom: -7px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; color: #fff;
  background: linear-gradient(140deg, #8C6BFF, #5A3FE0); box-shadow: 0 0 0 2px rgba(12,16,32,0.92); }
body[data-pn="1"] .pn-kt-bett-sym .pn-i { width: 12px; height: 12px; }
@media (prefers-reduced-motion: reduce) { body[data-pn="1"] .pn-kt-bett-foto { animation: none; } }

/* R17: Hinweis, was die Reihe unten zeigt */
.pn-kt-info .pn-kt-hinweis { display: block; margin-top: 2px; font: 500 11.5px/1.4 var(--font); color: var(--text2); opacity: .9; }
.pn-kt-info .pn-kt-info-knoepfe { display: flex; flex-wrap: wrap; gap: 6px; }
.pn-kt-info button.zweit { color: var(--text); background: rgba(255,255,255,0.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); }
@media (max-width: 560px) { .pn-kt-info .pn-kt-hinweis { font-size: 11px; } .pn-kt-info button { height: 30px; } }
.pn-ideen-ohne { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; padding: 16px 18px; border-radius: 16px; font: 500 13.5px/1.45 var(--font); color: var(--text2); background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.pn-ideen-ohne[hidden] { display: none; }
.pn-ideen-ohne .pn-i { flex: none; width: 22px; height: 22px; color: var(--text3); }
/* R17: Die Sortier- und Filterzeile des Motors wirkte nur auf dessen (versteckte) Karten und war abgeschnitten — die Ideen haben eigene Kategorien und Suche */
.pn-akt #ai-suggestions-field:has(> .pn-ideen) > #ai-suggestions { display: none !important; }
@media (max-width: 560px) {
  .pn-kt-info .pn-nur-breit { display: none; }
  .pn-kt-info .pn-kt-info-knoepfe { flex-wrap: nowrap; }
  .pn-kt-info .pn-kt-info-knoepfe button { margin-top: 4px; padding: 0 11px 0 9px; font-size: 12px; }
}
/* R17: Tageswetter ehrlich — Zeitraum, Lage in Worten, Regenbalken mit Schirm und Erklärung */
.pn-wd-verlauf small { display: grid; justify-items: center; gap: 3px; }
.pn-wd-verlauf small i { font: 500 10px/1 var(--font); font-style: normal; color: var(--text4, var(--text3)); }
.pn-wd-lage { min-height: 2.5em; font: 500 11px/1.25 var(--font); font-style: normal; text-align: center; color: var(--text2); }
.pn-wd-regen { display: inline-flex !important; align-items: center; justify-content: center; gap: 3px; }
.pn-wd-regen .pn-i { width: 10px; height: 10px; flex: none; }
.pn-wd-legende { display: flex; align-items: center; gap: 8px; margin: 2px 2px 0; font: 500 11.5px/1.4 var(--font); color: var(--text3); }
.pn-wd-legende .pn-wd-regen { flex: none; width: 44px; }
.pn-wd-verlauf li { grid-template-rows: auto auto auto 1fr auto; }
.pn-wd-verlauf .pn-wd-lage { min-height: 0; align-self: start; }
/* R18: Unterkunft-Vorschlag — was übernommen wurde und was fehlt */
body[data-pn="1"] .ac2-osm-info { margin: 8px 2px 0; padding: 10px 12px; border-radius: 12px; font: 500 12.5px/1.45 var(--font); color: var(--text2); background: rgba(155,127,255,0.1); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.22); }
/* R18: kurze freie Zeit (15–59 min) als schmale Zeile */
.pn-tl-luecke.kurz .pn-luecke { min-height: 26px; padding-block: 2px; font-size: 12px; }
.pn-tl-luecke.kurz .pn-luecke em { padding: 4px 7px; }
/* R18: Tage im Reiseverlauf zuklappen */
.pn-tagkarte > .pn-tk-kopf { padding-right: 46px; }
.pn-tk-klapp { position: absolute; z-index: 2; top: 8px; right: 0; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: var(--text2);
  background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(205,190,255,0.18); transition: background .2s ease, color .2s ease; }
.pn-tk-klapp:hover, .pn-tk-klapp:focus-visible { color: #fff; background: rgba(155,127,255,0.22); }
.pn-tk-klapp .pn-i { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .3s var(--pn-weich, ease); }
.pn-tagkarte.zu .pn-tk-klapp .pn-i { transform: rotate(0deg); }
.pn-tk-kurz { display: none; }
.pn-tagkarte.zu > .pn-tag-infos, .pn-tagkarte.zu > .pn-tl { display: none; }
.pn-tagkarte.zu > .pn-tk-kurz { order: 3; display: block; width: 100%; margin: -4px 0 0; padding: 8px 12px; border: 0; border-radius: 12px; cursor: pointer; text-align: left;
  font: 500 12.5px/1.4 var(--font); color: var(--text3); background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-tagkarte.zu > .pn-tk-kurz:hover { color: var(--text2); background: rgba(155,127,255,0.1); }
.pn-tage-werkzeug { display: flex; justify-content: flex-end; margin: 4px 0 -6px; }
.pn-tage-werkzeug .pn-i { width: 14px; height: 14px; transform: rotate(90deg); }
.pn-tage-werkzeug [data-pn-alle-klapp="auf"] .pn-i { transform: rotate(0deg); }
@media (prefers-reduced-motion: reduce) { .pn-tk-klapp .pn-i { transition: none; } }
/* Überschneidungen links an der Zeitleiste (Martin 28.09.2026) — eigenes Rosa-Rot, keine Warnstufen-Farbe (Regel 2) */
.pn-tl-e.ueber > .pn-tl-knoten { color: #fff !important; background: #D6456F !important; box-shadow: 0 0 0 2px rgba(10,10,30,0.8), 0 0 0 4px rgba(255,120,160,0.55), 0 0 16px rgba(255,90,140,0.7) !important; animation: pnKonfliktPuls 2.4s ease-in-out infinite; }
.pn-tl-e.ueber > .pn-tl-zeit b { color: #FF9DBA; }
.pn-tl-konflikt { display: inline-grid; justify-items: center; gap: 2px; margin-top: 4px; padding: 4px 3px 5px; border-radius: 10px; color: #FFD2E0; background: rgba(214,69,111,0.22); box-shadow: inset 0 0 0 1px rgba(255,120,160,0.5); cursor: help; }
.pn-tl-konflikt .pn-i { width: 16px; height: 16px; color: #FF9DBA; }
.pn-tl-konflikt small { font: 700 8.5px/1.1 var(--font) !important; letter-spacing: .02em; text-align: center; hyphens: manual; color: #FFD2E0 !important; }
.pn-tl-e.ueber .pn-tl-karte { box-shadow: inset 0 0 0 2px rgba(255,120,160,0.75), 0 0 22px -6px rgba(255,90,140,0.6) !important; }
.pn-tl-e.ueber .pn-ticket { box-shadow: inset 0 0 0 2px rgba(255,120,160,0.75) !important; }
.pn-konflikt-text { display: inline-flex; align-items: flex-start; gap: 5px; margin-top: 2px; font-weight: 600; color: #FFC2D6; }
.pn-konflikt-text .pn-i { flex: none; width: 14px; height: 14px; margin-top: 1px; color: #FF9DBA; }
@keyframes pnKonfliktPuls { 0%, 100% { box-shadow: 0 0 0 2px rgba(10,10,30,0.8), 0 0 0 4px rgba(255,120,160,0.55), 0 0 10px rgba(255,90,140,0.5); } 50% { box-shadow: 0 0 0 2px rgba(10,10,30,0.8), 0 0 0 6px rgba(255,120,160,0.25), 0 0 22px rgba(255,90,140,0.85); } }
@media (prefers-reduced-motion: reduce) { .pn-tl-e.ueber > .pn-tl-knoten { animation: none; } }

/* R20 (28.09.2026): Finder „Wohin soll's gehen?" → Reise. Gewählte Länder bleiben sichtbar — im Finder, im geführten Start
   und im leeren Reiseverlauf */
body[data-pn="1"] .wo-karte-ausserhalb { outline: 1.5px dashed rgba(190,170,255,0.7); outline-offset: -5px; }
body[data-pn="1"] .wo-karte-ausserhalb .wo-karte-grund { display: block; color: #D9CCFF; }
body[data-pn="1"] .wo-leer + .wo-karten { margin-top: 12px; }
body[data-pn="1"] .tw-vorauswahl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 14px; }
body[data-pn="1"] .tw-vor-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(200,214,240,0.7); margin-right: 2px; }
body[data-pn="1"] .tw-vor-land { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 7px; border-radius: 999px; border: 1px solid rgba(190,170,255,0.35); background: rgba(155,127,255,0.14); color: #EEF2FF; font-family: inherit; font-size: 12.5px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: background .2s, border-color .2s; }
body[data-pn="1"] .tw-vor-land img { border-radius: 3px; }
body[data-pn="1"] .tw-vor-land:hover, body[data-pn="1"] .tw-vor-land.an { background: rgba(155,127,255,0.32); border-color: rgba(200,185,255,0.8); }
body[data-pn="1"] .tw-vor-monat { font-size: 12.5px; font-weight: 600; color: rgba(220,228,250,0.85); padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,0.07); }
/* R24 (28.09.2026): Städte-Vorschläge im Schritt „Route" — ein Tipp legt die Stadt an. Nächste Orte zuerst mit km. */
body[data-pn="1"] .tw-staedte { margin: 2px 0 14px; }
body[data-pn="1"] .tw-staedte-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
body[data-pn="1"] .tw-staedte-titel { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(200,214,240,0.7); }
body[data-pn="1"] .tw-staedte-quelle { font-size: 11px; color: rgba(200,214,240,0.55); text-decoration: none; white-space: nowrap; }
body[data-pn="1"] .tw-staedte-quelle:hover { color: #D9CCFF; text-decoration: underline; }
body[data-pn="1"] .tw-staedte-liste { display: flex; flex-wrap: wrap; gap: 7px; }
body[data-pn="1"] .tw-stadt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); color: #EEF2FF; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; animation: tw-chip-ein .35s ease both; }
body[data-pn="1"] .tw-stadt-chip .tw-i { color: #B9A6FF; flex: none; }
body[data-pn="1"] .tw-stadt-chip small { font-size: 11px; font-weight: 500; color: rgba(200,214,240,0.6); font-variant-numeric: tabular-nums; }
body[data-pn="1"] .tw-stadt-chip:hover { background: rgba(155,127,255,0.22); border-color: rgba(200,185,255,0.6); }
body[data-pn="1"] .tw-stadt-chip:active { transform: scale(0.97); }
@keyframes tw-chip-ein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { body[data-pn="1"] .tw-stadt-chip { animation: none; } }
/* Nächte: zweistellige Zahl war abgeschnitten (56 px Breite minus 2 × 14 px Innenabstand, dazu die Pfeile am Handy) */
body[data-pn="1"] .tw-add-nights-num { flex: 0 0 64px; min-width: 64px; padding-left: 6px; padding-right: 6px; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
body[data-pn="1"] .tw-add-nights-num::-webkit-inner-spin-button, body[data-pn="1"] .tw-add-nights-num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body[data-pn="1"] .tw-add-row--nights input[type="range"] { min-width: 0; }
/* Am Handy war die Zeile „ab · Datum · Nächte · Regler · Zahl · Hinzufügen" zu voll: Datum abgeschnitten, Regler über
   „Nächte", „Hinzufügen" ragte rechts heraus. Darum drei Reihen: Ankunft · Nächte mit Regler und Zahl · Hinzufügen. */
@media (max-width: 600px) {
  body[data-pn="1"] .tw-add-row--nights { display: grid; grid-template-columns: auto minmax(0, 1fr) 64px; align-items: center; gap: 10px 10px; }
  body[data-pn="1"] .tw-add-row--nights .tw-add-arrival { grid-column: span 2; min-width: 0; width: 100%; }
  body[data-pn="1"] .tw-add-row--nights input[type="range"] { width: 100%; }
  body[data-pn="1"] .tw-add-row--nights #tw-add-btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
}
.pn-leer-laender { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 14px; }
.pn-leer-land { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(155,127,255,0.16); border: 1px solid rgba(190,170,255,0.3); font-weight: 600; font-size: 13px; }
.pn-leer-land img { border-radius: 3px; }

/* R21 (28.09.2026): Reise abspielen als Film — Tag für Tag. Glas oben mit Tag, Ort, Wetter, „gerade jetzt" und einer
   Leiste mit einem Feld je Tag; Stopps erscheinen nacheinander und werden nach ihrem Tag zu kleinen Punkten */
.pn-kt.film .pn-kt-info, .pn-kt.film .pn-kt-reihe { opacity: 0; visibility: hidden; pointer-events: none; }
.pn-kt-film { position: absolute; z-index: 4; top: 14px; left: 14px; width: min(460px, calc(100% - 84px)); display: grid; gap: 8px; padding: 12px 14px 12px; border-radius: 20px; color: var(--text, #EEF2FF);
  background: rgba(16,14,40,0.78); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 18px 36px -18px rgba(0,0,0,0.95); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); animation: pnAuf .35s var(--pn-weich, ease) both; }
.pn-kt-film-kopf { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.pn-kt-film-nr { padding: 5px 9px; border-radius: 999px; background: rgba(155,127,255,0.28); color: #E6DDFF; font: 700 11px/1 var(--font, inherit); letter-spacing: .04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pn-kt-film-titel { display: grid; gap: 2px; min-width: 0; }
.pn-kt-film-titel b { font: 600 13px/1.25 'Unbounded', var(--font, inherit), sans-serif; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-kt-film-titel small { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; color: #CDBEFF; white-space: nowrap; }
.pn-kt-film-ort { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pn-kt-film-titel .pn-kt-info-wetter { flex: none; display: inline-flex; align-items: center; gap: 3px; color: #EEF2FF; }
.pn-kt-film-knoepfe { display: flex; gap: 6px; }
.pn-kt-film-knoepfe button { display: inline-flex; align-items: center; gap: 6px; height: 32px; min-width: 32px; justify-content: center; padding: 0 10px; border: 0; border-radius: 999px; background: rgba(255,255,255,0.1); color: #EEF2FF; font: 700 12px/1 var(--font, inherit); cursor: pointer; transition: background .2s; }
.pn-kt-film-knoepfe button:hover { background: rgba(255,255,255,0.2); }
.pn-kt-film-knoepfe .pn-kt-film-spiel { background: linear-gradient(135deg, #9B7FFF, #6FA8FF); color: #0c1020; }
.pn-kt-film-knoepfe button[data-kt-film="zu"] { padding: 0; width: 32px; }
.pn-kt-film-knoepfe .pn-i { width: 15px; height: 15px; }
.pn-kt-film { grid-template-columns: minmax(0, 1fr); }
.pn-kt-film > * { min-width: 0; }
.pn-kt-film-jetzt { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 22px; margin: 0; font-size: 13px; color: #EEF2FF; }
.pn-kt-film-jetzt:empty { display: none; }
.pn-kt-film-jetzt .pn-i { flex: none; width: 17px; height: 17px; color: #C9B8FF; }
.pn-kt-film-jetzt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; animation: pnAuf .3s ease both; }
.pn-kt-film-jetzt b { font-variant-numeric: tabular-nums; color: #CDBEFF; }
.pn-kt-film-leiste { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.pn-kt-film-leiste::-webkit-scrollbar { display: none; }
.pn-kt-film-leiste button { position: relative; flex: 1 0 22px; max-width: 40px; height: 26px; border: 0; border-radius: 8px; background: rgba(255,255,255,0.08); color: rgba(238,242,255,0.7); font: 700 11px/1 var(--font, inherit); font-variant-numeric: tabular-nums; cursor: pointer; overflow: hidden; transition: background .25s, color .25s; }
.pn-kt-film-leiste button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--pn-tf, #9B7FFF); opacity: .35; transition: opacity .25s; }
.pn-kt-film-leiste button.vorbei { background: rgba(155,127,255,0.2); color: #EEF2FF; }
.pn-kt-film-leiste button.vorbei::after { opacity: .9; }
.pn-kt-film-leiste button.an { background: #EEF2FF; color: #0c1020; box-shadow: 0 0 14px rgba(201,184,255,0.7); }
.pn-kt-film-leiste button.an::after { opacity: 1; animation: pnFilmLauf 1.4s linear infinite; }
@keyframes pnFilmLauf { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.pn-kt-fs { display: flex; align-items: center; gap: 6px; pointer-events: none; }
.pn-kt-fs-kreis { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--pn-bild, none) center/cover, var(--pn-farbe, #9B7FFF); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pn-farbe, #9B7FFF), 0 10px 24px -8px rgba(0,0,0,0.8); animation: pnFsAuf .55s cubic-bezier(.2,1.4,.4,1) both; transition: width .5s, height .5s, box-shadow .5s; }
.pn-kt-fs-kreis b { display: grid; place-items: center; width: 20px; height: 20px; margin: -26px -26px 0 0; border-radius: 50%; background: #0c1020; color: #fff; font: 700 11px/1 var(--font, inherit); box-shadow: 0 0 0 2px #fff; transition: opacity .3s; }
.pn-kt-fs-kreis .pn-i { width: 20px; height: 20px; color: #0c1020; }
.pn-kt-fs-bett .pn-kt-fs-kreis { background: #EDE6FF; --pn-farbe: #C9B8FF; }
.pn-kt-fs-name { display: grid; gap: 1px; max-width: 170px; padding: 5px 9px; border-radius: 10px; background: rgba(16,14,40,0.82); color: #fff; font: 700 12px/1.2 var(--font, inherit); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 8px 20px -10px rgba(0,0,0,0.9); animation: pnFsName .45s .15s ease both; transition: opacity .35s; }
.pn-kt-fs-name small { font-weight: 600; font-size: 10.5px; color: #CDBEFF; font-variant-numeric: tabular-nums; }
.pn-kt-fs.vorbei .pn-kt-fs-kreis { width: 14px; height: 14px; box-shadow: 0 0 0 2px #fff, 0 0 10px 2px rgba(201,184,255,0.7); background-image: none; }
.pn-kt-fs.vorbei .pn-kt-fs-kreis b, .pn-kt-fs.vorbei .pn-kt-fs-kreis .pn-i { opacity: 0; }
.pn-kt-fs.vorbei .pn-kt-fs-name { animation: none; opacity: 0; visibility: hidden; }
.pn-kt.film .pn-kt-pin, .pn-kt.film .pn-kt-heim { opacity: 0.45 !important; transition: opacity .4s; }
.pn-kt-fs.links { flex-direction: row-reverse; }
.pn-kt-fs-bett.links .pn-kt-fs-name { display: none; }   /* Bett am Rand (Zoom-Knöpfe): nur das Symbol */
@keyframes pnFsAuf { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes pnFsName { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .pn-kt-film { top: 10px; left: 10px; width: calc(100% - 68px); padding: 10px 11px; gap: 6px; }
  .pn-kt-film-kopf { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "nr knoepfe" "titel titel"; row-gap: 7px; }
  .pn-kt-film-nr { grid-area: nr; justify-self: start; }
  .pn-kt-film-knoepfe { grid-area: knoepfe; justify-self: end; }
  .pn-kt-film-titel { grid-area: titel; }
  .pn-kt-film-knoepfe button span { display: none; }
  .pn-kt-film-knoepfe button { padding: 0; width: 32px; }
  .pn-kt-film-knoepfe button[data-kt-film="tempo"] { width: auto; padding: 0 8px; }
  .pn-kt-fs-name { max-width: 120px; }
}
@media (prefers-reduced-motion: reduce) { .pn-kt-film, .pn-kt-fs-kreis, .pn-kt-fs-name, .pn-kt-film-jetzt span { animation: none; } .pn-kt-film-leiste button.an::after { animation: none; } }

/* R21 (28.09.2026): Geführter Start in sieben Schritten — ohne KI, füllt die Reise vollständig */
body[data-pn="1"] .tw-i { flex: none; display: block; }
body[data-pn="1"] .tw-modal[data-step="4"], body[data-pn="1"] .tw-modal[data-step="5"] { width: min(760px, 100%); }
body[data-pn="1"] .tw-progress { gap: 5px; margin-bottom: 22px; }
body[data-pn="1"] .tw-progress-dot { position: relative; height: 4px; }
body[data-pn="1"] .tw-progress-dot span { position: absolute; top: 9px; left: 0; right: 0; font-size: 10px; font-weight: 600; letter-spacing: .02em; color: rgba(200,214,240,0.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body[data-pn="1"] .tw-progress-dot.is-active span { color: #E6DDFF; }
body[data-pn="1"] .tw-progress-dot.is-done span { color: rgba(201,184,255,0.75); }
body[data-pn="1"] .tw-progress { padding-bottom: 14px; }
body[data-pn="1"] .tw-field { margin-top: 14px; }
body[data-pn="1"] .tw-reisende { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
body[data-pn="1"] .tw-reise-chip, body[data-pn="1"] .tw-modus, body[data-pn="1"] .tw-pack { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,0.07); color: #EEF2FF; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); transition: background .2s, box-shadow .2s, transform .15s; }
body[data-pn="1"] .tw-reise-chip:hover, body[data-pn="1"] .tw-modus:hover:not(:disabled), body[data-pn="1"] .tw-pack:hover { background: rgba(155,127,255,0.18); }
body[data-pn="1"] .tw-reise-chip.an, body[data-pn="1"] .tw-modus.an { background: linear-gradient(135deg, rgba(155,127,255,0.55), rgba(111,168,255,0.45)); box-shadow: inset 0 0 0 1.5px rgba(214,200,255,0.9), 0 8px 20px -10px rgba(155,127,255,0.9); }
body[data-pn="1"] .tw-reise-chip:active, body[data-pn="1"] .tw-modus:active, body[data-pn="1"] .tw-pack:active { transform: scale(.97); }
/* Wege */
body[data-pn="1"] .tw-wege { display: grid; gap: 12px; }
body[data-pn="1"] .tw-weg { display: grid; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
body[data-pn="1"] .tw-weg-kopf { display: flex; align-items: center; gap: 12px; }
body[data-pn="1"] .tw-weg-sym { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(155,127,255,0.2); color: #E6DDFF; }
body[data-pn="1"] .tw-weg-text { display: grid; gap: 2px; min-width: 0; }
body[data-pn="1"] .tw-weg-text strong { font-size: 14.5px; }
body[data-pn="1"] .tw-weg-meta { font-size: 12px; color: rgba(200,214,240,0.72); }
body[data-pn="1"] .tw-modi { display: flex; flex-wrap: wrap; gap: 6px; }
body[data-pn="1"] .tw-modus { min-height: 36px; padding: 0 12px 0 10px; font-size: 12.5px; }
body[data-pn="1"] .tw-modus:disabled { opacity: .35; cursor: not-allowed; }
body[data-pn="1"] .tw-modus.vorschlag:not(.an)::after { content: 'Tipp'; margin-left: 2px; padding: 2px 6px; border-radius: 999px; background: rgba(155,127,255,0.3); font-size: 10px; }
body[data-pn="1"] .tw-weg.offen .tw-weg-zeit { display: none; }
body[data-pn="1"] .tw-weg.offen .tw-weg-sym { background: rgba(255,255,255,0.07); color: rgba(200,214,240,0.7); }
/* Unterkünfte */
body[data-pn="1"] .tw-accom-list { display: grid; gap: 12px; }
body[data-pn="1"] .tw-bleibe { display: grid; gap: 10px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
body[data-pn="1"] .tw-bleibe-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body[data-pn="1"] .tw-bleibe-kopf img { border-radius: 3px; }
body[data-pn="1"] .tw-bleibe-kopf span { font-size: 12px; color: rgba(200,214,240,0.72); }
body[data-pn="1"] .tw-bleibe-wahl { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(155,127,255,0.28), rgba(111,168,255,0.18)); box-shadow: inset 0 0 0 1px rgba(214,200,255,0.5); animation: pnAuf .3s ease both; }
body[data-pn="1"] .tw-bleibe-wahl > div { display: grid; gap: 2px; min-width: 0; flex: 1; }
body[data-pn="1"] .tw-bleibe-wahl small { font-size: 11.5px; color: rgba(230,221,255,0.8); overflow-wrap: anywhere; }
body[data-pn="1"] .tw-bleibe-weg { width: 30px; height: 30px; flex: none; border: 0; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
body[data-pn="1"] .tw-bleibe-vorschlaege { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
body[data-pn="1"] .tw-bleibe-label { width: 100%; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(200,214,240,0.6); }
body[data-pn="1"] .tw-bleibe-laedt, body[data-pn="1"] .tw-bleibe-hinweis { font-size: 12px; color: rgba(200,214,240,0.6); }
body[data-pn="1"] .tw-hotel { display: grid; gap: 1px; max-width: 100%; padding: 7px 12px; border: 0; border-radius: 12px; background: rgba(255,255,255,0.06); color: #EEF2FF; text-align: left; font-family: inherit; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); transition: background .2s, box-shadow .2s; }
body[data-pn="1"] .tw-hotel b { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
body[data-pn="1"] .tw-hotel small { font-size: 10.5px; color: rgba(200,214,240,0.65); }
body[data-pn="1"] .tw-hotel:hover { background: rgba(155,127,255,0.18); }
body[data-pn="1"] .tw-hotel.an { background: rgba(155,127,255,0.35); box-shadow: inset 0 0 0 1.5px rgba(214,200,255,0.9); }
/* Aktivitäten */
body[data-pn="1"] .tw-ideen { display: grid; gap: 18px; }
body[data-pn="1"] .tw-ideen-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
body[data-pn="1"] .tw-ideen-kopf > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body[data-pn="1"] .tw-ideen-kopf img { border-radius: 3px; }
body[data-pn="1"] .tw-ideen-kopf span { font-size: 12px; color: rgba(200,214,240,0.72); }
body[data-pn="1"] .tw-ideen-zahl { font-style: normal; color: #D9CCFF; }
body[data-pn="1"] .tw-ideen-auto { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(155,127,255,0.22); color: #EEF2FF; font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
body[data-pn="1"] .tw-ideen-auto:hover { background: rgba(155,127,255,0.36); }
body[data-pn="1"] .tw-ideen-reihe { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
body[data-pn="1"] .tw-idee { position: relative; display: grid; align-content: end; min-height: 128px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; color: #fff; text-align: left; font-family: inherit; cursor: pointer; background: #1b1840; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); transition: transform .18s, box-shadow .2s; }
body[data-pn="1"] .tw-idee-bild { position: absolute; inset: 0; background: var(--tw-bild, none) center / cover, var(--tw-ersatz, none) center / cover, #1b1840; transition: transform .5s; }
body[data-pn="1"] .tw-idee::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,26,0) 30%, rgba(8,8,26,0.88)); }
body[data-pn="1"] .tw-idee:hover .tw-idee-bild { transform: scale(1.05); }
body[data-pn="1"] .tw-idee-text { position: relative; z-index: 1; display: grid; gap: 2px; padding: 10px 11px 10px; }
body[data-pn="1"] .tw-idee-text b { font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body[data-pn="1"] .tw-idee-text small { font-size: 11px; color: rgba(230,221,255,0.8); }
body[data-pn="1"] .tw-idee-haken { position: absolute; z-index: 2; top: 8px; right: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(8,8,26,0.55); color: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.7); transition: background .2s, color .2s, transform .2s; }
body[data-pn="1"] .tw-idee.an { box-shadow: inset 0 0 0 2.5px #C9B8FF, 0 12px 26px -14px rgba(155,127,255,0.9); }
body[data-pn="1"] .tw-idee.an .tw-idee-haken { background: #9B7FFF; color: #fff; transform: scale(1.08); box-shadow: 0 0 0 3px rgba(155,127,255,0.35); }
body[data-pn="1"] .tw-idee.fest { cursor: default; opacity: .75; }
body[data-pn="1"] .tw-idee-leer { cursor: default; background: linear-gradient(100deg, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.04) 70%) 0 0 / 200% 100%; animation: twSchimmer 1.4s linear infinite; }
body[data-pn="1"] .tw-idee-leer::after { display: none; }
@keyframes twSchimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
body[data-pn="1"] .tw-ideen-nichts { margin: 0; font-size: 12.5px; color: rgba(200,214,240,0.65); }
/* Packliste */
body[data-pn="1"] .tw-pack-zahl { margin: -4px 0 12px; font-size: 12.5px; font-weight: 600; color: #D9CCFF; }
body[data-pn="1"] .tw-pack-liste { display: grid; gap: 14px; }
body[data-pn="1"] .tw-pack-gruppe h3 { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(200,214,240,0.6); }
body[data-pn="1"] .tw-pack-chips { display: flex; flex-wrap: wrap; gap: 6px; }
body[data-pn="1"] .tw-pack { min-height: 34px; padding: 0 12px 0 9px; font-size: 12.5px; font-weight: 500; color: rgba(238,242,255,0.6); }
body[data-pn="1"] .tw-pack .tw-i { opacity: 0; transition: opacity .2s; }
body[data-pn="1"] .tw-pack.an { color: #fff; background: rgba(155,127,255,0.28); box-shadow: inset 0 0 0 1px rgba(214,200,255,0.55); }
body[data-pn="1"] .tw-pack.an .tw-i { opacity: 1; color: #E6DDFF; }
body[data-pn="1"] .tw-pack small { color: rgba(230,221,255,0.7); }
/* Fertig */
body[data-pn="1"] .tw-fertig-kopf { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
body[data-pn="1"] .tw-fertig-kopf .tw-title { margin: 4px 0 0; }
body[data-pn="1"] .tw-fertig-ring { --p: 0; flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(closest-side, rgba(12,14,34,1) 78%, transparent 80% 100%), conic-gradient(#9B7FFF calc(var(--p) * 1%), rgba(255,255,255,0.1) 0); animation: pnAuf .4s ease both; }
body[data-pn="1"] .tw-fertig-ring b { font-size: 15px; font-variant-numeric: tabular-nums; }
body[data-pn="1"] .tw-fertig-liste { display: grid; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
body[data-pn="1"] .tw-fertig-liste li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); animation: pnAuf .35s ease both; }
body[data-pn="1"] .tw-fertig-liste li:nth-child(2) { animation-delay: .05s; } body[data-pn="1"] .tw-fertig-liste li:nth-child(3) { animation-delay: .1s; } body[data-pn="1"] .tw-fertig-liste li:nth-child(4) { animation-delay: .15s; } body[data-pn="1"] .tw-fertig-liste li:nth-child(5) { animation-delay: .2s; } body[data-pn="1"] .tw-fertig-liste li:nth-child(6) { animation-delay: .25s; }
body[data-pn="1"] .tw-fertig-liste li > span:nth-child(2) { display: grid; gap: 1px; }
body[data-pn="1"] .tw-fertig-liste b { font-size: 13.5px; }
body[data-pn="1"] .tw-fertig-liste small { font-size: 12px; color: rgba(200,214,240,0.72); }
body[data-pn="1"] .tw-fertig-sym { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(155,127,255,0.2); color: #E6DDFF; }
body[data-pn="1"] .tw-fertig-liste li.offen .tw-fertig-sym { background: rgba(255,255,255,0.07); color: rgba(200,214,240,0.7); }
body[data-pn="1"] .tw-fertig-status { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 700; color: rgba(200,214,240,0.75); background: rgba(255,255,255,0.07); }
body[data-pn="1"] .tw-fertig-liste li.ok .tw-fertig-status { padding: 0; background: #9B7FFF; color: #fff; }
body[data-pn="1"] .tw-fertig-hinweis { margin: 4px 0 0; }
body[data-pn="1"] .tw-modal[data-step="6"] .tw-done-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
body[data-pn="1"] .tw-modal[data-step="6"] .tw-done-actions .kp { width: 100%; }
@media (max-width: 600px) {
  body[data-pn="1"] .tw-progress-dot span { display: none; }
  body[data-pn="1"] .tw-progress { padding-bottom: 0; }
  /* Die feste Knopfleiste unten deckt sonst ab, wohin gescrollt oder mit der Tastatur gesprungen wird */
  body[data-pn="1"] .tw-modal { scroll-padding-bottom: 96px; }
  /* Knopfleiste unten: haftend statt fixed. Das Fenster behält nach seiner Einblend-Animation eine Transformation —
     darin ist „fixed" nur noch „absolut": die Leiste scrollte mit und lag mitten im Formular (R21-Audit am Handy) */
  body[data-pn="1"] .tw-modal { padding-bottom: 0; }
  body[data-pn="1"] .tw-modal .tw-nav { position: sticky; bottom: 0; left: auto; right: auto; margin: 22px -22px 0; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: rgba(8,16,32,0.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid rgba(180,205,240,0.14); z-index: 5; }
  body[data-pn="1"] .tw-modal[data-step="6"] { padding-bottom: 28px; }
  body[data-pn="1"] .tw-modal[data-step="6"] .tw-done-actions { grid-template-columns: 1fr; }
  body[data-pn="1"] .tw-ideen-reihe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-pn="1"] .tw-idee { min-height: 118px; }
  body[data-pn="1"] .tw-nav { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { body[data-pn="1"] .tw-idee-leer, body[data-pn="1"] .tw-fertig-liste li, body[data-pn="1"] .tw-fertig-ring, body[data-pn="1"] .tw-bleibe-wahl { animation: none; } }
body[data-pn="1"] .tw-weg-tipp { display: flex; align-items: flex-start; gap: 7px; margin: -2px 0 0; font-size: 12px; color: rgba(200,214,240,0.72); }
body[data-pn="1"] .tw-weg-tipp .tw-i { margin-top: 1px; color: #C9B8FF; }
body[data-pn="1"] .tw-weg-tipp a { color: #D9CCFF; }
body[data-pn="1"] .tw-ideen-nochmal { margin-left: 6px; padding: 4px 10px; border: 0; border-radius: 999px; background: rgba(155,127,255,0.25); color: #EEF2FF; font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }

/* R22 (28.09.2026): Weg zwischen zwei Einträgen — Dauer, Verkehrsmittel wählbar (zu Fuß, Rad, Öffis, Auto, Taxi) */
.pn-tl-weg { padding-left: 60px; list-style: none; }
.pn-akweg { border-left: 2px dotted rgba(201,184,255,0.45); border-radius: 0 12px 12px 0; transition: background .2s; }
.pn-akweg.offen { background: rgba(155,127,255,0.08); }
.pn-akweg-kopf { width: 100%; display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 3px 8px 3px 12px; border: 0; background: none; color: var(--text3, rgba(200,214,240,0.75)); font: 500 12.5px/1.3 var(--font, inherit); text-align: left; cursor: pointer; }
.pn-akweg-kopf > .pn-i:first-child { flex: none; width: 16px; height: 16px; color: #C9B8FF; }
.pn-akweg-kopf > span { flex: 1; min-width: 0; }
.pn-akweg-kopf b { color: var(--text, #EEF2FF); font-weight: 600; }
.pn-akweg-kopf em { flex: none; padding: 2px 8px; border-radius: 999px; background: rgba(214,69,111,0.18); color: #FFC2D6; font-style: normal; font-size: 11px; font-weight: 600; }
.pn-akweg-kopf i { flex: none; display: grid; opacity: .6; transition: transform .2s; }
.pn-akweg-kopf i .pn-i { width: 14px; height: 14px; }
.pn-akweg.offen .pn-akweg-kopf i { transform: rotate(90deg); }
.pn-akweg-wahl { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 10px 10px 12px; }
.pn-akweg-wahl[hidden] { display: none; }
.pn-akweg-modus { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 11px 0 9px; border: 0; border-radius: 999px; background: rgba(255,255,255,0.07); color: #EEF2FF; font: 600 12px/1 var(--font, inherit); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); transition: background .2s, box-shadow .2s; }
.pn-akweg-modus .pn-i { width: 15px; height: 15px; }
.pn-akweg-modus small { font-weight: 500; color: rgba(200,214,240,0.7); font-variant-numeric: tabular-nums; }
.pn-akweg-modus:hover { background: rgba(155,127,255,0.18); }
.pn-akweg-modus.an { background: linear-gradient(135deg, rgba(155,127,255,0.55), rgba(111,168,255,0.45)); box-shadow: inset 0 0 0 1.5px rgba(214,200,255,0.9); }
.pn-akweg-modus.an small { color: #EEF2FF; }
.pn-tl-weg.knapp .pn-akweg { border-left-color: rgba(214,69,111,0.6); }

/* R26 (28.09.2026): Karte im geführten Start — Route (Stationen nummeriert, Vorschläge als „+") und Aktivitäten (Ideen,
   gewählte leuchten). Am Handy flacher, zwei Finger zum Bewegen (cooperativeGestures). */
body[data-pn="1"] .tw-karte { position: relative; height: 300px; margin: 4px 0 16px; border-radius: 18px; overflow: hidden; background: #0d1024; border: 1px solid rgba(255,255,255,0.1); box-shadow: inset 0 0 0 1px rgba(155,127,255,0.08); opacity: 0; transition: opacity .4s ease; }
body[data-pn="1"] .tw-karte.bereit { opacity: 1; }
body[data-pn="1"] .tw-karte .maplibregl-ctrl-attrib { font-size: 10px; background: rgba(8,10,26,0.6); color: rgba(220,228,250,0.7); }
body[data-pn="1"] .tw-karte .maplibregl-ctrl-attrib a { color: rgba(220,228,250,0.8); }
@media (max-width: 560px) { body[data-pn="1"] .tw-karte { height: 230px; } }
body[data-pn="1"] .tw-karte-staedte { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 8px; padding-bottom: 2px; scrollbar-width: none; }
body[data-pn="1"] .tw-karte-staedte::-webkit-scrollbar { display: none; }
body[data-pn="1"] .tw-karte-stadt { flex: none; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); color: rgba(230,236,252,0.85); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
body[data-pn="1"] .tw-karte-stadt.an { background: rgba(155,127,255,0.3); border-color: rgba(200,185,255,0.7); color: #fff; }
.pn-mk-quelle { position: absolute; z-index: 2; right: 8px; bottom: 6px; padding: 2px 7px; border-radius: 6px; background: rgba(8,10,26,0.6); font-size: 10px; line-height: 1.4; color: rgba(220,228,250,0.7); pointer-events: auto; }
.pn-mk-quelle a { color: rgba(220,228,250,0.85); text-decoration: none; }
.pn-mk { position: relative; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }
.pn-mk > b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #9B7FFF; color: #fff; font-size: 12.5px; font-weight: 800; box-shadow: 0 0 0 3px rgba(155,127,255,0.35), 0 4px 12px rgba(0,0,0,0.45); }
.pn-mk > span { position: absolute; left: calc(100% + 4px); top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.7); pointer-events: none; }
.pn-mk-vorschlag > b { width: 22px; height: 22px; background: rgba(12,14,34,0.85); color: #D9CCFF; font-size: 15px; font-weight: 700; box-shadow: 0 0 0 1.5px rgba(200,185,255,0.75), 0 3px 10px rgba(0,0,0,0.45); }
.pn-mk-vorschlag > span { font-weight: 600; color: rgba(235,240,255,0.9); }
.pn-mk-vorschlag:hover > b { background: #9B7FFF; color: #fff; }
.pn-mk-idee > b { width: 18px; height: 18px; background: rgba(12,14,34,0.85); color: #fff; font-size: 11px; box-shadow: 0 0 0 2px rgba(61,224,255,0.8), 0 3px 10px rgba(0,0,0,0.45); transition: transform .15s, background .2s; }
.pn-mk-idee.an > b { width: 22px; height: 22px; background: #3DE0FF; color: #0b1024; box-shadow: 0 0 0 3px rgba(61,224,255,0.35), 0 0 16px rgba(61,224,255,0.6); }
.pn-mk:hover > b { transform: scale(1.12); }
.pn-mk:focus-visible > b { outline: 2px solid #fff; outline-offset: 2px; }

/* R30 (28.09.2026): Infos zu Vorschlägen — Länder im Finder, Städte im Schritt „Route", Ideen bei den Aktivitäten.
   Handy: Blatt von unten; sonst Karte in der Mitte. Über dem Wizard (z-index), Escape und Tipp daneben schließen. */
body[data-pn="1"] .tw-info-ov { position: fixed; inset: 0; z-index: 12000; display: grid; place-items: center; padding: 20px; background: rgba(4,5,16,0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s ease; }
body[data-pn="1"] .tw-info-ov.offen { opacity: 1; }
body[data-pn="1"] .tw-info { position: relative; width: min(520px, 100%); max-height: min(86vh, 760px); display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border-radius: 24px; background: #15173a; color: #EEF2FF; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,255,255,0.1); transform: translateY(12px) scale(.98); transition: transform .22s ease; }
body[data-pn="1"] .tw-info-ov.offen .tw-info { transform: none; }
body[data-pn="1"] .tw-info-bild { height: 200px; background: linear-gradient(180deg, rgba(21,23,58,0) 45%, #15173a 100%), var(--tw-bild, none) center / cover, var(--tw-ersatz, linear-gradient(135deg, #2a1d5c, #0f1630)) center / cover; }
body[data-pn="1"] .tw-info-zu { position: absolute; z-index: 2; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(8,10,26,0.6); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body[data-pn="1"] .tw-info-inhalt { overflow-y: auto; padding: 0 22px 16px; margin-top: -34px; position: relative; }
body[data-pn="1"] .tw-info-kicker { margin: 0 0 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #C9B8FF; }
body[data-pn="1"] .tw-info h3 { margin: 0 0 10px; font-family: var(--font-brand, inherit); font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
body[data-pn="1"] .tw-info-text { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; color: rgba(230,236,252,0.9); }
body[data-pn="1"] .tw-info-text:empty { display: none; }
body[data-pn="1"] .tw-info-text.zwei { color: rgba(220,228,250,0.75); font-size: 13.5px; }
body[data-pn="1"] .tw-info-zeilen { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
body[data-pn="1"] .tw-info-zeilen:empty { display: none; }
body[data-pn="1"] .tw-info-zeilen li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.45; color: rgba(230,236,252,0.88); }
body[data-pn="1"] .tw-info-zeilen .tw-i { color: #B9A6FF; margin-top: 2px; }
body[data-pn="1"] .tw-info-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
body[data-pn="1"] .tw-info-links:empty { display: none; }
body[data-pn="1"] .tw-info-links a { padding: 7px 12px; border-radius: 999px; background: rgba(155,127,255,0.14); border: 1px solid rgba(190,170,255,0.35); color: #E4DAFF; font-size: 12.5px; font-weight: 600; text-decoration: none; }
body[data-pn="1"] .tw-info-links a:hover { background: rgba(155,127,255,0.28); }
body[data-pn="1"] .tw-info-quelle { margin: 4px 0 0; font-size: 11px; color: rgba(200,214,240,0.55); }
body[data-pn="1"] .tw-info-fuss { padding: 12px 22px 18px; border-top: 1px solid rgba(255,255,255,0.08); background: rgba(10,12,32,0.6); display: grid; }
body[data-pn="1"] .tw-info-fuss .kp { justify-content: center; width: 100%; }
@media (max-width: 560px) {
  body[data-pn="1"] .tw-info-ov { place-items: end center; padding: 0; }
  body[data-pn="1"] .tw-info { width: 100%; max-height: 88vh; border-radius: 22px 22px 0 0; transform: translateY(30px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  body[data-pn="1"] .tw-info-bild { height: 170px; }
}
@media (prefers-reduced-motion: reduce) { body[data-pn="1"] .tw-info, body[data-pn="1"] .tw-info-ov { transition: none; } }
/* Info-Knöpfe an Städte-Vorschlägen und Ideen */
body[data-pn="1"] .tw-stadt-paar { display: inline-flex; align-items: stretch; border-radius: 999px; }
body[data-pn="1"] .tw-stadt-paar .tw-stadt-chip { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right-width: 0; }
body[data-pn="1"] .tw-stadt-info { display: grid; place-items: center; padding: 0 10px 0 8px; border: 1px solid rgba(255,255,255,0.14); border-left: 1px solid rgba(255,255,255,0.08); border-radius: 0 999px 999px 0; background: rgba(255,255,255,0.06); color: #C9B8FF; cursor: pointer; }
body[data-pn="1"] .tw-stadt-info:hover { background: rgba(155,127,255,0.22); color: #fff; }
body[data-pn="1"] .tw-idee-paar { position: relative; display: grid; }
body[data-pn="1"] .tw-idee-info { position: absolute; z-index: 3; top: 8px; left: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(8,8,26,0.55); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body[data-pn="1"] .tw-idee-info:hover, body[data-pn="1"] .tw-idee-info:focus-visible { background: rgba(155,127,255,0.8); }

/* R31 · Reisetag: Wetter an Abfahrts- und Ankunftsort (Tageszeile und Tagesblatt) */
.pn-wetter-weg { gap: 6px; padding: 6px 10px; }
.pn-wetter-weg:not(:has(.pn-rt-wetter:not(:empty))) { display: none; }
.pn-wetter-weg .pn-ww { display: inline-flex; align-items: center; gap: 5px; }
.pn-wetter-weg .pn-ww > small { font: 500 11.5px/1 var(--font); color: var(--text3); max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-wetter-weg .pn-rt-wetter { margin: 0; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--text); font-size: 14px; }
.pn-wetter-weg .pn-rt-wetter small { font-size: 11.5px; color: var(--text3); }
.pn-wetter-weg .pn-rt-wetter .pn-wt-typ { color: var(--text3); }
.pn-ww-pfeil { display: inline-grid; place-items: center; font-style: normal; color: var(--text3); }
.pn-ww-pfeil .pn-i { width: 12px; height: 12px; }
.pn-rtw-lage { display: none; }
@media (max-width: 600px) { .pn-wetter-weg .pn-ww > small { display: none; } .pn-wetter-weg .pn-rt-wetter small { display: none; } }
.pn-ts-weg { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 8px; margin-bottom: 12px; }
.pn-tsw { display: grid; gap: 6px; padding: 12px 14px; border-radius: 18px; background: var(--pn-kachel-glas); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), inset 0 0 0 1px rgba(205,190,255,0.12); min-width: 0; }
.pn-tsw > small { font: 600 11.5px/1.2 var(--font); letter-spacing: 0.02em; color: var(--text3); overflow-wrap: anywhere; }
.pn-tsw .pn-rt-wetter { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--text); font-size: 20px; }
.pn-tsw .pn-rt-wetter:empty::before { content: 'lädt …'; font: 500 12.5px/1 var(--font); color: var(--text3); }
.pn-tsw .pn-rt-wetter:empty { display: flex; }
.pn-tsw .pn-rt-wetter svg { width: 30px; height: 30px; }
.pn-tsw .pn-rt-wetter small { font-size: 13px; color: var(--text3); }
.pn-tsw .pn-rtw-lage { display: block; flex-basis: 100%; font: 500 12px/1.35 var(--font); font-style: normal; color: var(--text2); }
/* R31 · Boot/Fähre zwischen Aktivitäten: Landverkehrsmittel über Wasser gesperrt */
.pn-akweg-modus:disabled { opacity: 0.38; cursor: not-allowed; }
.pn-akweg-modus:disabled:hover { background: rgba(255,255,255,0.07); }
.pn-ts-weg > .pn-ww-pfeil { align-self: center; }
/* R32 · Tageskarte: Wegstücke übers Wasser (Boot, Kleinflugzeug) und der Rückweg am Abend */
.pn-kt-strecke.see { color: #D6EEFF; box-shadow: inset 0 0 0 1px rgba(124,196,255,0.45); }
.pn-kt-strecke.zurueck { font-style: normal; }
/* R32 · Gesamtroute: Landweg übers Wasser markiert (lila wie der Hinweis im Reiseverlauf — keine Warnfarbe) */
.pn-kt-wegchip.wasser { box-shadow: 0 0 0 2px rgba(201,184,255,0.9), 0 6px 18px rgba(0,0,0,0.4); }
.pn-kt-wasser { display: inline-flex; align-items: center; gap: 3px; margin-left: 4px; padding: 2px 6px; border-radius: 999px; background: rgba(155,127,255,0.35); color: #EEF2FF; font: 600 10.5px/1 var(--font); font-style: normal; white-space: nowrap; }
.pn-kt-wasser .pn-i { width: 11px; height: 11px; }

/* R34 · Route oben passt hinein: schmalere Stationen und Wege; wird sie doch breiter, weicher Rand + Pfeil */
.pn-rb-rahmen { position: relative; margin: 18px -4px 4px; }
.pn-rb-rahmen > .pn-reiseband { margin: 0; }
.pn-rb-halt { width: 96px; }
.pn-rb-halt b { max-width: 94px; }
.pn-rb-weg { flex: 1 1 120px; min-width: 112px; }
.pn-rb-weg .pn-rb-info small { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pn-reiseband.mehr-rechts { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); }
.pn-reiseband.mehr-links { -webkit-mask-image: linear-gradient(90deg, transparent, #000 72px); mask-image: linear-gradient(90deg, transparent, #000 72px); }
.pn-reiseband.mehr-links.mehr-rechts { -webkit-mask-image: linear-gradient(90deg, transparent, #000 72px, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, transparent, #000 72px, #000 calc(100% - 72px), transparent); }
.pn-rb-mehr { position: absolute; top: 50%; z-index: 2; display: none; place-items: center; width: 36px; height: 36px; margin-top: -18px; padding: 0; border: 0; border-radius: 50%; color: #fff; cursor: pointer;
  background: linear-gradient(140deg, rgba(140,107,255,0.95), rgba(90,63,224,0.95)); box-shadow: 0 0 0 1px rgba(255,255,255,0.25), 0 8px 20px rgba(0,0,0,0.45); transition: transform .2s; }
.pn-rb-mehr:hover { transform: scale(1.08); }
.pn-rb-mehr .pn-i { width: 18px; height: 18px; }
.pn-rb-mehr.rechts { right: 6px; } .pn-rb-mehr.links { left: 6px; }
.pn-reiseband.mehr-rechts ~ .pn-rb-mehr.rechts, .pn-reiseband.mehr-links ~ .pn-rb-mehr.links { display: grid; }
/* R34 · Mitscrollen: die Stadt, bei der man in der Route gerade liest, leuchtet im Band */
.pn-rb-halt.aktiv .pn-rb-foto { box-shadow: 0 0 0 3px rgba(12,16,32,0.9), 0 0 0 5px var(--pn-rb-farbe, #9B7FFF), 0 0 26px 4px color-mix(in srgb, var(--pn-rb-farbe, #9B7FFF) 55%, transparent); }
.pn-rb-halt.aktiv b { color: #fff; }
