:root {
    --bg: #f4f1ea;
    --bg-soft: #fbfaf5;
    --surface: rgba(255, 252, 246, 0.84);
    --surface-strong: #fffdf8;
    --text: #42483a;
    --muted: #737b6d;
    --accent: #7d866c;
    --accent-dark: #5f6752;
    --accent-soft: #dce1d2;
    --highlight: #b8b197;
    --sage: #a6af97;
    --panel: #737b66;
    --line: rgba(66, 72, 58, 0.14);
    --shadow: 0 24px 60px rgba(66, 72, 58, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --shell: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(184, 177, 151, 0.18), transparent 28%),
        radial-gradient(circle at right 20%, rgba(125, 134, 108, 0.12), transparent 22%),
        linear-gradient(180deg, #f8f5ef 0%, var(--bg) 42%, #ece8df 100%);
    line-height: 1.6;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

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

.shell {
    width: min(calc(100% - 2rem), var(--shell));
    margin: 0 auto;
}

.section {
    padding: 5.5rem 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(255, 253, 248, 0.96));
}

.section-dark {
    color: #f7f4ec;
    background:
        radial-gradient(circle at top right, rgba(220, 225, 210, 0.14), transparent 22%),
        linear-gradient(135deg, #798169 0%, #616a54 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 253, 248, 0.96);
    border-bottom: 1px solid rgba(66, 72, 58, 0.12);
}

.header-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1rem 0 0.7rem;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
    align-items: center;
    text-align: center;
}

.brand-kicker,
.eyebrow,
.season-tag,
.host-card-label,
.feature-index {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.76rem;
    font-weight: 700;
}

.brand-name,
.footer-name {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 1.5rem;
    width: 100%;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(66, 72, 58, 0.1);
}

.site-nav a {
    color: #68705b;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible,
.contact-details a:hover,
.contact-details a:focus-visible {
    color: var(--accent);
}

.hero {
    padding: 0;
}

.hero-copy-shell,
.section-grid,
.amenities-layout,
.contact-grid,
.footer-grid {
    display: grid;
    gap: 2rem;
}

.hero-copy-shell {
    grid-template-columns: minmax(0, 1fr);
    min-height: 100%;
    align-items: center;
    justify-items: center;
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 56rem);
    max-width: 56rem;
    margin: 0 auto;
    padding: 1.75rem 2rem 2rem;
    text-align: center;
    color: #fff9f2;
    text-shadow: 0 10px 26px rgba(7, 20, 20, 0.42);
}

.hero-copy h1,
.section-heading h2,
.season-card h3,
.contact-card h2,
.booking-card h3,
.host-card h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: 1;
}

.hero-copy h1 {
    font-size: clamp(3rem, 5.8vw, 5rem);
    font-weight: 600;
    width: min(100%, 17ch);
    max-width: 17ch;
    margin: 0.4rem auto 0;
    letter-spacing: 0.01em;
    text-align: center;
    text-wrap: balance;
}

.hero-title-accent {
    display: inline-block;
    max-width: 100%;
    color: var(--accent-dark);
    background: rgba(255, 253, 248, 0.68);
    padding: 0.12em 0.62em 0.18em 0.5em;
    border-radius: 0.16em;
    box-shadow: 0 10px 24px rgba(54, 61, 46, 0.14);
    text-shadow: none;
    white-space: normal;
    line-height: 1.08;
    overflow: visible;
}

.hero-name-nowrap {
    white-space: nowrap;
}

.hero-prep-nowrap {
    white-space: nowrap;
}

.lead,
.section-heading p,
.amenities-copy p,
.contact-card p,
.booking-card p,
.host-card p {
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-copy .lead {
    max-width: 34rem;
    margin: 1.25rem auto 0;
    color: rgba(255, 249, 242, 0.96);
    font-size: 1.12rem;
}

.hero-actions,
.booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero-actions {
    justify-content: center;
    margin-top: 1.85rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.4rem;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff7ef;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    box-shadow: 0 18px 34px rgba(95, 103, 82, 0.24);
}

.button-secondary {
    color: #fff9f2;
    background: rgba(255, 253, 248, 0.12);
    border: 1px solid rgba(255, 253, 248, 0.46);
}

.hero-facts,
.feature-grid,
.season-grid,
.amenities-grid {
    display: grid;
    gap: 1rem;
}

.hero-facts-shell {
    position: relative;
    z-index: 2;
    margin-top: -3.25rem;
    display: flex;
    justify-content: center;
}

.fact-card,
.feature-card,
.host-card,
.season-card,
.contact-card,
.booking-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.fact-card {
    padding: 1.25rem;
    background: rgba(255, 253, 248, 0.84);
    border: 1px solid rgba(66, 72, 58, 0.08);
    backdrop-filter: none;
}

.fact-card strong {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.65rem;
    font-weight: 600;
}

.fact-card span {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-main-image img,
.stack-card img {
    height: 100%;
    object-fit: cover;
}

.hero-visual {
    width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    position: relative;
    display: grid;
}

.hero-main-image {
    grid-area: 1 / 1;
    margin: 0;
    overflow: hidden;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
}

.hero-main-image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.hero-overlay {
    grid-area: 1 / 1;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1;
    background:
        radial-gradient(circle at center, rgba(54, 61, 46, 0.08), rgba(54, 61, 46, 0.14) 42%, rgba(54, 61, 46, 0.42) 100%),
        linear-gradient(180deg, rgba(54, 61, 46, 0.2) 0%, rgba(54, 61, 46, 0.26) 26%, rgba(54, 61, 46, 0.46) 100%);
}

.hero-stack-shell {
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.hero-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
}

.stack-card {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 1.02;
    background: #e8e5db;
    box-shadow: var(--shadow);
}

.host-card {
    min-height: 100%;
    padding: 1.7rem;
    background: rgba(255, 253, 248, 0.92);
}

.hero-intro-card {
    width: min(100%, 54rem);
    text-align: center;
}

.hero-intro-card p {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.host-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-top: 0.5rem;
}

.section-grid {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
}

#ferienwohnung .section-grid {
    align-items: stretch;
}

#ferienwohnung .section-heading {
    align-content: center;
}

#ferienwohnung .feature-grid {
    height: 100%;
    align-items: stretch;
}

.section-heading {
    display: grid;
    gap: 1rem;
}

.section-heading-action {
    margin-top: 0.4rem;
}

.section-heading h2,
.contact-card h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.amenities-copy h2 {
    min-height: 2em;
}

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

.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 1.6rem;
    background: var(--surface-strong);
    border: 1px solid var(--line);
}

.feature-card h3 {
    margin: 0.45rem 0 1rem;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.45rem;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

.amenities-layout,
.contact-grid,
.footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.amenities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
}

.amenity-pill {
    padding: 1rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.82);
    border: 1px solid var(--line);
    font-weight: 600;
    text-align: center;
}

.summer-card-section {
    background: var(--panel);
    color: #f7f4ec;
}

.summer-card-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.summer-card-copy {
    max-width: 36rem;
}

.summer-card-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.35rem 0.7rem;
    margin-top: 0.3rem;
}

.summer-card-heading-top,
.summer-card-heading-bottom {
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: 0.94;
}

.summer-card-heading-top {
    font-size: clamp(3rem, 5vw, 4.6rem);
}

.summer-card-heading-bottom {
    display: block;
    width: 100%;
    font-size: clamp(3rem, 5vw, 4.6rem);
    font-style: italic;
}

.summer-card-logo {
    width: auto;
    height: 3.35rem;
}

.summer-card-intro {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-top: 1.75rem;
}

.summer-card-badge {
    margin: 0;
}

.summer-card-text > p {
    margin: 0;
    color: rgba(247, 244, 236, 0.94);
    font-size: 1.08rem;
}

.summer-card-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.1rem;
    margin-top: 1.5rem;
}

.summer-card-fact {
    display: grid;
    grid-template-columns: 1.45rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    color: rgba(247, 244, 236, 0.94);
    font-weight: 600;
}

.summer-card-fact-icon,
.summer-card-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.summer-card-fact-icon {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    border: 1px solid rgba(247, 244, 236, 0.36);
    background: rgba(255, 255, 255, 0.08);
}

.summer-card-fact-icon svg {
    width: 0.9rem;
    height: 0.9rem;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.summer-card-panel-icon svg {
    width: 1.4rem;
    height: 1.4rem;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.summer-card-button {
    width: min(100%, 24rem);
    margin-top: 2rem;
    color: #f7f4ec;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(247, 244, 236, 0.42);
    box-shadow: none;
}

.summer-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.summer-card-panel {
    min-width: 0;
    min-height: 100%;
    padding: 2rem 1.25rem 1.4rem;
    text-align: center;
    border-radius: 1.7rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(247, 244, 236, 0.16);
}

.summer-card-panel-icon {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 1rem;
    color: rgba(247, 244, 236, 0.96);
}

.summer-card-panel h3 {
    margin: 0 0 0.9rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    line-height: 1.05;
    min-height: calc(2 * 1.05em);
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.summer-card-panel p {
    margin: 0;
    max-width: 100%;
    color: rgba(247, 244, 236, 0.9);
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.section-dark .section-heading p,
.section-dark .season-card p,
.section-dark .season-list {
    color: rgba(247, 244, 236, 0.84);
}

.section-heading-compact {
    max-width: 48rem;
    margin-bottom: 2rem;
}

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

.season-card {
    padding: 2rem;
    background: rgba(247, 244, 236, 0.08);
    border: 1px solid rgba(247, 244, 236, 0.15);
}

.season-card h3 {
    font-size: 2rem;
    margin-top: 0.75rem;
}

.season-list,
.booking-notes {
    margin: 1.1rem 0 0;
    padding-left: 1.15rem;
}

.season-list li,
.booking-notes li {
    margin-top: 0.5rem;
}

.contact-card,
.booking-card {
    padding: 2rem;
    background: var(--surface-strong);
    border: 1px solid var(--line);
}

.contact-details p {
    margin: 0 0 0.85rem;
}

.contact-details p.contact-detail-row {
    margin: 0;
}

.contact-details p.contact-detail-row + p.contact-detail-row {
    margin-top: 0;
}

.contact-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.contact-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    color: var(--accent-dark);
    flex: 0 0 auto;
}

.contact-detail-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.booking-notes {
    color: var(--muted);
}

.site-footer {
    padding: 1.8rem 0 3rem;
    color: var(--muted);
}

.footer-grid {
    align-items: start;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-contact {
    align-items: flex-start;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: fade-up 720ms ease forwards;
}

.hero-copy {
    animation-delay: 80ms;
}

.hero-visual {
    animation-delay: 180ms;
}

.feature-card:nth-child(2),
.amenity-pill:nth-child(2),
.season-card:nth-child(2),
.booking-card {
    animation-delay: 120ms;
}

.feature-card:nth-child(3),
.amenity-pill:nth-child(3) {
    animation-delay: 180ms;
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .hero-copy-shell,
    .section-grid,
    .summer-card-layout,
    .amenities-layout,
    .contact-grid,
    .footer-grid,
    .feature-grid,
    .season-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero-copy-shell {
        padding: 2.5rem 0;
    }

    .hero-copy {
        padding: 1.5rem 1.4rem 1.7rem;
    }

    .hero-stack-shell {
        margin-top: 1.5rem;
    }

    .hero-facts-shell {
        margin-top: -2rem;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 4.25rem 0;
    }

    .hero {
        padding-top: 0;
    }

    .hero-copy h1 {
        max-width: 12ch;
    }

    .hero-copy-shell {
        padding: 2rem 0;
    }

    .hero-copy {
        padding: 1.2rem 1rem 1.45rem;
    }

    .header-bar {
        justify-content: center;
        text-align: center;
    }

    .site-nav {
        justify-content: center;
        gap: 0.35rem 1rem;
    }

    .hero-stack,
    .summer-card-grid,
    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .summer-card-intro,
    .summer-card-facts {
        grid-template-columns: 1fr;
    }

    .summer-card-badge {
        max-width: 7rem;
    }

    .summer-card-logo {
        height: 2.7rem;
    }

    .brand-name {
        font-size: 1.55rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.6rem, 11vw, 4rem);
        width: min(100%, 14ch);
        max-width: 14ch;
    }

    .hero-copy .lead {
        font-size: 1rem;
    }
}
