@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

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

:root {
  --ink:        #050b14;
  --deep:       #0a1628;
  --surface:    #0f1f35;
  --card:       #0d1e33;
  --card-alt:   #111e30;
  --border:     rgba(255,255,255,0.07);
  --border-h:   rgba(34,197,94,0.3);
  --green:      #22c55e;
  --green-dim:  rgba(34,197,94,0.1);
  --green-mid:  rgba(34,197,94,0.2);
  --amber:      #f59e0b;
  --amber-dim:  rgba(245,158,11,0.1);
  --amber-mid:  rgba(245,158,11,0.2);
  --sky:        #7dd3fc;
  --text:       #dde6f0;
  --muted:      #7a90a8;
  --faint:      rgba(255,255,255,0.03);
  --radius:     12px;
  --radius-sm:  8px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  background: rgba(5,11,20,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--green);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* ── HERO ────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34,197,94,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(7,100,188,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 80% 60%, rgba(245,158,11,0.04) 0%, transparent 50%),
    var(--ink);
}

.hero-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  opacity: 0.12;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid var(--green-mid);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title span {
  background: linear-gradient(135deg, var(--green) 0%, #86efac 50%, var(--sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--muted);
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-meta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--faint);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeUp 1s 0.6s ease both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--muted));
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── SECTIONS ────────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.8rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--green);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 0.6rem;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 3rem;
}

/* ── TIMELINE ────────────────────────────────────── */
#timeline { background: var(--faint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.timeline-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  margin-top: 2rem;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 10%, var(--green-mid) 50%, var(--border) 90%, transparent);
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.5rem;
  position: relative;
}

.timeline-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  z-index: 1;
}

.timeline-item:nth-child(4) .timeline-dot {
  border-color: var(--green-mid);
  background: var(--green-dim);
  box-shadow: 0 0 0 6px rgba(34,197,94,0.06);
}

.timeline-item:nth-child(5) .timeline-dot {
  border-color: rgba(245,158,11,0.3);
  background: var(--amber-dim);
  box-shadow: 0 0 0 6px rgba(245,158,11,0.04);
}

.timeline-date {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.timeline-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.timeline-ort {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── TOUR CARDS ──────────────────────────────────── */
#touren { border-top: 1px solid var(--border); }

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 1.5rem;
}

.tour-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: default;
}

.tour-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(34,197,94,0.08);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.card-title-group { flex: 1; }

.card-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.8;
}

.card-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.1rem;
}

.card-region {
  font-size: 0.8rem;
  color: var(--muted);
}

.card-anbieter {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--sky);
  margin-top: 0.2rem;
}

.badge-confirmed {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid var(--green-mid);
  border-radius: 100px;
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}

.badge-inquiry {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid var(--amber-mid);
  border-radius: 100px;
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}

.card-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.stat {
  background: var(--faint);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.card-preis {
  background: linear-gradient(135deg, var(--green-dim), rgba(34,197,94,0.05));
  border: 1px solid var(--green-mid);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}

.preis-main {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.preis-detail {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.card-notiz {
  font-size: 0.78rem;
  color: var(--amber);
  background: var(--amber-dim);
  border-left: 2px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.6rem 0.8rem;
  line-height: 1.5;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--faint);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
}

.card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.btn-primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  background: var(--green);
  color: #050b14;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #4ade80;
  transform: translateY(-1px);
}

.btn-secondary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  background: transparent;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.2);
  color: #fff;
  transform: translateY(-1px);
}

.btn-disabled {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  background: var(--faint);
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: not-allowed;
  opacity: 0.5;
}

/* ── MAP ─────────────────────────────────────────── */
#map {
  width: 100%;
  height: 480px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.leaflet-popup-content-wrapper {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5) !important;
  color: var(--text) !important;
}

.leaflet-popup-tip { background: var(--card) !important; }

.popup-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.popup-anbieter { font-size: 0.75rem; color: var(--green); margin-bottom: 0.5rem; }
.popup-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.6rem; line-height: 1.5; }

.popup-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #050b14;
  background: var(--green);
  border-radius: 5px;
  padding: 0.3rem 0.7rem;
  text-decoration: none;
}

.popup-link:hover { background: #4ade80; }

/* ── ROADTRIP ────────────────────────────────────── */
#roadtrip {
  background: linear-gradient(180deg, var(--faint) 0%, transparent 100%);
  border-top: 1px solid var(--border);
}

.roadtrip-inner {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.roadtrip-coming {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid var(--amber-mid);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  margin-bottom: 2rem;
}

.roadtrip-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.roadtrip-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.roadtrip-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.roadtrip-pill {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  transition: border-color 0.2s;
}

.roadtrip-pill:hover { border-color: rgba(255,255,255,0.2); }

.roadtrip-placeholder {
  width: 100%;
  height: 180px;
  background: var(--surface);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.roadtrip-placeholder span { font-size: 2.5rem; opacity: 0.3; }

/* ── TODOS ───────────────────────────────────────── */
#todos { border-top: 1px solid var(--border); }

.todos-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 680px;
}

.todo-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  transition: border-color 0.2s;
  cursor: pointer;
  user-select: none;
}

.todo-item:hover { border-color: rgba(255,255,255,0.12); }
.todo-item.done { opacity: 0.4; }
.todo-item.done .todo-text { text-decoration: line-through; }

.todo-check {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.todo-item.done .todo-check {
  background: var(--green);
  border-color: var(--green);
  color: #050b14;
}

.todo-body { flex: 1; }

.todo-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.todo-hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.todo-prio-high  .todo-check { border-color: rgba(239,68,68,0.4); }
.todo-prio-high .todo-text::after {
  content: ' ⚡';
  color: #ef4444;
  font-size: 0.75rem;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

footer a { color: var(--green); text-decoration: none; }

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .tours-grid { grid-template-columns: 1fr; }
  .timeline-track {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .timeline-track::before { display: none; }
  .timeline-item { flex-direction: row; align-items: center; text-align: left; gap: 1rem; }
  .timeline-dot { flex-shrink: 0; margin-bottom: 0; }
  .card-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .hero-title { font-size: 3rem; }
  .card-stats { grid-template-columns: repeat(2, 1fr); }
  .card-actions { flex-direction: column; }
  .section-inner { padding: 4rem 1.25rem; }
}
