/* Island 2026 — Reisevorschau */

:root {
  /* Feuer & Eis — Werkzeugmarken-Anleihe (Amber/Schwarz/Gletscherblau) statt Dark-SaaS-Look */
  --bg: #0a0a0b;
  --bg-alt: #141416;
  --panel: #18191b;
  --panel-light: #202124;
  --ink: #f5f5f0;
  --ink-dim: #9a9a95;
  --line: rgba(255,255,255,.10);
  --teal: #4fc3f7;
  --teal-dim: rgba(79,195,247,.15);
  --amber: #febd17;
  --amber-dim: rgba(254,189,23,.15);
  --risk: #e2001a;
  --risk-dim: rgba(226,0,26,.15);
  --radius: 16px;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

button {
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  scroll-behavior: smooth;
}

body { padding-bottom: 64px; } /* room for sticky cost bar */
body.locked { overflow: hidden; }

/* ---------- Passwort-Gate ---------- */

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gate-box {
  max-width: 340px;
  width: 100%;
  text-align: center;
}

.gate-box h2 { margin-bottom: 6px; }
.gate-box p { color: var(--ink-dim); font-size: 14px; margin: 0 0 24px; }

.gate-box input[type="password"] {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 12px;
  -webkit-appearance: none;
  appearance: none;
}

.gate-box input[type="password"]:focus { outline: none; border-color: var(--teal); }

.gate-error {
  color: var(--risk);
  font-size: 13px;
  margin-top: 10px;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0 0 .4em; }

a { color: var(--teal); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Day nav ---------- */

.daynav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 12px 16px;
  background: rgba(10,10,11,.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.daynav button {
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s ease;
}

.daynav button:hover { border-color: var(--teal); color: var(--ink); }
.daynav button.active { background: var(--teal); color: var(--bg); border-color: var(--teal); font-weight: 600; }
.daynav button.locked { opacity: .45; cursor: not-allowed; }
.daynav button.locked:hover { border-color: var(--line); color: var(--ink-dim); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  /* daynav ist sticky (nimmt Platz im Fluss ein) — Hero muss das abziehen,
     sonst reicht sein unterer Rand 100vh + Nav-Höhe unter den Viewport-Boden hinaus */
  min-height: calc(100vh - var(--daynav-h, 57px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg);
}

.hero-gif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(60% 50% at 50% 65%, rgba(254,140,20,.28) 0%, rgba(254,140,20,0) 70%),
    linear-gradient(180deg, rgba(10,10,11,.2) 0%, rgba(10,10,11,.5) 55%, var(--bg) 96%);
  mix-blend-mode: normal;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-aurora span {
  position: absolute;
  width: 140%;
  height: 60%;
  left: -20%;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  animation: drift 22s ease-in-out infinite;
  mix-blend-mode: screen;
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.hero-aurora span:nth-child(1) { top: -10%; background: var(--teal); animation-duration: 26s; }
.hero-aurora span:nth-child(2) { top: 5%; background: #6ee7b7; animation-duration: 19s; animation-delay: -6s; }
.hero-aurora span:nth-child(3) { top: 18%; background: var(--amber); opacity: .22; animation-duration: 31s; animation-delay: -12s; }

@keyframes drift {
  0%, 100% { transform: translateZ(0) translateX(0) translateY(0) scale(1); }
  33% { transform: translateZ(0) translateX(6%) translateY(3%) scale(1.08); }
  66% { transform: translateZ(0) translateX(-8%) translateY(-2%) scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-aurora span, .ambient-aurora span, .mist span { animation: none !important; }
}

/* Ambiente über die ganze Seite hinweg — dezenter Nachhall der Hero-Aurora + treibender Nebel,
   damit sich auch die Auswahl-Sektionen noch "nach Island" anfühlen, nicht nur der Kopfbereich. */
.ambient-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-aurora span {
  position: absolute;
  width: 120%;
  height: 50%;
  left: -10%;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .07;
  mix-blend-mode: screen;
  animation: drift 34s ease-in-out infinite;
  will-change: transform;
}

.ambient-aurora span:nth-child(1) { top: 0%; background: var(--teal); }
.ambient-aurora span:nth-child(2) { top: 45%; background: var(--amber); animation-duration: 42s; animation-delay: -10s; }
.ambient-aurora span:nth-child(3) { top: 75%; background: #6ee7b7; animation-duration: 28s; animation-delay: -18s; }

.mist {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.mist span {
  position: absolute;
  bottom: -10%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink);
  opacity: .18;
  animation: rise linear infinite;
  will-change: transform, opacity;
}

@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: .25; }
  90% { opacity: .1; }
  100% { transform: translateY(-110vh) translateX(20px); opacity: 0; }
}

.hero-mountains {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  /* gedeckelt, damit die Silhouette auf kurzen Viewports nicht in den Hero-Text hineinwächst */
  height: min(34%, 210px);
  background: linear-gradient(180deg, transparent, var(--bg) 88%);
}

.hero-mountains::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--panel) 25%, transparent 25%) 0 0/80px 80px,
    linear-gradient(225deg, var(--panel) 25%, transparent 25%) 0 0/80px 80px;
  opacity: .6;
}

.hero-content {
  position: relative;
  z-index: 2;
  /* unten genug Luft lassen, damit der CTA-Button nicht in der Zone der fixen Kostenleiste landet —
     --costbar-h wird per JS live aus der tatsächlichen Leisten-Höhe gesetzt (app.js: initHeroSpacing) */
  padding: 48px 24px calc(56px + var(--costbar-h, 90px));
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  text-shadow: 0 2px 16px rgba(0,0,0,.6);
}

.hero-eyebrow {
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  margin: 0 0 8px;
  line-height: 1.02;
}

.hero .dates {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--ink-dim);
  margin-bottom: 20px;
}

.hero .motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--ink);
  max-width: 640px;
  border-left: 2px solid var(--amber);
  padding-left: 16px;
  margin: 0 0 28px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--bg);
  border: none;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease;
}

.cta:hover { transform: translateY(-2px); }

/* ---------- Guide card ---------- */

.guide-card {
  margin-top: 32px;
  background: var(--teal-dim);
  border: 1px solid rgba(79,195,247,.3);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}

.guide-card b { color: var(--teal); }

.decision-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 20px 0 24px;
  padding: 11px 20px;
  background: var(--amber-dim);
  border: 1px solid rgba(254,189,23,.35);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--amber);
}

.hint-arrow { font-size: 18px; line-height: 1; }

.decision-hint.info { background: var(--teal-dim); border-color: rgba(79,195,247,.35); color: var(--teal); }

#dayplan-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
}

.dayplan-entry {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.dayplan-entry:first-child { border-top: none; padding-top: 0; }

.dayplan-badge {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--bg);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dayplan-body { flex: 1; min-width: 0; }
.dayplan-date { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); margin-bottom: 2px; }
.dayplan-body h4 { font-size: 17px; margin: 0 0 8px; }
.dayplan-body ul { margin: 0; padding-left: 20px; color: var(--ink-dim); font-size: 14px; line-height: 1.7; }

.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.restaurant-card {
  background: var(--panel-light);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}

.restaurant-occasion {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--amber);
  margin-bottom: 6px;
}

.restaurant-card h4 { font-size: 16px; margin: 0 0 2px; }
.restaurant-card .option-tagline { margin: 0 0 8px; }
.restaurant-desc { font-size: 13.5px; color: var(--ink-dim); line-height: 1.6; margin: 0; }

.gloss { color: var(--ink-dim); font-weight: 400; font-size: 12.5px; }

/* ---------- Saying-Divider: isländischer Spruch als Trennelement zwischen Abschnitten ---------- */

.saying-divider {
  margin: 40px 0;
  padding: 30px 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--teal-dim), transparent 70%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.saying-divider-is {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--teal);
  margin: 0 0 8px;
}

.saying-divider-de {
  color: var(--ink-dim);
  font-size: 13.5px;
  margin: 0;
}

/* Vollbild-Variante: Foto/GIF hinter dem Spruch, für einen emotionalen Zwischenmoment
   ("tief eintauchen") statt nur Text auf dezentem Verlauf. */
.saying-divider.has-photo {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--bg-alt);
}

.saying-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 75%;
  z-index: 0;
}

.saying-divider.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,11,.25) 0%, rgba(10,10,11,.7) 100%);
}

.saying-divider.has-photo .saying-divider-is,
.saying-divider.has-photo .saying-divider-de {
  position: relative;
  z-index: 2;
}

.saying-divider.has-photo .saying-divider-is { font-size: 1.4rem; text-shadow: 0 2px 12px rgba(0,0,0,.6); }

/* ---------- Sections ---------- */

section.day {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 68px; /* daynav is sticky/fixed at top — without this, headings scroll to right under it and overlap */
}

.day-label {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.day-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.day1-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  margin-top: 28px;
  align-items: stretch;
}

@media (max-width: 760px) {
  .day1-grid { grid-template-columns: 1fr; }
}

.day1-grid ul { margin: 0; padding-left: 20px; color: var(--ink-dim); line-height: 1.8; }

/* Foto soll bündig mit der Text-Karte daneben abschließen, nicht nur seine Mindesthöhe nutzen */
.day1-grid > div:first-child { height: 100%; }
.day1-grid .photo { height: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-dim);
  color: var(--teal);
}

.badge.warn { background: var(--amber-dim); color: var(--amber); }
.badge.risk { background: var(--risk-dim); color: var(--risk); }
.badge.locked { background: var(--teal-dim); color: var(--teal); }

.saying {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-dim);
  margin-top: 10px;
}

.saying i { color: var(--teal); font-style: italic; }

.warning-strip {
  margin-top: 16px;
  font-size: 14px;
  color: var(--amber);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* ---------- Photo slot ---------- */

.photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.photo .placeholder-label {
  position: absolute;
  inset: 8px;
  border: 1.5px dashed rgba(255,255,255,.16);
  border-radius: calc(var(--radius) - 6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
  color: var(--ink-dim);
  font-size: 13px;
}

.photo .placeholder-label svg { opacity: .5; }
.photo .placeholder-label b { color: var(--ink); font-weight: 600; }
.photo .placeholder-label code {
  font-size: 11px;
  background: rgba(255,255,255,.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--teal);
}

/* ---------- Fixed facts (flights/car) ---------- */

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.fact {
  background: var(--panel-light);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}

.fact h4 { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dim); margin-bottom: 8px; }
.fact p { margin: 2px 0; font-size: 14px; }
.fact .note { color: var(--amber); font-size: 13px; margin-top: 8px; }

/* ---------- Decision cards ---------- */

.decision-intro { max-width: 680px; }

.options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .options { grid-template-columns: 1fr; }
}

.options-single {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Blue-Lagoon Plan-Umschalter ---------- */

.branch-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 20px;
  padding: 4px;
  background: var(--panel-light);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.branch-toggle-btn {
  background: transparent;
  border: none;
  color: var(--ink-dim);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}

.branch-toggle-btn:hover { color: var(--ink); }
.branch-toggle-btn.active { background: var(--teal); color: var(--bg); }

.option {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease, transform .15s ease;
  cursor: pointer;
  overflow: hidden;
}

.option:hover { border-color: var(--teal); transform: translateY(-3px); }

.option.selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 12px 32px rgba(79,195,247,.18);
}

.option .photo { min-height: 160px; border-radius: 0; }

.option-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.option-tagline { color: var(--ink-dim); font-size: 13px; margin-top: -6px; }

.option-status { margin: 2px 0; }

.option h3 { font-size: 1.25rem; margin-bottom: 2px; }

.option-list { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.65; color: var(--ink-dim); }
.option-list.pros li::marker { color: var(--teal); }
.option-list.cons li::marker { color: var(--risk); }

.option-section-title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-dim); margin: 4px 0 2px; }

.option-cost {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.option-cost b { color: var(--amber); font-family: var(--serif); font-size: 1.1rem; }

.cost-total-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dim); }

.option-drive { margin-top: 6px; font-size: 12px; color: var(--ink-dim); }

/* Auswahl-Hinweis: bewusst klein und in der Fotoecke — die Reiseinfo bleibt im Vordergrund,
   nicht der Klick-Button. Die ganze Karte ist klickbar (siehe .option:hover / .option.selected). */
.option-pick-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(10,10,11,.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  pointer-events: none;
}

.option.selected .option-pick-tag {
  background: var(--teal);
  color: var(--bg);
  border-color: var(--teal);
  font-weight: 700;
}

.option-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(10,10,11,.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  color: var(--teal);
}

/* ---------- Extras / pin panel ---------- */

.extras {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.extra {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--panel-light);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14px;
  overflow: hidden;
}

.extra .photo {
  margin: -16px -18px 4px;
  min-height: 110px;
  border-radius: 0;
}

.extra-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.extra .extra-info { display: flex; flex-direction: column; gap: 2px; }
.extra .extra-label { font-weight: 600; }
.extra .extra-cost { color: var(--ink-dim); font-size: 12px; }
.extra .extra-price-note { color: var(--ink-dim); font-size: 11px; font-style: italic; }
.extra .extra-desc { margin: 0; color: var(--ink-dim); font-size: 13px; line-height: 1.55; }
.extra .extra-warn { color: var(--amber); font-size: 11.5px; }

.extra-more {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--teal);
  font-size: 12.5px;
  font-weight: 600;
  padding: 2px 0;
  cursor: pointer;
}

/* ---------- Hotel Nacht 1 (wählbar) ---------- */

.hotel-block { margin: 28px 0; }

.hotel-block-title {
  font-family: var(--sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.hotel-block-note { color: var(--ink-dim); font-size: 13.5px; margin: 0 0 16px; max-width: 640px; }

.hotel-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .hotel-options { grid-template-columns: 1fr; }
}

.hotel-option {
  position: relative;
  background: var(--panel-light);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
  overflow: hidden;
}

.hotel-option .photo {
  margin: -16px -18px 4px;
  min-height: 120px;
  border-radius: 0;
}

.hotel-option-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.hotel-website-link {
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
}

.hotel-website-link:hover { color: var(--teal); }

.hotel-option:hover { border-color: var(--teal); transform: translateY(-2px); }
.hotel-option.selected { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }

.hotel-option-head { display: flex; justify-content: flex-end; align-items: center; margin-bottom: -6px; }

.hotel-city-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(10,10,11,.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  color: var(--ink);
}

.hotel-option-pick {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-dim);
}

.hotel-option.selected .hotel-option-pick { color: var(--teal); }

.hotel-option h4 { font-size: 15px; margin: 6px 0 2px; }

.hotel-option-price { font-size: 14px; margin: 10px 0 8px; }

/* ---------- Editierbarer Preis ---------- */

.price-edit { display: inline-flex; align-items: center; gap: 6px; }

.price-value { font-weight: 600; }
.option-cost .price-value, .hotel-option-price .price-value { color: var(--amber); font-family: var(--serif); }

.price-pencil {
  background: none;
  border: none;
  color: var(--ink-dim);
  cursor: pointer;
  padding: 3px;
  display: inline-flex;
  border-radius: 6px;
}

.price-pencil:hover { color: var(--teal); background: var(--teal-dim); }

.price-reset {
  background: none;
  border: none;
  color: var(--ink-dim);
  text-decoration: underline;
  font-size: 11px;
  cursor: pointer;
  padding: 0;
}

.price-input {
  width: 80px;
  background: var(--panel);
  border: 1px solid var(--teal);
  border-radius: 6px;
  padding: 3px 6px;
  color: var(--ink);
  font-size: 13px;
}

/* ---------- Modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay[hidden] { display: none; }

.modal-box {
  position: relative;
  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.modal-box--wide { max-width: min(94vw, 1100px); }

.rv-map-detail { cursor: zoom-in; }
.rv-map-zoom-hint { text-align: center; font-size: 11.5px; color: var(--ink-dim); margin: 6px 0 0; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--ink-dim);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover { color: var(--ink); }

.hotel-detail-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}

.hotel-detail-list li {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
}

.hotel-detail-list li:last-child { border-bottom: none; padding-bottom: 0; }
.hotel-detail-list b { color: var(--ink); font-weight: 600; }

.pin-toggle {
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  position: relative;
  cursor: pointer;
}

.pin-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink-dim);
  transition: all .15s ease;
}

.pin-toggle.on { background: var(--teal-dim); border-color: var(--teal); }
.pin-toggle.on::after { left: 20px; background: var(--teal); }

/* ---------- Upcoming teaser ---------- */

.teaser-box {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  margin-top: 20px;
  display: flex;
  align-items: flex-end;
}

.teaser-gif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teaser-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.1) 0%, rgba(10,10,11,.55) 55%, rgba(10,10,11,.92) 100%);
}

.teaser-content {
  position: relative;
  z-index: 1;
  padding: 32px;
  max-width: 640px;
}

.teaser-content p { margin: 0 0 8px; color: var(--ink); font-size: 14.5px; }

/* ---------- Toast (Auswahl-Bestätigung) ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 50;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  background: var(--panel);
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 13.5px;
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(0,0,0,.45);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  white-space: nowrap;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Day-Nav Fortschritt ---------- */

.nav-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-dim);
  margin-right: 7px;
  vertical-align: middle;
  transition: background .2s ease;
}

.nav-dot.done { background: var(--teal); }

/* ---------- Cost bar ---------- */

.costbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(8,17,25,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-dim);
  transition: transform .3s ease, opacity .3s ease;
}

/* Bleibt während des Hero-Intros unsichtbar — erscheint erst, sobald "Reise entdecken" gescrollt ist. */
.costbar.hidden-hero {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.costbar-route {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 20px 0;
  max-width: 1080px;
  margin: 0 auto;
  font-size: 12px;
  scrollbar-width: thin;
}

.route-chip {
  flex: 0 0 auto;
  background: var(--panel-light);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  color: var(--ink-dim);
}

.route-arrow { flex: 0 0 auto; color: var(--teal); }

.costbar-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  cursor: pointer;
  max-width: 1080px;
  margin: 0 auto;
}

.costbar-summary b { color: var(--amber); font-family: var(--serif); font-size: 15px; margin-right: 4px; }

.export-btn {
  flex: 0 0 auto;
  background: var(--amber);
  border: none;
  color: var(--bg);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease;
}

.export-btn:hover { transform: translateY(-1px); }

.costbar-detail {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .2s ease, padding .2s ease;
}

.costbar.open .costbar-detail {
  max-height: 260px;
  padding: 0 20px 14px;
  overflow-y: auto;
}

.costbar-detail table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.costbar-detail td { padding: 4px 0; border-bottom: 1px solid var(--line); }
.costbar-detail td:last-child { text-align: right; color: var(--ink); }

footer.sitefoot {
  text-align: center;
  color: var(--ink-dim);
  font-size: 12.5px;
  padding: 40px 20px 20px;
}

/* ---------- Ergebnis-Ansicht (Bildschirm, im Website-Design) ---------- */

.result-view {
  position: relative;
  max-width: 980px;
  margin: 48px auto;
  padding: 36px 40px 44px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.result-view[hidden] { display: none; }

.rv-head { text-align: center; margin-bottom: 24px; }
.rv-head h1 { font-size: 2rem; margin: 4px 0; }
.rv-sub { color: var(--ink-dim); font-size: 14px; }

.rv-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--ink-dim);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.rv-close:hover { color: var(--ink); }

.rv-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin: 0 0 28px;
  padding: 18px;
  background: var(--panel-light);
  border-radius: 12px;
}

.rv-stat { text-align: center; }
.rv-stat-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dim); margin-bottom: 4px; }
.rv-stat b { font-family: var(--serif); font-size: 1.3rem; color: var(--amber); }

.result-view h2 { font-size: 16px; margin: 26px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.result-view p { margin: 4px 0; font-size: 14px; color: var(--ink); }
.result-view ul { margin: 6px 0; padding-left: 20px; font-size: 14px; color: var(--ink-dim); line-height: 1.7; }
.result-view .ps-total { font-size: 17px; font-weight: 700; margin-top: 16px; color: var(--ink); }
.result-view .ps-route { font-size: 13px; color: var(--ink-dim); text-align: center; }
.result-view .rv-fineprint { color: var(--ink-dim); font-size: 11px; margin-top: 14px; }

.rv-invoice { width: 100%; border-collapse: collapse; margin-top: 8px; }
.rv-invoice td { padding: 8px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.rv-invoice td:last-child { text-align: right; white-space: nowrap; color: var(--ink); font-family: var(--serif); }
.rv-invoice-note { color: var(--ink-dim); font-size: 11.5px; font-style: italic; }
.rv-invoice-total td { border-bottom: none; border-top: 2px solid var(--ink-dim); font-weight: 700; font-size: 16px; padding-top: 12px; }
.rv-invoice-total td:last-child { color: var(--amber); }

.rv-booking-table th { text-align: left; padding: 6px 4px; border-bottom: 2px solid var(--ink-dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-dim); }
.rv-booking-table td:last-child, .rv-booking-table td:nth-child(3) { text-align: left; white-space: normal; font-family: inherit; }
.rv-booking-table td:first-child { white-space: nowrap; color: var(--ink-dim); font-size: 12.5px; }
.rv-booking-table a { color: var(--teal); }

.rv-print-btn { display: flex; margin: 28px auto 0; }

/* Route-Karten: Detailkarte (Südwesten, gezoomt, mit Labels) + kleine Übersicht (ganz Island) */
.rv-map-layout { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-top: 8px; }
.rv-map-detail { flex: 1 1 340px; min-width: 280px; }
.rv-map-overview { flex: 0 0 150px; width: 150px; text-align: center; }
.rv-map-overview-caption { font-size: 11px; color: var(--ink-dim); margin: 4px 0 0; }

.route-map-svg { width: 100%; height: auto; display: block; }
.route-map-svg--overview { opacity: .9; }

.map-land { fill: var(--panel-light); stroke: var(--line); stroke-width: 2; }
.map-route { fill: none; stroke: var(--teal); stroke-width: 2.5; }
.map-spoke { fill: none; stroke: var(--ink-dim); stroke-width: 1.5; stroke-dasharray: 4 4; }
.map-point { fill: var(--teal); stroke: var(--panel); stroke-width: 2; }
.map-point--endpoint { fill: var(--amber); }
.map-hub { fill: var(--amber); stroke: var(--panel); stroke-width: 2.5; }
.map-anchor { fill: var(--panel); stroke: var(--ink-dim); stroke-width: 2; }
.map-hub-number { font-size: 12px; font-weight: 700; fill: var(--bg); font-family: var(--sans); }
.map-label { font-size: 13px; font-weight: 600; fill: var(--ink); font-family: var(--sans); }
.map-label-small { font-size: 12px; font-weight: 600; fill: var(--ink-dim); font-family: var(--sans); }
.map-label-sub { font-size: 11px; font-weight: 400; fill: var(--amber); }
.map-label-tiny { font-size: 10px; font-weight: 400; fill: var(--ink-dim); }
.map-label-activity { font-size: 10px; font-weight: 400; font-style: italic; fill: var(--teal); }
.map-hub-day { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; fill: var(--teal); font-family: var(--sans); }
.map-km-label { font-size: 10.5px; fill: var(--ink-dim); font-family: var(--sans); background: var(--bg); }
.map-km-label-spoke { font-style: italic; }
.rv-map-return-note { font-size: 12px; color: var(--ink-dim); text-align: center; margin: 6px 0 0; }

@media print {
  html, body { background: #fff !important; }
  body > *:not(#result-view) { display: none !important; }
  .no-print { display: none !important; }
  #result-view {
    display: block !important;
    position: static;
    max-width: none;
    margin: 0;
    padding: 0;
    color: #111;
    background: #fff;
    border: none;
    font-family: var(--sans);
  }
  .result-view h2 { border-bottom-color: #ccc; }
  .result-view p, .result-view ul, .rv-sub, .ps-route { color: #333 !important; }
  .rv-stats { background: #f4f4f2; }
  .rv-stat b, .result-view .ps-total { color: #111 !important; }
  .rv-fineprint { color: #777 !important; }
  .map-land { fill: #f0f0ee; stroke: #ccc; }
  .map-route { stroke: #444; }
  .map-point { fill: #666; stroke: #fff; }
  .map-point--endpoint { fill: #b8860b; }
  .map-label { fill: #111; }
  .map-label-small { fill: #444; }
  .map-label-sub { fill: #8a5a00; }
  .map-label-activity { fill: #333; }
  .map-spoke { stroke: #999; }
  .map-hub { fill: #b8860b; stroke: #fff; }
  .map-hub-number { fill: #fff; }
  .map-anchor { fill: #fff; stroke: #666; }
  .map-hub-day { fill: #005691; }
  .map-km-label { fill: #555; }
  .map-label-tiny { fill: #555; }
  .rv-map-return-note { color: #555; }
}
