/* Grundlayout */
body {
    margin: 0;
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f7f7f7;
}

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

/* Container */
.container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

/* Hero */
.hero {
    background: url('/ferienhaus/bild-oben.jpg') center/cover no-repeat;
    padding: 120px 20px;
    color: white;
    text-align: center;
    position: relative;
}

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

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

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: #0077b6;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #005f8a;
}

/* Sections */
.section {
    padding: 60px 0;
    background: white;
    margin-bottom: 20px;
}

.intro .lead {
    font-size: 1.2rem;
    text-align: center;
}

/* Grid */
.grid-2 {
    display: grid;
    gap: 40px;
}

@media (min-width: 800px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* Bilder */
.img-rounded {
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Listen */
.list-links li {
    margin-bottom: 8px;
}

.list-links a {
    color: #0077b6;
    text-decoration: none;
}

.list-links a:hover {
    text-decoration: underline;
}

/* CTA */
.cta {
    background: #0077b6;
    color: white;
    text-align: center;
}

.center {
    text-align: center;
}
/* Header */
.site-header {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    width: min(1200px, 90%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

/* Logo */
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    height: 48px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 24px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #0077b6;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: #333;
    height: 3px;
    width: 26px;
    border-radius: 2px;
    position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-label span::before {
    top: -8px;
}

.nav-toggle-label span::after {
    top: 8px;
}

/* Mobile Layout */
@media (max-width: 800px) {

    .main-nav {
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 20px 0;
        border-bottom: 1px solid #ddd;
        display: none;
    }

    .nav-toggle:checked ~ .main-nav {
        display: flex;
    }

    .nav-toggle-label {
        display: block;
    }
}
.gallery-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    margin-top: 40px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.lightbox:target {
    display: flex;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: white;
    text-decoration: none;
    z-index: 2400; /* über allem */
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    text-decoration: none;
    padding: 0 15px;
    user-select: none;
    transition: color 0.2s;
    z-index: 2100; /* über Bild */
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #0077b6;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.small-hero {
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
}

.small-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

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

.small-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 1.1rem;
}

.price-table td {
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
}

.price-table .right {
    text-align: right;
    font-weight: 600;
}
.price-info {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.price-info li {
    margin-bottom: 12px;
}

.price-info .highlight {
    color: #b00020;
    font-weight: 600;
    line-height: 1.5;
}
.kontakt-box {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 8px;
    line-height: 1.6;
    font-size: 1.05rem;
}
.contact-form {
    margin-top: 20px;
}

.form-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    font-weight: 600;
    margin-bottom: 6px;
}

input, textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
}

.submit-row {
    margin-top: 25px;
    text-align: center;
}
.info-box {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    line-height: 1.6;
}
.section h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.section p {
    margin-bottom: 15px;
}
.back-button {
    text-decoration: none;
    color: #0077b6;
    font-weight: 600;
    transition: color 0.2s;
}

.back-button:hover {
    color: #005f8a;
}
.map-wrapper {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
}
.footer-links {
    text-align: center;
    margin-top: 15px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    margin: 0 8px;
}

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