.content-box {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(26, 61, 47, 0.07);
    padding: 2rem 1.5rem;
    flex: 1 1 0;
    min-width: 0;
}

.content-box img {
    width: 100%;
    margin: 0 auto;
    display: block;
}

.content-section {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(26, 61, 47, 0.07);
    padding: 2rem 1.5rem;
    width: 100%;
}

.content-section h2 {
    color: var(--color1);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-content.two-column {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: center;
}

.in-progress-page-content {
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
}

.in-progress-page-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 700px;
    color: var(--color1);
}

.in-progress-page-content p + p {
    font-size: 1rem;
    line-height: 1.6;
}

.in-progress-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color1);
    text-decoration: underline;
    font-weight: 600;
}

.satzung-page-box {
    border: 2px solid black;
    width: 60%;
    min-width: 120px;
    margin: 10px auto;
}

.satzung-title {
    text-decoration: underline;
    text-align: center;
    margin-bottom: 10px;
}

.satzung-pdf-link {
    display: block;
    text-align: center;
    color: inherit;
    text-decoration: none;
}

.satzung-pdf-link img {
    width: 50px;
    margin: 0 auto;
}

.satzung-pdf-link p {
    text-align: center;
    margin-top: 10px;
}

.section-text p {
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: var(--color1);
}

.section-image,
.section-image-right {
    width: 100%;
    border: 2px solid rgba(var(--color1-rgb), 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.section-image img,
.section-image-right img,
.chairman-image {
    width: 100%;
    height: auto;
    display: block;
}

.section-image-right {
    max-height: 400px;
    max-width: 300px;
}

.section-image-right img,
.chairman-image {
    height: 100%;
    object-fit: cover;
}

.events-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.event-item {
    background: linear-gradient(135deg, rgba(var(--color1-rgb), 0.1) 0%, rgba(207, 207, 207, 0.1) 100%);
    border-left: 4px solid var(--color1);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-date {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color1);
}

.event-title {
    color: var(--color1);
    font-size: 1rem;
}

.gallery-slider,
.maps {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
}

.gallery-slider h2 {
    color: var(--color1);
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
    font-size: 1.8rem;
}

.gallery-slider p {
    margin: 0 1.5rem 1.5rem 1.5rem;
    padding: 0.5rem 0;
    max-width: 980px;
    color: rgba(23, 45, 28, 0.85);
    font-size: 1.06rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.gallery-main {
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 16px;
    overflow: hidden;
    background: #f4f4f4;
}

.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255, 255, 255, 0.8);
    color: var(--color1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.slider-button.prev {
    left: 1rem;
}

.slider-button.next {
    right: 1rem;
}

.slider-caption {
    margin-top: 1rem;
    color: var(--color1);
    font-weight: 600;
    text-align: center;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.gallery-thumb {
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    padding: 3px;
    background: var(--color4);
    cursor: pointer;
}

.gallery-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.gallery-thumb.active {
    border-color: var(--color3);
}

.map-iframes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.map-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.map-consent,
.map-iframes iframe {
    width: 100%;
    min-height: 420px;
    border: 2px solid rgba(var(--color1-rgb), 0.2);
    border-radius: 14px;
    box-sizing: border-box;
}

.map-consent {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    padding: 1.5rem;
    background: #f4f4f4;
}

.map-consent-window {
    width: min(100%, 34rem);
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.map-consent-window p {
    margin: 0 0 1rem;
    color: var(--color1);
    line-height: 1.6;
}

.map-consent-button {
    padding: 0.75rem 1.25rem;
    border: 0;
    border-radius: 8px;
    background: var(--color1);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.map-consent-button:hover,
.map-consent-button:focus-visible {
    background: var(--color3);
}

.map-consent-button:focus-visible {
    outline: 3px solid var(--color1);
    outline-offset: 3px;
}

.member-page {
    max-width: 1000px;
}

.member-intro h1,
.member-section h2 {
    color: var(--color1);
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 2vw, 2.4rem);
}

.member-intro p,
.member-section p,
.member-contact {
    color: rgba(23, 45, 28, 0.85);
    line-height: 1.7;
    margin-bottom: 0.9rem;
}

.member-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.member-table {
    width: min(100%, 760px);
    margin: 0.5rem auto 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(var(--color1-rgb), 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.member-table th,
.member-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(var(--color1-rgb), 0.12);
    text-align: left;
    vertical-align: top;
}

.member-table th:nth-child(2),
.member-table td:nth-child(2) {
    width: 150px;
    min-width: 150px;
    white-space: nowrap;
    text-align: right;
}

.member-table th {
    background-color: var(--color1);
    color: var(--color4);
}

.member-table tbody tr:nth-child(even) {
    background-color: rgba(207, 207, 207, 0.45);
}

.member-table tbody tr:hover {
    background-color: #fce4a2;
}

.member-note {
    margin-top: 0.5rem;
    font-size: 0.98rem;
    color: rgba(23, 45, 28, 0.8);
}

.document-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    width: fit-content;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(var(--color1-rgb), 0.08) 0%, rgba(227, 178, 60, 0.12) 100%);
    border: 1px solid rgba(var(--color1-rgb), 0.2);
    color: var(--color1);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.document-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(var(--color1-rgb), 0.12);
}

.document-link img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.member-contact {
    margin-top: 0.5rem;
}

.DrohneAnlage {
    width: 100%;
    border: 2px solid black;
    margin: 0 auto;
}

.tabelleÜberschrift {
    margin: 10px auto;
    display: block;
    text-align: center;
}

table {
    width: 60%;
    margin: 0 auto;
    border-collapse: separate;
    border: none;
}

td,
th {
    padding: 5px;
    border: none;
    text-align: left;
}

th {
    background-color: var(--color1);
    color: var(--color4);
}

tr:nth-child(even) {
    background-color: rgb(212, 210, 210);
}

tbody tr:hover,
tfoot tr:hover {
    background-color: #fce4a2;
}

tbody td:hover,
tfoot td:hover {
    background-color: #fce4a2;
}

.spieltermine-table {
    width: 100% !important;
    margin: 1rem 0 !important;
}

.spieltermine-table th,
.spieltermine-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(var(--color1-rgb), 0.2);
}

.spieltermine-table th {
    background-color: var(--color1);
    color: var(--color4);
    font-weight: 600;
}

.spieltermine-table tbody tr:nth-child(even) {
    background-color: rgba(207, 207, 207, 0.3);
}

.spieltermine-table tbody tr:hover {
    background-color: #fce4a2;
}

.link-spieltermine:link {
    padding-bottom: 5px;
    padding-top: 5px;
    color: var(--color1);
    text-decoration: none;
}

.link-spieltermine:hover {
    color: var(--color1);
    text-decoration: underline;
}

.link-spieltermine:visited {
    color: var(--color1);
    text-decoration: none;
}

.link-spieltermine:visited:hover {
    color: var(--color1);
}

.aktuell > * {
    padding-left: 0;
}

.impressum > * {
    padding-left: 10%;
}

.impressum > ul {
    list-style-type: none;
}

.impressum > h2,
.impressum > h3 {
    padding-top: 5px;
    padding-bottom: 5px;
}

.impressum > h1 {
    padding-top: 10px;
    padding-bottom: 5px;
}

.vorstand-container {
    flex-direction: column;
}

.vorstand-content {
    width: 100%;
}

.vorstand-content h2 {
    margin-bottom: 0.5rem;
    color: var(--color1);
}

.vorstand-content p {
    margin-bottom: 2rem;
    font-size: 1rem;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.profile-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(26, 61, 47, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid rgba(207, 207, 207, 0.5);
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(26, 61, 47, 0.18);
}

.profile-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    overflow: hidden;
    background: var(--color2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.profile-name {
    color: var(--color1);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.profile-position {
    color: var(--color3);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-contact {
    color: var(--color1);
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.profile-contact a {
    color: var(--color3);
    text-decoration: none;
    transition: color 0.2s ease;
}

.profile-contact a:hover {
    color: var(--color1);
    text-decoration: underline;
}

.former-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.former-card {
    width: 100%;
    display: block;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    padding: 0;
    box-shadow: none;
}

.former-card figcaption {
    width: 100%;
    margin: 0 0 0.6rem 0;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color1);
    padding: 0.6rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
}

.former-card img {
    width: 100%;
    max-width: 100%;
    margin: 0 0 1rem 0;
    display: block;
    height: auto;
    border-radius: 6px;
}

.map-iframes {
    width: 1px;
    min-width: 100%;
    min-height: 450px;
    height: 50%;
}

@media (max-width: 768px) {
    .map-iframes {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .map-consent,
    .map-iframes iframe {
        min-height: 320px;
        height: 400px;
    }

    .section-content.two-column {
        grid-template-columns: 1fr;
    }

    .events-list {
        grid-template-columns: 1fr;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 1000px) {
    .profiles-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 700px) {
    .content-box {
        width: 100%;
        padding: 1.2rem 0.8rem;
    }

    .profiles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .former-card figcaption {
        font-size: 1.05rem;
        background: transparent;
        padding: 0.4rem 0;
    }
}
