* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Lato", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #8d2721;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* CONTAINER */

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* HEADER */

header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    padding: 15px 0;
}

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

/* LOGO */

.logo img {
    max-width: 240px;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.logo img:hover {
    transform: scale(1.03);
}

/* NAVIGATION */

nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #8d2721;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #8d2721;
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: #8d2721;
}

/* HERO */

.hero {
    height: 82vh;
    background: url('bilder/02-haus-waldheim-wiese.jpg') center center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 20px;
    animation: fadeUp 1s ease;
}

.hero-content h2 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.hero-content p {
    font-size: 24px;
    letter-spacing: 0.5px;
}

/* CONTENT */

.content {
    padding: 90px 0;
}

.text-block {
    margin-bottom: 60px;
    animation: fadeUp 1s ease;
}

.text-block h2 {
    color: #8d2721;
    font-size: 42px;
    margin-bottom: 25px;
    line-height: 1.2;
}

.text-block p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #8d2721;
}

/* IMAGE GRID */

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.image-grid img {
    width: 100%;
    border-radius: 18px;
    display: block;
    transition: all 0.5s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.image-grid img:hover {
    transform: scale(1.03);
}

/* CARDS */

.apartment-grid,
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    animation: fadeUp 1s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card h3 {
    padding: 25px 25px 10px;
    color: #8d2721;
    font-size: 28px;
}

.card p {
    padding: 0 25px 30px;
    color: #8d2721;
    font-size: 17px;
}

/* PAGE HEADER */

.page-header {
    background: #8d2721;
    color: white;
    padding: 90px 0;
    text-align: center;
}

.page-header h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
}

/* IMPRESSUM */

.impressum h3 {
    margin-top: 35px;
    margin-bottom: 15px;
    color: #8d2721;
}

.impressum p {
    margin-bottom: 15px;
    color: #8d2721;
}

/* FOOTER */

footer {
    background: #8d2721;
    color: white;
    padding: 70px 0 25px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-grid h3 {
    margin-bottom: 18px;
    font-size: 24px;
    color: white;
}

.footer-grid p {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.92);
    font-size: 15px;
}

/* TOURISMUS LOGO */

.tourismus-logo {
    text-align: center;
    margin-bottom: 25px;
}

.tourismus-logo img {
    max-width: 180px;
    width: 100%;
    opacity: 0.95;
    transition: all 0.4s ease;
}

.tourismus-logo img:hover {
    transform: scale(1.05);
}

/* FOOTER BOTTOM */

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

/* ANIMATIONS */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */

@media (max-width: 900px) {

    header .container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .hero {
        height: 70vh;
    }

    .hero-content h2 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .text-block h2 {
        font-size: 34px;
    }

    .page-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {

    .logo img {
        max-width: 180px;
    }

    nav ul {
        gap: 14px;
    }

    nav a {
        font-size: 14px;
    }

    .hero-content h2 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .content {
        padding: 60px 0;
    }

    .text-block h2 {
        font-size: 28px;
    }

    .text-block p {
        font-size: 16px;
    }

    .page-header {
        padding: 60px 0;
    }

    .page-header h2 {
        font-size: 30px;
    }

    .footer-grid {
        text-align: center;
    }
}