body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('images/cafe_background_image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
}

.events-calendly { width:100%; min-height:700px; }
@media (max-width:480px){ .events-calendly { min-height:80vh; } }


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: -1;
}

.container {
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    position: relative;
    z-index: 2;
    background-color: transparent;
}

.logo img {
    max-width: 400px;
    margin-bottom: 40px;
    animation: floatLogo 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8));
}

@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

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

.button {
    display: inline-block;
    padding: 30px 15px;
    background-color: transparent;
    color: #2b3614;
    text-decoration: none;
    border-radius: 25px;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid #2b3614;
    cursor: pointer;
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(74, 93, 35, 0.1);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 200px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 1),
                 0 0 20px rgba(255, 255, 255, 0.8),
                 0 0 30px rgba(255, 255, 255, 0.6);
    font-weight: bold;
}

.button:hover {
    background-color: #2b3614;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(74, 93, 35, 0.3);
}

@media (min-width: 768px) {
    .button-container {
        flex-direction: row;
        gap: 30px;
    }
}

/* Neue Styles für das Pop-up */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.popup.active {
    opacity: 1;
}

.popup-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.popup.active .popup-content {
    transform: scale(1);
    opacity: 1;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #8b4513;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #693410;
    transform: rotate(90deg);
}

/* Styles für die Speisekarte */
.menu-container {
    text-align: center;
    max-width: 100%;
    overflow-x: auto;
}

.menu-pages {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 15px;
}

.menu-page {
    flex: 0 0 auto;
    max-width: 45%;
}

.menu-image {
    width: 100%;
    height: auto;
    cursor: zoom-in;
    transition: transform 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.menu-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .menu-pages {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-page {
        max-width: 90%;
    }
}

.zoom-hint {
    color: #666;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Styles für den Kuchenkatalog */
.cake-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.cake-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cake-item:hover {
    transform: translateY(-5px);
}

.cake-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cake-info {
    padding: 15px;
}

.cake-info h3 {
    margin: 0;
    color: #8b4513;
}

.price {
    display: block;
    font-weight: bold;
    color: #693410;
    margin-top: 10px;
}

/* Styles für Lebkuchenbasteln */
.workshop-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    padding: 20px;
}

.workshop-main-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.workshop-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-block {
    background: rgba(139, 69, 19, 0.1);
    padding: 15px;
    border-radius: 10px;
}

.info-block h3 {
    color: #8b4513;
    margin-top: 0;
}

.info-block ul {
    list-style-type: none;
    padding-left: 0;
}

.info-block ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.info-block ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b4513;
}

.booking-btn {
    background: #8b4513;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.booking-btn:hover {
    background: #693410;
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .workshop-container {
        grid-template-columns: 1fr;
    }
}

/* Neue Styles für die Vollbildansicht */
.fullscreen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    cursor: pointer;
    animation: fadeIn 0.3s ease;
    padding: 40px;
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    animation: scaleIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); }
    to { transform: scale(1); }
}

/* Neue Layout Styles */
.layout-container {
    position: relative;
    display: grid;
    grid-template-areas:
        "left logo right"
        "bottom bottom bottom"
        "clipboards clipboards clipboards"
        "info info info"
        "arrow arrow arrow";
    gap: 40px;
    align-items: center;
    justify-items: center;
    max-width: 2200px;
    margin: 0 auto;
    padding: 100px 20px 0 20px;
    grid-template-columns: 1fr auto 1fr;
}

.logo {
    grid-area: logo;
    margin: 0;
    justify-self: center;
}

.button-left {
    grid-area: left;
    justify-self: end;
    margin-right: 100px;
}

.button-right {
    grid-area: right;
    justify-self: start;
    margin-left: 100px;
}

.button-bottom {
    grid-area: bottom;
    margin-top: 40px;
    writing-mode: horizontal-tb;
    height: auto;
    padding: 15px 30px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .button {
        writing-mode: horizontal-tb;
        height: auto;
        padding: 15px 30px;
    }
    
    .layout-container {
        grid-template-areas:
            "logo"
            "left"
            "right"
            "bottom"
            "info"
            "arrow";
    }
}

/* Info Container Anpassungen */
.info-container {
    grid-area: info;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
    color: #4a5d23;
    padding: 0;
    gap: 400px;
}

.opening-hours, .address {
    text-align: center;
    padding: 20px;
    background-color: transparent;
    box-shadow: none;
    transition: transform 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 1),
                 0 0 20px rgba(255, 255, 255, 0.8),
                 0 0 30px rgba(255, 255, 255, 0.6);
    min-width: 200px;
}

.opening-hours:hover, .address:hover {
    transform: translateY(-5px);
}

.opening-hours h3, .address h3 {
    margin: 0 0 5px 0;
    font-size: 1.4em;
    color: #2b3614;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 1),
                 0 0 20px rgba(255, 255, 255, 0.8),
                 0 0 30px rgba(255, 255, 255, 0.6);
}

.opening-hours p, .address p {
    margin: 2px 0;
    font-size: 1.2em;
    text-align: center;
    color: #2b3614;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 1),
                 0 0 20px rgba(255, 255, 255, 0.8),
                 0 0 30px rgba(255, 255, 255, 0.6);
    line-height: 1.2;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .info-container {
        padding: 0;
        gap: 40px;
        flex-direction: column;
        align-items: center;
    }
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 600px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(74, 93, 35, 0.8);
    color: white;
    padding: 16px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.slide-btn:hover {
    background: rgba(74, 93, 35, 1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slide-number {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(74, 93, 35, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 14px;
}

/* Pop-up Styles anpassen */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.popup-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.popup.active .popup-content {
    transform: scale(1);
    opacity: 1;
}

/* Verbesserte Scrollbar-Styles */
.popup-content::-webkit-scrollbar {
    width: 10px;
}

.popup-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.popup-content::-webkit-scrollbar-thumb {
    background: #4a5d23;
    border-radius: 5px;
}

.popup-content::-webkit-scrollbar-thumb:hover {
    background: #3a4a1c;
}

/* Navigation Buttons für Fullscreen */
.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2em;
    cursor: pointer;
    padding: 20px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.fullscreen-nav:hover {
    background-color: rgba(0,0,0,0.8);
}

.fullscreen-prev {
    left: 20px;
}

.fullscreen-next {
    right: 20px;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .layout-container {
        padding: 20px 10px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .logo img {
        max-width: 300px; /* Kleineres Logo auf mobilen Geräten */
    }

    .button {
        writing-mode: horizontal-tb; /* Buttons horizontal statt vertikal */
        height: auto;
        width: 80%; /* Breite der Buttons */
        padding: 15px;
        margin: 5px auto;
    }

    .button-left, .button-right {
        margin: 5px auto;
        justify-self: center;
    }

    .info-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .opening-hours, .address {
        width: 100%;
        text-align: center;
    }

    /* Pop-up Anpassungen */
    .popup-content {
        width: 95%;
        margin: 10% auto;
        padding: 15px;
    }

    /* Galerie Anpassungen */
    .gallery {
        columns: 2;
        gap: 5px;
        padding: 5px;
    }

    .gallery-item {
        margin-bottom: 5px;
    }

    /* Slideshow Anpassungen */
    .slideshow-container {
        height: 400px;
    }

    .slide-btn {
        padding: 10px;
        font-size: 14px;
    }
}

/* Noch kleinere Bildschirme */
@media (max-width: 480px) {
    .gallery {
        columns: 1; /* Eine Spalte für sehr kleine Bildschirme */
    }

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

    .button {
        width: 90%;
        font-size: 16px;
    }
}

/* Impressum Seite Styles */
.impressum-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
}

.impressum-content {
    max-width: 800px;
    padding: 40px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.impressum-content h1 {
    color: #2b3614;
    margin-bottom: 30px;
    text-align: center;
}

.back-button {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #2b3614;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #4a5d23;
    transform: translateY(-2px);
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .impressum-content {
        padding: 20px;
    }
}

/* Scroll-Pfeil Styles anpassen */
.scroll-arrow {
    grid-area: arrow;
    margin-top: 60px;
    margin-bottom: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-text {
    font-size: 1em;
    color: #000000;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 1),
                 0 0 20px rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    text-align: center;
    text-transform: none;
    writing-mode: horizontal-tb;
}

.scroll-arrow::after {
    content: '';
    width: 20px;
    height: 20px;
    border-right: 3px solid #000000;
    border-bottom: 3px solid #000000;
    transform: rotate(45deg);
    display: block;
    margin: 0 auto;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(-10px);
    }
    60% {
        transform: rotate(45deg) translateY(-5px);
    }
}

.scroll-arrow:hover::after {
    border-color: #333333;
}

.scroll-arrow:hover .scroll-text {
    color: #333333;
}

/* Galerie Styles */
.gallery-section {
    width: 100%;
    padding: 20px;
    margin-top: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Größenanpassungen für verschiedene Bildformate */
.gallery-item:nth-child(4n) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(8n) {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item:nth-child(12n) {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Hover Effekte */
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Fullscreen Modus */
.fullscreen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

/* Navigation Buttons */
.gallery-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* Responsive Anpassungen */
@media (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles anpassen */
.main-footer {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px 0 10px 0;
    margin-top: 100px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    text-align: center;
}

.footer-section h4 {
    color: #2b3614;
    margin-bottom: 10px;
    font-size: 1.1em;
    text-align: center;
}

.footer-section p, 
.footer-section a {
    color: #4a5d23;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85em;
    margin: 0;
    text-align: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.85em;
}

.social-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(43, 54, 20, 0.2);
}

.footer-bottom p {
    color: #4a5d23;
    font-size: 0.8em;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-link {
        justify-content: center;
    }
}

/* Instagram Button Styles */
.instagram-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.instagram-button {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.instagram-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.instagram-text {
    font-weight: bold;
    font-size: 1em;
}

.instagram-handle {
    opacity: 0.9;
    font-size: 0.9em;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .instagram-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Pop-up Mobile Anpassungen */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        margin: 5% auto;
        padding: 15px;
        max-height: 85vh; /* Reduzierte Höhe */
        overflow-y: auto; /* Ermöglicht Scrollen */
        -webkit-overflow-scrolling: touch; /* Besseres Scrollverhalten auf iOS */
    }

    .workshop-container {
        padding: 10px 0;
    }

    /* Calendly Container für Mobile */
    iframe {
        height: 500px !important; /* Feste Höhe für Mobile */
        width: 100% !important;
        min-width: unset !important;
        margin: 0 !important;
    }
}

/* 404 Error Page Styles */
.error-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.error-content {
    max-width: 600px;
    padding: 40px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.error-logo {
    max-width: 200px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8));
}

.error-content h1 {
    color: #2b3614;
    margin-bottom: 20px;
    font-size: 2em;
}

.error-content p {
    color: #4a5d23;
    margin: 10px 0;
    font-size: 1.2em;
}

.error-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background-color: #2b3614;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.error-button:hover {
    background-color: #4a5d23;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .error-content {
        padding: 20px;
    }
    
    .error-logo {
        max-width: 150px;
    }
    
    .error-content h1 {
        font-size: 1.5em;
    }
    
    .error-content p {
        font-size: 1em;
    }
}

/* Clipboard Styles anpassen */
.clipboards-container {
    grid-area: clipboards;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex; /* Flex-Container für horizontale Anordnung */
    justify-content: center; /* Zentriert die Clipboards */
    gap: 40px; /* Abstand zwischen den Clipboards */
}

.clipboard {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px; /* Maximale Breite pro Clipboard */
    flex: 1; /* Gleiche Breite für beide Clipboards */
}

.clipboard h2 {
    color: #2b3614;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.clipboard-content {
    min-height: 200px;
}

.clipboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clipboard-list li {
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #4a5d23;
}

.clipboard-list li:last-child {
    border-bottom: none;
}

.event-date {
    color: #666;
    font-size: 0.9em;
}

.event-desc {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
    color: #444;
}

.no-items {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

/* Mobile Anpassungen für Clipboards */
@media (max-width: 768px) {
    .clipboards-container {
        flex-direction: column;
        gap: 20px;
        padding: 0;
        align-items: center;
        width: 100%;
    }

    .clipboard {
        max-width: 90%;
        width: 100%;
        margin: 0 auto;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .layout-container {
        grid-template-areas:
            "logo"
            "left"
            "right"
            "bottom"
            "clipboards"
            "info"
            "arrow";
        padding: 20px 0;
    }
}

/* Noch kleinere Bildschirme */
@media (max-width: 480px) {
    .clipboard {
        max-width: 95%;
    }
}

/* Events-Bereich nicht „abklemmen“ */
#events-list { overflow: visible; }

/* Calendly-Container sichtbar & hoch genug */
.events-calendly { width: 100%; min-height: 700px; }

/* Mobile dynamischer */
@media (max-width: 480px) {
  .events-calendly { min-height: 80vh; }
}

  