/* dm-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/dm-sans-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/dm-sans-v17-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/dm-sans-v17-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/dm-sans-v17-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/dm-sans-v17-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/dm-sans-v17-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/dm-sans-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/dm-sans-v17-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/playfair-display-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/playfair-display-v40-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/playfair-display-v40-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/playfair-display-v40-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/playfair-display-v40-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --navy: #123b4a;
    --deep: #0c2d39;
    --sea: #dff1f2;
    --sand: #f5efe5;
    --cream: #fbfaf6;
    --accent: #d58a55;
    --text: #29414a;
    --muted: #687b82;
    --white: #fff;
    --shadow: 0 16px 45px rgba(18, 59, 74, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font: 16px/1.7 "DM Sans", sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 250, 246, 0.96);
    border-bottom: 1px solid rgba(18, 59, 74, 0.08);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font: 600 24px/1 "Playfair Display", serif;
    color: var(--navy);
    white-space: nowrap;
}

.logo span {
    font-style: italic;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav a {
    position: relative;
    padding: 27px 15px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}

.main-nav a:after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 17px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: 0.25s;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    transform: scaleX(1);
}

.main-nav a.active {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
}

.hero {
    min-height: 650px;
    position: relative;
    overflow: hidden;
    background: var(--deep);
    color: white;
}

.hero-image {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 39, 50, 0.82),
            rgba(8, 39, 50, 0.2)
        ),
        url("../img/platzhalter-01.jpg") center/cover;
}

.hero-content {
    position: relative;
    padding-top: 135px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 14px;
}

.hero h1 {
    font: 500 clamp(48px, 7vw, 82px)/1.02 "Playfair Display", serif;
    margin: 0 0 25px;
}

.hero h1 em {
    color: #dceff0;
}

.hero-text {
    max-width: 580px;
    font-size: 18px;
    color: #e7f0f1;
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 23px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    filter: brightness(0.93);
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--navy);
}

.wave {
    position: absolute;
    bottom: -1px;
    left: -2%;
    width: 104%;
    height: 60px;
    background: var(--cream);
    clip-path: ellipse(60% 75% at 50% 100%);
}

.quickfacts {
    margin-top: -1px;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: white;
    box-shadow: var(--shadow);
    padding: 28px 35px;
}

.quickfacts div {
    text-align: center;
    border-right: 1px solid #e7ecec;
}

.quickfacts div:last-child {
    border: 0;
}

.quickfacts strong,
.quickfacts span {
    display: block;
}

.quickfacts strong {
    font: 600 25px "Playfair Display", serif;
    color: var(--navy);
}

.quickfacts span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
}

.section {
    padding: 90px 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.section h2 {
    font: 500 clamp(34px, 4vw, 50px)/1.15 "Playfair Display", serif;
    color: var(--navy);
    margin: 0 0 22px;
}

.section p {
    color: var(--muted);
}

.image-card {
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-card img,
.large-image {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.text-link {
    color: var(--navy);
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
}

.sea-bg {
    background: var(--sea);
}

.center {
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.feature-grid article {
    background: white;
    padding: 28px;
    text-align: center;
}

.feature-grid span {
    font-size: 28px;
    color: var(--accent);
}

.feature-grid h3 {
    margin: 12px 0 5px;
    color: var(--navy);
}

.feature-grid p {
    font-size: 14px;
    margin: 0;
}

.page-hero {
    padding: 100px 0 110px;
    position: relative;
    overflow: hidden;
    color: white;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 39, 50, 0.82),
            rgba(8, 39, 50, 0.42)
        );
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero:after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    right: -120px;
    top: -180px;
}

.page-hero h1 {
    font: 500 clamp(46px, 6vw, 70px)/1.05 "Playfair Display", serif;
    color: white;
    margin: 0;
}

.page-hero p:not(.eyebrow) {
    color: #e7f0f1;
    font-size: 18px;
}

.page-hero-wohnung {
    background-image: url("../img/platzhalter-14.jpg");
}

.page-hero-preise {
    background-image: url("../img/platzhalter-15.jpg");
}

.page-hero-reservierung {
    background-image: url("../img/platzhalter-16.jpg");
}

.page-hero-belegung {
    background-image: url("../img/platzhalter-21.jpg");
}

.page-hero-galerie {
    background-image: url("../img/platzhalter-17.jpg");
}

.page-hero-kontakt {
    background-image: url("../img/platzhalter-18.jpg");
}

.page-hero-impressum {
    background-image: url("../img/platzhalter-19.jpg");
}

.page-hero-datenschutz {
    background-image: url("../img/platzhalter-20.jpg");
}

.checklist {
    padding: 0;
    list-style: none;
}

.checklist li {
    padding: 7px 0;
    color: var(--text);
}

.checklist li:before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
    margin-right: 10px;
}

.amenities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.amenities > div,
.policy-grid article,
.contact-card {
    background: white;
    padding: 28px;
    box-shadow: 0 8px 25px rgba(18, 59, 74, 0.05);
}

.amenities h3,
.policy-grid h3 {
    color: var(--navy);
    margin-top: 0;
}

.table-wrap {
    overflow: auto;
    background: white;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

th,
td {
    padding: 18px 22px;
    text-align: left;
    border-bottom: 1px solid #e7ecec;
}

th {
    background: var(--navy);
    color: white;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

td {
    color: var(--text);
}

.small-note {
    font-size: 13px;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 45px;
}

.empty-page {
    min-height: 430px;
}

.empty-box {
    text-align: center;
    padding: 90px 20px;
    border: 1px dashed #b9c9cc;
}

.empty-box span {
    font-size: 40px;
    color: var(--accent);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-item {
    border: 0;
    padding: 0;
    background: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    color: white;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.65)
    );
    text-align: left;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(7, 28, 36, 0.94);
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: min(88vw, 1000px);
    max-height: 82vh;
    object-fit: contain;
}

.lightbox button {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
}

.lightbox-close {
    top: 25px;
    right: 25px;
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-count {
    position: absolute;
    bottom: 25px;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact-card {
    align-self: center;
}

.footer {
    background: var(--deep);
    color: #c9d7da;
    padding: 45px 0 20px;
}

.footer .logo {
    color: white;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.footer p {
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 25px;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 30px;
    padding-top: 18px;
    font-size: 12px;
    color: #8fa5aa;
}

.legal {
    min-height: 500px;
}

.legal h2 {
    font-size: 30px;
    margin-top: 40px;
}


/* =========================================
   TABLET / MOBILE
   ========================================= */

@media (max-width: 850px) {

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 78px;
        background: var(--cream);
        padding: 10px 20px 20px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 14px 12px;
    }

    .main-nav a:after {
        left: 12px;
        right: auto;
        width: 35px;
        bottom: 7px;
    }

    .quickfacts {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .quickfacts div:nth-child(2) {
        border: 0;
    }

    .split,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

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

    .hero-content {
        padding-top: 100px;
    }

    .section {
        padding: 65px 0;
    }

    .footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }
}


@media (max-width: 520px) {

    .container {
        width: min(100% - 28px, 1160px);
    }

    .hero {
        min-height: 590px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-text {
        font-size: 16px;
    }

    .actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .quickfacts {
        padding: 20px 12px;
    }

    .quickfacts strong {
        font-size: 21px;
    }

    .feature-grid,
    .amenities,
    .policy-grid,
    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 270px;
    }

    .page-hero {
        padding: 65px 0 70px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}