/* Gemeinsame Styles für alle mal wieder 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: #ffecd0;
    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(90deg, #144d77 0%, #196790 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: transparent;
}

.logo-link {
    flex-shrink: 0;
}

.logo-header {
    height: 35px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

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 {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav li {
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    white-space: nowrap;
    font-size: 0.95rem;
}

nav a:hover {
    color: #ffecd0;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

nav a.active {
    background-color: rgba(255, 236, 208, 0.25);
    color: #ffecd0;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero {
    background: linear-gradient(135deg, rgba(20, 77, 119, 0.9) 0%, rgba(25, 103, 144, 0.85) 50%, rgba(33, 143, 174, 0.8) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23ffecd0" width="1200" height="400"/><path d="M0,200 Q300,100 600,200 T1200,200 L1200,400 L0,400 Z" fill="%23144d77" opacity="0.3"/><circle cx="200" cy="100" r="80" fill="%23144d77" opacity="0.4"/><circle cx="800" cy="250" r="100" fill="%23218fae" opacity="0.4"/><circle cx="1000" cy="150" r="60" fill="%2380b6c6" opacity="0.4"/></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: #144d77;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 3px solid #218fae;
    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 #218fae;
}

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

.feature-card h3 {
    color: #196790;
    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: #218fae;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 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 #218fae;
}

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

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

footer {
    background-color: #196790;
    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: #ffecd0;
    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: #ffecd0;
    background: rgba(255, 255, 255, 0.15);
}

.footer-section svg {
    flex-shrink: 0;
}

.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: #196790;
    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: #218fae;
}

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: #218fae;
    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, #144d77 0%, #196790 50%, #218fae 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, #196790 0%, #218fae 50%, #80b6c6 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;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-header {
        height: 50px;
    }
    
    nav {
        width: 100%;
        justify-content: center;
    }

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

    nav li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    nav a {
        display: block;
        width: 100%;
    }

    .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, #144d77 0%, #196790 50%, #218fae 100%);
        border: 2px solid #196790;
        color: white;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(20, 77, 119, 0.4);
    }

    .mobile-cta.cta-button:hover {
        background: linear-gradient(135deg, #196790 0%, #218fae 50%, #80b6c6 100%);
        border-color: #218fae;
        box-shadow: 0 6px 20px rgba(20, 77, 119, 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;
    }
}

/* Mobile Booking CTA Styles */
.mobile-booking-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-booking-cta {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        z-index: 999;
        animation: slideUpMobile 0.5s ease-out;
    }
    
    .mobile-booking-cta a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding: 1.25rem 2rem;
        background: linear-gradient(135deg, #218fae 0%, #144d77 100%);
        color: white;
        text-decoration: none;
        font-weight: 700;
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        border: 3px solid white;
        box-shadow: 0 10px 40px rgba(20, 77, 119, 0.5);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .mobile-booking-cta a::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }
    
    .mobile-booking-cta a:active::before {
        width: 300px;
        height: 300px;
    }
    
    .mobile-booking-cta a:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 50px rgba(20, 77, 119, 0.7);
        border-color: #ffecd0;
    }
}

@keyframes slideUpMobile {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

/* Gallery Styles */
.gallery-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.gallery-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-slide {
    min-width: 100%;
    position: relative;
}

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

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 77, 119, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(33, 143, 174, 1);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #196790;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    background: #218fae;
    transform: scale(1.3);
}

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

.gallery-thumbnail {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.gallery-thumbnail:hover {
    border-color: #218fae;
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border-color: #196790;
}

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

.booking-section {
    background: linear-gradient(135deg, #ffecd0 0%, #ffffff 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Image Grid Styles */
.intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #666;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.image-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.image-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.image-card-content {
    padding: 1.5rem;
}

.image-card-content h3 {
    color: #196790;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.image-card-content p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.section h3 {
    color: #196790;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.section li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.section li strong {
    color: #196790;
}

/* Event Styles */
.image-caption {
    margin-top: 1rem;
    color: #666;
    font-style: italic;
    font-size: 0.95rem;
}

.event-intro {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.event-section-title {
    text-align: center;
    color: #196790;
    margin-bottom: 2rem;
    font-size: 2rem;
    border-bottom: 3px solid #218fae;
    padding-bottom: 0.5rem;
    display: inline-block;
    width: 100%;
}

.event-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.event-type {
    margin-bottom: 2rem;
}

.event-type h3 {
    color: #218fae;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.event-type p {
    color: #555;
    line-height: 1.8;
}

.workshop-step {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 8px;
    border-left: 4px solid #218fae;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.workshop-step h4 {
    color: #196790;
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
}

.workshop-step p {
    color: #555;
    line-height: 1.8;
}

.text-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Booking Page Styles */
.booking-page-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 1.5rem 0;
    margin: 2rem auto;
    max-width: 900px;
    overflow: visible;
}

.booking-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.booking-page-subtitle {
    font-size: 1.125rem;
    color: #718096;
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.booking-iframe-fullsize {
    width: 100%;
    height: 1400px;
    min-height: 100vh;
    border: none;
    border-radius: 0 0 12px 12px;
    display: block;
    overflow: hidden;
}

/* Legal Content Styles */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    color: #144d77;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: #196790;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content h4 {
    color: #218fae;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-content p, .legal-content li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 2rem;
}

.legal-content a {
    color: #218fae;
    text-decoration: none;
}

.legal-content a:hover {
    color: #144d77;
    text-decoration: underline;
}
