.text-box {
    flex: 1;
}

/* Moderne Sections */
.content-section {
    margin: 3rem auto;
    padding: 2rem 1rem;
}

.section-title {
    margin-bottom: 2rem;
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #c41e3a;
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Activity Cards */
.activity-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 95%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.activity-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.img_normal {
    width: 35vw;
    height: auto;
    border: 2px solid #000000;
    border-radius: 10px;
    box-shadow: 0.2em 0.2em 0.2em #000000;
    margin: 2%;
    transition: transform 0.3s ease;
}

.img_normal:hover {
    transform: scale(1.02);
}

.aufzaehlung {
    margin: 3%;
}

.description {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 1vw auto;
}

.normal-text {
    color: black;
    margin-top: 1vw;
}

.jugendwarte {
    padding: 1.5% 3%;
    border-radius: 5px;
    margin: 1%;
}

#whatDoWeDo {
    padding: 1%;
}

.WhatText {
    flex-direction: row;
    vertical-align: middle;
}

#NextStep {
    padding: 2%;
    text-align: center;
    vertical-align: middle;
}

.event-table {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    width: 90%;
    border-collapse: collapse;
    margin: 1vw 2%;
    overflow-x: auto;
}

.event-table th {
    width: 10vw;
    text-align: left;
    padding: 1vw;
    border: 1px solid #000000;
}

.event-table td {
    width: 10vw;
    background-color: #c0c0c0;
    padding: 10px;
    border: 1px solid #8c8c8c;
}

/* Hover-Effekt für klickbare Zeilen */
.event-table tr.clickable-row:hover {
    background-color: #e8e8e8;
    transition: background-color 0.2s ease;
}

.event-table tr.clickable-row:hover td {
    background-color: #e8e8e8;
}

.event-table td a {
    background-color: #c0c0c0;
    color: #007bff;
    text-decoration: none;
}

.event-table td a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .description {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .WhatText{
        text-align: left;
    }

    .header-description{
        order: 1;
    }

    .description img {
        order: 3;
    }

    .WhatText {
        order: 2;
    }

    .img_normal {
        width: 90%;
        justify-self: center;
        margin: 2vw;
    }

    .event-table {
        padding: 0.1vw;
    }
}

/* E-Mail Button Styling */
.email-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #c41e3a;
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.email-button:hover {
    background-color: #a01828;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive Tabellen-Optimierung */
@media (max-width: 768px) {
    .event-table {
        font-size: 14px;
    }
    
    .event-table th,
    .event-table td {
        padding: 8px 5px;
    }
    
    /* Auf sehr kleinen Bildschirmen scrollbar machen */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Verbesserte mobile Bildgröße */
@media (max-width: 600px) {
    .img_normal {
        width: 95%;
    }
}