/* ==========================================================
   The Harbor Club – Stylesheet (mobile first)
   ========================================================== */

@font-face {
    font-family: "Kanit";
    src: url("../fonts/kanit-600-latin.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Kanit";
    src: url("../fonts/kanit-700-latin.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-400-700-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy: #263753;
    --navy-dark: #1b2840;
    --petrol: #294a58;
    --accent: #2f6f96;      /* helleres Blau statt Grün */
    --sky: #dcebf5;
    --sky-light: #f1f7fb;
    --sand: #f6f3ee;
    --text: #4a4f57;
    --muted: #6e6e6e;
    --line: #e2e2e2;
    --white: #fff;

    --font-head: "Kanit", "Arial Narrow", Arial, sans-serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(27, 40, 64, .10);
    --container: 1200px;
    --gutter: 16px;
    --section: 64px;
}

@media (min-width: 768px) {
    :root { --gutter: 32px; --section: 96px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid #7fb3c4; outline-offset: 2px; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--navy);
    line-height: 1.12;
    margin: 0 0 .5em;
    font-weight: 700;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 7vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.55rem); font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 8px; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 8px; }

.eyebrow {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75em;
}
.lead { font-size: 1.15rem; color: var(--text); max-width: 46em; }
.muted { color: var(--muted); font-size: .95rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .85em 1.5em;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-dark); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky); color: var(--navy); }
.btn--ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--ghost-light { border-color: rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--navy); color: #fff; font-size: .85rem; }
.topbar__inner { display: flex; gap: 20px; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.site-logo img { width: 150px; height: auto; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    position: absolute; left: 10px; width: 24px; height: 2px; background: var(--navy); content: ""; transition: transform .2s, opacity .2s;
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -7px; }
.nav-toggle__bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav { width: 100%; padding-bottom: 12px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
    display: block; padding: 12px 0; text-decoration: none; color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--line);
}
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav__cta { margin-top: 14px; width: 100%; }

/* Ohne JS bleibt das Menü sichtbar; mit JS wird es mobil eingeklappt */
.js .nav-toggle { display: block; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }

@media (min-width: 960px) {
    .site-logo img { width: 190px; }
    .js .nav-toggle { display: none; }
    .site-nav, .js .site-nav { display: flex; align-items: center; gap: 28px; width: auto; padding: 0; }
    .site-nav ul { display: flex; gap: 26px; }
    .site-nav li a { border: 0; padding: 8px 0; position: relative; }
    .site-nav li a::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent);
        transform: scaleX(0); transition: transform .2s;
    }
    .site-nav li a:hover::after, .site-nav li a[aria-current="page"]::after { transform: scaleX(1); }
    .site-nav__cta { margin: 0; width: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--navy); }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(27,40,64,.25) 0%, rgba(27,40,64,.55) 55%, rgba(27,40,64,.8) 100%);
}
.hero__inner { padding-top: 96px; padding-bottom: 72px; min-height: min(78vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero h1 { color: #fff; max-width: 14em; }
.hero .eyebrow { color: var(--sky); }
.hero p { font-size: 1.15rem; max-width: 36em; color: rgba(255,255,255,.92); }
.hero--compact .hero__inner { min-height: 46vh; padding-top: 72px; padding-bottom: 48px; }
.hero__badge {
    display: inline-block; background: var(--sky); color: var(--accent); font-weight: 700; font-size: .9rem;
    padding: .4em .9em; border-radius: 999px; margin-bottom: 1em;
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tint { background: var(--sand); }
.section--sky { background: var(--sky-light); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.9); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--sky); }
.section__head { max-width: 46em; margin-bottom: 40px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; gap: 64px; }
    .split--reverse > :first-child { order: 2; }
}
.rounded { border-radius: var(--radius); overflow: hidden; }
.rounded img { width: 100%; height: 100%; object-fit: cover; }

.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaic > * { border-radius: var(--radius); overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.mosaic > :first-child { grid-column: span 2; }
.mosaic > :first-child img { aspect-ratio: 16 / 10; }

.checklist { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; font-weight: 600; color: var(--navy); }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
    background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232f6f96' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Fakten-Leiste */
.facts { display: grid; gap: 16px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.fact h3 { margin-bottom: .3em; }
.fact p { margin: 0; }

/* Karten */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; }
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card--media .card__body { padding: 22px 24px 26px; }
.card__icon {
    width: 46px; height: 46px; border-radius: 12px; background: var(--sky); color: var(--accent);
    display: grid; place-items: center; margin-bottom: 14px;
}
.card__icon svg { width: 24px; height: 24px; }

/* Eventbereiche */
.areas { display: grid; gap: 28px; }
.area { display: grid; gap: 20px; align-items: center; }
.area__media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.area__media img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
    .area { grid-template-columns: 1fr 1.1fr; gap: 56px; }
    .area:nth-child(even) .area__text { order: 2; }
}

/* Schritte */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); counter-increment: step; }
.steps li::before {
    content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-size: 2.4rem;
    font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 12px;
}
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; }

/* Preise */
.prices { display: grid; gap: 20px; }
@media (min-width: 800px) { .prices { grid-template-columns: repeat(2, 1fr); } }
.price-card { border-radius: var(--radius); padding: 28px; background: #fff; border: 1px solid var(--line); }
.price-card--featured { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.9); }
.price-card--featured h3, .price-card--featured .price { color: #fff; }
.price { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 700; color: var(--navy); line-height: 1.1; margin: .2em 0 .3em; }
.price small { font-family: var(--font-body); font-size: .95rem; font-weight: 600; }
.price-table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.price-table th, .price-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--navy); }

/* Partner */
.partners { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 700px) { .partners { grid-template-columns: repeat(5, 1fr); } }
.partners a, .partners span {
    display: grid; place-items: center; height: 120px; padding: 18px; background: #fff; border-radius: var(--radius-sm);
    border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
.partners a:hover { border-color: var(--petrol); box-shadow: var(--shadow); }
.partners img { max-height: 76px; width: auto; object-fit: contain; }

/* Galerie */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
    border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
}
.lightbox::backdrop { background: rgba(10, 16, 28, .92); }
.lightbox__figure { margin: 0; height: 100%; display: grid; place-items: center; padding: 56px 12px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 6px; }
.lightbox__caption { color: #fff; text-align: center; font-size: .95rem; margin-top: 10px; }
.lightbox__btn {
    position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.14); color: #fff; font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
}
.lightbox__btn:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq__item summary {
    cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
    font-weight: 700; color: var(--navy); font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
    border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__answer { padding: 0 22px 18px; }
.faq__answer p:last-child, .faq__answer ul:last-child { margin-bottom: 0; }

/* Kundenstimmen */
.quotes { display: grid; gap: 20px; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { margin: 0 0 18px; font-size: 1.05rem; }
.quote blockquote p::before { content: "„"; }
.quote blockquote p::after { content: "“"; }
.quote figcaption strong { display: block; color: var(--navy); }
.quote figcaption span { font-size: .9rem; color: var(--muted); }

/* CTA-Band */
.cta-band { background: var(--accent); color: #fff; border-radius: var(--radius); padding: 40px 28px; display: grid; gap: 16px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.6fr auto; padding: 56px; } }

/* Kontakt */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; } }
.contact-box { background: var(--sand); border-radius: var(--radius); padding: 28px; }
.contact-box h2 { font-size: 1.6rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 14px; }
.contact-list strong { display: block; color: var(--navy); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { font-weight: 700; }
.map { display: block; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.map img { width: 100%; }
.map span {
    position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--navy); font-weight: 700; font-size: .9rem;
    padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow);
}
.map-credit { font-size: .75rem; color: var(--muted); margin-top: 6px; }

/* iFrame-Einbettungen */
.embed { max-width: 820px; margin: 0 auto; }
.embed--wide { max-width: 1000px; }
.embed__frame { width: 100%; border: 0; display: block; background: #fff; }
.embed__fallback { font-size: .9rem; color: var(--muted); text-align: center; margin-top: 16px; }

/* Rechtstexte */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.placeholder {
    border: 2px dashed #d9a441; background: #fff8e8; border-radius: var(--radius-sm); padding: 20px 22px; color: #6b4e12;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.78); padding-top: 64px; font-size: .97rem; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer__brand img { width: 180px; margin-bottom: 16px; }
.site-footer__title { font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; padding-bottom: 28px;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .88rem;
}
.site-footer__bottom p { margin: 0; }

/* Seitenkopf ohne Bild (Formular- und Rechtsseiten) */
.page-head { background: var(--sky-light); padding: 56px 0 40px; }
.page-head h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin-bottom: .3em; }
.page-head p { max-width: 46em; font-size: 1.1rem; }
.page-body { padding: 48px 0 var(--section); }
.aside-contact { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; margin-top: 32px; font-weight: 700; }
.contact-photo { margin: 18px 0 0; }
.contact-photo img { border-radius: var(--radius-sm); width: 100%; }
.logo-trenner { height: 1px; background: var(--line); margin: 56px 0; }

/* Schneefall (Winter Club) – reine CSS-Animation wie auf der alten Seite, fängt keine Klicks ab */
.has-snow::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    background-image:
        radial-gradient(5px 5px at 10% 15%, #fff 50%, transparent),
        radial-gradient(7px 7px at 25% 35%, rgba(255,255,255,.8) 50%, transparent),
        radial-gradient(4px 4px at 40% 10%, #fff 50%, transparent),
        radial-gradient(6px 6px at 55% 45%, rgba(255,255,255,.7) 50%, transparent),
        radial-gradient(5px 5px at 70% 20%, #fff 50%, transparent),
        radial-gradient(8px 8px at 85% 30%, rgba(255,255,255,.8) 50%, transparent),
        radial-gradient(4px 4px at 92% 50%, #fff 50%, transparent);
    background-repeat: repeat-y;
    background-size: 100% 500px;
    animation: fixedSnowfall 8s linear infinite;
}
@keyframes fixedSnowfall {
    0%   { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 20px 500px, -30px 500px, 15px 500px, -10px 500px, 25px 500px, -20px 500px, 10px 500px; }
}
@media (prefers-reduced-motion: reduce) {
    .has-snow::before { display: none; }
}
