/* ============================================================
   Ferienhaus Wissegg — Stylesheet
   Modernisiert mit CSS Custom Properties, Accessibility & Performance
   ============================================================ */

/* --- Design Tokens --- */
:root {
    --cream: #F5F0E8;
    --dark: #1A1A18;
    --forest: #3B5A3E;
    --warm: #C4A882;
    --warm-light: #D4C4AA;
    --mist: #E8E2D6;
    --snow: #FDFBF7;

    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'DM Sans', sans-serif;

    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --transition-speed: 0.4s;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Skip-to-Content (Accessibility) --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--forest);
    color: var(--snow);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s var(--ease-out);
}

nav.scrolled,
nav.nav-solid {
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 3rem;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--snow);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color var(--transition-speed);
}

nav.scrolled .nav-logo,
nav.nav-solid .nav-logo {
    color: var(--dark);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color var(--transition-speed);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width var(--transition-speed) var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    width: 100%;
}

nav.scrolled .nav-links a,
nav.nav-solid .nav-links a {
    color: var(--dark);
}

/* --- Hamburger --- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0.5rem;
}

.nav-hamburger span {
    width: 28px;
    height: 1.5px;
    background: var(--snow);
    transition: all var(--transition-speed);
    display: block;
}

nav.scrolled .nav-hamburger span,
nav.nav-solid .nav-hamburger span {
    background: var(--dark);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
}

.mobile-menu[aria-hidden="false"] {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--snow);
    text-decoration: none;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-speed);
}

.mobile-menu[aria-hidden="false"] a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu[aria-hidden="false"] a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu[aria-hidden="false"] a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu[aria-hidden="false"] a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu[aria-hidden="false"] a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu[aria-hidden="false"] a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu[aria-hidden="false"] a:nth-child(6) { transition-delay: 0.35s; }

/* --- Hero --- */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(26, 26, 24, 0.2) 0%,
            rgba(26, 26, 24, 0.05) 30%,
            rgba(26, 26, 24, 0.35) 70%,
            rgba(26, 26, 24, 0.75) 100%),
        url('../images/hero.jpg') center / cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
    to { transform: scale(1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem 8vh;
    max-width: 900px;
    animation: fadeUp 1.4s var(--ease-out) 0.3s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-label {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--warm-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 300;
    color: var(--snow);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: italic;
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 0.02em;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-scroll {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
    color: var(--warm-light);
}

.scroll-line {
    width: 40px;
    height: 1px;
    background: currentColor;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* --- Section Base --- */
.section {
    padding: 8rem 3rem;
}

/* --- Intro --- */
.intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.intro-text .label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.intro-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.intro-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #5A5A56;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.intro-visual {
    position: relative;
}

.intro-visual .img-main {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
}

.intro-visual .img-accent {
    position: absolute;
    bottom: -3rem;
    left: -3rem;
    width: 55%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 6px solid var(--cream);
    border-radius: 3px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* --- Fact Strip --- */
.fact-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.fact-item {
    text-align: center;
}

.fact-number {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--forest);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.fact-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    font-weight: 400;
}

/* --- Rooms --- */
.rooms-section {
    background: var(--dark);
    color: var(--snow);
    padding: 8rem 3rem;
}

.rooms-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.rooms-header .label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.rooms-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.rooms-header p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.room-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    padding: 2.5rem;
    transition: all 0.5s var(--ease-out);
}

.room-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.room-floor {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--warm);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 1.2rem;
}

.room-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.room-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    line-height: 1.7;
    font-weight: 300;
}

/* --- Features Band --- */
.features-band {
    background: var(--forest);
    padding: 4rem 3rem;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.03em;
}

.feature-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--warm);
    opacity: 0.6;
}

/* --- Gallery --- */
.gallery-section {
    padding: 8rem 3rem;
    background: var(--snow);
}

.gallery-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.gallery-header .label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.gallery-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 0.8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 3px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease-out);
}

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

.gallery-item:nth-child(1) {
    grid-column: 1 / 8;
    grid-row: 1;
    aspect-ratio: 16 / 10;
}

.gallery-item:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1;
    aspect-ratio: 1;
}

.gallery-item:nth-child(3) {
    grid-column: 1 / 5;
    grid-row: 2;
    aspect-ratio: 1;
}

.gallery-item:nth-child(4) {
    grid-column: 5 / 13;
    grid-row: 2;
    aspect-ratio: 16 / 7;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.2rem 1rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    font-weight: 300;
    letter-spacing: 0.03em;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* --- History --- */
.history-section {
    padding: 6rem 3rem;
    background: var(--cream);
}

.history-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: center;
}

.history-img {
    width: 100%;
    border-radius: 3px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.history-text .label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.history-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.history-text p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: #5A5A56;
    font-weight: 300;
    margin-bottom: 1rem;
}

/* --- Activities --- */
.activities-section {
    padding: 8rem 3rem;
    background: var(--mist);
}

.activities-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.activities-header .label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.activities-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.activity-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--snow);
    border-radius: 3px;
    transition: all var(--transition-speed) var(--ease-out);
}

.activity-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.activity-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--forest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
}

.activity-card h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.activity-card p {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
    font-weight: 300;
}

/* --- Location --- */
.location-section {
    position: relative;
    padding: 10rem 3rem;
    overflow: hidden;
    color: var(--snow);
    text-align: center;
}

.location-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(26, 26, 24, 0.45) 0%,
            rgba(26, 26, 24, 0.6) 100%),
        url('../images/location.jpg') center / cover no-repeat;
}

.location-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.location-content .label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.location-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.15;
}

.location-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.location-coords {
    display: inline-flex;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
}

.coord-item {
    text-align: left;
}

.coord-item .c-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.3rem;
}

.coord-item .c-value {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
}

/* --- Pricing --- */
.pricing-section {
    padding: 8rem 3rem;
    background: var(--snow);
}

.pricing-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pricing-inner .label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.pricing-inner h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.pricing-inner > p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 3rem;
}

.price-card {
    background: var(--cream);
    padding: 3.5rem;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--forest), var(--warm));
}

.price-amount {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--forest);
    margin-bottom: 0.3rem;
}

.price-amount span {
    font-size: 1.2rem;
    color: #888;
}

.price-period {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 2rem;
}

.price-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: left;
}

.price-feature {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.88rem;
    color: #5A5A56;
    font-weight: 300;
}

.price-feature::before {
    content: '\2713';
    color: var(--forest);
    font-weight: 600;
    font-size: 0.8rem;
}

/* --- Contact --- */
.contact-section {
    padding: 8rem 3rem;
    background: var(--dark);
    color: var(--snow);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info .label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.contact-detail {
    margin-bottom: 1.5rem;
}

.contact-detail .cd-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.4rem;
}

.contact-detail .cd-value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.contact-detail a {
    color: var(--warm-light);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-detail a:hover,
.contact-detail a:focus-visible {
    color: var(--warm);
}

/* --- Contact Form --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.4rem;
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    padding: 1rem 1.2rem;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--warm);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #c0392b;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-status {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 2px;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(59, 90, 62, 0.2);
    color: var(--warm-light);
    border: 1px solid rgba(59, 90, 62, 0.4);
}

.form-status.error {
    display: block;
    background: rgba(192, 57, 43, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(192, 57, 43, 0.4);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1rem 2.5rem;
    background: var(--warm);
    color: var(--dark);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-speed) var(--ease-out);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--warm-light);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* --- Footer --- */
footer {
    background: #111;
    padding: 3rem;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--snow);
    margin-bottom: 1rem;
}

.footer-addr {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.footer-line {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 auto 1.5rem;
}

/* Hinweis, dass die Belegung nicht aktuell gepflegt ist */
.booking-warnung {
    max-width: 60ch;
    margin: 1.2rem auto 0;
    padding: 0.9rem 1.2rem;
    border-left: 3px solid var(--warm);
    background: rgba(196, 168, 130, 0.12);
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.booking-warnung strong { color: var(--warm-light); }

/* --- Haeufige Fragen --- */
.faq-section {
    padding: 8rem 3rem;
    background: var(--snow);
}

.faq-inner {
    max-width: 820px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.faq-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 1.2rem;
}

.faq-header p {
    color: rgba(26, 26, 24, 0.6);
    font-weight: 300;
    max-width: 46ch;
    margin: 0 auto;
}

.faq-list {
    border-top: 1px solid rgba(26, 26, 24, 0.12);
}

.faq-list details {
    border-bottom: 1px solid rgba(26, 26, 24, 0.12);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--dark);
    cursor: pointer;
    list-style: none;
    transition: color var(--transition-speed);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
    content: '';
    flex: none;
    width: 12px;
    height: 12px;
    border-right: 1px solid var(--warm);
    border-bottom: 1px solid var(--warm);
    transform: rotate(45deg) translate(-3px, -3px);
    transition: transform var(--transition-speed) var(--ease-out);
}

.faq-list details[open] summary::after {
    transform: rotate(225deg) translate(-3px, -3px);
}

.faq-list summary:hover { color: var(--forest); }

.faq-list details p {
    padding: 0 3rem 1.6rem 0;
    color: rgba(26, 26, 24, 0.7);
    font-weight: 300;
    line-height: 1.85;
}

@media (max-width: 768px) {
    .faq-section { padding: 5rem 1.5rem; }
    .faq-list summary { font-size: 1.1rem; }
    .faq-list details p { padding-right: 1rem; }
}

.form-privacy {
    margin-top: 1rem;
    font-size: 0.7rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.35);
}

.form-privacy a {
    color: var(--warm);
    text-underline-offset: 3px;
}

/* --- Rechtsseiten (Impressum, Datenschutz) --- */
.legal-hero {
    padding: 12rem 3rem 4rem;
    background: var(--mist);
    border-bottom: 1px solid rgba(26, 26, 24, 0.08);
}

.legal-hero .inner,
.legal-body {
    max-width: 780px;
    margin: 0 auto;
}

.legal-hero h1 {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.1;
    color: var(--dark);
}

.legal-hero p {
    margin-top: 1.2rem;
    max-width: 52ch;
    color: rgba(26, 26, 24, 0.7);
    font-weight: 300;
}

.legal-stand {
    margin-top: 1.8rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(26, 26, 24, 0.45);
}

.legal-body {
    padding: 5rem 3rem;
}

.legal-body section + section {
    margin-top: 3.5rem;
}

.legal-body h2 {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.2;
    color: var(--dark);
    padding-bottom: 0.7rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(26, 26, 24, 0.1);
}

.legal-body h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 1.8rem 0 0.4rem;
    color: var(--dark);
}

.legal-body p,
.legal-body li {
    color: rgba(26, 26, 24, 0.72);
    font-weight: 300;
    line-height: 1.8;
}

.legal-body p + p {
    margin-top: 1rem;
}

.legal-body ul {
    margin: 1rem 0 0;
    padding-left: 1.3rem;
}

.legal-body li {
    margin-bottom: 0.5rem;
}

.legal-body li::marker {
    color: var(--warm);
}

.legal-body a {
    color: var(--forest);
    text-underline-offset: 3px;
}

.legal-body address {
    margin-top: 1rem;
    font-style: normal;
    line-height: 2;
    color: var(--dark);
}

.legal-note {
    margin-top: 1.5rem;
    padding: 1.1rem 1.4rem;
    background: var(--snow);
    border-left: 3px solid var(--warm);
    font-size: 0.85rem;
    line-height: 1.7;
}

.legal-note strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.todo {
    padding: 0.1em 0.45em;
    border-radius: 3px;
    background: #f6e3a8;
    color: #6b520d;
    font-family: monospace;
    font-size: 0.9em;
}

/* Die globale nav-Regel weiter oben positioniert JEDES <nav> fix am
   oberen Rand. Diese beiden sind Inhaltsnavigationen und muessen im
   Textfluss bleiben — deshalb hier zuruecksetzen. */
.legal-back,
.footer-legal {
    position: static;
    width: auto;
    z-index: auto;
    transition: none;
}

.legal-back {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3.5rem;
    padding: 2rem 0 0;
    border-top: 1px solid rgba(26, 26, 24, 0.1);
}

@media (max-width: 768px) {
    .legal-hero { padding: 9rem 1.5rem 3rem; }
    .legal-body { padding: 3rem 1.5rem; }
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 0;
}

.footer-legal a {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
}

.footer-legal a:hover {
    color: var(--warm);
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05em;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gestaffeltes Einblenden.
   Diese Werte standen frueher als style="transition-delay:…" im HTML.
   Die Content-Security-Policy verbietet Inline-Styles, deshalb hier als
   Klassen — die Wirkung ist identisch. */
.reveal.d1  { transition-delay: 0.1s; }
.reveal.d15 { transition-delay: 0.15s; }
.reveal.d2  { transition-delay: 0.2s; }
.reveal.d3  { transition-delay: 0.3s; }

/* Spam-Falle im Kontaktformular: fuer Menschen unsichtbar, fuer Bots
   sichtbar. Ersetzt die frueher inline gesetzte Positionierung. */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- Focus Visible (Accessibility) --- */
:focus-visible {
    outline: 2px solid var(--warm);
    outline-offset: 3px;
}

/* --- Reduced Motion (Accessibility) --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-bg {
        transform: scale(1);
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Responsive: Tablet --- */
@media (max-width: 1080px) {
    /* Mit 8 Navigationspunkten reicht der Platz nicht mehr — früher aufs Hamburger-Menü wechseln */
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }
}

@media (max-width: 1024px) {
    .intro {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .intro-visual .img-accent {
        left: auto;
        right: -1rem;
        bottom: -2rem;
        width: 45%;
    }

    .rooms-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .history-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
    nav {
        padding: 1.2rem 1.5rem;
    }

    nav.scrolled,
    nav.nav-solid {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .section {
        padding: 5rem 1.5rem;
    }

    .rooms-section {
        padding: 5rem 1.5rem;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .fact-strip {
        grid-template-columns: 1fr 1fr;
        padding: 3rem 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .gallery-item:nth-child(2) {
        grid-column: 1 / 3;
        grid-row: 2;
        aspect-ratio: 16 / 10;
    }

    .gallery-item:nth-child(3) {
        grid-column: 1;
        grid-row: 3;
        aspect-ratio: 16 / 10;
    }

    .gallery-item:nth-child(4) {
        grid-column: 2;
        grid-row: 3;
        aspect-ratio: 16 / 10;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .location-section {
        padding: 6rem 1.5rem;
    }

    .pricing-section {
        padding: 5rem 1.5rem;
    }

    .price-features {
        grid-template-columns: 1fr;
    }

    .price-card {
        padding: 2.5rem 2rem;
    }

    .contact-section {
        padding: 5rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .features-band {
        gap: 2rem;
        padding: 3rem 1.5rem;
    }

    .location-coords {
        flex-direction: column;
        gap: 1.5rem;
    }

    .gallery-section,
    .activities-section {
        padding: 5rem 1.5rem;
    }

    .history-section {
        padding: 4rem 1.5rem;
    }
}

/* --- Responsive: Small Mobile --- */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.6rem;
    }

    .fact-strip {
        gap: 1.5rem;
    }

    .features-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 2.5rem 2rem;
        gap: 1.2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }
}


/* ============================================================
   Anfahrt (Karte + Wegbeschreibung)
   ============================================================ */
.directions-section {
    padding: 8rem 3rem;
    background: var(--snow);
}

.directions-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.directions-header .label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.directions-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    margin-bottom: 1rem;
}

.directions-header p {
    font-size: 0.95rem;
    color: #888;
    font-weight: 300;
}

.directions-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.map-wrap {
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    min-height: 480px;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 480px;
    background: var(--mist);
    z-index: 1;
}

#map.map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: #888;
}

/* Eigener Karten-Pin (CSS statt Bild — CSP-freundlich) */
.wissegg-pin {
    width: 30px;
    height: 30px;
    background: var(--forest);
    border: 3px solid var(--snow);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.leaflet-popup-content-wrapper {
    border-radius: 3px;
    font-family: var(--font-sans);
}

.directions-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.direction-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: var(--cream);
    border-radius: 3px;
    flex: 1;
}

.direction-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--forest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
}

.direction-card h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.direction-card p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.65;
    font-weight: 300;
}

.btn-outline {
    display: inline-block;
    margin-top: 0.9rem;
    padding: 0.55rem 1.4rem;
    border: 1px solid var(--forest);
    border-radius: 2px;
    color: var(--forest);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all var(--transition-speed) var(--ease-out);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--forest);
    color: var(--snow);
}

/* ============================================================
   Buchung (Verfügbarkeitskalender)
   ============================================================ */
.booking-section {
    padding: 8rem 3rem;
    background: var(--mist);
}

.booking-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.booking-header .label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.booking-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    margin-bottom: 1rem;
}

.booking-header p {
    font-size: 0.95rem;
    color: #888;
    font-weight: 300;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.booking-calendar {
    position: relative;
    background: var(--snow);
    border-radius: 3px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.cal-nav {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.cal-nav-btn {
    width: 38px;
    height: 38px;
    border: 1px solid var(--warm-light);
    background: var(--snow);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: var(--dark);
    transition: all var(--transition-speed) var(--ease-out);
}

.cal-nav-btn:hover:not(:disabled),
.cal-nav-btn:focus-visible {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--snow);
}

.cal-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.cal-months {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cal-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

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

.cal-weekday {
    text-align: center;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    padding-bottom: 0.5rem;
}

.cal-day {
    aspect-ratio: 1;
    border: none;
    background: transparent;
    border-radius: 50%;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--dark);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.cal-day:hover:not(:disabled) {
    background: var(--warm-light);
}

.cal-day.is-past {
    color: #ccc;
    cursor: default;
}

.cal-day.is-blocked {
    color: #c4b5a5;
    text-decoration: line-through;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 3px,
        rgba(196, 168, 130, 0.18) 3px,
        rgba(196, 168, 130, 0.18) 6px
    );
    border-radius: 4px;
    cursor: default;
}

.cal-day.is-changeover {
    background: linear-gradient(135deg, transparent 50%, rgba(196, 168, 130, 0.25) 50%);
    border-radius: 4px;
}

.cal-day.is-range {
    background: var(--mist);
    border-radius: 0;
}

.cal-day.is-arrival,
.cal-day.is-departure {
    background: var(--forest);
    color: var(--snow);
}

.cal-message {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #9a3b2e;
}

.cal-legend {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--mist);
    font-size: 0.75rem;
    color: #888;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.legend-swatch {
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

.swatch-free {
    border: 1px solid var(--warm-light);
    background: var(--snow);
}

.swatch-blocked {
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 3px,
        rgba(196, 168, 130, 0.4) 3px,
        rgba(196, 168, 130, 0.4) 6px
    );
    border: 1px solid var(--warm-light);
}

.swatch-selected {
    background: var(--forest);
}

.booking-summary {
    background: var(--snow);
    border-radius: 3px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 110px;
}

.booking-summary h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--mist);
}

.summary-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
}

.summary-value {
    font-size: 0.95rem;
    font-weight: 500;
}

.summary-total .summary-value {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--forest);
}

.booking-summary .btn-primary {
    width: 100%;
    margin-top: 1.5rem;
}

.btn-text {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.5rem;
    border: none;
    background: transparent;
    color: #888;
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
}

.btn-text:hover {
    color: var(--dark);
}

.booking-note {
    margin-top: 1.25rem;
    font-size: 0.75rem;
    color: #999;
    line-height: 1.5;
}

.price-cta {
    display: inline-block;
    margin-top: 2rem;
    text-decoration: none;
}

/* --- Responsive: Anfahrt & Buchung --- */
@media (max-width: 1024px) {
    .directions-grid,
    .booking-grid {
        grid-template-columns: 1fr;
    }

    .booking-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .directions-section,
    .booking-section {
        padding: 5rem 1.5rem;
    }

    .cal-months {
        grid-template-columns: 1fr;
    }

    .map-wrap,
    #map {
        min-height: 360px;
    }

    .cal-nav {
        position: static;
        justify-content: flex-end;
        margin-bottom: 1rem;
    }
}
