/* =========================================================================
   Öffentliche Startseite (#auth-screen.landing) – „Laternenlicht über der
   Sturmsee“: kaltes Nachtmeer, warmes Laternen-/Mündungslicht als einzige
   Wärmequelle. Cinzel (Spiel-Logo) für Titel, Crimson Pro für Text.
   Alles ist auf #auth-screen.landing begrenzt, der Hafen bleibt unberührt.
   ========================================================================= */
@font-face { font-family: 'Crimson Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/crimson-pro-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Crimson Pro'; font-style: italic; font-weight: 400; font-display: swap; src: url('assets/fonts/crimson-pro-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Crimson Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/crimson-pro-latin-600-normal.woff2') format('woff2'); }

#auth-screen.landing {
  --abyss: #061019;
  --tide: #0c1f2b;
  --storm: #263844;
  --brass: #b8893f;
  --lantern: #f0b85a;
  --bone: #ebe1cc;
  --spray: #93b3b6;
  --serif: 'Crimson Pro', Georgia, serif;
  --title: 'Cinzel', 'Crimson Pro', Georgia, serif;
  display: block;
  position: fixed;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  background: var(--abyss);
  color: var(--bone);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
}
#auth-screen.landing *, #auth-screen.landing *::before, #auth-screen.landing *::after { box-sizing: border-box; }
#auth-screen.landing h1, #auth-screen.landing h2, #auth-screen.landing h3, #auth-screen.landing p, #auth-screen.landing ol, #auth-screen.landing figure, #auth-screen.landing dl, #auth-screen.landing dd { margin: 0; padding: 0; }
#auth-screen.landing a { color: inherit; }
#auth-screen.landing :focus-visible { outline: 2px solid var(--lantern); outline-offset: 3px; border-radius: 4px; }

/* ---------- Navigation ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(6,16,25,0.85), rgba(6,16,25,0));
  transition: background-color .3s, box-shadow .3s;
}
.lp-nav.is-scrolled {
  background: rgba(6,16,25,0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(184,137,63,0.25);
}
.lp-wordmark { font-family: var(--title); font-weight: 700; font-size: 21px; letter-spacing: 0.06em; color: var(--lantern); text-decoration: none; white-space: nowrap; }
.lp-nav-links { display: flex; gap: 22px; margin-left: 12px; }
.lp-nav-links a { text-decoration: none; color: var(--spray); font-size: 17px; }
.lp-nav-links a:hover { color: var(--bone); }
.lp-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lp-lang { display: flex; border: 1px solid rgba(147,179,182,0.35); border-radius: 999px; overflow: hidden; }
.lp-lang .lang-btn { background: none; border: 0; color: var(--spray); font: 600 13px var(--serif); padding: 4px 10px; cursor: pointer; letter-spacing: 0.04em; }
.lp-lang .lang-btn.active { background: rgba(240,184,90,0.18); color: var(--lantern); }

/* ---------- Buttons ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 4px; font: 600 18px var(--serif); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.lp-btn-main { border: 0; color: #1c1208; background: var(--lantern); box-shadow: 0 0 0 1px rgba(255,220,150,0.6) inset, 0 10px 34px rgba(240,160,60,0.35); }
.lp-btn-main:hover { background: #ffd07a; box-shadow: 0 0 0 1px rgba(255,230,170,0.8) inset, 0 12px 44px rgba(240,160,60,0.5); }
.lp-btn-ghost { border: 1px solid rgba(235,225,204,0.35); color: var(--bone); background: rgba(6,16,25,0.35); }
.lp-btn-ghost:hover { border-color: var(--lantern); color: var(--lantern); }
.lp-nav .lp-btn { min-height: 38px; padding: 0 16px; font-size: 16px; }

/* ---------- Hero ---------- */
.lp-hero { position: relative; min-height: max(640px, 100svh); margin-top: -70px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.lp-hero-art, .lp-hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-hero-art img { object-fit: cover; object-position: 70% 50%; z-index: -2; }
.lp-hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,16,25,0.88) 0%, rgba(6,16,25,0.55) 34%, rgba(6,16,25,0) 62%),
    linear-gradient(0deg, var(--abyss) 0%, rgba(6,16,25,0) 32%); }
.lp-hero-copy { width: min(560px, 100%); padding: 0 clamp(16px, 5vw, 72px) clamp(56px, 11vh, 120px); }
.lp-hero h1 { font-family: var(--title); font-weight: 700; font-size: clamp(52px, 8.2vw, 116px); line-height: 0.92; letter-spacing: 0.01em; color: #f6e7c8;
  text-shadow: 0 0 60px rgba(240,170,70,0.35), 0 3px 2px rgba(0,0,0,0.6); }
.lp-lede { margin-top: 22px !important; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; max-width: 30em; color: var(--bone); text-wrap: pretty; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-fineprint { margin-top: 14px !important; font-size: 16px; color: var(--spray); font-style: italic; }
.lp-live { display: inline-block; margin-bottom: 22px !important; padding: 6px 14px 6px 12px; border-left: 3px solid var(--lantern); background: rgba(240,184,90,0.12); color: var(--lantern); font-size: 17px; }
.lp-live.hidden { display: none; }

/* Einziger inszenierter Moment: das Bild glimmt aus der Dunkelheit auf,
   der Titel kommt mit dem Laternenlicht */
@media (prefers-reduced-motion: no-preference) {
  .lp-hero-art img { animation: lp-dawn 2.4s ease-out both; }
  .lp-hero h1 { animation: lp-glow 2.4s ease-out both; }
  .lp-hero .lp-lede, .lp-hero .lp-cta-row, .lp-hero .lp-fineprint { animation: lp-fade 1.2s 1.1s ease-out both; }
}
@keyframes lp-dawn { from { filter: brightness(0.15) saturate(0.6); transform: scale(1.04); } to { filter: none; transform: none; } }
@keyframes lp-glow { from { opacity: 0; text-shadow: 0 0 0 rgba(240,170,70,0); letter-spacing: 0.06em; } to { opacity: 1; } }
@keyframes lp-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Abschnitte ---------- */
.lp-section-head { width: min(720px, 100%); margin: 0 auto 44px; text-align: center; padding: 0 16px; }
.lp-section-head h2, .lp-fleet-copy h2, .lp-final h2 { font-family: var(--title); font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; color: #f3e4c4; }
.lp-section-head p { margin-top: 14px !important; color: var(--spray); font-size: 20px; }
.lp-seas, .lp-life, .lp-events, .lp-news { padding: clamp(72px, 10vw, 128px) clamp(16px, 4vw, 48px) 0; }

/* Fünf Stufen = echte Reihenfolge: nummerierte Etappen einer Reise */
.lp-voyage { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; max-width: 1400px; margin: 0 auto; border-top: 1px solid rgba(184,137,63,0.45); }
.lp-voyage li { position: relative; padding-top: 26px; }
.lp-voyage li::before { content: ''; position: absolute; top: -6px; left: 50%; width: 11px; height: 11px; margin-left: -6px; border-radius: 50%; background: var(--abyss); border: 2px solid var(--brass); }
.lp-voyage li:last-child::before { background: var(--lantern); border-color: var(--lantern); box-shadow: 0 0 16px var(--lantern); }
.lp-voyage img { display: block; width: 100%; aspect-ratio: 640 / 820; object-fit: cover; }
.lp-voyage li > div { padding: 18px 18px 0 0; }
.lp-stage { display: block; font-size: 15px; color: var(--brass); font-style: italic; }
.lp-voyage strong { display: block; font-family: var(--title); font-weight: 600; font-size: 22px; line-height: 1.15; color: var(--bone); margin-top: 2px; }
.lp-voyage em { display: block; color: var(--lantern); font-size: 16px; margin-top: 4px; font-style: normal; }
.lp-voyage p { margin-top: 8px !important; font-size: 17px; color: var(--spray); line-height: 1.45; }

/* Flotte: Schieberegler E1–E15 */
.lp-fleet { display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.2fr; gap: clamp(24px, 4vw, 64px); align-items: center; max-width: 1300px; margin: clamp(72px, 10vw, 128px) auto 0; padding: 0 clamp(16px, 4vw, 48px); }
.lp-fleet-copy p { margin-top: 16px !important; color: var(--spray); font-size: 20px; }
.lp-fleet-label { display: flex; align-items: baseline; justify-content: space-between; margin-top: 34px; font-size: 17px; color: var(--spray); }
.lp-fleet-label output { font-family: var(--title); font-weight: 700; font-size: 34px; color: var(--lantern); }
#lp-tier { width: 100%; margin-top: 8px; accent-color: var(--lantern); height: 28px; cursor: pointer; }
.lp-fleet-stats { display: flex; gap: 40px; margin-top: 20px !important; }
.lp-fleet-stats dt { font-size: 15px; color: var(--spray); font-style: italic; }
.lp-fleet-stats dd { font-size: 28px; font-weight: 600; color: var(--bone); font-variant-numeric: tabular-nums; }
.lp-fleet-stage { position: relative; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(240,184,90,0.16), rgba(240,184,90,0) 70%); }
.lp-fleet-stage img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; filter: drop-shadow(0 40px 40px rgba(0,0,0,0.6)); }
.lp-fleet-stage img.swap { opacity: 0.2; }

/* Mosaik: ein großes Bild, drei kleine */
.lp-mosaic { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; max-width: 1400px; margin: 0 auto; }
.lp-tile { position: relative; overflow: hidden; background: var(--tide); min-height: 260px; }
.lp-tile-wide { grid-row: span 2; }
.lp-tile:nth-child(4) { grid-column: span 2; }
.lp-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; background: linear-gradient(0deg, rgba(6,16,25,0.95) 10%, rgba(6,16,25,0)); }
.lp-tile figcaption strong { display: block; font-family: var(--title); font-weight: 600; font-size: 22px; color: var(--bone); }
.lp-tile figcaption span { display: block; margin-top: 6px; font-size: 17px; line-height: 1.45; color: var(--spray); max-width: 34em; }

/* Jahreslauf der Events */
.lp-year { max-width: 1300px; margin: 0 auto; }
.lp-months { display: grid; grid-template-columns: repeat(12, 1fr); border-bottom: 1px solid rgba(147,179,182,0.25); font-size: 15px; color: var(--spray); }
.lp-months span { padding: 0 0 8px 6px; border-left: 1px solid rgba(147,179,182,0.18); }
.lp-ev { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(147,179,182,0.12); }
.lp-ev-art { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.6)); }
.lp-ev-body strong { font-family: var(--title); font-weight: 600; font-size: 21px; color: var(--bone); }
.lp-ev-body span { display: block; color: var(--spray); font-size: 16px; }
.lp-ev-track { position: relative; height: 6px; margin-top: 10px; background: rgba(147,179,182,0.08); }
.lp-ev-track i { position: absolute; top: 0; bottom: 0; background: var(--brass); border-radius: 3px; }
.lp-ev.live .lp-ev-track i { background: var(--lantern); box-shadow: 0 0 12px rgba(240,184,90,0.7); }
.lp-ev.live strong::after { content: attr(data-live); margin-left: 12px; font: italic 600 15px var(--serif); color: var(--lantern); vertical-align: middle; }

/* News */
.lp-news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 1300px; margin: 0 auto; }
.lp-news-list article { border-top: 2px solid var(--brass); padding-top: 14px; }
.lp-news-list time { font-size: 15px; color: var(--brass); font-style: italic; }
.lp-news-list h3 { font-family: var(--title); font-weight: 600; font-size: 21px; line-height: 1.2; color: var(--bone); margin-top: 4px; }
.lp-news-list p { margin-top: 8px !important; font-size: 17px; color: var(--spray); }

/* Abschluss + Fußzeile */
.lp-final { text-align: center; padding: clamp(96px, 12vw, 160px) 16px clamp(72px, 9vw, 120px); background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(240,184,90,0.16), rgba(240,184,90,0) 70%); }
.lp-final p { margin-top: 14px !important; color: var(--spray); font-size: 20px; }
.lp-cta-center { justify-content: center; }
.lp-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 26px clamp(16px, 4vw, 48px) 34px; border-top: 1px solid rgba(147,179,182,0.15); font-size: 15px; color: var(--spray); }
.lp-wordmark-small { font-size: 16px; }
.lp-footer .legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-size: 15px; }
.lp-footer .legal-links a { color: var(--spray); text-decoration: none; opacity: 1; }
.lp-footer .legal-links a:hover { color: var(--lantern); text-decoration: underline; }

/* ---------- Login-Dialog ---------- */
.lp-dialog { padding: 0; border: 0; background: transparent; color: inherit; max-width: 100vw; }
.lp-dialog::backdrop { background: rgba(3,8,13,0.72); backdrop-filter: blur(4px); }
.lp-dialog .auth-card { position: relative; width: min(400px, calc(100vw - 32px)); background: linear-gradient(180deg, #102633, #0a1822); border: 1px solid rgba(184,137,63,0.55); border-radius: 6px; padding: 34px 28px 26px; box-shadow: 0 40px 90px rgba(0,0,0,0.7); text-align: center; font-family: var(--serif); }
.lp-dialog-title { font-family: var(--title); font-weight: 700; font-size: 26px; color: var(--lantern); margin: 0 0 18px; }
.lp-dialog-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; background: none; color: var(--spray); font-size: 18px; cursor: pointer; border-radius: 4px; }
.lp-dialog-close:hover { color: var(--bone); background: rgba(255,255,255,0.06); }
.lp-dialog .tabs { background: rgba(0,0,0,0.3); border-radius: 4px; }
.lp-dialog .tab { font: 600 17px var(--serif); border-radius: 3px; }
.lp-dialog .tab.active { background: var(--lantern); color: #1c1208; }
.lp-dialog .auth-form input { font: 17px var(--serif); background: rgba(3,10,16,0.6); color: var(--bone); border: 1px solid rgba(147,179,182,0.35); border-radius: 4px; }
.lp-dialog .auth-form input:focus { border-color: var(--lantern); box-shadow: 0 0 0 3px rgba(240,184,90,0.18); }
.lp-dialog .btn-primary { font: 600 18px var(--serif); background: var(--lantern); color: #1c1208; border-radius: 4px; }
.lp-dialog .auth-link, .lp-dialog .auth-hint, .lp-dialog .auth-check { font-family: var(--serif); font-size: 15px; }
.lp-dialog .auth-check { color: var(--spray); }
.lp-dialog .auth-message { font-size: 15px; }

/* ---------- Registrierungs-Captcha ---------- */
.auth-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.captcha-box {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; margin: 0;
  background: rgba(3,10,16,0.6); border: 1px solid rgba(147,179,182,0.35); border-radius: 4px;
  color: var(--bone); font: 16px var(--serif); text-align: left; cursor: pointer;
}
.captcha-box:hover { border-color: rgba(240,184,90,0.6); }
.captcha-box:focus-visible { outline: none; border-color: var(--lantern); box-shadow: 0 0 0 3px rgba(240,184,90,0.18); }
.captcha-mark { flex: none; width: 34px; height: 34px; border: 1.5px solid var(--brass); border-radius: 4px; display: grid; place-items: center; background: rgba(0,0,0,0.25); }
.captcha-mark svg { width: 30px; height: 30px; transform: rotate(-90deg); }
.captcha-ring { fill: none; stroke: var(--lantern); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 94.25; opacity: 0; transition: stroke-dashoffset .2s linear; }
.captcha-tick { fill: none; stroke: var(--lantern); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transform: rotate(90deg); transform-origin: 18px 18px; }
.captcha-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.captcha-text small { color: var(--spray); font-size: 13px; }
.captcha-box.is-working { cursor: progress; }
.captcha-box.is-working .captcha-ring { opacity: 1; }
.captcha-box.is-done { border-color: rgba(240,184,90,0.7); cursor: default; }
.captcha-box.is-done .captcha-mark { border-color: var(--lantern); background: rgba(240,184,90,0.12); }
.captcha-box.is-done .captcha-tick { stroke-dashoffset: 0; transition: stroke-dashoffset .35s ease-out; }
.captcha-box.is-error { border-color: #c96a58; }
.captcha-box.is-error small { color: #e7a090; }
@media (prefers-reduced-motion: reduce) { .captcha-ring, .captcha-box.is-done .captcha-tick { transition: none; } }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 1000px) {
  .lp-voyage { grid-template-columns: repeat(5, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .lp-voyage li { scroll-snap-align: start; padding-right: 14px; }
  .lp-mosaic { grid-template-columns: 1fr 1fr; }
  .lp-tile-wide { grid-column: span 2; grid-row: auto; min-height: 340px; }
  .lp-tile:nth-child(4) { grid-column: span 2; }
  .lp-news-list { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 700px) {
  #auth-screen.landing { font-size: 18px; }
  .lp-nav { gap: 12px; }
  .lp-nav-links { display: none; }
  .lp-wordmark { font-size: 18px; }
  .lp-hero { min-height: 100svh; align-items: flex-end; }
  .lp-hero-art img { object-position: 64% 30%; }
  .lp-hero::before { background: linear-gradient(0deg, var(--abyss) 8%, rgba(6,16,25,0.75) 44%, rgba(6,16,25,0.1) 72%); }
  .lp-hero-copy { padding-bottom: 44px; }
  .lp-cta-row .lp-btn { flex: 1 1 100%; }
  .lp-voyage { grid-template-columns: repeat(5, 78%); }
  .lp-fleet { grid-template-columns: 1fr; }
  .lp-fleet-stage { order: -1; }
  .lp-mosaic { grid-template-columns: 1fr; }
  .lp-tile-wide, .lp-tile:nth-child(4) { grid-column: auto; }
  .lp-tile { min-height: 300px; }
  .lp-months span:nth-child(even) { color: transparent; }
  .lp-ev { grid-template-columns: 56px 1fr; }
  .lp-ev-art { width: 56px; height: 56px; }
}
