/* Unterstützer-Sektion Styles */
/* Grundlegende Struktur */
.supporters-section {
    padding: 20px;
    margin: 0;
    position: relative;
    overflow: visible;
    z-index: 1;
}

/* Süddeutscher Verlag Kartenspezifische Styles */
.sdv-card {
    height: auto !important;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0.8rem;
    text-align: center;
}

/* Süddeutscher Verlag Logo Styles - Exakte Darstellung gemäß rechtlicher Anforderungen */
.sdv-card .sueddeutscher-logo {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 1rem auto;
    display: block;
}

/* Karussell-Struktur */
.carousel-track {
    position: relative;
    height: auto;
    min-height: 500px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.supporters-carousel {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.supporters-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 3px solid var(--gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    position: relative;
    z-index: 2;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.supporters-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold), var(--dark-gold));
    border-radius: 17px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
    transition: all 0.3s ease;
}

.supporters-container:hover::before {
    opacity: 0.7;
    filter: blur(12px);
}

.supporters-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gold);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    position: relative;
}

.supporters-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 15px auto 0;
}

.supporters-intro {
    text-align: center;
    color: var(--light-gold);
    margin-bottom: 40px;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Hauptcontainer Styles */
.supporters-section {
    position: relative;
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: block;
    }

    .mobile-prev,
    .mobile-next {
        opacity: 0.7;
    }

    .mobile-prev:hover,
    .mobile-next:hover {
        opacity: 1;
    }
}

@media (min-width: 769px) {
    .mobile-nav {
        display: none;
    }
}

.supporters-title {
    text-align: center;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    text-shadow: 
        2px 2px 0 rgba(0, 0, 0, 0.8),
        -2px 2px 0 rgba(0, 0, 0, 0.8),
        2px -2px 0 rgba(0, 0, 0, 0.8),
        -2px -2px 0 rgba(0, 0, 0, 0.8),
        0 0 8px rgba(255, 215, 0, 0.4),
        0 0 15px rgba(255, 215, 0, 0.2);
    letter-spacing: 1px;
    font-weight: 600;
}

.supporters-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.25rem;
    line-height: 1.7;
    color: #fff;
    text-shadow: 
        0 1px 1px rgba(0, 0, 0, 0.9),
        0 2px 3px rgba(0, 0, 0, 0.7),
        0 0 8px rgba(255, 255, 255, 0.3),
        0 0 12px rgba(255, 215, 0, 0.2);
    font-weight: 400;
    letter-spacing: 0.4px;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 100%);
    border-radius: 8px;
    backdrop-filter: blur(3px);
}

.supporters-carousel {
    position: relative;
    width: 98%;
    max-width: 1100px;
    height: auto;
    margin: 0 auto;
    padding: 1rem;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.supporter-card {
    position: absolute;
    left: 50%;
    width: 100%;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.8rem;
    border-radius: 15px;
    border: 2px solid var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: auto !important;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    backdrop-filter: blur(5px);
    transform: translateX(-50%) scale(0.8);
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Desktop Karussell-Navigation */
.supporter-card.left {
    transform: translateX(-120%) scale(0.8);
    opacity: 0.5;
    z-index: 1;
}

.supporter-card.center {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
}

.supporter-card.right {
    transform: translateX(20%) scale(0.8);
    opacity: 0.5;
    z-index: 1;
}

.carousel-track {
    position: relative;
    height: auto;
    min-height: 500px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 480px) {
    .supporters-section {
        padding: 20px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .carousel-track {
        position: relative;
        height: auto;
        min-height: 500px;
        padding: 0;
        overflow: visible;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        left: 0;
        right: 0;
    }

    .supporter-card {
        position: relative;
        width: 400px;
        height: auto;
        margin: 1rem auto;
        padding: 1.5rem;
        box-sizing: border-box;
        left: 50%;
        transform: translateX(-50%);
    }

    .sdv-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 1.5rem;
        height: auto !important;
    }

    .sdv-card .sueddeutscher-logo {
        width: auto;
        max-width: 100%;
        height: auto;
        margin: 1rem auto;
        display: block;
    }

    .supporter-card.left,
    .supporter-card.right {
        display: none;
    }

    .supporter-card.center {
        opacity: 1;
        transform: translateX(-50%);
        pointer-events: auto;
    }

    .supporter-card.left {
        transform: translate(-150%, -50%);
    }

    .supporter-card.right {
        transform: translate(50%, -50%);
    }
}

/* Standard-Stile für Kartenpositionierung */
.supporter-card.left {
    transform: translate(-150%, -50%);
    opacity: 0;
}

.supporter-card.center {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.supporter-card.right {
    transform: translate(50%, -50%);
    opacity: 0;
}

/* Süddeutscher Verlag Logo für mobile Ansicht */
.sdv-logo-wrapper {
    height: 140px;
    margin: 1rem 0 1.5rem;
    width: 100%;
    overflow: visible;
}

/* Süddeutscher Verlag Logo - Exakte Darstellung gemäß rechtlicher Vorgaben */
.sueddeutscher-logo {
    max-height: 130px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Süddeutscher Verlag Kartencontainer */
.sdv-card {
    height: auto !important;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 1rem auto;
    width: 100%;
    max-width: 460px;
}

.sdv-card .sueddeutscher-logo {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 1rem auto;
}

/* Süddeutscher Verlag Logo - Strikt nach rechtlichen Vorgaben */
.sdv-logo-wrapper {
    width: 100%;
    height: 160px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent;
}

.sueddeutscher-logo {
    /* Exakte Darstellung ohne jegliche Modifikationen - rechtliche Vorgabe */
    width: auto !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    filter: none !important;
    transform: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.sdv-card h3 {
    font-size: 1.3rem;
    margin: 0.5rem 0 1rem;
    color: var(--gold);
    text-align: center;
}

.supporter-card.left {
    transform: translateX(-120%) scale(0.8);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
    min-height: 500px;
    height: auto;
}

.supporter-card.center {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
}

.supporter-card.right {
    transform: translateX(20%) scale(0.8);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
    min-height: 500px;
    height: auto;
}

.supporter-card img {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
    height: auto;
    background-color: transparent;
}



/* Speziell angepasste Karte für Süddeutscher Verlag */
.sdv-card {
    height: auto !important;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0.8rem;
    text-align: center;
}

.sdv-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    padding: 0 0.5rem;
}

/* Responsive Design Anpassungen */
@media screen and (max-width: 768px) {
    .supporter-card p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        padding: 0;
        width: 100%;
        flex-shrink: 0;
        display: block;
        overflow: visible;
        height: auto;
        line-height: 1.6;
    }

    .supporter-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        padding: 0;
        width: 100%;
        flex-shrink: 0;
    }

    .carousel-track {
        padding: 1rem 0;
        height: auto;
        min-height: 500px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .supporter-card.center {
        position: relative;
        max-height: none;
        overflow: visible;
        height: auto !important;
        min-height: fit-content;
        opacity: 1;
        z-index: 3;
        margin: 0 auto;
    }

    .supporter-icon {
        margin-bottom: 1rem;
        flex-shrink: 0;
        max-width: 100%;
        height: auto;
    }
}

/* Supporter Icons */
.supporter-icon {
    font-size: 3.5rem;
    margin: 1.5rem 0;
    color: var(--gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Süddeutscher Verlag Logo Styles */
.sueddeutscher-logo {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

.biotop-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.supporter-card h3 {
    margin-top: 1.5rem;
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 600;
}

.supporter-card p {
    margin: 1.2rem auto 0;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #fff;
    max-width: 90%;
}

@media (min-width: 769px) {
    .carousel-button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.95);
        border: 2px solid var(--gold);
        color: var(--gold);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 200;
        font-size: 1.2rem;
        pointer-events: auto;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
    }
}

.carousel-button:hover {
    background-color: var(--gold);
    color: black;
    transform: translateY(-50%) scale(1.1);
}

@media (min-width: 769px) {
    .carousel-prev {
        left: 0.5rem;
    }

    .carousel-next {
        right: 0.5rem;
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
    position: relative;
    z-index: 100;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(218, 165, 32, 0.2);
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
}

.carousel-dot.active {
    background-color: var(--gold);
    transform: scale(1.2);
}

@media (max-width: 1200px) {
    .supporter-card {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .supporters-section {
        margin: 1.5rem auto;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .supporter-card {
        flex: 0 0 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    .supporters-carousel {
        gap: 1.5rem;
    }

    .supporters-title {
        font-size: 2rem;
    }

    .supporters-intro {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .supporters-section {
        margin: 1rem auto;
        padding: 1rem;
    }

    .supporter-card {
        padding: 1.5rem;
        min-width: 260px;
    }

    .supporter-card h3 {
        font-size: 1.3rem;
        margin-top: 1.2rem;
    }

    .supporter-card p {
        font-size: 1rem;
        margin-top: 1rem;
    }

    .carousel-dots {
        margin-top: 1.5rem;
    }

    .carousel-button {
        display: none; /* Ausblenden auf mobilen Geräten, da Swipe verwendet wird */
    }

    .supporters-carousel {
        overflow: visible;
        padding: 2rem 1rem;
        position: relative;
    }

    .carousel-dots {
        bottom: -2rem;
    }
}





.supporter-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

.supporter-logo {
    margin-bottom: 1.5rem;
}

.sdv-logo {
    width: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
}

.supporter-card h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.8),
        -1px 1px 0 rgba(0, 0, 0, 0.8),
        1px -1px 0 rgba(0, 0, 0, 0.8),
        -1px -1px 0 rgba(0, 0, 0, 0.8),
        0 0 6px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.5px;
    font-weight: 600;
}

.supporter-card p {
    color: var(--light-gold);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .supporters-container {
        padding: 2rem 1rem;
    }
    
    .supporters-grid {
        grid-template-columns: 1fr;
    }
    
    .supporters-title {
        font-size: 2rem;
    }
    
    .supporters-intro {
        font-size: 1rem;
    }
}
