:root {
    --red: #5b1f43;
    --green: #1f3a2e;
    --beige: #f3efe6;
    --accent: #c9b88a;
    --text: #2b2b2b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background-color: var(--beige);
    color: var(--text);
    line-height: 1.5;
}

h1,
h2,
h3 {
    margin-top: 0;
}

h2 {
    color: var(--green);
    font-size: 2rem;
    margin-bottom: 0.5em;
}

h3 {
    color: var(--green);
    font-size: 1.3rem;
    margin-bottom: 0.5em;
}

/* Allgemeine Bereiche unterhalb des Hero */

section:not(.split-hero) {
    padding: 80px 10%;
}

/* SPLITSCREEN HERO */

.split-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 60px 24px;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

/* Hintergrundhälften */

.hero-background {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
}

.hero-summer {
    left: 0;
    background-color: var(--red);
}

.hero-winter {
    right: 0;
    background-color: var(--green);
}

/* Inhalt über beiden Hälften */

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 760px;

    text-align: center;
    color: var(--beige);
}

/* Logos */

.logo-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 35px;
}

.summer-logo {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 185px;
}

.winter-logo {
    position: absolute;
    left: calc(50% + 130px);  /* Abstand zum grossen Logo */
    bottom: -12px;                /* Unterkanten bündig */
    width: 90px;

    transform: rotate(-20deg);
    transform-origin: bottom left;
}

/* Hero-Text */

.hero-content h1 {
    margin: 0 0 38px;
    color: var(--beige);

    font-size: clamp(2.6rem, 6vw, 4.5rem);
    line-height: 1.05;
}

.hero-content p {
    color: var(--beige);
    margin: 0;
}

.hero-intro {
    margin-bottom: 24px !important;
    font-size: 1.15rem;
}

.opening-hours {
    margin-bottom: 32px !important;
    font-size: 1.05rem;
}

.season {
    font-size: 1.05rem;
    font-weight: bold;
}

/* GRID UND BOXEN */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.box {
    background: white;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* ZIEL-BEREICH */

.ziel {
    background-color: var(--green);
    color: var(--beige);
}

.ziel h2 {
    color: var(--beige);
}

.ziel .box {
    background-color: var(--beige);
    border: 2px solid var(--beige);
    box-shadow: none;
}

.ziel .box h3,
.ziel .box p {
    color: var(--green);
}

/* BILDER */

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.image-grid img {
    width: 100%;
    object-fit: cover;
    display: block;
}
.small-gallery {
    max-width: 800px;   /* kleiner */
    margin: 0 auto;
}
/* Erste Galerie (Historische Bilder) */
.portrait-gallery img {
    aspect-ratio: 2 / 3;
}

/* Zweite Galerie (Winterstuba) */
.landscape-gallery img {
    aspect-ratio: 16 / 9;
}

/* Nur auf Smartphones untereinander */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
}

/* ATMOSPHÄRE */

.highlight {
    background-color: var(--green);
    color: var(--beige);
}

.highlight h2 {
    color: var(--beige);
}

/* FOOTER */

footer {
    background-color: var(--beige);
    color: var(--green);
    text-align: center;
    padding: 40px 10%;
    font-size: 0.9rem;
}

footer strong {
    color: var(--green);
}

footer a {
    color: var(--green);
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

/* TABLET UND SMARTPHONE */

@media (max-width: 768px) {
    section:not(.split-hero) {
        padding: 60px 8%;
    }

    .split-hero {
        min-height: 100svh;
        padding: 45px 20px;
    }

    .logo-container {
        gap: 15px;
        margin-bottom: 28px;
    }

    .summer-logo {
        width: 140px;
    }

    .winter-logo {
        width: 68px;
    }

    .hero-content h1 {
        margin-bottom: 30px;
    }

    .hero-intro,
    .opening-hours,
    .season {
        font-size: 0.95rem;
    }

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

    .image-grid img {
        width: 100%;
        max-width: 400px;
        height: 500px;
        margin: 0 auto;
    }
}
footer {
    background-color: #1f3a2e;
    color: #f3efe6;
    text-align: center;
    padding: 50px 10%;
    font-size: 0.95rem;
}

footer strong {
    color: #f3efe6;
}

footer a {
    color: #f3efe6;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
    opacity: 0.8;
}
/* =========================================
   MANUELLE STUBA-SLIDESHOW
========================================= */

.stuba-slider-section {
    background-color: #f3efe6;
    padding: 80px 10%;
    text-align: center;
}

.stuba-slider-section h2 {
    margin: 0 0 40px;
    color: #1f3a2e;
}

.stuba-slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.stuba-slider-window {
    width: 100%;
    overflow: hidden;
}

.stuba-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.45s ease;
}

.stuba-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.stuba-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Pfeile */

.stuba-slider-button {
    position: absolute;
    top: calc(50% - 20px);
    z-index: 20;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 50px;
    height: 50px;
    padding: 0;

    border: none;
    border-radius: 50%;

    background-color: #5b1f43;
    color: #f3efe6;

    font-family: Arial, sans-serif;
    font-size: 28px;
    line-height: 1;

    cursor: pointer;
    transform: translateY(-50%);
}

.stuba-slider-button:hover {
    background-color: #1f3a2e;
}

.stuba-prev {
    left: 18px;
}

.stuba-next {
    right: 18px;
}

/* Punkte */

.stuba-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.stuba-slider-dot {
    width: 12px;
    height: 12px;
    padding: 0;

    border: 2px solid #1f3a2e;
    border-radius: 50%;

    background-color: transparent;
    cursor: pointer;
}

.stuba-slider-dot.is-active {
    background-color: #1f3a2e;
}

@media (max-width: 768px) {
    .stuba-slider-section {
        padding: 60px 8%;
    }

    .stuba-slider-button {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .stuba-prev {
        left: 8px;
    }

    .stuba-next {
        right: 8px;
    }
}