:root {
    --color-primary: #6b5340;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #fff;
    --color-bg-alt: #8b765c;
    --color-bg-alt-text: #fff;
    --color-accent: #f0e6d3;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    transition: top 0.3s;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    background: var(--color-bg);
    border-bottom: 1px solid #eee;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nav-brand {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--color-text);
    padding: 8px 16px;
    cursor: pointer;
    font-size: 1rem;
    min-width: 44px;
    min-height: 44px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-link {
    color: var(--color-text);
    font-size: 0.95rem;
    padding: 12px 0;
    display: block;
}

.section {
    padding: 48px 0;
    text-align: center;
}

.section--white {
    background: var(--color-bg);
    color: var(--color-text);
}

.section--brown {
    background: var(--color-bg-alt);
    color: var(--color-bg-alt-text);
}

.section--brown h2,
.section--brown h3,
.section--brown h4 {
    color: #fff;
}

.section--brown a {
    color: var(--color-accent);
}

.section h2 {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 24px;
    text-align: center;
}

.section h3 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin: 24px 0 12px;
    text-align: center;
}

.section h4 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin: 20px 0 10px;
    text-align: center;
}

.section p {
    margin-bottom: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    text-justify: inter-word;
}

.hero {
    padding: 160px 24px;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url(../assets/background2.jpg) center/cover no-repeat;
    color: white;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-accent);
    text-align: center;
}

.about-img {
    max-width: 400px;
    margin: 24px auto;
    border-radius: 4px;
}

#about .section-content {
    display: flex;
    align-items: center;
    gap: 32px;
    text-align: left;
}

#about .section-content p {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

#about .about-img {
    margin: 24px 0;
    margin-left: auto;
}

.ausstellung-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 24px;
    text-align: left;
}

.ausstellung-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 4px;
    text-align: center;
}

.ausstellung-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 16px;
}

.ausstellung-item h3,
.ausstellung-item h4 {
    color: #fff;
    margin-bottom: 12px;
    text-align: center;
}

.ausstellung-item p {
    color: #fff;
    max-width: 100%;
}

.subsection {
    margin: 32px 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.subsection-img {
    margin-top: 16px;
    border-radius: 4px;
}

.price-note {
    display: none;
}

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

.price-card {
    background: var(--color-bg-alt);
    color: var(--color-bg-alt-text);
    padding: 24px;
    border-radius: 4px;
    text-align: center;
}

.price-card h3 {
    color: #fff;
    margin: 0 0 16px;
}

.price-desc {
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-align: center;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin-top: 24px;
    padding: 0 60px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-track img {
    height: 300px;
    object-fit: cover;
    flex-shrink: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-btn--prev {
    left: -60px;
}

.slider-btn--next {
    right: -60px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border: none;
}

.slider-dot.active {
    background: #fff;
}

#kontakt {
    text-align: center;
}

#kontakt h2,
#kontakt h3 {
    text-align: center;
}

#kontakt h3 {
    margin-bottom: 16px;
}

#kontakt a {
    font-size: 1.2rem;
}

.contact-email {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.contact-email p {
    font-size: 1.2rem;
    text-align: center;
}

.contact-email h3 {
    margin-bottom: 0;
}

.footer {
    background: var(--color-primary);
    color: white;
    padding: 32px 24px;
    text-align: center;
}

.footer a {
    color: white;
    text-decoration: underline;
}

.footer p {
    margin-bottom: 8px;
}

.faq-item {
    max-width: 800px;
    margin: 16px auto;
    text-align: left;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.faq-item h3 {
    text-align: left;
    color: #fff;
    cursor: pointer;
    margin-bottom: 8px;
}

.faq-item p {
    text-align: left;
    color: #fff;
    max-width: 100%;
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 16px;
        min-height: 50vh;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section {
        padding: 32px 0;
    }
    .section h2 {
        font-size: 1.3rem;
    }
    .container {
        padding: 0 16px;
    }
    .about-img {
        max-width: 300px;
    }
    .ausstellung-item img {
        height: 200px;
    }
    .slider-track img {
        height: 250px;
    }
    .slider-btn {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    .contact-email p {
        font-size: 1rem;
    }
    .price-amount {
        font-size: 1.3rem;
    }
    .nav-brand {
        font-size: 0.9rem;
    }
    .footer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    #about .section-content {
        flex-direction: column;
    }
    #about .section-content p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    #about .about-img {
        margin: 24px auto;
    }
    .ausstellung-grid {
        grid-template-columns: 1fr;
    }
    .slider-track img {
        width: 100%;
        margin-right: 0;
        height: 300px;
    }
    .slider-btn--prev {
        left: 10px;
    }
    .slider-btn--next {
        right: 10px;
    }
    .slider-container {
        padding: 0;
    }
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 16px;
        margin-top: 16px;
    }
    .nav-menu.active {
        display: flex;
    }
    .section h2 {
        font-size: 1.5rem;
    }
    .pricing {
        grid-template-columns: 1fr;
    }
    .slider-btn {
        width: 44px;
        height: 44px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 900px;
    }
    .ausstellung-grid {
        grid-template-columns: 1fr;
    }
    .slider-track img {
        width: calc(50% - 12px);
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    .hero h1 {
        font-size: 4rem;
    }
}
