/* Gemeinsame Styles für alle Schön Bunt Seiten */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #4A4A4A;
    background-color: #FFF9F5;
    scrollbar-gutter: stable;
    overflow-y: scroll;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@supports (padding: max(0px)) {
    body {
        padding-bottom: max(80px, env(safe-area-inset-bottom));
    }
}

header {
    background: linear-gradient(135deg, #E8B4D4 0%, #B8A4D4 50%, #A4C4E8 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.95;
}

nav {
    background-color: #D4A5C4;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav li {
    margin: 0 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav a:hover {
    color: #FFE5F0;
    background: rgba(255, 255, 255, 0.1);
}

nav a.active {
    background-color: rgba(255, 229, 240, 0.2);
    color: #FFE5F0;
    font-weight: 600;
    border-bottom: 3px solid #FFE5F0;
}

.hero {
    background: linear-gradient(rgba(232, 180, 212, 0.8), rgba(164, 196, 232, 0.8)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23FFE5F0" width="1200" height="400"/><circle cx="200" cy="100" r="80" fill="%23E8B4D4" opacity="0.5"/><circle cx="800" cy="250" r="100" fill="%23B8A4D4" opacity="0.5"/><circle cx="1000" cy="150" r="60" fill="%23A4C4E8" opacity="0.5"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section {
    margin-bottom: 4rem;
}

.section h2 {
    color: #D4A5C4;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 3px solid #E8B4D4;
    padding-bottom: 0.5rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #E8B4D4;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: #B8A4D4;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.icon svg {
    width: 60px;
    height: 60px;
    fill: #E8B4D4;
}

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

.info-box {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #E8B4D4;
}

.info-box h3 {
    color: #B8A4D4;
    margin-bottom: 0.5rem;
}

.info-box p {
    color: #666;
    font-size: 0.95rem;
}

footer {
    background-color: #D4A5C4;
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section h3 {
    color: #FFE5F0;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: #FFD700;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    margin-top: 1rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #B8A4D4;
    font-size: 1.1rem;
    list-style: none;
    user-select: none;
    transition: background-color 0.2s;
}

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

.faq-question::before {
    content: "▶";
    display: inline-block;
    margin-right: 0.75rem;
    transition: transform 0.3s;
    color: #E8B4D4;
}

details[open] .faq-question::before {
    transform: rotate(90deg);
}

.faq-question:hover {
    background-color: #f7fafc;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #4a5568;
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer a {
    color: #667eea;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.embed-container {
    position: fixed;
    right: 20px;
    bottom: 10px;
    width: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.embed-container.hidden {
    transform: translateY(calc(100% - 52px));
}

.embed-container.hidden .widget-content {
    display: none;
}

.widget-toggle {
    background: linear-gradient(135deg, #E8B4D4 0%, #B8A4D4 50%, #A4C4E8 100%);
    color: white;
    padding: 1rem;
    border-radius: 15px 15px 0 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.widget-toggle:hover {
    background: linear-gradient(135deg, #B8A4D4 0%, #E8B4D4 50%, #A4C4E8 100%);
}

.widget-toggle h2 {
    color: white;
    text-align: left;
    margin: 0;
    font-size: 1.2rem;
}

.toggle-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.embed-container.hidden .toggle-icon {
    transform: rotate(180deg);
}

.widget-content {
    padding: 1rem;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.booking-iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
    background: white;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    nav ul {
        flex-direction: column;
        padding: 0 1rem;
    }

    nav li {
        margin: 0.5rem 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        margin: 0;
    }

    nav li {
        margin: 0.5rem 0;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .booking-iframe {
        width: 100%;
        height: auto;
        min-height: 600px;
    }

    /* Mobile CTA Button */
    .mobile-cta {
        display: block;
        position: fixed;
        bottom: calc(20px + env(safe-area-inset-bottom));
        right: 20px;
        left: 20px;
        z-index: 999;
        max-width: calc(100% - 40px);
        animation: slideUp 0.5s ease-out, pulse 2s ease-in-out infinite;
        animation-delay: 0s, 0.5s;
    }

    .mobile-cta.cta-button {
        width: 100%;
        padding: 1rem;
        text-align: center;
        background: linear-gradient(135deg, #E8B4D4 0%, #B8A4D4 50%, #A4C4E8 100%);
        border: 2px solid #B8A4D4;
        color: white;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(184, 164, 212, 0.4);
    }

    .mobile-cta.cta-button:hover {
        background: linear-gradient(135deg, #D9A0CD 0%, #AD98CE 50%, #9AB8E8 100%);
        border-color: #E8B4D4;
        box-shadow: 0 6px 20px rgba(184, 164, 212, 0.6);
    }

    .mobile-cta.cta-button:active {
        transform: scale(0.98);
    }

    /* Verstecke das Desktop Widget auf mobil */
    .embed-container {
        position: static;
        bottom: auto;
        width: 100%;
        margin: 2rem auto 100px;
        max-width: 500px;
        transform: none !important;
        display: none;
    }

    .widget-content {
        max-height: 400px;
    }

    .gallery-slide img {
        height: 300px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }

    .gallery-thumbnail img {
        height: 80px;
    }

    .desktop-widget {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-cta {
        display: none;
    }

    nav {
        background-color: #D4A5C4;
        padding: 1rem 0;
    }
}
