/* ======================= Global Styles ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ======================= Hero Section ============================ */
.partner-hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eb7557 0%, #2c2e50 70%, #1f2937 100%);
    overflow: hidden;
    padding: 60px 20px;
}

/* Animierter Hintergrund */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.08;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: white;
    border-radius: 50%;
    animation-delay: 0s;
}

.shape-2 {
    top: 60%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 3s;
}

.shape-3 {
    bottom: 10%;
    left: 30%;
    width: 250px;
    height: 250px;
    background: white;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    animation-delay: 6s;
}

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

/* Partikel Effekt */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: rise 15s infinite ease-in;
}

@keyframes rise {
    0% {
        bottom: -10px;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        bottom: 100%;
        opacity: 0;
    }
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}
.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
}
.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
}
.particle:nth-child(4) {
    left: 40%;
    animation-delay: 1s;
}
.particle:nth-child(5) {
    left: 50%;
    animation-delay: 3s;
}
.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
}
.particle:nth-child(7) {
    left: 70%;
    animation-delay: 2.5s;
}
.particle:nth-child(8) {
    left: 80%;
    animation-delay: 4.5s;
}
.particle:nth-child(9) {
    left: 90%;
    animation-delay: 1.5s;
}

/* Content Container */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    animation: fadeInDown 1s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    font-size: 1.1rem;
}

.hero-title {
    font-size: 3.2rem;
    color: white;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    background: linear-gradient(90deg, #fff, #f5f5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.4s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    animation: fadeInUp 1s ease 0.6s both;
    flex-wrap: wrap;
}

.cta-button {
    padding: 14px 35px;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.cta-primary {
    background: white;
    color: #eb7557;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(235, 117, 87, 0.4);
    background: #f5f5f5;
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Icon Animation */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 3rem;
    animation: floatIcon 8s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 70%;
    left: 10%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    top: 25%;
    right: 8%;
    animation-delay: 4s;
}

.floating-icon:nth-child(4) {
    top: 65%;
    right: 15%;
    animation-delay: 1s;
}

.floating-icon:nth-child(5) {
    top: 45%;
    left: 3%;
    animation-delay: 3s;
}

@keyframes floatIcon {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.12;
    }
    50% {
        transform: translateY(-25px) rotate(5deg);
        opacity: 0.2;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: white;
    font-size: 1.8rem;
    opacity: 0.7;
}

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

/* ======================= Partner Section ============================ */
.partner-section {
    padding: 100px 20px;
    background: #ffffff;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.partner-section h2 {
    text-align: center;
    font-size: 3.5rem;
    color: #2c2e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.partner-section h2 span {
    background: linear-gradient(135deg, #eb7557 0%, #2c2e50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partner-section > .container > p {
    text-align: center;
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.partner-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid transparent;
}

.partner-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #eb7557 0%, #2c2e50 100%);
    transition: all 0.4s ease;
}

.partner-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(235, 117, 87, 0.2);
    border-color: #eb7557;
}

.partner-card:hover::before {
    height: 8px;
}

.image-wrapper {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(235, 117, 87, 0.1) 0%,
        rgba(44, 46, 80, 0.1) 100%
    );
}

.partner-img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.1));
}

.partner-card:hover .partner-img {
    transform: scale(1.15) rotate(2deg);
}

.image-wrapper::after {
    content: "\f0c0";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    font-size: 100px;
    opacity: 0.05;
    color: #eb7557;
}

.partner-content {
    padding: 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.partner-content h3 {
    font-size: 1.7rem;
    color: #2c2e50;
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-content h3 {
    color: #eb7557;
}

.partner-stats {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 20px;
    width: fit-content;
    color: #eb7557;
    background: rgba(235, 117, 87, 0.1);
}

.partner-stats::before {
    content: "\f19d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.login-note {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.7;
    flex: 1;
}

.partner-btn {
    color: white;
    background: linear-gradient(135deg, #eb7557 0%, #2c2e50 100%);
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(235, 117, 87, 0.3);
}

.partner-btn::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transition: transform 0.3s ease;
}

.partner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(235, 117, 87, 0.5);
}

.partner-btn:hover::after {
    transform: translateX(5px);
}

/* ======================= Modal Styles ============================ */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 46, 80, 0.85);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 0;
    border-radius: 30px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.7) translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    background: linear-gradient(135deg, #eb7557 0%, #2c2e50 100%);
}

.modal-header::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -200px;
    right: -100px;
}

.modal-header::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    bottom: -150px;
    left: -50px;
}

.modal-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
    animation: modalFloat 3s ease-in-out infinite;
}

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

.modal-body {
    padding: 50px;
}

.modal-body h2 {
    font-size: 2.5rem;
    color: #2c2e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    background: rgba(235, 117, 87, 0.1);
    color: #eb7557;
}

.stat-item i {
    font-size: 1.3rem;
}

.modal-description {
    font-size: 1.15rem;
    color: #6c757d;
    line-height: 1.9;
    margin-bottom: 40px;
}

.modal-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 16px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(235, 117, 87, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    background: linear-gradient(135deg, #eb7557 0%, #2c2e50 100%);
}

.feature-text {
    flex: 1;
}

.feature-text h4 {
    font-size: 1.1rem;
    color: #2c2e50;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.95rem;
    color: #6c757d;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

/* Animation beim Laden */
@keyframes fadeInUpCard {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partner-card {
    animation: fadeInUpCard 0.6s ease forwards;
    opacity: 0;
}

.partner-card:nth-child(1) {
    animation-delay: 0.1s;
}
.partner-card:nth-child(2) {
    animation-delay: 0.2s;
}
.partner-card:nth-child(3) {
    animation-delay: 0.3s;
}
.partner-card:nth-child(4) {
    animation-delay: 0.4s;
}
.partner-card:nth-child(5) {
    animation-delay: 0.5s;
}
.partner-card:nth-child(6) {
    animation-delay: 0.6s;
}
.partner-card:nth-child(7) {
    animation-delay: 0.7s;
}
.partner-card:nth-child(8) {
    animation-delay: 0.8s;
}
.partner-card:nth-child(9) {
    animation-delay: 0.9s;
}

/* ======================= Responsive Design ============================ */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .modal-features {
        grid-template-columns: 1fr;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    .partner-hero {
        min-height: 55vh;
        padding: 50px 20px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .partner-section {
        padding: 70px 20px;
    }

    .partner-section h2 {
        font-size: 2.5rem;
    }

    .partner-section > .container > p {
        font-size: 1.15rem;
        margin-bottom: 50px;
    }

    .modal-body {
        padding: 35px;
    }

    .modal-body h2 {
        font-size: 2rem;
    }

    .modal-header {
        height: 250px;
    }

    .modal-logo {
        width: 150px;
        height: 150px;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .partner-hero {
        min-height: 50vh;
        padding: 40px 20px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
        margin-bottom: 20px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 13px 30px;
        font-size: 1rem;
    }

    .floating-icon {
        font-size: 2.5rem;
    }

    .shape-1,
    .shape-2,
    .shape-3 {
        width: 120px;
        height: 120px;
    }

    .scroll-indicator {
        font-size: 1.5rem;
        bottom: 20px;
    }

    .partner-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .image-wrapper {
        height: 200px;
    }

    .partner-content {
        padding: 30px;
    }

    .modal-content {
        width: 95%;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .partner-hero {
        min-height: 45vh;
        padding: 35px 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 15px;
        margin-bottom: 18px;
    }

    .cta-button {
        font-size: 0.95rem;
        padding: 12px 28px;
    }

    .floating-icon {
        font-size: 2rem;
    }

    .scroll-indicator {
        font-size: 1.3rem;
        bottom: 15px;
    }

    .partner-section {
        padding: 50px 15px;
    }

    .partner-section h2 {
        font-size: 2rem;
    }

    .partner-content {
        padding: 25px;
    }

    .partner-content h3 {
        font-size: 1.4rem;
    }

    .modal-body {
        padding: 25px;
    }

    .modal-stats {
        gap: 15px;
    }

    .stat-item {
        font-size: 1rem;
        padding: 10px 16px;
    }

    .modal-header {
        height: 220px;
    }

    .modal-logo {
        width: 130px;
        height: 130px;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .partner-hero {
        min-height: 42vh;
        padding: 30px 10px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 7px 14px;
    }

    .partner-section h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 11px 25px;
    }

    .scroll-indicator {
        font-size: 1.2rem;
        bottom: 12px;
    }
}
