:root {
    --ink: #17313a;
    --muted: #65757b;
    --paper: #fbfaf6;
    --mist: #e8f0ed;
    --sea: #0b6f7a;
    --harbor: #204f5f;
    --sand: #ead8b8;
    --coral: #c85f4b;
    --green: #57745b;
    --white: #ffffff;
    --shadow: 0 20px 70px rgba(18, 44, 53, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
}

a {
    color: inherit;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 24px;
    padding: 14px 32px;
    color: var(--white);
    transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.form-focus {
    transform: translateY(-120%);
}

body:has(.booking-form:focus-within) .site-header {
    transform: translateY(-120%);
}

.site-header.scrolled {
    background: rgba(19, 49, 58, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 760;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    background: var(--sand);
    color: var(--harbor);
}

.brand-mark svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
}

.menu-toggle {
    display: none;
    position: relative;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    cursor: pointer;
    place-items: center;
}

.menu-toggle span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
    transform: translate(-50%, -8px);
}

.menu-toggle span:nth-child(2) {
    transform: translate(-50%, -50%);
}

.menu-toggle span:nth-child(3) {
    transform: translate(-50%, 6px);
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-weight: 680;
}

.main-nav a,
.lang-switch a,
.site-footer a {
    text-decoration: none;
}

.main-nav a {
    opacity: 0.9;
}

.main-nav a:hover {
    opacity: 1;
}

.lang-switch {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.lang-switch a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.86rem;
    font-weight: 760;
}

.lang-switch a.active {
    background: var(--white);
    color: var(--harbor);
}

.login-link {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    transition: transform 160ms ease, background 160ms ease;
}

.login-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.24);
}

.login-link img {
    width: 18px;
    height: 18px;
    display: block;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    isolation: isolate;
}

.hero-slides,
.slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.04);
}

.slide-one {
    background-image: url("/assets/hero-garden.jpg");
    opacity: 1;
    animation: heroSeaFade 23s infinite;
}

.slide-two {
    background-image: url("/assets/hero-ostsee.jpg");
    animation: heroGardenFade 23s infinite;
}

.hero-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(15, 45, 52, 0.78), rgba(15, 45, 52, 0.38) 46%, rgba(15, 45, 52, 0.22)),
        linear-gradient(0deg, rgba(15, 45, 52, 0.78), rgba(15, 45, 52, 0.08) 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(880px, calc(100% - 48px));
    margin: 0 auto;
    padding-top: 56px;
}

.kicker,
.eyebrow {
    margin: 0 0 14px;
    font-weight: 760;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: var(--sand);
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5rem;
    line-height: 0.98;
    font-weight: 500;
}

.hero-content > p:not(.kicker) {
    max-width: 650px;
    margin: 24px 0 0;
    font-size: 1.28rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    font: inherit;
    font-weight: 780;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    color: var(--white);
    background: var(--coral);
    box-shadow: 0 14px 34px rgba(200, 95, 75, 0.3);
}

.button.secondary {
    color: var(--ink);
    background: var(--sand);
}

.hero-strip {
    position: absolute;
    z-index: 2;
    inset: auto 32px 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 1px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.24);
    box-shadow: var(--shadow);
}

.hero-strip span {
    padding: 17px 20px;
    background: rgba(251, 250, 246, 0.92);
    color: var(--ink);
    font-weight: 720;
}

.section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 92px 0;
}

.intro,
.booking-section,
.contact,
.legal {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.section h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
    line-height: 1.06;
    font-weight: 500;
}

.section-copy > p:not(.eyebrow),
.booking-copy > p {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.fact-panel {
    padding: 28px;
    border: 1px solid rgba(23, 49, 58, 0.1);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.fact-panel h3 {
    margin: 0 0 20px;
    font-size: 1.25rem;
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fact-grid article,
.tips article {
    min-height: 170px;
    padding: 20px;
    border-radius: 8px;
    background: var(--mist);
}

.fact-grid span {
    display: block;
    color: var(--sea);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.3rem;
    line-height: 1;
}

.fact-grid h4,
.tips h3 {
    margin: 12px 0 7px;
    font-size: 1.05rem;
}

.fact-grid p,
.tips p {
    margin: 0;
    color: var(--muted);
}

.booking-section {
    width: 100%;
    max-width: none;
    padding: 92px max(24px, calc((100vw - 1180px) / 2));
    background: linear-gradient(135deg, #14333d, #235360 55%, #516a54);
    color: var(--white);
}

.booking-copy .eyebrow,
.booking-copy p {
    color: rgba(255, 255, 255, 0.8);
}

.booking-copy .price-note {
    display: inline-flex;
    width: fit-content;
    margin-top: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 9px 13px;
    color: var(--sand);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.94rem;
    font-weight: 760;
}

.contact-lines {
    display: grid;
    gap: 8px;
    margin-top: 28px;
    font-weight: 760;
}

.contact-lines a {
    text-decoration-color: rgba(255, 255, 255, 0.35);
}

.booking-form {
    display: grid;
    gap: 16px;
    width: 100%;
    min-width: 0;
    padding: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

label {
    display: grid;
    gap: 8px;
    min-width: 0;
    font-weight: 720;
}

input,
textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid rgba(23, 49, 58, 0.16);
    border-radius: 8px;
    padding: 13px 14px;
    color: var(--ink);
    background: var(--white);
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
}

textarea {
    resize: vertical;
}

input[type="date"] {
    min-width: 0;
}

input:focus,
textarea:focus {
    border-color: var(--sea);
    outline: 3px solid rgba(11, 111, 122, 0.16);
}

.check {
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 10px;
    min-width: 0;
    color: var(--muted);
    font-weight: 560;
}

.check input {
    -webkit-appearance: auto;
    appearance: auto;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 3px;
}

.hp {
    position: absolute;
    left: -9999px;
}

.flash {
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.flash.success {
    background: #dcefe4;
    color: #25543b;
}

.flash.error {
    background: #f7ded8;
    color: #8d3326;
}

.location {
    display: grid;
    gap: 38px;
}

.location .section-copy {
    max-width: 850px;
}

.tips {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.map-block {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: var(--mist);
}

.map-block iframe {
    width: 100%;
    height: 430px;
    border: 0;
    display: block;
}

.map-consent {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    gap: 12px;
    padding: 28px;
    text-align: center;
    background:
        linear-gradient(rgba(232, 240, 237, 0.9), rgba(232, 240, 237, 0.9)),
        url("/assets/hero-garden.jpg") center / cover;
}

.map-consent h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 500;
}

.map-consent p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--muted);
}

.map-block.map-ready .map-consent {
    display: none;
}

.route-button {
    position: absolute;
    right: 18px;
    bottom: 18px;
}

.contact {
    border-top: 1px solid rgba(23, 49, 58, 0.12);
    border-bottom: 1px solid rgba(23, 49, 58, 0.12);
}

.contact-card {
    display: grid;
    gap: 14px;
    justify-items: start;
    padding: 28px;
    border-radius: 8px;
    background: var(--mist);
}

.contact-card a {
    font-size: 1.25rem;
    font-weight: 780;
    color: var(--harbor);
}

.legal {
    align-items: start;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 24px;
    padding-top: 64px;
    padding-bottom: 72px;
}

.legal h2 {
    font-size: 1.9rem;
    line-height: 1.12;
}

.legal .section-copy {
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(23, 49, 58, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.legal .section-copy > p:not(.eyebrow) {
    max-width: none;
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.62;
}

.legal .section-copy p strong {
    color: var(--ink);
    font-weight: 780;
}

.privacy-copy {
    background: var(--white);
    box-shadow: 0 16px 48px rgba(18, 44, 53, 0.08);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 32px;
    color: var(--white);
    background: var(--ink);
}

.footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links button {
    border: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(12, 32, 38, 0.58);
    backdrop-filter: blur(10px);
}

.cookie-modal[hidden] {
    display: none;
}

.cookie-dialog {
    width: min(560px, 100%);
    padding: 28px;
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.cookie-dialog h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 500;
}

.cookie-dialog p {
    margin: 14px 0 0;
    color: var(--muted);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

body.cookie-locked {
    overflow: hidden;
}

@keyframes heroSeaFade {
    0%,
    43.478% {
        opacity: 1;
        transform: scale(1.04);
    }
    50%,
    93.478% {
        opacity: 0;
        transform: scale(1.09);
    }
    100% {
        opacity: 1;
        transform: scale(1.04);
    }
}

@keyframes heroGardenFade {
    0%,
    43.478% {
        opacity: 0;
        transform: scale(1.04);
    }
    50%,
    93.478% {
        opacity: 1;
        transform: scale(1.07);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

@keyframes heroFade {
    0%,
    100% {
        opacity: 0;
    }
}

@media (max-width: 940px) {
    html {
        scroll-padding-top: 104px;
    }

    .site-header {
        inset: 10px 12px auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto auto;
        align-items: center;
        gap: 0 8px;
        min-height: 60px;
        padding: 8px 10px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 28px;
        background: rgba(19, 49, 58, 0.72);
        box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(18px) saturate(1.18);
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        min-width: 0;
        overflow: hidden;
        padding-left: 2px;
    }

    .menu-toggle {
        display: grid;
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        background: rgba(255, 255, 255, 0.08);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    .lang-switch {
        grid-column: 3;
        grid-row: 1;
        align-self: center;
        height: 46px;
        align-items: center;
        gap: 5px;
        padding: 4px;
        border-color: rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.1);
    }

    .login-link {
        grid-column: 4;
        grid-row: 1;
        align-self: center;
        width: 42px;
        height: 42px;
        color: var(--white);
        background: rgba(255, 255, 255, 0.08);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    .login-link:hover {
        background: rgba(255, 255, 255, 0.14);
    }

    .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border: 0 solid transparent;
        border-radius: 22px;
        opacity: 0;
        pointer-events: none;
        transition: max-height 220ms ease, opacity 180ms ease, padding 180ms ease, border-width 180ms ease;
        font-size: 1rem;
    }

    .site-header.nav-open .main-nav {
        max-height: 220px;
        margin-top: 2px;
        padding: 8px;
        border-width: 1px;
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.08);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav a {
        border-radius: 16px;
        padding: 13px 14px;
        background: rgba(255, 255, 255, 0.1);
        text-align: center;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    }

    .hero {
        min-height: 860px;
        align-items: start;
    }

    .hero-content {
        width: calc(100% - 36px);
        padding-top: 122px;
    }

    .hero h1 {
        font-size: 3.6rem;
    }

    .hero-strip {
        grid-template-columns: 1fr;
        inset: auto 18px 18px;
    }

    .intro,
    .booking-section,
    .contact,
    .legal {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .legal {
        gap: 18px;
        padding-top: 52px;
        padding-bottom: 58px;
    }

    .legal .section-copy {
        padding: 22px;
    }

    .tips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .brand span:last-child {
        max-width: 96px;
        display: flex;
        min-height: 34px;
        align-items: center;
        white-space: normal;
        line-height: 0.98;
        font-size: 0.79rem;
    }

    .brand {
        gap: 6px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        flex: 0 0 auto;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
    }

    .login-link {
        width: 36px;
        height: 36px;
    }

    .lang-switch a {
        width: 30px;
        height: 30px;
        padding: 0;
        font-size: 0.72rem;
    }

    .lang-switch {
        height: 38px;
        gap: 3px;
        padding: 4px;
    }

    .hero {
        min-height: 820px;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-content > p:not(.kicker) {
        font-size: 1.06rem;
    }

    .section,
    .location {
        width: calc(100% - 32px);
        padding: 70px 0;
    }

    .booking-section {
        width: calc(100% - 32px);
        margin: 70px auto;
        padding: 46px 16px;
        border-radius: 24px;
        overflow: hidden;
    }

    .section h2 {
        font-size: 2.25rem;
    }

    .legal h2 {
        font-size: 1.65rem;
    }

    .legal .section-copy > p:not(.eyebrow) {
        margin-top: 12px;
        font-size: 0.92rem;
        line-height: 1.58;
    }

    .fact-grid,
    .field-row,
    .tips {
        grid-template-columns: 1fr;
    }

    .booking-form,
    .fact-panel,
    .contact-card,
    .privacy-copy {
        padding: 20px;
    }

    .map-block,
    .map-block iframe {
        min-height: 360px;
        height: 360px;
    }

    .route-button {
        right: 12px;
        bottom: 12px;
    }

    .site-footer {
        flex-direction: column;
        padding: 24px 18px;
    }

    .cookie-dialog {
        padding: 22px;
    }

    .cookie-actions .button {
        width: 100%;
    }
}
