/* Additional styles for inner pages */

.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-hero .lead {
    font-size: 22px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 40px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .page-hero .lead {
        font-size: 18px;
    }
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 48px;
}

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .content-sidebar {
        order: -1;
    }
}

.content-main h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.content-main h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 48px 0 24px;
    color: var(--text-primary);
}

.content-main p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 17px;
}

.feature-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .feature-image {
        height: 250px;
    }
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 32px 0;
}

.feature-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.feature-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-list svg {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 4px;
}

.feature-list strong {
    display: block;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-list p {
    margin: 0;
    color: var(--text-secondary);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.process-step {
    background: var(--bg-secondary);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.process-step h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.process-step p {
    margin: 0;
    font-size: 15px;
}

/* Sidebar */
.sidebar-card {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.sidebar-card h3,
.sidebar-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.sidebar-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.sidebar-card .btn {
    width: 100%;
    margin-bottom: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 500;
    padding: 12px;
    background: white;
    border-radius: var(--radius-md);
    transition: background var(--transition-base), transform var(--transition-fast);
}

.contact-info a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

.contact-info svg {
    flex-shrink: 0;
}

/* Package List */
.package-list {
    list-style: none;
}

.package-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.package-list strong {
    display: block;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.package-list span {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.package-list p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
}

.cta-card h3 {
    color: white;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.95);
}

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

.cta-card .btn-primary:hover {
    background: var(--bg-secondary);
}

.cta-card .contact-info a {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
}

.cta-card .contact-info a:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: inherit;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    background: white;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 14px;
}

.form-error {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 6px;
}

.form-success {
    background: var(--success-color);
    color: white;
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    text-align: center;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin: 40px 0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ Section */
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 24px;
}

/* Team Member */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.team-member {
    text-align: center;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-size: cover;
    background-position: center;
    border: 4px solid var(--primary-color);
}

.team-member h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.team-member .role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-member p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About Page Styles */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 24px;
    text-align: center;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin: 60px 0;
}

.value-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 20px;
    margin-bottom: 24px;
}

.value-icon svg {
    color: white;
}

.value-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-overview {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 60px 48px;
    border-radius: 20px;
    margin: 60px 0;
}

.services-overview h2 {
    margin-bottom: 40px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.service-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.service-item span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.6;
}

.region-info {
    text-align: center;
    max-width: 800px;
    margin: 60px auto 0;
    padding: 48px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.region-info h2 {
    margin-bottom: 24px;
}

.region-info p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

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

    .services-overview {
        padding: 40px 24px;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .region-info {
        padding: 32px 24px;
    }
}

/* Community Support Section */
.community-support-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.community-hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.community-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 101, 186, 0.2);
}

.community-icon svg {
    color: white;
}

.community-hero h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.community-hero .lead {
    font-size: 22px;
    color: var(--text-secondary);
    font-weight: 500;
}

.community-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.community-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.support-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 16px;
    margin-bottom: 24px;
}

.support-icon svg {
    color: white;
}

.support-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 16px;
}

.support-card > p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.feature-list li {
    padding: 10px 0 10px 32px;
    position: relative;
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Clubs Showcase Animation */
.clubs-showcase {
    margin: 60px 0 50px;
    overflow: hidden;
}

.clubs-showcase h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 32px;
    text-align: center;
}

.clubs-slider {
    overflow: hidden;
    padding: 20px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    position: relative;
}

.clubs-slider::before,
.clubs-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clubs-slider::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.clubs-slider::after {
    right: 0;
    background: linear-gradient(to left, #e9ecef, transparent);
}

.clubs-track {
    display: flex;
    gap: 24px;
    animation: scroll 60s linear infinite;
    width: max-content;
}

.clubs-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.club-card {
    background: white;
    padding: 28px 32px;
    border-radius: 12px;
    min-width: 320px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
}

.club-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-left-color: var(--accent-color);
}

.club-info {
    flex: 1;
}

.club-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 8px;
}

.club-card p {
    font-size: 15px;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.5;
}

.club-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), #e3f2fd);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.club-card:hover .club-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: rotate(360deg) scale(1.1);
}

.club-icon svg {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.club-card:hover .club-icon svg {
    color: white;
}

@media (max-width: 768px) {
    .clubs-track {
        animation-duration: 40s;
    }
    
    .club-card {
        min-width: 280px;
        padding: 24px 20px;
    }
}

.regions-highlight {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
    text-align: center;
}

.regions-highlight h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 16px;
}

.regions-highlight > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
    grid-auto-flow: dense;
}

.region-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    font-weight: 600;
    color: var(--heading-color);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    min-height: 60px;
}

/* Größe nach Einwohnerzahl - Heidelberg (größte Stadt) */
.region-item:nth-child(7) {
    grid-column: span 2;
    grid-row: span 1;
    font-size: 18px;
}

/* Wiesloch (zweitgrößte) */
.region-item:nth-child(4) {
    grid-column: span 2;
    font-size: 17px;
}

/* Schwetzingen (drittgrößte) */
.region-item:nth-child(6) {
    grid-column: span 2;
    font-size: 17px;
}

/* Hockenheim */
.region-item:nth-child(10) {
    grid-column: span 2;
    font-size: 16px;
}

/* Walldorf */
.region-item:nth-child(5) {
    grid-column: span 1;
    font-size: 16px;
}

/* Leimen */
.region-item:nth-child(1) {
    grid-column: span 2;
    font-size: 16px;
}

/* Sandhausen */
.region-item:nth-child(3) {
    grid-column: span 1;
}

/* Neckargemünd */
.region-item:nth-child(15) {
    grid-column: span 1;
}

.region-item:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.region-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.region-item:hover svg {
    color: white;
}

.community-cta {
    margin-top: 60px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 48px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 101, 186, 0.3);
}

.cta-box h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.cta-box > p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta-actions .btn {
    min-width: 240px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

.cta-actions .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

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

.cta-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.small-print {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .community-support-section {
        padding: 60px 0;
    }

    .community-hero h2 {
        font-size: 32px;
    }

    .community-hero .lead {
        font-size: 18px;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .regions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .regions-highlight {
        padding: 32px 24px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-box h3 {
        font-size: 28px;
    }

    .cta-box > p {
        font-size: 18px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }
}
