@font-face { font-family: Roboto; src: url("./fonts/roboto-light.ttf"); font-weight: 300; font-display: swap; }
@font-face { font-family: Roboto; src: url("./fonts/roboto-medium.ttf"); font-weight: 500; font-display: swap; }
@font-face { font-family: Roboto; src: url("./fonts/roboto-bold.ttf"); font-weight: 700; font-display: swap; }
@font-face { font-family: Montserrat; src: url("./fonts/montserrat-medium.ttf"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Great Vibes"; src: url("./fonts/greatvibes-regular.ttf"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Telefon"; src: url("./fonts/outline.woff"); font-display: block; }
@font-face { font-family: "Bedienicons"; src: url("./fonts/material.woff"); font-display: block; }
@font-face { font-family: "Merkmale"; src: url("./fonts/merkmale.woff"); font-display: block; }

:root {
    color-scheme: dark;
    --teal: #305254;
    --teal-light: #42686b;
    --font-size: 20px;
    --line-height: 36px;
    --heading-size: 60px;
    --heading-line: 80px;
    --subheading-size: 30px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    background: #3c3c3d;
    color: #fff;
    font: 300 var(--font-size)/var(--line-height) Roboto, sans-serif;
    letter-spacing: 1px;
}
body:has(dialog[open]) { overflow: hidden; scrollbar-gutter: stable; }
html:has(dialog[open]) { scrollbar-gutter: stable; }
h1, h2, h3, p, figure { margin: 0; }
strong { font-weight: 700; }
h1 {
    font: 400 var(--heading-size)/var(--heading-line) Montserrat, sans-serif;
    letter-spacing: 0;
    text-align: center;
}
h2 {
    font: 400 var(--heading-size)/var(--heading-line) "Great Vibes", cursive;
    letter-spacing: 6px;
    text-align: center;
}
h3, .subheading {
    font: 400 var(--subheading-size)/40px Montserrat, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}
img { display: block; max-width: 100%; }
a, button { color: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}
[hidden] { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    padding: 0;
    clip-path: inset(50%);
    white-space: nowrap;
}
.container { width: min(100%, 1200px); margin-inline: auto; }
.columns-halves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: min(2.13%, 25.55px); }
.columns-thirds { display: grid; grid-template-columns: minmax(0, 2.067fr) minmax(0, 1fr); gap: min(2.13%, 25.55px); }

.site-header {
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.site-logo { display: grid; justify-items: center; padding: 50px 25px 10px; }
.site-logo img { width: 450px; height: auto; }
.phone-wrap { display: flex; align-items: start; justify-content: end; padding: 25px 25px 0 0; }
.phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 10px;
    padding: 15px 25px;
    background: var(--teal-light);
    color: white;
    font: 400 16px/26px Helvetica, Arial, sans-serif;
    text-decoration: none;
    transition: color .3s, background-color .3s;
}
.phone:hover { background: #fff; color: #1b1b1d; }
.phone-icon { display: block; width: 24px; height: 24px; }
.phone-icon::before { display: block; content: "\f22a"; font: 24px/1 Telefon; }

.hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: center; }
.hero-copy { padding: 250px 50px 60px; background: linear-gradient(55deg, #305254, #3a686b); }
.hero h1 { line-height: 70px; }
.hero .subheading { margin: 40px 0 95px; }
.hero .booking-button { display: block; margin-inline: auto; }
.hero-photo { background: url("./images/zimmer/neu-front.jpg") center / cover no-repeat; }
.booking-button {
    max-width: 100%;
    padding: 20px 40px;
    border: 2px solid #eee;
    border-radius: 50px;
    background: var(--teal);
    color: #fff;
    font: 300 20px/30px Roboto, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background-color .3s;
}
.booking-button:hover { background: var(--teal-light); }
.booking-label { margin: 50px 0 10px; }
.booking-languages { display: flex; justify-content: center; gap: 12.8px; }
.booking-languages img { transition: opacity .3s; }
.booking-languages a:hover img { opacity: .5; }

.welcome { padding: 100px 25px 125px; overflow: clip; }
.welcome h2 { font-size: 58px; }
.welcome-columns { margin-top: 75px; }
.welcome-copy { padding-right: 25px; }
.welcome-copy p { margin-top: var(--line-height); }
.garden { padding-top: 0; }
.garden-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.garden-grid button, .room-track button {
    display: block;
    position: relative;
    overflow: hidden;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
}
.garden-grid button:focus-visible, .room-track button:focus-visible { outline-offset: -4px; }
.garden-grid img, .room-track img { width: 100%; height: 100%; object-fit: cover; }
.garden-grid button { height: 200px; }
.garden-grid button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 50%);
    opacity: 0;
    transition: opacity .3s;
}
@media (hover: hover) { .garden-grid button:hover::after { opacity: 1; } }
.garden figcaption { margin-top: 15px; }

.invitation { overflow: clip; padding: 100px 25px; background: linear-gradient(75deg, #305254, #355b5e); }
.invitation-last { background: linear-gradient(45deg, #305254, #385e61); }
.invitation .subheading { text-align: center; }
.invitation .booking-button { justify-self: center; align-self: start; }
.photo-band {
    height: 300px;
    background: linear-gradient(rgb(50 85 87 / 63%), rgb(50 85 87 / 63%)), url("./images/top-2.jpg") center / cover no-repeat fixed;
}

.amenities {
    overflow: clip;
    padding: 100px 25px 130px;
    background: linear-gradient(45deg, #305254, #386063);
}
.amenities-columns { margin-top: 75px; }
.amenities-details { padding-right: 25px; }
.rooms { padding-left: 25px; }
.rooms h3, .amenities-details h3 { margin-bottom: 50px; }
.rooms p { margin-bottom: var(--line-height); }
.features { display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; }
.features li {
    display: flex;
    align-items: baseline;
    gap: 20px;
    min-height: 38px;
    font: 300 20px/36px Roboto, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.features li::before {
    content: "\f152";
    flex: 0 0 20px;
    font: 20px/1 Merkmale;
}
.room-carousel { --slide-height: 450px; --slides: 4; position: relative; margin: 125px auto 0; }
.room-track {
    position: relative;
    left: -25%;
    display: flex;
    width: 150%;
    gap: 30px;
    height: var(--slide-height);
    overflow: clip;
    touch-action: pan-y;
}
.room-rail { display: flex; flex: 0 0 100%; min-width: 0; gap: inherit; }
.room-track button { flex: 0 0 calc((100% - (var(--slides) - 1) * 30px) / var(--slides)); }
.room-track img { pointer-events: none; user-select: none; }
.room-dots { display: flex; justify-content: center; flex-wrap: wrap; margin: 12px auto 0; }
.room-dots button {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 4px;
    padding: 0;
    background: transparent;
}
.room-dots button::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}
.room-dots button:focus-visible { outline-offset: -2px; }
.room-dots button[aria-current="true"]::before {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    background: transparent;
}

.prices { padding: 75px 35px 50px; overflow: clip; }
.price-intro { margin: 50px 0; text-align: center; }
.price-intro p:nth-child(2), .price-intro p:nth-child(3), .price-intro p:last-child { margin-top: var(--line-height); }
.price-list { row-gap: 25px; }
.rate-card { min-width: 0; padding: 25px 25px 10px; }
.rate-card:nth-child(odd) { padding-left: 5px; }
.rate-card h3 { padding: 25px 0; margin-bottom: 15px; color: rgb(255 255 255 / 75%); background: var(--teal); text-align: center; }
.rate-card table { border-collapse: separate; border-spacing: 0 10px; table-layout: fixed; width: 100%; margin: 0 0 -10px; }
.rate-card tr { height: 50px; }
.rate-card th, .rate-card td { padding: 0; text-align: right; vertical-align: top; font-weight: 500; }
.rate-card th:first-child { width: 66%; text-align: left; font-weight: 300; }
.extras th:first-child { width: 74.47%; }
.extras p { margin-top: 35px; text-align: right; }

.site-footer { padding: 125px 25px 49px; background: #262626; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: min(2.13%, 25.55px); }
.footer-brand { text-align: center; font-size: 18px; line-height: 30px; padding-top: 25px; }
.footer-brand img { width: 300px; margin: 0 auto 25px; }
.footer-instagram {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-top: 8px;
    border-radius: 8px;
    color: #fff;
    vertical-align: top;
}
.footer-instagram:hover { color: #c7e4e4; }
.instagram-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border: 2px solid currentColor;
    border-radius: 6px;
}
.instagram-icon::before {
    content: "";
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
}
.instagram-icon::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
}
.footer-address { min-height: 194px; padding: 25px 0 61px 30px; font-style: normal; }
.footer-links { padding: 15px 0 15px 50px; }
.footer-links a { display: block; padding-block: 10px; text-decoration: none; text-transform: uppercase; font: 300 18px/20px Roboto, sans-serif; letter-spacing: 2px; }
.footer-links a:hover, .footer-links a[aria-current] { color: rgb(255 255 255 / 50%); }
.copyright { margin-top: 25px; text-align: center; color: rgb(255 255 255 / 21%); font: 300 16px/26px Roboto, sans-serif; }
.to-top {
    position: fixed;
    z-index: 3;
    right: 25px;
    bottom: 65px;
    width: 70px;
    height: 70px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    box-shadow: 0 5px 15px rgb(0 0 0 / 15%);
    transition: background-color .3s, color .3s;
}
.to-top::before { content: "\f2fc"; font: 30px/1 Bedienicons; }
.to-top:hover { color: var(--teal); background: #fff; }

.lightbox {
    position: fixed;
    inset: 0;
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    background: transparent;
    padding: 50px;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop {
    background: rgb(0 0 0 / 42%);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
.lightbox-photo { width: auto; height: auto; max-height: calc(100dvh - 100px); object-fit: contain; }
.lightbox-controls button {
    position: absolute;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(0 0 0 / 55%);
    color: #fff;
    font: 36px/1 Arial, sans-serif;
    transition: opacity .2s;
}
.lightbox-close { top: 12px; right: 12px; }
.lightbox-previous, .lightbox-next { top: calc(50% - 22px); }
.lightbox-previous { left: 8px; }
.lightbox-next { right: 8px; }
@media (hover: hover) {
    .lightbox:not(:hover) button:not(:focus-visible) { opacity: 0; }
}

.legal { background: #3a3a3a; }
.legal-main { padding: 225px 25px 125px; }
.legal-card { padding: 75px 50px; border-radius: 20px; background: var(--teal-light); overflow-wrap: anywhere; }
.legal-card h1 { margin-bottom: 57px; letter-spacing: 6px; }
.legal-card h2 { margin-top: 36px; margin-bottom: 0; font-size: 40px; line-height: 60px; text-align: left; }
.legal-card h3 { margin-top: 36px; margin-bottom: 16px; }
.legal-card h4, .legal-card h5 { margin: 28px 0 10px; font: 500 1em/1.5 Roboto, sans-serif; }
.legal-card p + p { margin-top: 12px; }
.legal-card a { text-underline-offset: .16em; }
.legal-card a:hover { color: #d6f3f3; }

.reveal-ready [data-reveal]:not(.revealed) { opacity: 0; }
.revealed { animation: reveal .9s both; }
.revealed[data-reveal="left"] { --from-x: -100px; }
.revealed[data-reveal="right"] { --from-x: 100px; }
.garden.revealed { animation-duration: 1.2s; animation-delay: .3s; }
.revealed[data-reveal^="bounce"] { animation-name: bounce; }
.revealed[data-reveal="bounce-down"] { --from-y: -1; }
.revealed[data-reveal="bounce-up"] { --from-y: 1; }
@keyframes reveal {
    from { opacity: 0; transform: translateX(var(--from-x, 0)); }
    to { opacity: 1; transform: none; }
}
@keyframes bounce {
    0% { opacity: 0; transform: translateY(calc(var(--from-y) * 600px)); }
    60% { opacity: 1; transform: translateY(calc(var(--from-y) * -25px)); }
    75% { transform: translateY(calc(var(--from-y) * 10px)); }
    90% { transform: translateY(calc(var(--from-y) * -5px)); }
    100% { opacity: 1; transform: none; }
}

@media (max-width: 1440px) {
    .hero h1 { font-size: 56px; line-height: 70px; }
    .hero-copy { padding-top: 200px; }
    .garden { padding-top: 10px; }
    .garden-grid button { height: 180px; }
    .room-carousel { --slide-height: 390px; }
}

@media (max-width: 1280px) {
    .site-logo { justify-items: start; padding-left: 45px; }
    .phone-wrap { padding: 45px 45px 0 0; }
    .phone { border: 2px solid rgb(240 240 240 / 49%); }
    .hero-copy { padding-bottom: 50px; }
    .hero-photo { background-attachment: fixed; }
    .photo-band { height: 200px; }
    .welcome { padding-block: 75px 100px; }
    .invitation { padding-block: 75px; }
    .amenities { padding-block: 75px; }
    .prices { padding-inline: 25px; }
    .room-carousel { --slides: 2; }
    .room-track { left: 0; width: 100%; }
    .to-top { width: 60px; height: 60px; }
    .to-top::before { font-size: 20px; }
}

@media (max-width: 1024px) {
    :root { --subheading-size: 24px; }
    .site-header { grid-template-columns: 2fr 1fr; padding-left: 25px; }
    .site-logo { padding-left: 25px; }
    .phone-wrap { justify-content: center; padding-right: 25px; }
    .prices { padding-inline: 35px; }
    .price-list { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
    .rate-card, .rate-card:nth-child(odd) { padding-inline: 0; }
    .rate-card:nth-child(2) { margin-bottom: 25px; }
    .rate-card:last-child { padding-bottom: 25px; }
    .room-carousel { --slide-height: 350px; }
    .footer-address { padding-left: 0; }
}

@media (max-width: 768px) {
    :root { --font-size: 18px; --line-height: 30px; }
    .site-header { grid-template-columns: 7fr 5fr; }
    .phone-wrap { padding-right: 0; }
    .hero { grid-template-columns: minmax(0, 1fr); }
    .hero-photo { height: 400px; }
    .welcome { padding-bottom: 75px; }
    .welcome-columns, .amenities-columns { grid-template-columns: 1fr; gap: 0; }
    .amenities-details, .rooms { padding: 0; }
    .welcome-copy { text-align: center; }
    .garden { padding-top: 60px; }
    .rooms { padding-top: 50px; }
    .room-carousel { --slide-height: 320px; --slides: 1; }
    .prices { padding-inline: 25px; }
    .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-links { grid-column: 1/-1; }
    .footer-links a { line-height: 18px; }
    .legal-main { padding: 200px 25px 75px; }
    .legal-card { padding: 50px 30px; }
}

@media (max-width: 430px) {
    :root { --font-size: 16px; --line-height: 26px; --heading-size: 44px; --heading-line: 56px; }
    .site-header { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
    .site-logo { justify-items: center; padding: 50px 25px 0; }
    .site-logo img { width: 320px; }
    .phone-wrap { padding: 20px 0 0; }
    .hero-copy { padding: 260px 25px 50px; }
    .hero h1 { font-size: 38px; line-height: 50px; }
    .booking-button { overflow-wrap: anywhere; }
    .welcome { padding-block: 75px; }
    .welcome h2 { font-size: 44px; line-height: 60px; }
    .welcome-copy { padding-right: 0; }
    .welcome-copy h3 { line-height: 34px; }
    .garden figcaption { font-size: 18px; }
    .invitation { padding-block: 75px; }
    .invitation .columns-thirds { grid-template-columns: minmax(0, 1fr); gap: 50px; }
    .amenities { padding-block: 75px; }
    .amenities-details h3 { text-align: center; }
    .features li { min-height: 33px; font-size: 16px; line-height: 26px; }
    .rooms:last-child { padding-top: 50px; }
    .room-carousel { --slide-height: 250px; margin-top: 100px; }
    .room-dots { max-width: 240px; }
    .prices { padding: 75px 25px 50px; }
    .rate-card h3 { font-size: 20px; line-height: 30px; }
    .rate-card th:first-child { width: 50%; }
    .extras th:first-child { width: 66.67%; }
    .site-footer { padding-block: 125px 49px; }
    .footer-columns { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .footer-brand { padding-block: 25px; }
    .footer-address { text-align: center; font-size: 18px; line-height: 36px; padding-left: 0; }
    .footer-links { padding: 15px 0; text-align: center; }
    .footer-links a { font-size: 16px; line-height: 18px; }
    .lightbox { padding: 35px 0; }
    .lightbox-photo { max-height: calc(100dvh - 70px); }
    .legal-main { padding-top: 225px; }
    .legal-card { padding: 34px 25px 50px; }
    .legal-card h1 { font-size: clamp(25px, 8vw, 36px); line-height: 1.25; }
    .legal-card h2 { font-size: 34px; line-height: 1.35; letter-spacing: 3px; }
}

@media (max-width: 350px) {
    h1, h2, h3, .subheading { overflow-wrap: anywhere; }
    .amenities-columns, .welcome-columns { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .revealed { animation: none; }
    .reveal-ready [data-reveal]:not(.revealed) { opacity: 1; }
}
