/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Debug: Ensure all content is visible */
* {
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}


.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Header Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.logo-text h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.contact-item i {
    color: var(--primary-color);
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 1rem;
}

/* RTL Support for Arabic */
[lang="ar"] .language-selector,
[lang="ma"] .language-selector {
    direction: rtl;
}

[lang="ar"] .language-dropdown,
[lang="ma"] .language-dropdown {
    right: auto;
    left: 0;
}

[lang="ar"] .current-language,
[lang="ma"] .current-language {
    flex-direction: row-reverse;
}

[lang="ar"] .language-option,
[lang="ma"] .language-option {
    flex-direction: row-reverse;
}

/* RTL Support for page content */
[lang="ar"] body,
[lang="ma"] body {
    direction: rtl;
    text-align: right;
}

[lang="ar"] .hero-content,
[lang="ma"] .hero-content {
    direction: rtl;
}

[lang="ar"] .mitgliedschaft-content,
[lang="ma"] .mitgliedschaft-content {
    direction: rtl;
}

[lang="ar"] .kontakt-content,
[lang="ma"] .kontakt-content {
    direction: rtl;
}

[lang="ar"] .maps-container,
[lang="ma"] .maps-container {
    direction: rtl;
}

[lang="ar"] .footer-content,
[lang="ma"] .footer-content {
    direction: rtl;
}

.current-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    min-width: 80px;
}

.current-language:hover {
    background-color: var(--border-color);
}

.current-language .flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.current-language span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.current-language i {
    font-size: 0.75rem;
    color: var(--text-light);
    transition: var(--transition);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.language-selector:hover .language-dropdown,
.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background-color: var(--bg-light);
}

.language-option .flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.language-option span {
    font-size: 0.875rem;
    color: var(--text-dark);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Banner Section */
.hero-banner {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition);
    background-color: var(--bg-light);
}

.banner-image:hover {
    transform: scale(1.02);
}

/* Desktop: Bild besser sichtbar machen */
@media (min-width: 769px) {
    .hero-banner {
        height: 400px;
        margin: 2rem 0;
    }
    
    .banner-image {
        object-fit: contain;
        object-position: center;
    }
}

/* Mobile: Angepasste Höhe */
@media (max-width: 768px) {
    .hero-banner {
        height: 250px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
    animation: slideInLeft 1.2s ease-out;
    position: relative;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), rgba(14, 165, 233, 0.3));
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 60px; }
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1.4s ease-out 0.2s both;
}


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

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1.8s ease-out 0.6s both;
}

.hero-buttons .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-image {
    text-align: center;
    animation: fadeInRight 1.5s ease-out 0.8s both;
    position: relative;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.hero-img:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    animation: pulse 2s infinite;
}

.hero-image:hover::before {
    opacity: 0.1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroFloat {
    0%, 100% { transform: scale(1.05) rotate(1deg) translateY(0px); }
    50% { transform: scale(1.05) rotate(1deg) translateY(-10px); }
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
    min-height: 300px;
}

/* Clean sections */
.section > .container {
    padding: 20px;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.section-light {
    background-color: var(--bg-light);
    position: relative;
}

.section-light::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(37,99,235,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

.section-header h2.animate::after {
    animation: expandWidth 1.5s ease-out 0.5s both;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Über uns */
.ueber-uns-content {
    max-width: 800px;
    margin: 0 auto;
}

.ueber-uns-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.ueber-uns-text strong {
    color: var(--text-dark);
}

.ueber-uns-text em {
    color: var(--text-light);
    font-style: italic;
}

/* Leistungen */
.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.leistung-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.leistung-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.leistung-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.6s ease;
}

.leistung-card:hover::before {
    left: 100%;
}

.leistung-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.leistung-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

.leistung-card:hover .leistung-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.leistung-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.leistung-card:hover .leistung-icon::before {
    opacity: 0.3;
    animation: iconPulse 2s infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.leistung-icon i {
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.leistung-card:hover .leistung-icon i {
    transform: scale(1.1);
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% { transform: scale(1.1) translateY(0); }
    40% { transform: scale(1.1) translateY(-3px); }
    60% { transform: scale(1.1) translateY(-1px); }
}

.leistung-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.leistung-card:hover h3 {
    color: var(--primary-color);
}

.leistung-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.leistung-card:hover h3::after {
    width: 40px;
}

.leistung-card p {
    color: var(--text-light);
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.leistung-card:hover p {
    color: var(--text-dark);
}

/* Mitgliedschaft - Neues Design */
.mitgliedschaft-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

.mitgliedschaft-header {
    text-align: center;
    margin-bottom: 2rem;
}

.mitgliedschaft-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mitgliedschaft-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Mitgliedschafts-Bild */
.mitgliedschaft-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mitgliedschaft-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.mitgliedschaft-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: #f8fafc;
    border-radius: 20px;
}

.mitgliedschaft-image:hover .mitgliedschaft-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mitgliedschaft-image:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.image-overlay p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
}

.mitgliedschaft-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: membershipGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes membershipGlow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* Neue Mitgliedschafts-Karten */
.mitgliedschaft-benefits {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.mitgliedschaft-benefits::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mitgliedschaft-benefits h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.mitgliedschaft-benefits .benefits-list {
    position: relative;
    z-index: 2;
}

.mitgliedschaft-benefits .benefits-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mitgliedschaft-benefits .benefits-list i {
    color: #4ade80;
    font-size: 1.5rem;
}

.mitgliedschaft-benefits .mitgliedschaft-cta {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.mitgliedschaft-benefits .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.mitgliedschaft-benefits .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.benefits-list i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.mitgliedschaft-cta {
    margin-top: 2rem;
}

.membership-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    opacity: 1;
    visibility: visible;
}

.membership-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    opacity: 0;
}

.membership-card:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
    opacity: 1;
}

.membership-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3);
}

.card-header {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    text-align: center;
}

.card-header h4 {
    margin-bottom: 0;
    color: white;
}

.card-content {
    padding: 2rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    font-size: 1.25rem;
}

/* Neue Beitragsordnung Karte */
.beitragsordnung-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.beitragsordnung-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.beitragsordnung-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.beitragsordnung-card .card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.beitragsordnung-card .card-header h4 {
    margin-bottom: 0.5rem;
    color: white;
}

.beitragsordnung-card .card-subtitle {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.beitragsordnung-table {
    padding: 2rem;
}

.beitragsordnung-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.beitragsordnung-table th {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.beitragsordnung-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.beitragsordnung-table tr:hover {
    background-color: var(--bg-light);
}

.beitragsordnung-table tbody tr:last-child td {
    border-bottom: none;
}

.beitragsordnung-note {
    text-align: center;
    color: var(--text-dark);
    font-size: 1rem;
    margin: 0;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

/* Responsive Anpassungen für Beitragsordnung */
@media (max-width: 768px) {
    .beitragsordnung-table {
        padding: 1rem;
    }
    
    .beitragsordnung-table table {
        font-size: 0.9rem;
    }
    
    .beitragsordnung-table th,
    .beitragsordnung-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Mobile Contact Layout */
.mobile-contact-layout {
    display: block;
    padding: 2rem 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-address {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-address p {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.contact-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 1.5rem 0;
}

.contact-phone,
.contact-fax,
.contact-email {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-phone p,
.contact-fax p,
.contact-email p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-phone a,
.contact-email a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-phone a:hover,
.contact-email a:hover {
    text-decoration: underline;
}

.opening-hours-mobile {
    text-align: center;
}

.opening-hours-mobile h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hours-period-mobile {
    margin-bottom: 1.5rem;
}

.hours-period-mobile h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.hours-period-mobile p {
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

/* Desktop Contact Layout */
.desktop-contact-layout {
    display: none;
}

/* Kontakt */
.kontakt-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    min-height: 400px;
    margin: 0 -1rem;
    padding: 0 1rem;
}

.kontakt-form {
    grid-column: 1;
    grid-row: 1;
}

.kontakt-image {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
}

.kontakt-info {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch;
}

.contact-card {
    grid-column: 1;
    display: flex;
    flex-direction: column;
}

.opening-hours {
    grid-column: 2;
    display: flex;
    flex-direction: column;
}

/* Kontakt-Bild */
.kontakt-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kontakt-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.kontakt-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: #f8fafc;
    border-radius: 20px;
}

.kontakt-image:hover .kontakt-img {
    transform: scale(1.05);
}

.kontakt-image .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.kontakt-image:hover .image-overlay {
    transform: translateY(0);
}

.kontakt-image .image-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.kontakt-image .image-overlay p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
}

/* Clean contact sections */
.kontakt-content > div {
    padding: 20px;
    min-height: 300px;
}

.contact-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.contact-card:hover::before {
    transform: scaleY(1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.contact-card:hover h3 {
    color: var(--primary-color);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.opening-hours {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-top: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.opening-hours .google-maps-section {
    margin-top: 2rem;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border: none;
    flex: 1;
}

.opening-hours h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hours-period h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hours-period p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Kontaktformular */
.kontakt-form {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.kontakt-form h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Google Maps Integration */
.google-maps-section {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.google-maps-section h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.maps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    flex: 1;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-address h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.map-address p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.map-address i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
}

.map-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.map-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.map-embed {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-embed iframe {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.map-embed iframe:hover {
    transform: scale(1.02);
}

/* Responsive Anpassungen für Google Maps */
@media (max-width: 768px) {
    .maps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .kontakt-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 0;
        padding: 0;
    }
    
    .kontakt-form {
        grid-column: 1;
        grid-row: 1;
    }
    
    .kontakt-image {
        grid-column: 1;
        grid-row: 2;
        margin-top: 1rem;
    }
    
    .kontakt-info {
        grid-column: 1;
        grid-row: 3;
        grid-template-columns: 1fr;
        margin-top: 1rem;
    }
    
    .contact-card {
        grid-column: 1;
    }
    
    .opening-hours {
        grid-column: 1;
    }
    
    .google-maps-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .map-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .map-actions .btn {
        flex: 1;
        min-width: 140px;
    }
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.footer-logo-text h3 {
    font-size: 1.125rem;
    color: white;
    margin-bottom: 0.25rem;
}

.footer-logo-text h4 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Impressum und Datenschutz Seiten */
.main-content {
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.page-header h1 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 0;
}

.impressum-content,
.datenschutz-content {
    max-width: 800px;
    margin: 0 auto;
}

.impressum-section,
.datenschutz-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.impressum-section h2,
.datenschutz-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.impressum-section h3,
.datenschutz-section h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.impressum-section p,
.datenschutz-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.impressum-details {
    display: grid;
    gap: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item strong {
    color: var(--text-dark);
}

.detail-item p {
    margin-bottom: 0;
}

.hosting-info,
.responsible-party,
.contact-info {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.rights-list {
    list-style: none;
    margin: 1rem 0;
}

.rights-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.rights-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.back-to-home {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

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

.cookie-header {
    margin-bottom: 1.5rem;
}

.cookie-header h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cookie-header p {
    color: var(--text-light);
    margin-bottom: 0;
}

.cookie-options {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition);
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: var(--secondary-color);
    cursor: not-allowed;
}

.cookie-info {
    flex: 1;
}

.cookie-info strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.cookie-info span {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.cookie-privacy-link:hover {
    text-decoration: underline;
}

/* Mobile Anpassungen für Cookie Popup */
@media (max-width: 768px) {
    .cookie-content {
        padding: 1.5rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-actions .btn {
        width: 100%;
    }
    
    .cookie-option {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-switch {
        align-self: flex-start;
    }
}

/* Downloads Page Styles */
.downloads-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.downloads-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.downloads-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Search and Filter Section */
.search-filter-section {
    background-color: var(--bg-light);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.search-filter-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Downloads Main */
.downloads-main {
    padding: 3rem 0;
}

.download-category {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.category-info h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.category-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

.file-count {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: auto;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.download-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.download-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-header i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.file-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.file-info p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.file-meta {
    color: var(--text-light);
    font-size: 0.8rem;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.btn-download:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* Language Filter Section */
.language-filter-section {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.language-filter-section h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.language-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.language-filter-btn {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.flag-emoji {
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
    display: inline-block;
}

.language-filter-btn i {
    font-size: 1rem;
    color: var(--primary-color);
}

.language-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--bg-light);
}

.language-filter-btn:hover .flag-emoji {
    transform: scale(1.1);
}

.language-filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.language-filter-btn.active .flag-emoji {
    transform: scale(1.1);
}

.language-filter-btn.active i {
    color: white;
}

/* Unterhaltserklärungen Grid */
.unterhaltserklaerungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.unterhaltserklaerung-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    opacity: 1;
    transform: scale(1);
}

.unterhaltserklaerung-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.unterhaltserklaerung-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.unterhaltserklaerung-card .card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.language-flag {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.language-flag .flag-emoji {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    display: inline-block;
}

.unterhaltserklaerung-card .file-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.unterhaltserklaerung-card .file-info p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.unterhaltserklaerung-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.unterhaltserklaerung-card .file-meta {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* Mobile Responsiveness for Downloads */
@media (max-width: 768px) {
    .downloads-hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .search-filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .file-count {
        margin-left: 0;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        padding: 1rem;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Language Filter Mobile */
    .language-filter-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.25rem;
    }
    
    .language-filter-btn {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .flag-emoji {
        font-size: 1rem;
    }
    
    .language-filter-btn i {
        font-size: 0.9rem;
    }
    
    .unterhaltserklaerungen-grid {
        grid-template-columns: 1fr;
    }
    
    .unterhaltserklaerung-card {
        padding: 1rem;
    }
    
    .unterhaltserklaerung-card .card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .language-flag {
        align-self: center;
    }
    
    .unterhaltserklaerung-card .card-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Mobile Anpassungen für Bilder */
    .mitgliedschaft-image,
    .kontakt-image {
        margin-top: 1rem;
    }
    
    .mitgliedschaft-img {
        height: 300px;
    }
    
    .kontakt-img {
        height: 250px;
    }
    
    .image-overlay {
        padding: 1.5rem;
    }
    
    .image-overlay h4 {
        font-size: 1.25rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .header-logo {
        order: 1;
        flex: 1;
    }
    
    .logo-img {
        width: 100px;
        height: 100px;
    }
    
    .logo-text h2 {
        font-size: 1rem;
    }
    
    .language-selector {
        order: 2;
        margin-left: 0;
    }
    
    
    .language-selector {
        order: 2;
        margin-left: 0;
        margin-right: 1rem;
    }
    
    .language-dropdown {
        right: auto;
        left: 0;
        min-width: 180px;
        max-width: 200px;
    }
    
    .current-language {
        padding: 0.4rem 0.8rem;
        min-width: 70px;
    }
    
    .current-language span {
        font-size: 0.8rem;
    }
    
    .current-language .flag-icon {
        width: 18px;
        height: 13px;
    }
    
    .language-option {
        padding: 0.6rem 0.8rem;
    }
    
    .language-option .flag-icon {
        width: 18px;
        height: 13px;
    }
    
    .language-option span {
        font-size: 0.8rem;
    }
    
    /* RTL mobile adjustments */
    [lang="ar"] .language-dropdown,
    [lang="ma"] .language-dropdown {
        left: auto;
        right: 0;
    }
    
    [lang="ar"] .language-selector,
    [lang="ma"] .language-selector {
        margin-right: 0;
        margin-left: 1rem;
    }
    
    
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .leistungen-grid {
        grid-template-columns: 1fr;
    }
    
    .mitgliedschaft-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Show mobile contact layout, hide desktop */
    .mobile-contact-layout {
        display: block;
    }
    
    .desktop-contact-layout {
        display: none;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 2rem 0;
    }
}


/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #3498db;
    display: none;
}

.cookie-banner.show {
    transform: translateY(0);
    display: block;
}

.cookie-banner.hidden {
    display: none !important;
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-icon {
    font-size: 2rem;
    color: #3498db;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.cookie-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #3498db;
}

.cookie-text p {
    margin: 0 0 1rem 0;
    line-height: 1.5;
    opacity: 0.9;
}

.cookie-details {
    margin-top: 1rem;
}

.cookie-details details {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-details summary {
    cursor: pointer;
    font-weight: 600;
    color: #3498db;
    padding: 0.5rem 0;
    list-style: none;
    position: relative;
}

.cookie-details summary::after {
    content: '▼';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.cookie-details details[open] summary::after {
    transform: rotate(180deg);
}

.cookie-options {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.cookie-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #3498db;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 0.125rem;
    transition: all 0.2s ease;
}

.cookie-option input[type="checkbox"]:checked + .checkmark {
    background: #3498db;
    border-color: #3498db;
}

.cookie-option input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.cookie-option input[type="checkbox"]:disabled + .checkmark {
    opacity: 0.6;
    background: rgba(52, 152, 219, 0.3);
}

.option-text strong {
    display: block;
    color: #3498db;
    margin-bottom: 0.25rem;
}

.option-text small {
    display: block;
    opacity: 0.8;
    font-size: 0.875rem;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-actions .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.cookie-actions .btn-primary {
    background: #3498db;
    color: white;
}

.cookie-actions .btn-primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.cookie-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cookie-actions .btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.cookie-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-icon {
        font-size: 1.5rem;
        align-self: center;
    }
    
    .cookie-text h3 {
        font-size: 1.125rem;
        text-align: center;
    }
    
    .cookie-text p {
        text-align: center;
        font-size: 0.875rem;
    }
    
    .cookie-actions {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .cookie-actions .btn {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-options {
        gap: 0.75rem;
    }
    
    .cookie-option {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
    
    .leistung-card {
        padding: 1.5rem;
    }
    
    .contact-card,
    .opening-hours,
    .kontakt-form {
        padding: 1.5rem;
    }
}
