
/* ============================================================
   V3.0-LIGHT · Mein Hafentag · Mobile-First Re-Architecture
   ============================================================ */
:root {
  --sky-mist: #EEF4F7; --soft-blue: #B5CDD9; --powder-rose: #FCE8E0;
  --warm-sand: #E8D5C0; --cream: #F8F4ED; --off-white: #FDFBF7;
  --slate: #3A4A5E; --deep-navy: #2D3E52; --dusty-blue: #6E8BA3;
  --terracotta: #B66D5A; --accent-coral: #D4896E; --accent-green: #7A9C8E; --muted: #7A7469;
  --shadow-soft: 0 4px 12px rgba(45,62,82,0.08), 0 2px 4px rgba(45,62,82,0.06);
  --shadow-lift: 0 10px 25px -8px rgba(45,62,82,0.18), 0 4px 10px -4px rgba(45,62,82,0.1);
  --shadow-float: 0 20px 40px -12px rgba(45,62,82,0.25), 0 8px 16px -6px rgba(45,62,82,0.15);
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 16px; --radius-pill: 30px;
  --tap: 44px; /* min Touch-Target */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--sky-mist); color: var(--slate);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  font-size: 16px; /* iOS no auto-zoom on inputs */
}

h1, h2, h3, h4 { font-family: 'Caveat', cursive; font-weight: 500; line-height: 1.2; }
.handwritten { font-family: 'Caveat', cursive; font-style: italic; font-weight: 500; color: var(--muted); }

a { color: var(--terracotta); text-decoration: none; }
a:active, a:hover { color: var(--accent-coral); }

button {
  font: inherit; cursor: pointer; border: none; background: none; color: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   APP-SHELL · Progressive Enhancement
   ----------------------------------------------------------
   Default (kein JS / iOS Quick Look / Mail-Vorschau):
     Linear-Scroll - alle Tags + alle Tab-Panels sichtbar,
     Day-Cards sind echte HTML-Anchor-Links zu #tag-{id}.
   JS-aktiv (body.js-active):
     SPA-Modus - nur aktiver Tag/Tab sichtbar, Tab-Strip +
     Bottom-Nav erscheinen.
   ============================================================ */
html, body { overflow-x: hidden; }
.app-shell { display: flex; flex-direction: column; overflow-x: hidden; }
body.js-active .app-shell { min-height: 100dvh; }
body.js-active main.screen { flex: 0 0 auto; }
body.js-active .tag.is-active .tag-bottom-nav { margin-bottom: 0; }

/* === Default-Stand (kein JS, kein :target):
       Home sichtbar, Tags versteckt, Tab-Strip+Nav unsichtbar.
       Auf den ersten Blick wirkt's wie eine App auch ohne JS. === */
.screen { display: block; }
.tag { display: none; }
.tab-strip { display: none; }
.tag-bottom-nav { display: none !important; }
.tag-back { display: none; }
.tag-cover-overlay { min-height: 200px; }

/* === Modus A · :target (reines CSS, funktioniert in iOS Quick Look) ===
   Hash-Schema (Beispiele, ersetze {slug} durch echten Hafen):
     #tag-port-{slug}                  → ganzer Tag aktiv (Default-Tab Story)
     #panel-port-{slug}-quiz           → Tag aktiv + nur Quiz-Panel sichtbar
   `:has()` (Safari 15.4+, iOS 15.4+) erlaubt uns, den Tag sichtbar zu machen
   wenn IRGEND eines seiner Panels :target ist. */
.tag:target { display: block; }

@supports selector(:has(*)) {
  /* Nur ohne JS (body.js-active steuert per is-active; sonst ueberstimmen die
     spezifischeren :target-Regeln die Tabs, z.B. bei Deep-Link #tag-anreise-...) */
  /* Tag wird sichtbar wenn er :target ist ODER eines seiner Panels :target ist */
  body:not(.js-active) .tag:has(.tab-panel:target) { display: block; }

  /* Default-Panel-Anzeige: Wenn Tag :target und KEIN Panel :target → erstes Panel zeigen */
  body:not(.js-active) .tag:target:not(:has(.tab-panel:target)) > .tag-body > .tab-panel:first-of-type {
    display: block;
  }
  body:not(.js-active) .tag:target:not(:has(.tab-panel:target)) > .tag-body > .tab-panel:not(:first-of-type) {
    display: none;
  }

  /* Wenn ein konkretes Panel :target ist → andere Panels im selben Tag verstecken,
     getargetes Panel zeigen (Show-Regel hat höhere Spezifität durch :target). */
  body:not(.js-active) .tag:has(.tab-panel:target) > .tag-body > .tab-panel { display: none; }
  body:not(.js-active) .tag:has(.tab-panel:target) > .tag-body > .tab-panel:target { display: block; }

  /* Tab-Strip + Bottom-Nav + Back-Button im aktiven Tag erscheinen lassen */
  body:not(.js-active) .tag:target .tab-strip,
  body:not(.js-active) .tag:has(.tab-panel:target) .tab-strip { display: flex; }
  body:not(.js-active) .tag:target .tag-bottom-nav,
  body:not(.js-active) .tag:has(.tab-panel:target) .tag-bottom-nav { display: flex !important; }
  body:not(.js-active) .tag:target .tag-back,
  body:not(.js-active) .tag:has(.tab-panel:target) .tag-back { display: inline-flex; }

  /* Home verstecken wenn ein Tag oder Panel aktiv ist */
  body:not(.js-active):has(.tag:target) #screen-home,
  body:not(.js-active):has(.tab-panel:target) #screen-home { display: none; }

  /* Aktiver Tab-Indikator: erstes Tab wenn nur Tag :target, sonst der getargete Tab.
     Wir nutzen Attribute-Matching: Tab-Button mit href, der zum Panel passt. */
  body:not(.js-active) .tag:target:not(:has(.tab-panel:target)) .tab-strip > .tab-btn:first-child {
    color: var(--terracotta);
    border-bottom-color: var(--terracotta);
  }
}

/* Ohne :has-Support (uralte Browser): Tag nur via direktem :target sichtbar.
   Tabs werden in dem Fall linear gestapelt im aktiven Tag - kein Switching möglich,
   aber Inhalt bleibt zugänglich. */
@supports not selector(:has(*)) {
  .tag:target .tab-panel { display: block; }
  .tag:target .tab-strip { display: none; }
  .tag:target .tag-back { display: inline-flex; }
  .tag:target .tag-bottom-nav { display: flex !important; }
}

/* === Modus B · JS-aktiv (SPA-Modus mit Tab-Switching) ===
   JavaScript fügt body.js-active hinzu. Damit übernimmt JS die Steuerung
   komplett - :target wird durch is-active-Klasse ersetzt. */
body.js-active .screen { display: none; }
body.js-active .screen.is-active { display: block; }
body.js-active .tag,
body.js-active .tag:target { display: none; } /* :target im SPA-Modus deaktivieren */
body.js-active .tag.is-active { display: block; }
body.js-active .tab-strip { display: flex; }
body.js-active .tag-bottom-nav { display: flex !important; }
body.js-active .tag.is-active .tag-back { display: inline-flex; }
/* Panels: nur is-active im SPA-Modus */
body.js-active .tab-panel,
body.js-active .tab-panel:target { display: none; }
body.js-active .tab-panel.is-active { display: block; }
/* Tab-Indicator-Override im SPA-Modus (sonst würde der erste Tab via :target Regel
   immer farbig bleiben, auch wenn ein anderer aktiv ist) */
body.js-active .tab-strip > .tab-btn:first-child {
  color: var(--muted); border-bottom-color: transparent;
}
body.js-active .tab-btn.is-active {
  color: var(--terracotta); border-bottom-color: var(--terracotta);
}

/* ============================================================
   HOME-SCREEN · Route-Cover + Tag-Liste
   ============================================================ */
#screen-home { padding-bottom: 4rem; }

.route-hero {
  position: relative;
  background: linear-gradient(135deg, var(--deep-navy), var(--slate));
  color: var(--off-white);
  padding: 2.5rem 1.25rem 3rem;
  overflow: hidden;
  min-height: 280px;
}
.route-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.85);
  z-index: 0;
}
.route-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(45,62,82,0.20) 0%, rgba(45,62,82,0.55) 100%),
    radial-gradient(circle at 20% 80%, rgba(232,213,192,0.10), transparent 50%);
  pointer-events: none;
}
.route-hero > *:not(.route-hero-bg) { position: relative; z-index: 2; }
.route-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--warm-sand); margin-bottom: 0.8rem;
  background: rgba(255,255,255,0.1); padding: 0.4rem 0.9rem; border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}
.route-hero-title {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 4rem); line-height: 1.05; letter-spacing: 0;
  position: relative;
  word-wrap: break-word; overflow-wrap: break-word; hyphens: auto;
  max-width: 100%;
}
.route-hero-sub {
  font-size: 0.95rem; color: var(--powder-rose);
  margin-top: 0.6rem; position: relative;
}
.route-hero-strip {
  margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem;
  font-size: 0.85rem; color: var(--warm-sand); position: relative;
}
.route-hero-strip .port { color: var(--off-white); font-weight: 600; }
.route-hero-strip .arrow { color: var(--accent-coral); font-weight: 800; }
.route-hero-slogan { margin-top: 1.1rem; position: relative; }
.route-hero-slogan .slogan-stats {
  display: block; font-size: clamp(0.95rem, 3.4vw, 1.15rem); font-weight: 700;
  color: var(--off-white); letter-spacing: 0.01em;
}
.route-hero-slogan .slogan-stats .dot { color: var(--accent-coral); font-weight: 800; margin: 0 0.35em; }
.route-hero-slogan .slogan-punch {
  display: block; margin-top: 0.35rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--warm-sand);
}

.home-section-title {
  font-family: 'Caveat', cursive; font-weight: 700; font-style: italic;
  font-size: 1.1rem; color: var(--slate);
  padding: 1.5rem 1.25rem 0.6rem; letter-spacing: 0.01em;
}

/* Andenken-Routenkarte (Home) */
.routemap { padding: 0 1rem; margin-top: 0.5rem; }
.routemap-frame {
  background: var(--off-white); border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-md); padding: 0.5rem; box-shadow: var(--shadow-soft);
  overflow-x: auto;
}
.routemap-svg { width: 100%; height: auto; display: block; }
.routemap-actions { display: flex; gap: 0.5rem; margin-top: 0.7rem; }
.routemap-print {
  flex: 1; min-height: var(--tap); padding: 0.6rem 0.8rem;
  background: var(--deep-navy); color: #fff; border: 0; border-radius: 0.6rem;
  font-size: 0.9rem; font-weight: 700; cursor: pointer;
}
.routemap-note { margin: 0.5rem 0 0; font-size: 0.78rem; color: var(--muted); text-align: center; }

/* Reiseplan-Deeplink (alle Landausfluege dieser Reise vorgewaehlt) */
.route-ml-plan { margin: 1.1rem 1rem 0.4rem; }
.route-ml-plan-inner {
  background: linear-gradient(135deg, var(--accent-green), #6E8BA3);
  border-radius: var(--radius-md); padding: 1rem 1.1rem; color: #fff;
  box-shadow: var(--shadow-soft);
}
.route-ml-plan-title { margin: 0 0 0.35rem; font-size: 1.02rem; font-weight: 800; }
.route-ml-plan-sub { margin: 0 0 0.8rem; font-size: 0.86rem; line-height: 1.45; opacity: 0.95; }
.route-ml-plan-cta {
  display: inline-flex; align-items: center; gap: 0.25rem; min-height: var(--tap);
  padding: 0.6rem 1rem; border-radius: 0.6rem; background: #fff; color: var(--deep-navy);
  font-weight: 800; font-size: 0.9rem; text-decoration: none;
}
.route-ml-plan-cta:hover { color: var(--terracotta); }
.route-ml-plan-note { margin: 0.55rem 0 0; font-size: 0.74rem; opacity: 0.85; }

/* Offline-PDF-Download */
.route-pdf-dl {
  display: flex; align-items: center; gap: 0.8rem; margin: 1rem 1rem 0;
  padding: 0.85rem 1rem; border-radius: var(--radius-md); text-decoration: none;
  background: var(--off-white); border: 1px solid rgba(0,0,0,0.10); box-shadow: var(--shadow-soft);
}
.route-pdf-dl:hover { border-color: var(--accent-coral); }
.route-pdf-dl-ic { font-size: 1.5rem; line-height: 1; }
.route-pdf-dl-txt { display: flex; flex-direction: column; flex: 1; }
.route-pdf-dl-txt strong { color: var(--deep-navy); font-size: 0.95rem; }
.route-pdf-dl-txt small { color: var(--muted); font-size: 0.78rem; margin-top: 0.1rem; }
.route-pdf-dl-arrow {
  flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--deep-navy);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800;
}

.day-list {
  list-style: none; padding: 0 1rem; display: flex; flex-direction: column; gap: 0.6rem;
}
.day-card {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.9rem 1rem; min-height: var(--tap);
  background: var(--off-white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-decoration: none; color: var(--slate);
  border: 1px solid rgba(110,139,163,0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: rgba(182,109,90,0.18);
  cursor: pointer; touch-action: manipulation;
}
.day-card:active { transform: scale(0.98); }
.day-card:hover { box-shadow: var(--shadow-lift); }
/* Free-First-Banner (auf jeder Route oben) */
.demo-banner {
  display: flex; gap: 1rem; align-items: flex-start;
  background: linear-gradient(135deg, #EAF6EE, #F0FAEF);
  border: 2px solid var(--accent-green); border-radius: var(--radius-md);
  padding: 1.2rem; margin: 1.2rem 1rem; box-shadow: var(--shadow-soft);
}
.demo-banner-icon { font-size: 1.8rem; line-height: 1; flex-shrink: 0; }
.demo-banner-body { flex: 1; min-width: 0; }
.demo-banner-title {
  font-family: 'Caveat', cursive; font-size: 1.2rem; font-weight: 700;
  color: var(--deep-navy); margin: 0 0 0.5rem;
}
.demo-banner-text { font-size: 0.92rem; color: var(--slate); margin: 0 0 0.55rem; line-height: 1.5; }
.demo-banner-text:last-child { margin-bottom: 0; }
.demo-banner-thanks { font-style: italic; color: var(--muted); }

.day-card.is-anreise { background: linear-gradient(135deg, var(--cream), var(--off-white)); border-left: 4px solid var(--terracotta); }
.day-card.is-seeday { background: linear-gradient(135deg, #F4F8FB, var(--off-white)); border-left: 4px solid var(--soft-blue); opacity: 0.92; }
.day-card.is-port { border-left: 4px solid var(--accent-green); }

.day-card-thumb {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: var(--radius-sm); background-size: cover; background-position: center;
  background-color: var(--soft-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.day-card-body { flex: 1; min-width: 0; }
.day-card-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.day-card-title {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 1.05rem; color: var(--deep-navy);
  display: flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap;
}
.day-card-title .flag { font-size: 1rem; }
.day-card-sub { font-size: 0.85rem; color: var(--muted); margin-top: 0.1rem; }
.day-card-arrow { color: var(--terracotta); font-size: 1.4rem; flex-shrink: 0; }
.day-card-badge {
  display: inline-block; margin-left: 0.4rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em;
  background: var(--accent-green); color: white;
  padding: 0.1rem 0.45rem; border-radius: var(--radius-pill);
  vertical-align: middle;
}

.home-footer {
  padding: 2rem 1.25rem 1rem; text-align: center;
  font-size: 0.85rem; color: var(--muted);
}
.home-export-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: var(--tap); padding: 0.7rem 1.4rem;
  background: var(--deep-navy); color: var(--off-white);
  border-radius: var(--radius-pill); font-weight: 700;
  box-shadow: var(--shadow-lift);
  margin: 0.5rem 0;
}
.home-export-btn:hover { color: var(--off-white); background: var(--slate); }
.home-export-btn-secondary {
  background: transparent; color: var(--muted);
  border: 1px solid rgba(0,0,0,0.15); margin-left: 0.5rem;
}
.home-export-btn-secondary:hover { color: var(--accent-coral); background: var(--off-white); border-color: var(--accent-coral); }
.home-backup-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.4rem 0; }
.home-backup-row > .home-export-btn { flex: 1; margin: 0; justify-content: center; cursor: pointer; }

/* ============================================================
   TAG-DETAIL · Cover + Tab-Strip + Body + Bottom-Nav
   ============================================================ */
/* (Tag-Anzeige wird oben über body.js-active gesteuert.) */

.tag-cover {
  position: relative; min-height: 200px;
  background: linear-gradient(135deg, var(--deep-navy), var(--slate));
  overflow: hidden;
}
.tag-cover-image {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.7);
}
.tag-cover-overlay {
  position: relative; z-index: 1;
  padding: 0.9rem 1.25rem 1.5rem;
  color: var(--off-white);
  background: linear-gradient(180deg, rgba(45,62,82,0.45) 0%, rgba(45,62,82,0.85) 100%);
  min-height: 200px;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.tag-cover.anreise-cover { background: linear-gradient(135deg, var(--terracotta), var(--accent-coral)); }
.tag-cover.seeday-cover { background: linear-gradient(135deg, var(--dusty-blue), var(--soft-blue)); }
/* Wenn ein Hero-Bild da ist, dunkleres Overlay damit Text lesbar bleibt */
.anreise-cover .tag-cover-image,
.seeday-cover .tag-cover-image { filter: brightness(0.65); }
.anreise-overlay, .seeday-overlay {
  background: linear-gradient(180deg, rgba(45,62,82,0.25) 0%, rgba(45,62,82,0.7) 100%);
}
/* Seetag-Overlay leicht bläulich, damit Stimmung "auf See" rüberkommt */
.seeday-overlay {
  background: linear-gradient(180deg, rgba(110,139,163,0.3) 0%, rgba(45,62,82,0.75) 100%);
}

.tag-back {
  align-self: flex-start;
  display: inline-flex; align-items: center;
  min-height: var(--tap); padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.18); color: var(--off-white);
  border-radius: var(--radius-pill); font-weight: 600; font-size: 0.85rem;
  backdrop-filter: blur(8px);
}
.tag-back:hover { background: rgba(255,255,255,0.28); color: var(--off-white); }

.tag-cover-meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: auto;
}
.port-pill {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.7rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.92); color: var(--deep-navy);
  font-size: 0.78rem; font-weight: 700;
  text-decoration: none;
}
.port-pill.is-day { background: var(--warm-sand); color: var(--deep-navy); }
.port-pill.weather-chip { background: rgba(255,255,255,0.82); color: var(--slate); font-weight: 600; }
.port-pill.weather-chip.has-weather { background: var(--soft-blue, #cfe4f5); color: var(--deep-navy); font-weight: 700; }
.tag-cover-title {
  font-family: 'Caveat', cursive; font-weight: 900;
  font-size: clamp(1.5rem, 5.5vw, 2.4rem); line-height: 1.1; letter-spacing: -0.02em;
  margin-top: 0.4rem;
  word-wrap: break-word; overflow-wrap: break-word; hyphens: auto;
  max-width: 100%;
}
.tag-cover-sub {
  font-size: 0.95rem; color: var(--powder-rose); font-style: italic;
  font-family: 'Caveat', cursive;
}

/* === TAB-STRIP === */
/* Wrapper für Fade-Out-Indicator rechts: zeigt visuell, dass es weitere Tabs gibt */
.tab-strip-wrap { position: sticky; top: 0; z-index: 10; }
.tab-strip-wrap::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 1px;
  width: 32px; pointer-events: none;
  background: linear-gradient(to right, transparent, var(--off-white));
}
.tab-strip {
  position: sticky; top: 0; z-index: 10;
  display: flex; gap: 0;
  background: var(--off-white);
  border-bottom: 1px solid rgba(110,139,163,0.18);
  overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  /* Fade-Out direkt am Strip (ohne Wrapper) - funktioniert auch in Quick-Look */
  mask-image: linear-gradient(to right, black calc(100% - 28px), transparent);
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 28px), transparent);
}
.tab-strip::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  min-height: var(--tap); padding: 0.7rem 1rem;
  font-size: 0.88rem; font-weight: 700; color: var(--muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.tab-btn:hover { color: var(--slate); }
.tab-btn.is-active { color: var(--terracotta); border-bottom-color: var(--terracotta); }
.tab-btn:focus-visible { outline: 2px solid var(--accent-coral); outline-offset: -2px; }

/* === TAB-PANELS ===
   Linear-Scroll (Default): alle Panels sichtbar untereinander.
   JS-aktiv: nur Panel mit .is-active. */
.tag-body { padding: 0; min-height: 0; }
.tab-panel { display: block; padding: 1rem 1.25rem 2rem; max-width: 900px; margin: 0 auto; box-sizing: border-box; }
.tab-panel + .tab-panel { border-top: 1px dashed rgba(110,139,163,0.25); margin-top: 0.5rem; }
body.js-active .tab-panel { display: none; }
body.js-active .tab-panel.is-active { display: block; }
body.js-active .tab-panel + .tab-panel { border-top: none; margin-top: 0; }
.tab-h {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 1.25rem; color: var(--deep-navy);
  margin: 1.5rem 0 0.8rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.tab-h:first-child { margin-top: 0.4rem; }
.tab-intro {
  font-size: 0.9rem; color: var(--muted);
  margin-bottom: 1rem;
}
.tab-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; font-style: italic; }

/* === STORY-TAB === */
.story-spread-mobile { display: flex; flex-direction: column; gap: 1.2rem; }
.polaroid {
  background: var(--off-white); padding: 0.6rem 0.6rem 1rem;
  box-shadow: var(--shadow-lift);
  transform: rotate(-1.2deg);
  border-radius: 4px;
  align-self: center; max-width: min(380px, 100%); width: 100%; box-sizing: border-box;
}
.polaroid-image {
  aspect-ratio: 4/3; background-size: cover; background-position: center;
  border-radius: 2px; background-color: var(--soft-blue);
}
.polaroid-caption {
  text-align: center;
  font-family: 'Caveat', cursive; font-style: italic; font-weight: 500;
  font-size: 1rem; color: var(--muted); padding-top: 0.4rem;
  letter-spacing: 0.01em;
}
.story-main { padding: 0; }
.mixed-title { margin-bottom: 1rem; line-height: 1.05; }
.mixed-title .light {
  display: block; font-family: 'Caveat', cursive; font-weight: 300; font-style: italic;
  font-size: 1.3rem; color: var(--terracotta);
}
.mixed-title .heavy {
  display: block; font-family: 'Caveat', cursive; font-weight: 900;
  font-size: 1.9rem; color: var(--deep-navy); letter-spacing: -0.02em;
}
.body-text { margin-bottom: 0.9rem; font-size: 1rem; overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; max-width: 100%; }
.body-text.drop-cap { overflow: hidden; }  /* contain the float */
.tag, .story-main, .tab-panel, .body-text { max-width: 100%; box-sizing: border-box; }
.body-text.drop-cap::first-letter {
  font-family: 'Caveat', cursive; font-weight: 900;
  font-size: 3rem; float: left; line-height: 0.85; padding: 0.3rem 0.6rem 0 0;
  color: var(--terracotta);
}
.warn-box {
  display: flex; gap: 0.7rem;
  background: linear-gradient(135deg, var(--powder-rose), var(--off-white));
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-md);
  padding: 1rem; margin: 1rem 0;
}
.warn-icon { font-size: 1.4rem; flex-shrink: 0; }
.warn-content strong { display: block; margin-bottom: 0.2rem; color: var(--deep-navy); }

/* === HIGHLIGHTS === */
.highlights-grid { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 0.5rem; }
.highlight-card {
  background: var(--off-white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-soft);
  border: 1px solid rgba(110,139,163,0.12);
}
.highlight-image { aspect-ratio: 16/9; background-size: cover; background-position: center; background-color: var(--soft-blue); }
.highlight-body { padding: 1rem; position: relative; }
.num-circle {
  position: absolute; top: -18px; right: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--terracotta); color: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  box-shadow: var(--shadow-lift);
}
.highlight-body h3 {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 1.15rem; color: var(--deep-navy); margin-bottom: 0.4rem; padding-right: 2.5rem;
}
.highlight-desc { font-size: 0.92rem; margin-bottom: 0.7rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }
.meta-pill {
  display: inline-flex; align-items: center;
  min-height: 32px; padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
  background: var(--cream); color: var(--slate);
  font-size: 0.78rem; font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(110,139,163,0.15);
}
.meta-pill.is-maps, .meta-pill.is-ticket { background: var(--terracotta); color: var(--off-white); border-color: var(--terracotta); min-height: var(--tap); }
.meta-pill.is-ticket { background: var(--accent-green); border-color: var(--accent-green); }
.affi-marker { font-size: 0.7em; color: inherit; }

/* Prominenter Highlight-CTA (Affi-Buchung direkt auf Card) */
.highlight-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.7rem; padding: 0.7rem 1rem;
  background: var(--accent-green); color: var(--off-white);
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.92rem;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, background 0.15s ease;
}
.highlight-cta:hover { background: #2C9466; transform: translateY(-1px); color: var(--off-white); }
.highlight-cta .affi-marker { color: var(--off-white); opacity: 0.8; }

/* Trust-Block "Warum kostenlos?" */
.trust-block {
  display: flex; gap: 0.9rem; align-items: flex-start;
  margin: 1.5rem 0 0;
  background: linear-gradient(135deg, #EAF6EE, #F5FBF6);
  border: 1px solid rgba(54,163,113,0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
}
.trust-block-icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1; }
.trust-block-body { flex: 1; min-width: 0; }
.trust-block-title {
  font-family: 'Caveat', cursive; font-size: 1.05rem; font-weight: 700;
  color: var(--deep-navy); margin: 0 0 0.45rem;
}
.trust-block-body p { font-size: 0.88rem; color: var(--slate); margin: 0 0 0.4rem; line-height: 1.5; }
.trust-block-body p:last-child { margin-bottom: 0; }
.trust-block-small { font-size: 0.82rem !important; color: var(--muted) !important; }

.featured-tour {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--cream), var(--off-white));
  border-radius: var(--radius-md);
  padding: 1rem; border: 1px solid var(--warm-sand);
}
.featured-tour-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; color: var(--terracotta); margin-bottom: 0.5rem; text-transform: uppercase; }
.tour-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--deep-navy); }
.tour-card p { font-size: 0.9rem; margin-bottom: 0.6rem; }
.tour-cta {
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding: 0.7rem 1.2rem; margin-top: 0.6rem;
  background: var(--terracotta); color: var(--off-white);
  border-radius: var(--radius-pill); font-weight: 700; font-size: 0.9rem;
  box-shadow: var(--shadow-lift);
}
.tour-cta:hover { color: var(--off-white); background: var(--accent-coral); }
.affiliate-disclosure { font-size: 0.78rem; color: var(--muted); margin-top: 0.6rem; font-style: italic; }

.ml-widget-section {
  margin-top: 1.5rem;
  background: var(--cream); border-radius: var(--radius-md);
  padding: 1rem; border: 1px dashed var(--warm-sand);
}
.ml-widget-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; color: var(--accent-green); text-transform: uppercase; }
.ml-widget-headline { font-size: 1.1rem; margin: 0.4rem 0; color: var(--deep-navy); }
.ml-widget-sub { font-size: 0.88rem; margin-bottom: 0.7rem; }
.ml-widget-fallback-cta {
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding: 0.6rem 1.1rem; background: var(--accent-green); color: var(--off-white);
  border-radius: var(--radius-pill); font-weight: 700; font-size: 0.85rem;
}
.ml-widget-fallback-cta:hover { color: var(--off-white); background: var(--accent-coral); }
.ml-widget-disclaimer { font-size: 0.78rem; color: var(--muted); margin-top: 0.6rem; font-style: italic; }

/* Live-Widget (nur online): iframe wird per postMessage vom TripUp-Script
   auf Inhaltshoehe gebracht. Ohne Inhalt bleibt es 0px (unsichtbar) - dann
   greift der JS-Fallback und die statischen Karten bleiben stehen. */
.ml-live-widget { width: 100%; margin: 0.4rem 0; }
.ml-live-widget iframe { width: 100%; border: 0; display: block; }

/* === ALL-ABOARD-COUNTDOWN (Feature 1) === */
.allaboard {
  margin: 0.6rem 1rem 0; padding: 0.8rem 1rem;
  background: var(--deep-navy); color: var(--off-white);
  border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
  border-left: 5px solid var(--accent-green);
}
.allaboard.is-yellow { border-left-color: #d9a441; }
.allaboard.is-red { border-left-color: var(--accent-coral); }
.allaboard-main { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.allaboard-icon { font-size: 1.6rem; line-height: 1; }
.allaboard-times { display: flex; flex-direction: column; line-height: 1.2; }
.allaboard-label { font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--warm-sand); }
.allaboard-aboard { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.9rem; }
.allaboard-aboard .allaboard-uhr { font-family: 'Montserrat', -apple-system, sans-serif; font-size: 0.85rem; font-weight: 500; }
.allaboard-dep { font-size: 0.78rem; color: var(--warm-sand); }
.allaboard-countdown { margin-left: auto; text-align: right; display: flex; flex-direction: column; }
.allaboard-cd-value { font-weight: 800; font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.allaboard.is-green .allaboard-cd-value { color: var(--accent-green); }
.allaboard.is-yellow .allaboard-cd-value { color: #f0b64a; }
.allaboard.is-red .allaboard-cd-value { color: var(--accent-coral); }
.allaboard-cd-label { font-size: 0.66rem; color: var(--warm-sand); }
.allaboard-remind {
  margin-top: 0.6rem; min-height: var(--tap); padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.12); color: var(--off-white);
  border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius-pill);
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
.allaboard-remind.is-set { background: var(--accent-green); border-color: var(--accent-green); }
.allaboard-note { margin: 0.5rem 0 0; font-size: 0.72rem; color: var(--warm-sand); }

/* Tagesplaner (Feature 2) - interaktive Timeline im Highlights-Tab */
.tagesplan {
  margin: 0 0 1.4rem; padding: 1.1rem 1.15rem;
  background: var(--off-white); border: 1px solid rgba(0,0,0,0.08);
  border-left: 4px solid var(--accent-green); border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.tagesplan-head { display: flex; align-items: center; gap: 0.7rem; }
.tagesplan-icon { font-size: 1.7rem; line-height: 1; }
.tagesplan-eyebrow { display: block; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-green); font-weight: 700; }
.tagesplan-title { margin: 0.05rem 0 0; font-size: 1.15rem; }
.tagesplan-window { margin: 0.7rem 0 0.6rem; font-size: 0.86rem; color: var(--slate); }
.tagesplan-start { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 0.9rem; font-size: 0.86rem; }
.tp-start-label { font-weight: 600; color: var(--slate); }
.tagesplan-start .tp-start {
  width: 6rem; padding: 0.35rem 0.4rem; font-size: 0.86rem; font-weight: 600;
  border: 1px solid var(--accent-green); border-radius: 0.45rem;
  color: var(--accent-green); background: var(--off-white); font-variant-numeric: tabular-nums;
}
.tp-start-hint { font-size: 0.74rem; color: var(--muted); }

.tagesplan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.tagesplan-item {
  display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
  padding: 0.4rem 0.55rem; min-height: var(--tap);
  background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 0.6rem;
  font-size: 0.88rem;
}
.tp-move { display: flex; flex-direction: column; flex: none; gap: 2px; }
.tp-up, .tp-down {
  width: 1.5rem; height: 1.05rem; padding: 0; line-height: 1;
  background: var(--cream); border: 1px solid rgba(0,0,0,0.1); border-radius: 4px;
  font-size: 0.7rem; color: var(--slate); cursor: pointer;
}
.tp-up:disabled, .tp-down:disabled { opacity: 0.3; cursor: default; }
.tp-check { display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 0; cursor: pointer; }
.tp-check input { width: 1.15rem; height: 1.15rem; accent-color: var(--accent-green); flex: none; }
.tp-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.tp-fixed-wrap { flex: none; display: flex; align-items: center; }
.tp-fixed-toggle {
  flex: none; padding: 0.3rem 0.5rem; font-size: 0.72rem; line-height: 1; white-space: nowrap;
  background: var(--off-white); border: 1px dashed rgba(0,0,0,0.25); border-radius: 0.45rem;
  color: var(--muted); cursor: pointer;
}
.tp-fixed-edit { display: inline-flex; align-items: center; gap: 0.15rem; }
.tp-fixed-wrap [hidden] { display: none !important; }
.tp-fixed {
  flex: none; width: 5rem; padding: 0.3rem 0.35rem; font-size: 0.8rem;
  border: 1px solid var(--accent-green); border-radius: 0.45rem;
  color: var(--accent-green); background: var(--off-white); font-weight: 600; font-variant-numeric: tabular-nums;
}
.tp-fixed-clear {
  flex: none; width: 1.4rem; height: 1.4rem; padding: 0; border: 0; background: none;
  color: var(--muted); font-size: 0.95rem; line-height: 1; cursor: pointer;
}
.tp-meta { flex-basis: 100%; margin-left: 2.4rem; font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; text-align: left; }
.tp-remove {
  flex: none; width: 1.5rem; height: 1.5rem; padding: 0; border: 0; background: none;
  color: var(--muted); font-size: 1.05rem; line-height: 1; cursor: pointer;
}
.tagesplan-clear {
  margin: 0.55rem 0 0; padding: 0.4rem 0.7rem; font-size: 0.76rem;
  background: none; border: 1px dashed rgba(0,0,0,0.2); border-radius: 0.5rem;
  color: var(--muted); cursor: pointer;
}
.tagesplan-item.is-off .tp-name { opacity: 0.45; text-decoration: line-through; }
.tagesplan-item.is-off .tp-meta { opacity: 0.45; }
.tagesplan-item.is-tour { border-left: 3px solid var(--terracotta); }
.tagesplan-item.is-custom { border-left: 3px solid var(--soft-blue); }

.tagesplan-add { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0 0; }
.tp-add-name { flex: 1 1 100%; min-width: 0; padding: 0.5rem 0.6rem; font-size: 0.84rem; border: 1px solid rgba(0,0,0,0.15); border-radius: 0.5rem; }
.tp-add-place { flex: 1 1 100%; min-width: 0; padding: 0.5rem 0.6rem; font-size: 0.84rem; border: 1px solid rgba(0,0,0,0.15); border-radius: 0.5rem; }
.tp-add-time { flex: none; width: 6rem; padding: 0.5rem 0.4rem; font-size: 0.84rem; border: 1px solid rgba(0,0,0,0.15); border-radius: 0.5rem; }
.tp-add-min { width: 4.2rem; flex: none; padding: 0.5rem 0.4rem; font-size: 0.84rem; border: 1px solid rgba(0,0,0,0.15); border-radius: 0.5rem; }
.tp-add-btn {
  flex: none; padding: 0.5rem 0.7rem; min-height: var(--tap);
  background: var(--accent-green); color: #fff; border: 0; border-radius: 0.5rem;
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
}

.tagesplan-timeline { list-style: none; margin: 1rem 0 0; padding: 0; position: relative; }
.tagesplan-timeline::before {
  content: ""; position: absolute; left: 3.6rem; top: 0.4rem; bottom: 0.4rem;
  width: 2px; background: rgba(0,0,0,0.1);
}
.tp-step { display: flex; gap: 0.8rem; padding: 0.28rem 0; position: relative; }
.tp-time { flex: none; width: 3.1rem; text-align: right; font-weight: 700; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.tp-dot { flex: none; width: 0.7rem; height: 0.7rem; margin-top: 0.28rem; border-radius: 50%; background: var(--accent-green); box-shadow: 0 0 0 3px var(--off-white); z-index: 1; }
.tp-step.is-move .tp-dot { background: var(--soft-blue); }
.tp-step.is-ship .tp-dot { background: var(--terracotta); }
.tp-step.is-wait .tp-dot { background: var(--warm-sand); }
.tp-step.is-wait .tp-body strong { font-weight: 600; color: var(--muted); }
.tp-step.is-conflict .tp-dot { background: var(--accent-coral); }
.tp-step.is-conflict .tp-sub { color: var(--accent-coral); font-weight: 600; }
.tp-body { font-size: 0.86rem; line-height: 1.35; }
.tp-body strong { font-weight: 700; }
.tp-sub { display: block; font-size: 0.74rem; color: var(--muted); }

/* Stations-Karten (App-Look: Foto-Banner oben) + Fussweg-Verbinder */
.tp-step.tp-station { align-items: flex-start; padding: 0.35rem 0; }
.tp-station .tp-dot.is-station { background: var(--terracotta); margin-top: 0.5rem; }
.tp-time-range { display: flex; flex-direction: column; line-height: 1.15; }
.tp-time-range .tp-t1 { font-weight: 700; }
.tp-time-range .tp-t2 { font-weight: 400; font-size: 0.74rem; color: var(--muted); }
.tp-card {
  flex: 1; min-width: 0; overflow: hidden;
  background: #fff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 0.6rem; box-shadow: var(--shadow-soft);
}
.tp-card-media {
  position: relative; height: 7.5rem; background-size: cover; background-position: center;
  background-color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 2.4rem;
}
.tp-card-media.is-emoji { background: linear-gradient(135deg, var(--soft-blue), var(--cream)); }
.tp-badge {
  position: absolute; top: 0.5rem; left: 0.5rem;
  background: rgba(45,62,82,0.88); color: #fff; font-size: 0.68rem; font-weight: 600;
  padding: 0.2rem 0.5rem; border-radius: 0.35rem; letter-spacing: 0.01em;
}
.tp-card-main { padding: 0.6rem 0.75rem 0.7rem; }
.tp-card-title { font-size: 0.92rem; font-weight: 700; line-height: 1.25; color: var(--deep-navy); }
.tp-card-sub { margin-top: 0.2rem; font-size: 0.76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tp-card-sub.is-warn { color: var(--accent-coral); font-weight: 600; }
.tp-card-text {
  margin: 0.35rem 0 0; font-size: 0.8rem; line-height: 1.45; color: var(--slate);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tp-card-meta { margin-top: 0.3rem; font-size: 0.72rem; color: var(--muted); }
.tp-book {
  display: inline-block; margin-top: 0.6rem; padding: 0.45rem 0.9rem;
  background: var(--terracotta); color: #fff; border-radius: 0.45rem;
  font-size: 0.8rem; font-weight: 600; text-decoration: none;
}
.tp-book:active { opacity: 0.85; }
.tp-book .affi-marker { color: rgba(255,255,255,0.8); }
.tp-step.tp-walk { padding: 0.12rem 0; }
.tp-walk .tp-dot.is-walk { width: 0.5rem; height: 0.5rem; margin-top: 0.32rem; background: transparent; border: 1.5px solid var(--muted); box-shadow: 0 0 0 3px var(--off-white); }
.tp-walk-label { align-self: center; font-size: 0.76rem; color: var(--muted); }

/* "Stationen bearbeiten"-Umschalter (App-Look: Baukasten eingeklappt) */
.tp-edit-toggle {
  display: block; width: 100%; margin: 0.4rem 0 0.9rem; min-height: var(--tap);
  padding: 0.6rem 0.8rem; background: #fff; color: var(--terracotta);
  border: 1px solid var(--terracotta); border-radius: 0.6rem;
  font-size: 0.88rem; font-weight: 600; cursor: pointer;
}
.tp-edit-toggle.is-open { background: var(--cream); color: var(--slate); border-color: rgba(0,0,0,0.15); }
.tp-edit { margin-bottom: 0.3rem; }

.tagesplan-verdict {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.9rem; padding: 0.55rem 0.75rem; border-radius: 0.6rem;
  font-size: 0.84rem; font-weight: 600;
}
.tagesplan-verdict-dot { flex: none; width: 0.7rem; height: 0.7rem; border-radius: 50%; }
.tagesplan-verdict.is-green { background: rgba(126,168,116,0.15); color: #4a6b3f; }
.tagesplan-verdict.is-green .tagesplan-verdict-dot { background: var(--accent-green); }
.tagesplan-verdict.is-yellow { background: rgba(217,164,65,0.16); color: #8a6410; }
.tagesplan-verdict.is-yellow .tagesplan-verdict-dot { background: #d9a441; }
.tagesplan-verdict.is-red { background: rgba(214,116,94,0.15); color: #9a3d28; }
.tagesplan-verdict.is-red .tagesplan-verdict-dot { background: var(--accent-coral); }

.tagesplan-cta { margin-top: 0.9rem; }
.tagesplan-cta-tour {
  display: block; padding: 0.55rem 0.8rem; text-align: center;
  background: var(--sand, #f4ede1); border: 1px dashed var(--accent-green);
  border-radius: 0.6rem; font-size: 0.84rem; font-weight: 600; color: var(--slate); text-decoration: none;
}
.tagesplan-note { margin: 0.55rem 0 0; font-size: 0.72rem; color: var(--muted); }
.tagesplan-maproute {
  display: block; margin-top: 0.9rem; padding: 0.7rem 0.9rem; text-align: center;
  background: var(--slate); color: #fff; border-radius: 0.6rem;
  font-size: 0.9rem; font-weight: 700; text-decoration: none;
}
.tagesplan-maproute:active { opacity: 0.85; }

/* Aktionen: Drucken / Teilen */
.tagesplan-actions { display: flex; gap: 0.5rem; margin-top: 0.9rem; }
.tagesplan-print, .tagesplan-share {
  flex: 1; min-height: var(--tap); padding: 0.55rem 0.6rem;
  background: var(--cream); color: var(--slate); border: 1px solid rgba(0,0,0,0.12);
  border-radius: 0.6rem; font-size: 0.86rem; font-weight: 600; cursor: pointer;
}
.tagesplan-share-note { margin: 0.5rem 0 0; font-size: 0.78rem; color: var(--accent-green); font-weight: 600; }

/* eSIM-CTA */
.tagesplan-esim {
  display: block; margin-top: 0.9rem; padding: 0.6rem 0.8rem; text-align: center;
  background: rgba(126,156,142,0.12); border: 1px solid var(--accent-green);
  border-radius: 0.6rem; font-size: 0.85rem; font-weight: 600; color: var(--slate); text-decoration: none;
}
.tagesplan-esim-hint { margin: 0.9rem 0 0; padding: 0.55rem 0.75rem; font-size: 0.78rem; color: var(--muted); background: rgba(126,156,142,0.08); border-radius: 0.6rem; }

/* Erleben & Buchen: Intro-Header + Trenner-CTA nach Highlight 3 (als hervorgehobene Boxen) */
.erleben-intro {
  margin: 0 0 1.2rem; padding: 0.95rem 1.1rem;
  background: linear-gradient(135deg, var(--cream), var(--off-white));
  border: 1px solid rgba(182,109,90,0.25); border-left: 5px solid var(--terracotta);
  border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
}
.erleben-intro-title { margin: 0 0 0.3rem; font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.6rem; color: var(--deep-navy); }
.erleben-intro-sub { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--slate); }
.erleben-divider {
  margin: 1.8rem 0 1.1rem; padding: 1.1rem 1.15rem; text-align: center;
  background: linear-gradient(135deg, rgba(182,109,90,0.12), rgba(126,156,142,0.10));
  border: 1px solid rgba(182,109,90,0.35); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.erleben-divider-title { margin: 0 0 0.35rem; font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.5rem; color: var(--terracotta); }
.erleben-divider-sub { margin: 0 auto; max-width: 46ch; font-size: 0.88rem; line-height: 1.5; color: var(--slate); }

/* Self-Guided-Angebote (Questo / World City Trail) - im Highlights-Tab */
.selfguided { margin: 1rem 0; padding: 0.8rem 0.9rem; background: rgba(181,205,217,0.16); border: 1px solid var(--soft-blue); border-radius: 0.7rem; }
.selfguided-head { font-size: 0.95rem; font-weight: 700; color: var(--slate); }
.selfguided-sub { margin: 0.2rem 0 0.6rem; font-size: 0.82rem; color: var(--muted); }
.selfguided-cta {
  display: block; margin-top: 0.45rem; padding: 0.6rem 0.8rem; text-align: center;
  background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 0.55rem;
  font-size: 0.88rem; font-weight: 600; color: var(--slate); text-decoration: none;
}
.selfguided-note { margin: 0.55rem 0 0; font-size: 0.72rem; color: var(--muted); }

.ml-tours-grid { display: grid; gap: 0.6rem; margin: 0.8rem 0; }
.ml-tour-card {
  display: block; padding: 0.85rem 1rem;
  background: var(--off-white); border: 1px solid rgba(0,0,0,0.08);
  border-left: 4px solid var(--accent-green);
  border-radius: var(--radius-md);
  text-decoration: none; color: var(--deep-navy);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.ml-tour-card:hover {
  transform: translateY(-1px); box-shadow: var(--shadow-soft);
  border-left-color: var(--accent-coral);
  color: var(--deep-navy);
}
.ml-tour-title { font-weight: 700; font-size: 0.94rem; line-height: 1.3; margin-bottom: 0.4rem; }
.ml-tour-meta { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; font-size: 0.82rem; }
.ml-tour-price { color: var(--accent-green); font-weight: 700; }
.ml-tour-cta { color: var(--muted); font-weight: 600; }
.ml-tour-card:hover .ml-tour-cta { color: var(--accent-coral); }

/* === DSGVO / Affiliate-Disclosure-Banner === */
.privacy-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: var(--deep-navy); color: var(--off-white);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.18);
  padding: 0.9rem 1rem;
  font-size: 0.85rem; line-height: 1.4;
}
.privacy-banner[hidden] { display: none; }
.privacy-banner-inner {
  max-width: 720px; margin: 0 auto;
  display: flex; gap: 1rem; align-items: center;
}
.privacy-banner-text { flex: 1; }
.privacy-banner-text a { color: var(--warm-sand); text-decoration: underline; }
.privacy-banner-ok {
  flex-shrink: 0; min-height: var(--tap);
  padding: 0.55rem 1.1rem;
  background: var(--accent-green); color: var(--off-white);
  border: none; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.85rem; cursor: pointer;
}
.privacy-banner-ok:hover { background: var(--accent-coral); }
@media (max-width: 480px) {
  .privacy-banner-inner { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .privacy-banner-ok { width: 100%; }
}

/* === GEHEIMTIPP === */
.secret-tips-grid { display: flex; flex-direction: column; gap: 1rem; }
.secret-tip {
  background: var(--off-white); border-radius: var(--radius-md);
  padding: 1.1rem; box-shadow: var(--shadow-soft);
  border: 1px solid rgba(232,213,192,0.6);
  position: relative;
}
.secret-tip-stamp {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 0.5rem;
}
.secret-tip h3 { font-size: 1.15rem; color: var(--deep-navy); margin-bottom: 0.4rem; }
.secret-where { font-size: 0.85rem; margin-bottom: 0.5rem; }
.secret-where a { color: var(--terracotta); }
.maps-link { font-weight: 600; }
.secret-desc { font-size: 0.95rem; margin-bottom: 0.6rem; }
.secret-tip-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.secret-meta-pill {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.6rem; border-radius: var(--radius-pill);
  background: var(--cream); font-size: 0.78rem; font-weight: 600;
  border: 1px solid rgba(110,139,163,0.15);
}
.insider-box {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--powder-rose), var(--off-white));
  border-radius: var(--radius-md); padding: 1rem;
}
.insider-box h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--deep-navy); }
.insider-content { font-size: 0.92rem; }
.insider-content ul, .insider-content ol { padding-left: 1.2rem; }
.insider-content li { margin-bottom: 0.4rem; }

/* === SERVICE === */
.cover-vorort-list {
  list-style: none; padding: 0;
  background: var(--off-white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft); overflow: hidden;
  border: 1px solid rgba(110,139,163,0.12);
}
.cover-vorort-list li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.8rem 1rem; min-height: var(--tap);
  border-bottom: 1px solid rgba(110,139,163,0.08);
  font-size: 0.93rem;
}
.cover-vorort-list li:last-child { border-bottom: none; }
.cover-vorort-list .num { font-size: 1.1rem; flex-shrink: 0; }
.cover-vorort-list strong { color: var(--deep-navy); margin-right: 0.3rem; }
.vorort-maps-link { color: var(--terracotta); font-weight: 600; }

.services-vertical { display: flex; flex-direction: column; gap: 0.5rem; }
.services-vertical-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.8rem 1rem; min-height: var(--tap);
  background: var(--off-white); border-radius: var(--radius-md);
  border: 1px solid rgba(110,139,163,0.12);
  text-decoration: none; color: var(--slate);
  box-shadow: var(--shadow-soft);
}
.services-vertical-item:hover { background: var(--cream); color: var(--deep-navy); }
.services-vertical-item .icon { font-size: 1.4rem; flex-shrink: 0; }
.services-vertical-item .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.services-vertical-item .label { font-size: 0.78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.services-vertical-item .name { font-weight: 600; color: var(--deep-navy); }
.services-vertical-item .address { font-size: 0.82rem; color: var(--muted); margin-top: 0.1rem; }

.budget-grid { display: flex; flex-direction: column; gap: 0.7rem; }
.budget-col {
  background: var(--off-white); border-radius: var(--radius-md);
  padding: 1rem; box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--accent-green);
  position: relative;
}
.budget-col.is-recommended { border-top-color: var(--terracotta); }
.budget-col.is-luxury { border-top-color: var(--dusty-blue); }
.budget-recommended-badge {
  position: absolute; top: -10px; right: 1rem;
  background: var(--terracotta); color: var(--off-white);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.15rem 0.6rem; border-radius: var(--radius-pill);
}
.budget-icon { font-size: 1.6rem; }
.budget-label { font-weight: 700; color: var(--deep-navy); margin-top: 0.2rem; }
.budget-amount { font-family: 'Caveat', cursive; font-weight: 900; font-size: 1.4rem; color: var(--deep-navy); margin: 0.2rem 0; }
.budget-details { font-size: 0.85rem; color: var(--muted); }

.season-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.season-card {
  background: var(--off-white); border-radius: var(--radius-md);
  padding: 0.9rem; box-shadow: var(--shadow-soft); text-align: center;
  border: 1px solid rgba(110,139,163,0.12);
}
.season-card.spring { background: linear-gradient(135deg, #FCE8E0, var(--off-white)); }
.season-card.summer { background: linear-gradient(135deg, #FFF4D9, var(--off-white)); }
.season-card.autumn { background: linear-gradient(135deg, #F0DDC9, var(--off-white)); }
.season-card.winter { background: linear-gradient(135deg, #E1ECF2, var(--off-white)); }
.season-emoji { font-size: 1.6rem; }
.season-card h4 { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1rem; margin: 0.3rem 0; color: var(--deep-navy); }
.season-card p { font-size: 0.83rem; color: var(--slate); }

/* === QUIZ === */
.raetsel-card {
  background: var(--off-white); border-radius: var(--radius-md);
  padding: 1rem; box-shadow: var(--shadow-soft); margin-bottom: 0.8rem;
  border: 1px solid rgba(110,139,163,0.12);
}
.age-badge {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: var(--radius-pill);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.age-badge.minis { background: var(--powder-rose); color: var(--terracotta); }
.age-badge.maxis { background: var(--soft-blue); color: var(--deep-navy); }
.frage { font-family: 'Caveat', cursive; font-weight: 600; font-size: 1.05rem; color: var(--deep-navy); margin-bottom: 0.5rem; }
.tipp {
  background: var(--cream); border-left: 3px solid var(--warm-sand);
  padding: 0.5rem 0.8rem; font-size: 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 0.6rem;
}
.raetsel-card details summary {
  cursor: pointer; min-height: var(--tap);
  display: inline-flex; align-items: center;
  background: var(--accent-green); color: var(--off-white);
  padding: 0.5rem 1rem; border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 700;
}
.raetsel-card details[open] summary { background: var(--slate); }
.antwort-content {
  margin-top: 0.6rem; padding: 0.7rem;
  background: var(--cream); border-radius: var(--radius-sm); font-size: 0.95rem;
}

/* === PROFILE-STRIP (Multi-User-Tagebuch) === */
.diary-profiles {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: 0.6rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(110,139,163,0.15);
}
.diary-profile {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.7rem 0.3rem 0.4rem; min-height: var(--tap);
  background: var(--cream); color: var(--slate);
  border: 1px solid rgba(110,139,163,0.2);
  border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(182,109,90,0.18);
}
.diary-profile.is-active {
  background: var(--terracotta); color: var(--off-white);
  border-color: var(--terracotta);
  box-shadow: var(--shadow-soft);
}
.diary-profile .profile-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: var(--off-white); border-radius: 50%;
  font-size: 1rem; line-height: 1; flex-shrink: 0;
}
.diary-profile.is-active .profile-avatar {
  background: rgba(255,255,255,0.95);
}
.diary-profile.is-add {
  background: transparent;
  border: 1px dashed rgba(110,139,163,0.4);
  color: var(--muted);
}
.diary-profile.is-add .profile-avatar {
  background: transparent; border: 1px dashed rgba(110,139,163,0.4);
  font-size: 1.1rem; font-weight: 700;
}
.diary-profile-delete {
  display: none; margin-left: 0.2rem;
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.3); border-radius: 50%;
  border: none; color: var(--off-white);
  font-size: 0.8rem; line-height: 1; cursor: pointer;
}
.diary-profile.is-active:not(.is-default) .diary-profile-delete { display: inline-flex; align-items: center; justify-content: center; }
.diary-profile-delete:hover { background: rgba(255,255,255,0.55); }

.diary-profile-create {
  background: var(--off-white);
  border: 1px solid rgba(110,139,163,0.18);
  border-radius: var(--radius-md);
  padding: 1rem; margin-bottom: 1rem;
}
.diary-profile-create label {
  display: block; font-weight: 700; font-size: 0.92rem;
  color: var(--deep-navy); margin-bottom: 0.4rem;
}
.diary-profile-name {
  width: 100%; min-height: var(--tap);
  padding: 0.6rem 0.9rem; font-size: 1rem;
  border: 1px solid rgba(110,139,163,0.25);
  border-radius: var(--radius-sm);
  font-family: inherit; background: var(--cream); color: var(--slate);
  margin-bottom: 0.7rem;
}
.diary-profile-name:focus { outline: 2px solid var(--accent-coral); border-color: var(--accent-coral); }
.diary-profile-avatars {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.3rem;
  margin-bottom: 0.7rem;
}
.avatar-pick {
  width: 100%; aspect-ratio: 1/1; min-height: 44px;
  font-size: 1.5rem; line-height: 1;
  background: var(--cream); border: 1px solid rgba(110,139,163,0.18);
  border-radius: var(--radius-sm);
  cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(182,109,90,0.18);
}
.avatar-pick.is-selected {
  background: var(--terracotta); border-color: var(--terracotta);
  transform: scale(1.05);
}
.diary-profile-actions { display: flex; gap: 0.5rem; }
.diary-btn-primary, .diary-btn-secondary {
  flex: 1; min-height: var(--tap);
  padding: 0.6rem 1rem;
  border: none; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.9rem;
  cursor: pointer; touch-action: manipulation;
}
.diary-btn-primary { background: var(--terracotta); color: var(--off-white); }
.diary-btn-primary:hover { background: var(--accent-coral); }
.diary-btn-secondary { background: var(--cream); color: var(--slate); border: 1px solid rgba(110,139,163,0.2); }

/* === TAGEBUCH (preserves existing diary form structure) === */
.diary-storage-warning {
  position: relative;
  background: linear-gradient(135deg, var(--warm-sand), var(--cream));
  border-left: 4px solid var(--terracotta);
  padding: 0.8rem 2.5rem 0.8rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.88rem; margin-bottom: 1rem;
}
.diary-warning-dismiss {
  position: absolute; top: 0.4rem; right: 0.5rem;
  width: var(--tap); height: var(--tap);
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none;
  font-size: 1.4rem; line-height: 1; color: var(--slate);
  opacity: 0.55; cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0.08);
}
.diary-warning-dismiss:hover, .diary-warning-dismiss:active { opacity: 1; }
.diary-db-error {
  background: linear-gradient(135deg, var(--powder-rose), var(--off-white));
  border-left: 4px solid var(--terracotta);
  padding: 1rem; border-radius: var(--radius-md);
  font-size: 0.92rem; color: var(--deep-navy);
  margin-bottom: 1rem;
}
.diary-db-error strong { display: block; margin-bottom: 0.3rem; font-size: 1rem; }
.diary-photos-placeholder {
  grid-column: 1 / -1;
  padding: 0.8rem 1rem; background: var(--cream);
  border: 1px dashed rgba(110,139,163,0.3);
  border-radius: var(--radius-sm);
  font-size: 0.85rem; color: var(--muted); text-align: center;
}
/* Default-Hinweis (ohne JS) versteckt sich, wenn JS aktiv ist  - 
   JS ersetzt den Foto-Bereich-Inhalt dann mit echtem Foto-Upload-UI. */
body.js-active .diary-photos-placeholder-default { display: none; }

/* Warnbanner pro Diary-Form: nur sichtbar wenn JS NICHT läuft */
.diary-no-js {
  background: linear-gradient(135deg, var(--warm-sand), var(--cream));
  border-left: 4px solid var(--terracotta);
  padding: 0.8rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.88rem; color: var(--deep-navy);
  margin-bottom: 1rem;
}
body.js-active .diary-no-js { display: none; }
/* Wenn JS lief aber DB scheitert, ersetzt JS das Banner durch eine
   eigene .diary-db-error Box - also dieses muss nicht mehr sichtbar bleiben. */
.diary-wrapper { background: var(--off-white); border-radius: var(--radius-md); padding: 1rem; box-shadow: var(--shadow-soft); border: 1px solid rgba(110,139,163,0.12); }
.diary-form h4 { font-family: 'Caveat', cursive; font-size: 1.15rem; color: var(--deep-navy); margin-bottom: 0.3rem; }
.diary-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; font-style: italic; }
.diary-row { margin-bottom: 1rem; }
.diary-label { display: block; font-weight: 700; color: var(--deep-navy); font-size: 0.92rem; margin-bottom: 0.4rem; }
.diary-mood, .diary-weather { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.diary-mood-btn, .diary-weather-btn {
  width: var(--tap); height: var(--tap);
  border-radius: 50%; font-size: 1.4rem;
  background: var(--cream); border: 2px solid transparent;
  display: flex; align-items: center; justify-content: center;
}
.diary-mood-btn.active, .diary-weather-btn.active {
  background: var(--terracotta); border-color: var(--accent-coral);
  transform: scale(1.1);
}
.diary-textarea, .diary-input {
  width: 100%; min-height: var(--tap);
  padding: 0.7rem 0.9rem; border: 1px solid rgba(110,139,163,0.25);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; /* 16px no zoom on iOS */
  background: var(--off-white); color: var(--slate);
}
.diary-textarea { min-height: 100px; resize: vertical; }
.diary-textarea:focus, .diary-input:focus { outline: 2px solid var(--accent-coral); outline-offset: 0; border-color: var(--accent-coral); }
.diary-fotos-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.diary-photo-layout { display: inline-flex; gap: 2px; }
.diary-photo-layout button {
  width: 30px; height: 28px; padding: 0; line-height: 1; font-size: 0.95rem;
  background: var(--cream); border: 1px solid rgba(0,0,0,0.12); color: var(--muted); cursor: pointer;
}
.diary-photo-layout button:first-child { border-radius: 6px 0 0 6px; }
.diary-photo-layout button:last-child { border-radius: 0 6px 6px 0; }
.diary-photo-layout button.is-active { background: var(--slate); color: #fff; border-color: var(--slate); }

.diary-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.5rem; }
/* Untereinander: eine Spalte, Fotos in natuerlicher Hoehe */
.diary-photos.is-list { display: flex; flex-direction: column; }
.diary-photos.is-list .diary-photo { aspect-ratio: auto; }
.diary-photos.is-list .diary-photo img { height: auto; }
.diary-photos.is-list .diary-photo-add { aspect-ratio: auto; flex-direction: row; gap: 0.5rem; padding: 0.6rem; }
/* Collage: Masonry via CSS-Spalten */
.diary-photos.is-collage { display: block; column-count: 2; column-gap: 0.5rem; }
.diary-photos.is-collage .diary-photo { aspect-ratio: auto; width: 100%; margin: 0 0 0.5rem; break-inside: avoid; }
.diary-photos.is-collage .diary-photo img { height: auto; }
.diary-photos.is-collage .diary-photo-add { aspect-ratio: auto; flex-direction: row; gap: 0.5rem; padding: 0.6rem; margin-bottom: 0.5rem; break-inside: avoid; }
@media (min-width: 560px) { .diary-photos.is-collage { column-count: 3; } }
.diary-photo {
  position: relative; aspect-ratio: 1/1; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--cream);
}
.diary-photo img { width: 100%; height: 100%; object-fit: cover; }
.diary-photo-delete {
  position: absolute; top: 4px; right: 4px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,0.6); color: white;
  font-size: 1.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.diary-photo-add {
  aspect-ratio: 1/1; border-radius: var(--radius-sm);
  background: var(--cream); border: 2px dashed var(--soft-blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.3rem; cursor: pointer; color: var(--muted); font-size: 0.85rem;
  min-height: var(--tap);
}
.diary-photo-add .icon { font-size: 1.6rem; line-height: 1; }
.diary-photo-add input[type="file"] { display: none; }
.diary-photo-add-gallery { border-color: var(--accent-coral); color: var(--accent-coral); }
.diary-save-status { font-size: 0.85rem; color: var(--accent-green); font-weight: 600; min-height: 1.2em; }
.diary-export-hint { margin: 0.7rem 0 0; padding: 0.6rem 0.75rem; font-size: 0.78rem; line-height: 1.45; color: var(--muted); background: var(--cream); border-radius: 0.5rem; }
.diary-export-hint a { color: var(--terracotta); font-weight: 600; }

/* === ANREISE === */
.anreise-package-callout {
  display: flex; gap: 1rem; align-items: flex-start;
  background: linear-gradient(135deg, #FFF6E5, #FFFAE6);
  border: 2px solid var(--accent-coral); border-radius: var(--radius-md);
  padding: 1rem 1.2rem; margin-bottom: 1.4rem;
  box-shadow: var(--shadow-soft);
}
.anreise-package-icon { font-size: 1.8rem; line-height: 1; flex-shrink: 0; }
.anreise-package-body { flex: 1; min-width: 0; }
.anreise-package-title {
  font-family: 'Caveat', cursive; font-size: 1.15rem; font-weight: 700;
  color: var(--deep-navy); margin: 0 0 0.5rem;
}
.anreise-package-body p { font-size: 0.92rem; color: var(--slate); margin: 0 0 0.55rem; line-height: 1.5; }
.anreise-package-body p:last-child { margin-bottom: 0; }
.anreise-package-highlight { background: rgba(255,255,255,0.65); padding: 0.5rem 0.7rem; border-radius: var(--radius-sm); border-left: 3px solid var(--accent-coral); }
.anreise-package-tip { font-style: italic; color: var(--muted); }

.anreise-terminal {
  background: var(--off-white); border-radius: var(--radius-md);
  padding: 1rem; display: flex; gap: 0.8rem; align-items: flex-start;
  box-shadow: var(--shadow-soft); margin-bottom: 1.2rem;
  border: 1px solid rgba(232,213,192,0.6);
  flex-wrap: wrap;
}
.anreise-terminal-icon { font-size: 2rem; flex-shrink: 0; }
.anreise-terminal-info { flex: 1 1 200px; min-width: 0; word-wrap: break-word; }
.anreise-terminal-label { font-size: 0.78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.anreise-terminal-name { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.2rem; color: var(--deep-navy); margin: 0.2rem 0; word-break: break-word; }
.anreise-terminal-address { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.4rem; word-break: break-word; }
.anreise-maps-link { color: var(--terracotta); font-weight: 600; font-size: 0.88rem; word-break: break-word; }
.anreise-checkin-badge {
  background: var(--terracotta); color: var(--off-white);
  padding: 0.5rem 0.9rem; border-radius: var(--radius-md);
  text-align: center;
  flex: 0 1 auto;       /* darf schrumpfen auf engen Screens */
  max-width: 100%;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.anreise-checkin-label { display: block; font-size: 0.7rem; letter-spacing: 0.05em; opacity: 0.9; }
.anreise-checkin-window { display: block; font-weight: 700; font-size: 1.05rem; }

/* Mobile: Terminal-Header vertikal stapeln, Badge volle Breite, kein Overflow */
@media (max-width: 600px) {
  .anreise-terminal {
    flex-direction: column;
    align-items: stretch;
  }
  .anreise-terminal-icon { align-self: flex-start; }
  .anreise-checkin-badge { align-self: stretch; text-align: center; }
}

.anreise-transport-grid { display: flex; flex-direction: column; gap: 0.8rem; }
.anreise-transport-card {
  background: var(--off-white); border-radius: var(--radius-md);
  padding: 1rem; box-shadow: var(--shadow-soft);
  border: 1px solid rgba(110,139,163,0.12);
}
.anreise-transport-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.anreise-transport-emoji { font-size: 1.6rem; }
.anreise-transport-card h4 { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.1rem; color: var(--deep-navy); }
.anreise-transport-intro { font-size: 0.92rem; margin-bottom: 0.5rem; }
.anreise-option { padding: 0.6rem 0; border-top: 1px solid rgba(110,139,163,0.1); }
.anreise-option:first-child { border-top: none; }
.anreise-option strong { color: var(--deep-navy); display: block; margin-bottom: 0.2rem; }
.anreise-option-body { font-size: 0.9rem; margin-bottom: 0.4rem; }
.anreise-option-maps, .anreise-affiliate-link, .anreise-maps-secondary {
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding: 0.4rem 0.9rem; border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 600; margin-right: 0.4rem; margin-top: 0.3rem;
}
.anreise-option-maps, .anreise-maps-secondary { background: var(--cream); color: var(--slate); border: 1px solid rgba(110,139,163,0.2); }
.anreise-affiliate-link { background: var(--terracotta); color: var(--off-white); }
.anreise-affiliate-link:hover { color: var(--off-white); background: var(--accent-coral); }

.anreise-practical-grid { display: flex; flex-direction: column; gap: 0.8rem; }
.anreise-practical-block {
  background: var(--off-white); border-radius: var(--radius-md);
  padding: 1rem; box-shadow: var(--shadow-soft);
  border: 1px solid rgba(110,139,163,0.12);
}
.anreise-practical-block h4 { font-family: 'Caveat', cursive; font-size: 1.05rem; color: var(--deep-navy); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.4rem; }
.anreise-practical-body { font-size: 0.92rem; }
.anreise-practical-body p { margin-bottom: 0.4rem; }
.anreise-practical-body ul, .anreise-practical-body ol { padding-left: 1.2rem; }
.anreise-practical-body li { margin-bottom: 0.3rem; }

.anreise-tips-grid { display: flex; flex-direction: column; gap: 0.8rem; }
.anreise-tips-block {
  background: var(--off-white); border-radius: var(--radius-md);
  padding: 1rem; box-shadow: var(--shadow-soft);
}
.anreise-tips-block.evening { border-left: 4px solid var(--accent-coral); }
.anreise-tips-block.morning { border-left: 4px solid var(--accent-green); }

/* === ABREISE - Letzter Tag · Emotional + funktional === */
.abreise-intro { margin: 1.2rem 0; }
.abreise-lead { font-family: 'Caveat', cursive; font-size: 1.1rem; line-height: 1.55; color: var(--deep-navy); font-weight: 500; }
.abreise-recap {
  background: linear-gradient(135deg, var(--cream), var(--warm-sand));
  border-radius: var(--radius-md); padding: 1.2rem; margin: 1.3rem 0;
  box-shadow: var(--shadow-soft);
}
.abreise-recap-title { margin: 0 0 0.9rem; font-size: 1.0rem; color: var(--deep-navy); }
.abreise-recap-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem;
}
.abreise-recap-stat {
  background: var(--off-white); border-radius: var(--radius-sm);
  padding: 0.8rem 0.7rem; text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.abreise-recap-stat .num {
  display: block; font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 2.0rem; color: var(--accent-coral); line-height: 1;
}
.abreise-recap-stat .label {
  display: block; margin-top: 0.3rem; font-size: 0.78rem; color: var(--muted);
  font-weight: 600; letter-spacing: 0.02em;
}
@media (min-width: 600px) {
  .abreise-recap-grid { grid-template-columns: repeat(4, 1fr); }
}

.abreise-export-cta {
  background: var(--deep-navy); color: var(--off-white);
  border-radius: var(--radius-md); padding: 1.2rem;
  margin: 1.3rem 0;
  display: flex; gap: 1rem; align-items: flex-start;
  box-shadow: var(--shadow-soft);
}
.abreise-export-icon { font-size: 2rem; flex-shrink: 0; }
.abreise-export-body h3 {
  margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--warm-sand);
}
.abreise-export-body p {
  margin: 0 0 0.7rem; font-size: 0.9rem; line-height: 1.5; color: rgba(255,255,255,0.88);
}
.abreise-export-body strong { color: var(--off-white); }
.abreise-export-btn {
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding: 0.7rem 1.2rem; background: var(--accent-coral); color: var(--off-white);
  border-radius: var(--radius-pill); font-weight: 700; font-size: 0.92rem;
  text-decoration: none;
}
.abreise-export-btn:hover { background: var(--terracotta); color: var(--off-white); }

.abreise-reflection {
  background: var(--off-white); border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem; margin: 1.3rem 0;
  border-left: 4px solid var(--dusty-blue);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.abreise-reflection h3 { margin: 0 0 0.6rem; font-size: 1.0rem; color: var(--deep-navy); }
.abreise-reflection p { font-size: 0.9rem; margin: 0 0 0.7rem; }
.abreise-reflection-list { margin: 0; padding-left: 1.2rem; }
.abreise-reflection-list li { margin-bottom: 0.5rem; font-size: 0.92rem; line-height: 1.5; }
.abreise-reflection-list strong { color: var(--accent-coral); display: block; margin-bottom: 0.1rem; }

.abreise-practical-headline {
  margin: 1.5rem 0 0.7rem; font-size: 1.1rem; color: var(--deep-navy);
}
.abreise-extension-block { border-left: 4px solid var(--accent-coral) !important; }
.abreise-extension-intro { font-size: 0.92rem; color: var(--muted); margin: 0 0 0.5rem; font-style: italic; }

.abreise-closing {
  margin: 2rem 0 1rem; padding: 1.5rem 1rem;
  text-align: center;
  border-top: 1px dashed rgba(110,139,163,0.3);
}
.abreise-closing-line {
  font-family: 'Caveat', cursive; font-size: 1.5rem; font-weight: 600;
  color: var(--accent-coral); margin: 0 0 0.5rem;
}
.abreise-closing-sub {
  font-size: 0.92rem; line-height: 1.55; color: var(--muted); margin: 0;
  max-width: 480px; margin-left: auto; margin-right: auto;
  font-style: italic;
}
.anreise-tips-block h4 { font-family: 'Caveat', cursive; font-size: 1.05rem; color: var(--deep-navy); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.4rem; }
.anreise-tip-list { list-style: none; padding: 0; counter-reset: tip; }
.anreise-tip-list li {
  position: relative; padding: 0.5rem 0 0.5rem 2rem;
  border-top: 1px solid rgba(110,139,163,0.1); counter-increment: tip;
  font-size: 0.92rem;
}
.anreise-tip-list li:first-child { border-top: none; }
.anreise-tip-list li::before {
  content: counter(tip); position: absolute; left: 0; top: 0.55rem;
  width: 24px; height: 24px; border-radius: 50%; background: var(--warm-sand); color: var(--deep-navy);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.78rem;
}
.anreise-tip-list strong { display: block; color: var(--deep-navy); }
.anreise-tip-list span { display: block; font-size: 0.88rem; color: var(--muted); margin: 0.2rem 0; }

.anreise-hotels-grid { display: flex; flex-direction: column; gap: 1rem; }
.anreise-hotel-card {
  background: var(--off-white); border-radius: var(--radius-md);
  padding: 1rem; box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--accent-green);
}
.anreise-hotel-header { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.anreise-hotel-cat {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--off-white); padding: 0.2rem 0.6rem; border-radius: var(--radius-pill);
}
.anreise-hotel-card h4 { font-family: 'Caveat', cursive; font-size: 1.1rem; color: var(--deep-navy); }
.anreise-hotel-distance { display: flex; gap: 0.7rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
.anreise-hotel-desc { font-size: 0.92rem; margin-bottom: 0.5rem; }
.anreise-hotel-features { list-style: none; padding: 0; font-size: 0.88rem; margin-bottom: 0.5rem; }
.anreise-hotel-features li { padding: 0.15rem 0; }
.anreise-hotel-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-bottom: 0.6rem; }
.anreise-hotel-price { font-size: 0.9rem; }
.anreise-hotel-price strong { color: var(--deep-navy); font-size: 1.05rem; }
.anreise-hotel-tag { font-size: 0.75rem; padding: 0.2rem 0.5rem; background: var(--cream); border-radius: var(--radius-pill); border: 1px solid rgba(110,139,163,0.15); }
.anreise-hotel-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.anreise-hotels-disclaimer { font-size: 0.78rem; color: var(--muted); margin-top: 1rem; font-style: italic; text-align: center; }

/* === AMAZON-AFFILIATE-KARTEN (Packliste / Vorfreude) === */
.tag-cover.amazon-cover {
  background: linear-gradient(135deg, var(--accent-coral), var(--terracotta));
}
.amazon-overlay {
  background: linear-gradient(180deg, rgba(45,62,82,0.20) 0%, rgba(45,62,82,0.65) 100%);
}
.amazon-grid {
  display: grid; grid-template-columns: 1fr; gap: 0.9rem;
  margin-top: 0.5rem;
}
@media (min-width: 700px) {
  .amazon-grid { grid-template-columns: repeat(2, 1fr); }
}
.amazon-card {
  background: var(--off-white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-soft);
  border: 1px solid rgba(110,139,163,0.12);
  display: flex; flex-direction: column;
}
.amazon-card-image {
  aspect-ratio: 4/3; background-size: cover; background-position: center;
  background-color: var(--cream);
}
.amazon-card-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.amazon-card h3 {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 1.05rem; color: var(--deep-navy); line-height: 1.25;
}
.amazon-priority {
  display: inline-block; align-self: flex-start;
  padding: 0.2rem 0.6rem; border-radius: var(--radius-pill);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.amazon-priority-1 { background: var(--terracotta); color: var(--off-white); }
.amazon-priority-2 { background: var(--accent-green); color: var(--off-white); }
.amazon-priority-3 { background: var(--cream); color: var(--slate); border: 1px solid rgba(110,139,163,0.3); }
.amazon-priority-4 { background: var(--cream); color: var(--muted); border: 1px solid rgba(110,139,163,0.2); }
.amazon-why { font-size: 0.92rem; color: var(--slate); flex: 1; }
.amazon-meta { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; }
.amazon-price {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.6rem; border-radius: var(--radius-pill);
  background: var(--cream); color: var(--deep-navy);
  font-size: 0.82rem; font-weight: 600;
  border: 1px solid rgba(110,139,163,0.15);
}
.amazon-tag {
  font-size: 0.75rem; padding: 0.2rem 0.5rem;
  background: var(--off-white); color: var(--muted);
  border: 1px solid rgba(110,139,163,0.15);
  border-radius: var(--radius-pill);
}
.amazon-cta {
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding: 0.6rem 1rem; margin-top: 0.4rem;
  background: var(--terracotta); color: var(--off-white);
  border-radius: var(--radius-pill); font-weight: 700; font-size: 0.88rem;
  box-shadow: var(--shadow-soft);
  align-self: flex-start;
}
.amazon-cta:hover { background: var(--accent-coral); color: var(--off-white); }
.amazon-disclosure {
  margin: 1.5rem 1rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, var(--cream), var(--off-white));
  border-left: 4px solid var(--accent-green);
  border-radius: var(--radius-sm);
  font-size: 0.82rem; color: var(--slate);
}
.amazon-disclosure p { margin: 0; }

/* === WÖRTERBÜCHER === */
.tag-cover.dict-cover {
  background: linear-gradient(135deg, #6E8BA3, #3A4A5E);
}
.dict-overlay {
  background: linear-gradient(180deg, rgba(45,62,82,0.25) 0%, rgba(45,62,82,0.8) 100%);
}
.dict-cat-section {
  background: var(--off-white); border-radius: var(--radius-md);
  padding: 1rem; margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(110,139,163,0.12);
}
.dict-cat-title {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 1.1rem; color: var(--deep-navy);
  margin-bottom: 0.7rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.dict-cat-title .emoji { font-size: 1.4rem; }
.dict-words { display: flex; flex-direction: column; gap: 0.5rem; }
.dict-word {
  padding: 0.7rem 0.9rem;
  background: var(--cream);
  border-left: 3px solid var(--soft-blue);
  border-radius: var(--radius-sm);
}
.dict-word-german {
  font-weight: 700; color: var(--deep-navy);
  font-size: 0.92rem; margin-bottom: 0.15rem;
}
.dict-word-foreign {
  font-family: 'Caveat', cursive; font-style: italic;
  font-size: 1.1rem; color: var(--terracotta);
  margin-bottom: 0.2rem;
}
.dict-word-pron {
  font-family: 'Montserrat', monospace; font-size: 0.82rem;
  color: var(--muted); letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}
.dict-word-tip {
  font-size: 0.82rem; color: var(--slate);
  background: rgba(232,213,192,0.4); padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm); margin-top: 0.3rem;
}
@media (min-width: 768px) {
  .dict-words { display: grid; grid-template-columns: repeat(2, 1fr); }
}

/* === SEETAG === */
.seeday-tips { background: var(--off-white); border-radius: var(--radius-md); padding: 1.2rem; box-shadow: var(--shadow-soft); border: 1px solid rgba(110,139,163,0.12); }
.seeday-list { list-style: none; padding: 0; }
.seeday-list li { padding: 0.7rem 0; border-top: 1px solid rgba(110,139,163,0.1); font-size: 0.95rem; }
.seeday-list li:first-child { border-top: none; }
.seeday-list strong { color: var(--deep-navy); }
.seeday-note { margin-top: 1rem; padding: 0.8rem; background: var(--cream); border-radius: var(--radius-sm); font-style: italic; font-size: 0.9rem; }

/* === BOTTOM-NAV === */
.tag-bottom-nav {
  display: flex; gap: 0.5rem; padding: 1rem 1rem 1.5rem;
  border-top: 1px solid rgba(110,139,163,0.18);
  background: var(--cream);
  margin-top: 2rem;
}
.tag-nav-prev, .tag-nav-next {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); padding: 0.7rem 0.9rem;
  background: var(--off-white); color: var(--slate);
  border-radius: var(--radius-md);
  text-decoration: none; font-size: 0.85rem; font-weight: 600;
  border: 1px solid rgba(110,139,163,0.18);
  text-align: center;
}
.tag-nav-next { background: var(--deep-navy); color: var(--off-white); border-color: var(--deep-navy); }
.tag-nav-prev:hover { background: var(--cream); color: var(--deep-navy); }
.tag-nav-next:hover { color: var(--off-white); background: var(--slate); }

/* === VERIFICATION-MARKER (preserved from working.html) === */
.verified-badge { font-size: 0.85em; opacity: 0.8; margin-left: 0.2em; }
.verified-badge.ok { filter: hue-rotate(60deg); }
.verified-warning { background: var(--cream); border-left: 3px solid var(--warm-sand); padding: 0.4rem 0.6rem; font-size: 0.85em; margin-top: 0.5rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* === RESPONSIVE TABLET+ === */
@media (min-width: 768px) {
  .day-list { padding: 0 2rem; }
  .day-card { padding: 1rem 1.2rem; }
  .day-card-thumb { width: 64px; height: 64px; }
  .tab-panel { padding: 1.5rem 2rem 3rem; }
  .route-hero { padding: 3rem 2rem 3.5rem; }
  .tag-cover-overlay { padding: 1.2rem 2rem 2rem; min-height: 240px; }
  .highlights-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .anreise-hotels-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .anreise-transport-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .anreise-practical-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .anreise-tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .budget-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .season-grid { grid-template-columns: repeat(4, 1fr); }
  .story-spread-mobile { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; align-items: start; }
}

@media (min-width: 1024px) {
  .highlights-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   PRINT-CSS · Alle Tags + alle Tab-Panels linear sichtbar
   ============================================================ */
@media print {
  body { background: white; color: black; font-size: 11pt; }
  #screen-home { display: block !important; }
  .home-export-btn, .home-footer { display: none; }
  .tag, .screen { display: block !important; }
  .tag[hidden] { display: block !important; }
  .tab-panel { display: block !important; padding: 0; max-width: none; }
  .tab-panel + .tab-panel { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #999; }
  .tab-strip { display: none; }
  .tag-back, .tag-bottom-nav { display: none; }
  .tag { page-break-before: always; }
  .tag:first-of-type { page-break-before: auto; }
  .tag-cover { background: white !important; min-height: 0; padding: 0; }
  .tag-cover-image, .tag-cover-overlay { background: none !important; color: black !important; padding: 0; }
  .tag-cover-overlay { min-height: 0; }
  .tag-cover-title, .tag-cover-sub { color: black !important; }
  .port-pill { background: white !important; color: black !important; border: 1px solid #999; }
  h1, h2, h3, h4 { page-break-after: avoid; color: black !important; }
  .highlight-card, .secret-tip, .anreise-hotel-card, .raetsel-card, .anreise-transport-card, .anreise-practical-block, .seeday-tips, .anreise-tips-block, .anreise-terminal { page-break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
  details { page-break-inside: avoid; }
  details summary { display: none; }
  details .antwort-content { display: block; padding: 0.4rem; background: #f4f4f4; }
  .meta-pill, .secret-meta-pill, .anreise-hotel-tag { background: white !important; border: 1px solid #ccc !important; color: black !important; }
  .tour-cta, .anreise-affiliate-link, .anreise-option-maps, .anreise-maps-secondary, .ml-widget-fallback-cta { background: white !important; color: black !important; border: 1px solid #999 !important; }
  .diary-storage-warning { display: none; }
  .diary-wrapper { box-shadow: none; border: 1px solid #ccc; }
  .verified-badge { opacity: 0.5; font-size: 0.7em; }
}

/* ============================================================
   SELEKTIVE PRINT-MODES · Body-Klassen blenden alles aus außer
   das gewählte Panel. Print-Buttons setzen die Klasse via JS,
   beforeprint/afterprint räumt auf.
   ============================================================ */
.print-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: 0.6rem 0 0.4rem; font-size: 0.78rem;
}
.print-toolbar-label { color: var(--muted); align-self: center; }
.print-btn {
  background: var(--off-white); color: var(--deep-navy);
  border: 1px solid rgba(0,0,0,0.12); border-radius: var(--radius-pill);
  padding: 0.35rem 0.75rem; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; min-height: 32px;
}
.print-btn:hover { border-color: var(--accent-coral); color: var(--accent-coral); }
@media print {
  .print-toolbar { display: none; }
  /* Print-only-* Modes: body bekommt Klasse, alles außer betroffenes Panel verbergen */
  body[class*="print-only-"] .tag,
  body[class*="print-only-"] .screen { display: none !important; }
  body.print-only-quiz .tag .tab-panel { display: none !important; }
  body.print-only-quiz .tag:has(.tab-panel[data-panel="quiz"]) { display: block !important; }
  body.print-only-quiz .tab-panel[data-panel="quiz"] { display: block !important; }
  body.print-only-tagebuch .tag .tab-panel { display: none !important; }
  body.print-only-tagebuch .tag:has(.tab-panel[data-panel="tagebuch"]) { display: block !important; }
  body.print-only-tagebuch .tab-panel[data-panel="tagebuch"] { display: block !important; }
  body.print-only-story .tag .tab-panel { display: none !important; }
  body.print-only-story .tag:has(.tab-panel[data-panel="story"]) { display: block !important; }
  body.print-only-story .tab-panel[data-panel="story"] { display: block !important; }
  body.print-only-highlights .tag .tab-panel { display: none !important; }
  body.print-only-highlights .tag:has(.tab-panel[data-panel="highlights"]) { display: block !important; }
  body.print-only-highlights .tab-panel[data-panel="highlights"] { display: block !important; }
  body.print-only-geheimtipp .tag .tab-panel { display: none !important; }
  body.print-only-geheimtipp .tag:has(.tab-panel[data-panel="geheimtipp"]) { display: block !important; }
  body.print-only-geheimtipp .tab-panel[data-panel="geheimtipp"] { display: block !important; }

  /* Tagesplan drucken: nur der aktuelle Hafen, nur der Plan, ohne Bedien-Elemente */
  body.print-tagesplan #screen-home { display: none !important; }
  body.print-tagesplan .tag { display: none !important; }
  body.print-tagesplan .tag.is-print-target { display: block !important; }
  body.print-tagesplan .tag.is-print-target .tab-panel { display: none !important; }
  body.print-tagesplan .tag.is-print-target .tab-panel[data-panel="tagesplan"] { display: block !important; }
  body.print-tagesplan .tag.is-print-target .tab-strip,
  body.print-tagesplan .tag.is-print-target .tag-cover,
  body.print-tagesplan .tag.is-print-target .tag-back,
  body.print-tagesplan .tag.is-print-target .tag-bottom-nav,
  body.print-tagesplan .tag.is-print-target .tab-intro { display: none !important; }
  body.print-tagesplan .tag.is-print-target .allaboard-countdown,
  body.print-tagesplan .tag.is-print-target .allaboard-remind { display: none !important; }
  body.print-tagesplan .no-print,
  body.print-tagesplan .tagesplan-head,
  body.print-tagesplan .tagesplan-list,
  body.print-tagesplan .tagesplan-add,
  body.print-tagesplan .tagesplan-start { display: none !important; }
  body.print-tagesplan .tagesplan { border: 0; box-shadow: none; padding: 0; }
  body.print-tagesplan .tagesplan-print-head { display: block !important; }

  /* Routenkarte als Poster drucken: nur die Karte, seitenfuellend */
  body.print-routemap #screen-home > *:not(.routemap) { display: none !important; }
  body.print-routemap .tag { display: none !important; }
  body.print-routemap #screen-home { display: block !important; }
  body.print-routemap .routemap { padding: 0 !important; }
  body.print-routemap .routemap > .home-section-title,
  body.print-routemap .routemap-actions,
  body.print-routemap .routemap-note { display: none !important; }
  body.print-routemap .routemap-frame { border: 0 !important; box-shadow: none !important; padding: 0 !important; }
}
.tagesplan-print-head { display: none; font-size: 1.2rem; font-weight: 800; margin-bottom: 0.6rem; }
