/* ==========================================================
   Weihnachtsfeier auf dem Schiff – Stylesheet
   ========================================================== */

/* Schriften lokal gehostet (Dateien in /fonts ablegen, siehe fonts/LIESMICH.txt) */
@font-face {
  font-family: "Yeseva One";
  src: url("../fonts/yeseva-one-v22-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-v9-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-v9-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-v9-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0A1A2C;
  --navy: #0D1F33;
  --ice: #EAF2F9;
  --frost: #B9D3E8;
  --frost-2: #C6DAEA;
  --text-dark: #2F4A66;
  --muted: #3D5670;
  --gold: #F2B544;
  --red: #B3202D;
  --red-dark: #9A1A26;
  --display: "Yeseva One", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ice); background: var(--navy); overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--gold); }
a:hover { color: #FFD27A; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }

.container { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.display { font-family: var(--display); font-weight: 400; }
.section-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(31px, 5vw, 62px); line-height: 1.05; }
.lead { font-size: 19px; line-height: 1.65; }

.light-section { background: var(--ice); color: var(--navy); }
.light-section .lead { color: var(--text-dark); }
.dark-section { background: var(--navy); color: var(--ice); }
.dark-section .section-title { color: #F6FAFD; }
.dark-section .lead { color: var(--frost-2); }

.drift { display: block; width: 100%; height: 70px; }

/* ---------- Schneefall ---------- */
.snow-layer { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 50; }
.flake { position: absolute; top: 0; border-radius: 50%; background: #fff; animation: fall linear infinite; will-change: transform; }
.crystal { position: absolute; top: 0; animation: fallspin linear infinite; }
@keyframes fall { from { transform: translate3d(0, -12vh, 0); } to { transform: translate3d(var(--drift), 112vh, 0); } }
@keyframes fallspin { from { transform: translate3d(0, -12vh, 0) rotate(0deg); } to { transform: translate3d(var(--drift), 112vh, 0) rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes glow { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.light { animation: twinkle 1.8s ease-in-out infinite; }
.window-glow { animation: glow 3s ease-in-out infinite; }

/* ---------- Schnee auf Buttons ---------- */
.snowy { position: relative; isolation: isolate; }
.snowy::before {
  content: ""; position: absolute; left: -5px; right: -5px; top: -13px; height: 22px; pointer-events: none; z-index: 2;
  background:
    radial-gradient(circle at 12% 78%, #fff 0 8px, transparent 9px),
    radial-gradient(circle at 32% 70%, #fff 0 11px, transparent 12px),
    radial-gradient(circle at 55% 80%, #fff 0 9px, transparent 10px),
    radial-gradient(circle at 74% 68%, #fff 0 12px, transparent 13px),
    radial-gradient(circle at 92% 82%, #fff 0 8px, transparent 9px),
    linear-gradient(#fff, #fff) bottom / 100% 9px no-repeat;
  filter: drop-shadow(0 2px 0 #C9DCEC);
}
.snowy::after {
  content: ""; position: absolute; left: 10%; right: 10%; top: 7px; height: 11px; pointer-events: none; z-index: 1;
  background: rgba(240, 248, 255, .92);
  clip-path: polygon(0 0,100% 0,98% 0,96% 80%,93% 0,78% 0,75% 100%,72% 0,55% 0,53% 60%,51% 0,34% 0,31% 90%,28% 0,12% 0,10% 55%,8% 0);
}
.snowy-s::before {
  top: -9px; height: 15px; left: -3px; right: -3px;
  background:
    radial-gradient(circle at 15% 80%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at 45% 70%, #fff 0 7px, transparent 8px),
    radial-gradient(circle at 78% 78%, #fff 0 6px, transparent 7px),
    linear-gradient(#fff, #fff) bottom / 100% 6px no-repeat;
}
.snowy-s::after { top: 4px; height: 7px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 30px;
  border-radius: 14px; font: 700 17px/1.2 var(--body); text-decoration: none; cursor: pointer; border: 0; text-align: center;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(179, 32, 45, .8); }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ice { background: rgba(234, 242, 249, .12); color: var(--ice); border: 1.5px solid rgba(234, 242, 249, .5); }
.btn-ice:hover { background: rgba(234, 242, 249, .22); color: #fff; }
.btn-navy { background: var(--navy); color: var(--ice); }
.btn-navy:hover { background: #1B3552; color: #fff; }

/* ---------- Header & Navigation ---------- */
.site-header { position: relative; background: var(--night); background-image: radial-gradient(ellipse at 85% 10%, #1E3E62 0%, var(--night) 55%); }
.topbar { position: relative; z-index: 5; max-width: 1280px; margin: 0 auto; padding: 22px 24px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px 24px; }
.phone { color: #D3E3F0; text-decoration: none; font-size: 15px; display: flex; align-items: center; gap: 8px; min-height: 44px; }
.phone:hover { color: #fff; }
.main-nav { position: relative; z-index: 5; max-width: 1280px; margin: 0 auto; padding: 22px 24px 0; display: flex; flex-wrap: wrap; gap: 18px 10px; justify-content: center; }
.navlink {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px;
  background: rgba(234, 242, 249, .1); color: var(--ice); text-decoration: none; font: 500 15px var(--body);
  border: 1px solid rgba(234, 242, 249, .25);
}
.navlink:hover { background: rgba(234, 242, 249, .2); color: #fff; }
.navlink-cta { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }
.navlink-cta:hover { background: var(--red-dark); }

.hero { position: relative; z-index: 4; max-width: 1000px; margin: 0 auto; padding: 64px 24px 0; text-align: center; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(38px, 7.6vw, 112px); line-height: 1; letter-spacing: -0.01em; color: #F6FAFD; text-shadow: 0 0 40px rgba(185, 211, 232, .35); }
.hero p { margin: 26px auto 0; max-width: 640px; font-size: 20px; line-height: 1.55; color: #D3E3F0; }
.btn-row { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 26px 18px; justify-content: center; }
.harbour { display: block; width: 100%; height: clamp(360px, 46vw, 680px); margin-top: -40px; }

/* ---------- Schiffe ---------- */
.intro-row { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-end; }
.intro-row > * { flex: 1 1 400px; margin: 0; }
.ships { margin-top: 52px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.ship { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -32px rgba(13, 31, 51, .45); }
.ship img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.ship-body { padding: 28px 32px 32px; }
.ship-size { margin: 0; font-family: var(--display); font-size: 44px; color: var(--red); line-height: 1; }
.ship-unit { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.ship h3 { margin: 22px 0 0; font-size: 22px; }
.ship p.desc { margin: 8px 0 0; font-size: 17px; line-height: 1.55; color: var(--text-dark); }
.center { text-align: center; }

/* ---------- Partyboot ---------- */
.split { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.split > * { flex: 1 1 380px; min-width: 0; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { padding: 20px 0; border-top: 1px solid rgba(185, 211, 232, .3); }
.feature-list li:last-child { border-bottom: 1px solid rgba(185, 211, 232, .3); }
.feature-list h3 { margin: 0; font-size: 20px; color: #F6FAFD; }
.feature-list p { margin: 6px 0 0; font-size: 17px; line-height: 1.55; color: var(--frost); }

/* ---------- Ablauf ---------- */
.steps { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 36px 32px; }
.step-no { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--display); font-size: 24px; }
.steps h3 { margin: 18px 0 0; font-size: 21px; }
.steps p { margin: 8px 0 0; font-size: 17px; line-height: 1.55; color: var(--text-dark); }

/* ---------- Hafen ---------- */
.chips { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(185, 211, 232, .4); font-size: 16px; color: var(--ice); }

/* ---------- Extras ---------- */
.extras-card { margin-top: 48px; background: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 60px); box-shadow: 0 30px 60px -30px rgba(13, 31, 51, .35); }
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 44px 56px; }
.extras h3 { margin: 14px 0 0; font-family: var(--display); font-weight: 400; font-size: 28px; color: var(--red); }
.extras p, .extras ul { font-size: 17px; line-height: 1.6; color: var(--text-dark); }
.extras p { margin: 10px 0 0; }
.extras ul { margin: 12px 0 0; padding-left: 20px; line-height: 1.7; }
.final-cta { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.final-cta p.display { margin: 0; font-size: clamp(26px, 3vw, 36px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--frost); }
.footer-inner { padding-top: 36px; padding-bottom: 44px; display: flex; flex-wrap: wrap; gap: 12px 48px; justify-content: space-between; align-items: center; font-size: 15px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer-links a { color: var(--frost); min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: #fff; }
/* Platz für das CCM19-Cookie-Symbol, damit es Impressum/Datenschutz nie verdeckt */
.site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.subpage-header { background: var(--night); background-image: radial-gradient(ellipse at 85% 0%, #1E3E62 0%, var(--night) 60%); }
.subpage-header .container { max-width: 900px; padding-top: 32px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.subpage-header h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; color: #F6FAFD; }
.legal { background: var(--ice); color: var(--text-dark); }
.legal .container { max-width: 900px; padding-top: 24px; padding-bottom: 80px; font-size: 17px; line-height: 1.7; }
.legal h2 { margin: 36px 0 8px; font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--navy); }
.legal h3 { margin: 24px 0 6px; font-size: 19px; color: var(--navy); }
.legal p { margin: 0 0 12px; }
.legal h4 { margin: 18px 0 6px; font-size: 17px; color: var(--navy); }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal a { color: #1F4E7A; }
.legal a:hover { color: var(--navy); }
.todo-box { margin-top: 40px; padding: 28px; border: 2px dashed #9DB8D0; border-radius: 18px; background: #fff; }

/* ---------- Mobil ---------- */
@media (max-width: 560px) {
  .navlink { font-size: 14px; padding: 0 12px; }
  .btn { width: 100%; }
  .ship-body { padding: 24px; }
  .topbar { justify-content: center; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .snow-layer { display: none; }
  .light, .window-glow { animation: none; }
}
