/* ── WAVES ── */
.wave-divider { width: 100%; overflow: hidden; line-height: 0; margin: -1px 0; }
.wave-divider svg { display: block; width: 100%; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 40px;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
}
.hero-right {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; z-index: 5; flex-shrink: 0;
  width: min(600px, 48vw);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(42,111,168,0.25) 0%, transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, #0a1828 100%);
}
.hero-water {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(180deg, transparent 0%, rgba(42,111,168,0.18) 100%);
}
.hero-dots {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(90,180,224,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(90,180,224,0.12);
  border: 1px solid rgba(90,180,224,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--sky);
  margin-bottom: 24px;
  animation: fadeUp .6s ease both;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sky);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 12vw, 10rem);
  margin-top: 24px;
  line-height: .9;
  letter-spacing: 4px;
  animation: fadeUp .7s .1s ease both;
}
h1 span { color: var(--sky); }

.hero-sub {
  margin-top: 24px;
  font-size: 1.1rem; font-weight: 300;
  color: rgba(240,244,255,0.7);
  max-width: 480px; line-height: 1.6;
  animation: fadeUp .7s .2s ease both;
}
.hero-route {
  margin-top: 32px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; font-weight: 500; letter-spacing: .5px;
  animation: fadeUp .7s .3s ease both;
}
.hero-route .stop {
  background: var(--soft);
  border: 1px solid rgba(90,180,224,0.25);
  border-radius: 8px;
  padding: 8px 10px;
}
.hero-route .arrow { color: var(--sky); font-size: 1.2rem; }

.hero-cta {
  margin-top: 44px;
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeUp .7s .4s ease both;
}
.btn-primary {
  background: var(--sky); color: var(--navy);
  border: none; padding: 14px 32px; border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(90,180,224,0.3);
}
.btn-primary:hover { background: var(--sky-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(90,180,224,0.4); }
.btn-secondary {
  background: transparent; color: var(--white);
  border: 1px solid rgba(240,244,255,0.25); padding: 14px 32px; border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: var(--sky); background: rgba(90,180,224,0.08); }

.hero-ship {
  position: relative; right: auto; bottom: auto;
  width: 100%; max-width: 600px;
  opacity: 0.95; pointer-events: none;
  filter: drop-shadow(0 8px 40px rgba(90,180,224,0.25));
  margin: 0 auto;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── STATS ── */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(90,180,224,0.12);
  border-bottom: 1px solid rgba(90,180,224,0.12);
  padding: 32px 60px;
  display: flex; justify-content: center; gap: 80px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: var(--sky); line-height: 1; }
.stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(240,244,255,0.5); margin-top: 4px; }

/* ── SECTION COMMONS ── */
section { padding: 100px 60px; }
.section-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--sky); margin-bottom: 12px; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: 2px; line-height: 1; margin-bottom: 20px; }
.section-body { font-size: 1rem; font-weight: 300; color: rgba(240,244,255,0.65); line-height: 1.7; max-width: 580px; }

/* ── FAHRPLAN ── */
#fahrplan { background: var(--navy-mid); }
.schedule-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 48px; }
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .schedule-grid { grid-template-columns: 1fr; } }
.schedule-card { background: var(--navy-light); border: 1px solid rgba(90,180,224,0.15); border-radius: 16px; overflow: hidden; }
.schedule-card-header {
  background: rgba(90,180,224,0.1);
  border-bottom: 1px solid rgba(90,180,224,0.15);
  padding: 16px 24px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--sky);
}
.schedule-card-header .icon { font-size: 1.1rem; }
.schedule-rows { padding: 8px 0; }
.schedule-row {
  display: flex; align-items: center;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(90,180,224,0.06);
  transition: background .15s;
}
.schedule-row:last-child { border-bottom: none; }
.schedule-row:hover { background: rgba(90,180,224,0.05); }
.schedule-row.break-row {
  background: rgba(90,180,224,0.06);
  justify-content: center;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--sky);
  padding: 10px 24px;
}
.time-depart { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 1px; color: var(--white); min-width: 90px; }
.time-arrow { color: rgba(90,180,224,0.4); margin: 0 12px; font-size: 1rem; }
.time-arrive { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 1px; color: var(--sky); }
.time-duration { margin-left: auto; font-size: 0.75rem; color: rgba(240,244,255,0.35); font-weight: 300; }

/* ── BETRIEBSZEITEN ── */
#betrieb { background: var(--navy); }
.seasons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 48px; }
.season-card {
  background: var(--navy-light);
  border: 1px solid rgba(90,180,224,0.12);
  border-radius: 14px; padding: 24px;
  transition: border-color .2s, transform .2s;
  position: relative; overflow: hidden;
}
.season-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--sky);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.season-card:hover { border-color: rgba(90,180,224,0.35); transform: translateY(-4px); }
.season-card:hover::before { transform: scaleX(1); }
.season-month { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 2px; color: var(--white); margin-bottom: 8px; }
.season-times { font-size: 0.88rem; color: var(--sky); font-weight: 500; line-height: 1.6; }
.season-detail { font-size: 0.8rem; color: rgba(240,244,255,0.45); margin-top: 6px; line-height: 1.5; }

/* ── ROUTE ── */
#route { background: var(--navy-mid); }
.route-visual { margin-top: 48px; position: relative; display: flex; align-items: center; justify-content: center; gap: 0; }
.route-stop { display: flex; flex-direction: column; align-items: center; z-index: 2; }
.stop-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy-light); border: 2px solid var(--sky);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 12px;
  box-shadow: 0 0 24px rgba(90,180,224,0.2);
}
.stop-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 1px; text-align: center; max-width: 120px; }
.stop-sub { font-size: 0.75rem; color: rgba(240,244,255,0.45); text-align: center; margin-top: 4px; }
.route-line {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, rgba(90,180,224,0.4), rgba(90,180,224,0.8), rgba(90,180,224,0.4));
  position: relative; margin: 0 -8px; top: -28px;
}
.route-duration {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) translateY(12px);
  font-size: 0.72rem; color: rgba(240,244,255,0.4);
  white-space: nowrap; background: var(--navy-mid);
  padding: 2px 8px; letter-spacing: 1px;
}
.route-info { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 700px) { .route-info { grid-template-columns: 1fr; } }
.info-card { background: var(--navy-light); border: 1px solid rgba(90,180,224,0.12); border-radius: 14px; padding: 24px; }
.info-card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.info-card-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; }
.info-card-text { font-size: 0.85rem; color: rgba(240,244,255,0.55); line-height: 1.6; }

/* ── TICKETS ── */
#tickets { background: var(--navy); }
.tickets-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; align-items: start; }
@media (max-width: 900px) { .tickets-layout { grid-template-columns: 1fr; } }

.buy-card {
  background: linear-gradient(135deg, rgba(90,180,224,0.15) 0%, rgba(42,111,168,0.1) 100%);
  border: 1px solid var(--sky);
  border-radius: 20px; padding: 32px; position: relative;
}
.buy-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--sky); color: var(--navy);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 4px 16px; border-radius: 100px; white-space: nowrap;
}
.buy-title { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 2px; margin-bottom: 6px; }
.buy-desc { font-size: 0.85rem; color: rgba(240,244,255,0.55); line-height: 1.6; margin-bottom: 24px; }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(240,244,255,0.5); margin-bottom: 7px; }
.form-select, .form-input {
  width: 100%; background: rgba(15,30,60,0.6);
  border: 1px solid rgba(90,180,224,0.25); border-radius: 10px;
  padding: 12px 14px; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  outline: none; transition: border-color .2s; appearance: none;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235ab4e0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form-select:focus, .form-input:focus { border-color: var(--sky); }
.form-select option { background: #162444; }
.form-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.qty-input { width: 80px; text-align: center; }

.btn-buy {
  width: 100%; background: var(--sky); color: var(--navy);
  border: none; padding: 14px; border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700;
  cursor: pointer; margin-top: 8px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(90,180,224,0.3);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-buy:hover:not(:disabled) { background: var(--sky-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(90,180,224,0.4); }
.btn-buy:disabled { opacity: 0.5; cursor: default; transform: none; }

/* ── SHOP CLOSED OVERLAY ── */
.shop-closed-overlay {
  position: absolute; inset: 0; z-index: 10;
  border-radius: 20px;
  background: rgba(10,20,40,0.82);
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 32px;
}
.shop-closed-overlay .sco-icon { font-size: 2.8rem; color: #f87171; line-height: 1; }
.shop-closed-overlay .sco-title { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; letter-spacing: 3px; color: var(--white); line-height: 1; }
.shop-closed-overlay .sco-msg { font-size: 0.9rem; color: rgba(240,244,255,0.65); line-height: 1.55; max-width: 320px; }

/* ── WARENKORB ── */
.cart-header { display: grid; grid-template-columns: 1fr 80px 34px; gap: 8px; margin-bottom: 7px; }
.cart-row { display: grid; grid-template-columns: 1fr 80px 34px; gap: 8px; align-items: center; margin-bottom: 8px; }
.cart-row:last-child { margin-bottom: 0; }
.btn-add-row {
  width: 100%; background: transparent; color: var(--sky);
  border: 1px dashed rgba(90,180,224,0.35); border-radius: 10px;
  padding: 10px 14px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; margin-top: 6px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: border-color .2s, background .2s;
}
.btn-add-row:hover { border-color: var(--sky); background: rgba(90,180,224,0.06); }
.btn-remove-row {
  background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.25);
  color: #f87171; border-radius: 8px; width: 34px; height: 42px;
  cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.btn-remove-row:hover { background: rgba(248,113,113,0.2); }
#buyError { font-size: 0.8rem; color: #f87171; margin-top: 10px; min-height: 18px; text-align: center; }
#buyTotal { text-align: center; font-size: 0.8rem; color: rgba(240,244,255,0.4); margin-top: 10px; }
#buyTotal strong { color: var(--sky); font-size: 1rem; }

/* ── PREISLISTE ── */
.pricing-list { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(90,180,224,0.15); }
.pricing-list-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 2px; margin-bottom: 20px; }
.pricing-item {
  display: flex; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem; color: var(--white);
}
.pricing-item:last-child { border-bottom: none; padding-bottom: 0; }
.pricing-item:first-child { padding-top: 0; }
.pricing-item span:last-child { font-weight: 700; color: var(--sky); }

/* ── VOR-ORT-INFO ── */
.local-card { background: var(--navy-light); border: 1px solid rgba(90,180,224,0.12); border-radius: 20px; padding: 32px; }
.local-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 2px; margin-bottom: 8px; }
.local-desc { font-size: 0.85rem; color: rgba(240,244,255,0.55); line-height: 1.6; margin-bottom: 20px; }
.local-note { font-size: 0.82rem; color: rgba(240,244,255,0.4); line-height: 1.8; }
.local-note strong { color: var(--sky); display: block; margin-top: 8px; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── LIVE DEPARTURE CARD ── */
.live-card {
  margin-top: 36px;
  background: rgba(15,30,60,0.7);
  border: 1px solid rgba(90,180,224,0.3);
  border-radius: 16px; padding: 24px 32px;
  width: 100%; max-width: 600px;
  backdrop-filter: blur(12px);
  animation: fadeUp .7s .5s ease both;
  position: relative; z-index: 2;
}
.live-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.live-dot.running { background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: pulse 2s infinite; }
.live-dot.stopped { background: #f87171; }
.live-dot.pause   { background: #facc15; }
.live-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(240,244,255,0.6); }
.live-date { margin-left: auto; font-size: 0.78rem; color: rgba(240,244,255,0.35); }
.live-next-time { font-family: 'Bebas Neue', sans-serif; font-size: 3.8rem; line-height: 1; letter-spacing: 2px; color: var(--white); }
.live-next-sub { font-size: 0.82rem; color: rgba(240,244,255,0.5); margin-top: 2px; margin-bottom: 14px; }
.live-next-sub strong { color: var(--sky); }
.live-stopped-msg { font-size: 1rem; color: rgba(240,244,255,0.7); line-height: 1.5; }
.live-upcoming-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.live-chip {
  background: rgba(90,180,224,0.1);
  border: 1px solid rgba(90,180,224,0.2);
  border-radius: 100px; padding: 4px 14px;
  font-family: 'Bebas Neue', sans-serif; font-size: 0.95rem;
  color: rgba(240,244,255,0.6); letter-spacing: 1px;
}
.live-chip.next { border-color: var(--sky); color: var(--sky); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  #hero { padding: 100px 24px 60px; min-height: auto; flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-right { width: 100%; align-items: flex-start; max-width: 100%; margin-top: -12px; }
  h1 { font-size: clamp(3rem, 12vw, 5rem); letter-spacing: 2px; }
  .hero-sub { font-size: 1rem; }
  .hero-route { flex-wrap: wrap; margin-top: 24px; gap: 8px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-ship { display: none; }
  .live-card { max-width: 100%; padding: 16px; }
  .live-next-time { font-size: 3rem; }
  section { padding: 60px 24px; }
  .stats-bar { padding: 24px; gap: 40px; }
}
