/* ======================= GLOBAL LIGHT MODE ======================= */
:root {
    --bg: #ffffff;
    --bg-soft: #f5f5f7;
    --text: #111111;
    --text-soft: #444444;
    --accent: #C8102E;

    --nav-bg: rgba(255,255,255,0.65);
    --nav-border: rgba(0,0,0,0.08);

    --card-bg: #ffffff;
    --card-border: rgba(0,0,0,0.05);

    --shadow: rgba(0,0,0,0.1);
}

/* ======================= GLOBAL DARK MODE ======================= */
body.dark-mode {
    --bg: #0e0e10;
    --bg-soft: #161618;
    --text: #f2f2f2;
    --text-soft: #bbbbbb;
    --accent: #ff375f; /* Apple Dark Accent */

    --nav-bg: rgba(20,20,22,0.7);
    --nav-border: rgba(255,255,255,0.08);

    --card-bg: #1a1a1c;
    --card-border: rgba(255,255,255,0.05);

    --shadow: rgba(0,0,0,0.45);
}

/* Smooth transitions */
body, .card, .partner-section, .welcome-section, .details-section {
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.nav-modern {
    background: var(--nav-bg);
    border-bottom: 1px solid var(--nav-border);
    backdrop-filter: blur(12px);
}
.nav-logo, .nav-links a {
    color: var(--text);
}
.nav-links a:hover {
    color: var(--accent);
}
.details-block, .mission-card, .feature-card, .desc-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 16px var(--shadow);
}
.details-title, .mission-title, .desc-title {
    color: var(--text);
}
.hero-gradient, .hero-overlay {
    background: linear-gradient(to bottom,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.85)
    );
}
body.dark-mode .hero-gradient {
    background: linear-gradient(to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.85)
    );
}
.partner-img {
    filter: brightness(1);
}
body.dark-mode .partner-img {
    filter: brightness(0.8);
}

/* =========================================================
   LIGHT / DARK SWITCH
========================================================= */

.theme-toggle {
    padding-top: 22px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #C8102E;
}

input:checked + .slider:before {
    transform: translateX(24px);
}


/* =========================================================
   THEME COLORS
========================================================= */

:root {
    --bg: #ffffff;
    --text: #111111;
    --subtitle: #333333;
    --navbar-bg: rgba(255,255,255,0.6);
    --hero-overlay: rgba(0,0,0,0.25);
}

body.dark-mode {
    --bg: #0E0E0F;
    --text: #f5f5f5;
    --subtitle: #cfcfcf;
    --navbar-bg: rgba(15,15,15,0.75);
    --hero-overlay: rgba(0,0,0,0.55);
}

body {
    background: var(--bg);
    color: var(--text);
    transition: background 0.4s ease, color 0.4s ease;
}

/* =========================================================
   NEW APPLE × LINEAR × ÖBB NAVBAR
========================================================= */

.nav-modern {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(0,0,0,0.35);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-modern.scrolled {
    background: rgba(0,0,0,0.75);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.nav-container {
    height: 78px;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.nav-logo:hover {
    color: #C8102E;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
}

.nav-links li a {
    color: #eaeaea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: color 0.25s ease;
    padding: 8px 0;
}

/* Underline Animation */
.nav-links li a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: #C8102E;
    transform: translateX(-50%);
    transition: width 0.25s ease;
    box-shadow: 0 0 8px rgba(200,16,46,0.7);
}

.nav-links li a:hover::after {
    width: 60%;
}

.nav-links li a:hover {
    color: #ffffff;
}

/* Light/Dark Theme Switch Alignment */
.theme-toggle {
    padding-top: 0;
}

/* =========================================================
   PREMIUM GLASS-GLOW NAVBAR
========================================================= */

body, .navbar, .nav, .navbar-brand {
    font-family: 'Inter', sans-serif !important;
}

.navbar {
    background: var(--navbar-bg) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    height: 78px;
    display: flex;
    align-items: center;
    padding-top: 4px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.82) !important;
    box-shadow: 0 8px 35px rgba(0,0,0,0.55);
}

.navbar-brand {
    color:#ffffff !important;
    font-weight:700;
    font-size:20px;
    letter-spacing:1px;
    padding-top:22px;
    text-transform:none;
    transition:color 0.25s ease;
}

.navbar-brand:hover {
    color:#C8102E !important;
}

.navbar-nav > li > a {
    color:#f0f0f0 !important;
    font-weight:500;
    padding:26px 22px !important;
    font-size:14px;
    position:relative;
    transition:color 0.25s ease;
}

.navbar-nav > li > a::after {
    content:"";
    position:absolute;
    bottom:12px;
    left:50%;
    width:0%;
    height:2px;
    background:rgba(200,16,46,0.9);
    box-shadow:0 0 10px rgba(200,16,46,0.7);
    transform:translateX(-50%);
    transition:width 0.25s ease;
}

.navbar-nav > li > a:hover::after {
    width:70%;
}

.navbar-nav > li > a:hover {
    color:#ffffff !important;
}

.navbar-nav > .active > a {
    color:#ffffff !important;
}

.navbar-nav > .active > a::after {
    width:70%;
}

.navbar-toggle .icon-bar {
    background-color:white !important;
}


/* =========================================================
   HERO SECTION – Apple × Linear × ÖBB Premium Motion
========================================================= */

.hero {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0b0b0c;
}

/* Background layers */
.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Motion blur layer with rail blur image */
.rail-blur-layer {
    position: absolute;
    inset: 0;
    background: url('img/rail_blur.jpg') center / cover no-repeat;
    filter: blur(10px) brightness(0.55);
    opacity: 0.55;
    animation: railMove 7s linear infinite;
}

/* Light streaks animation */
.rail-light-streaks {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
    rgba(200, 16, 46, 0) 0%,
    rgba(200, 16, 46, 0.45) 50%,
    rgba(200, 16, 46, 0) 100%
    );
    mix-blend-mode: screen;
    opacity: 0.55;
    animation: streakMove 4.5s linear infinite;
}

/* Dark fade to bottom – Apple style */
.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
    rgba(0,0,0,0.0),
    rgba(0,0,0,0.92)
    );
}

/* Text content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    opacity: 0;
    animation: heroFade 1.1s ease forwards;
}

/* Title */
.hero-title {
    color: white;
    font-size: 58px;
    font-weight: 700;
    letter-spacing: -0.4px;
    margin-bottom: 20px;
}

/* Red accent line */
.hero-accent {
    width: 140px;
    height: 6px;
    margin: 0 auto 22px auto;
    background: #C8102E;
    border-radius: 3px;
    box-shadow: 0 0 18px rgba(200,16,46,0.8);
}

/* Subtitle */
.hero-subtitle {
    color: #f0f0f0;
    font-size: 20px;
    font-weight: 300;
    max-width: 760px;
    line-height: 1.65;
    margin: 0 auto;
}

/* Animations */
@keyframes railMove {
    from { transform: translateX(0); }
    to   { transform: translateX(-40%); }
}

@keyframes streakMove {
    from { transform: translateX(35%); }
    to   { transform: translateX(-35%); }
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* =========================================================
   WELCOME SECTION
========================================================= */

/* =========================================================
   WELCOME SECTION – Apple × Linear × ÖBB Premium Intro
========================================================= */

.welcome-section {
    padding: 120px 20px;
    background: var(--bg);
    text-align: center;
    position: relative;
}

.welcome-inner {
    max-width: 880px;
    margin: 0 auto;
    animation: fadeUp 1.1s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Title */
.welcome-title {
    font-size: 44px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

/* Red ÖBB Accent Line */
.welcome-accent {
    width: 90px;
    height: 6px;
    margin: 0 auto 26px auto;
    background: #C8102E;
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(200,16,46,0.4);
}

/* Text */
.welcome-text {
    font-size: 19px;
    line-height: 1.7;
    color: var(--subtitle);
    max-width: 740px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.welcome-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 28px;
    font-size: 15px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.22s ease;
}

/* Primary Button – ÖBB Red */
.btn-primary {
    background: #C8102E;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(200,16,46,0.4);
}
.btn-primary:hover {
    background: #a50d26;
    box-shadow: 0 0 18px rgba(200,16,46,0.65);
}

/* Secondary Button – Minimalist Line */
.btn-secondary {
    background: transparent;
    border: 2px solid var(--text);
    color: var(--text);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: #C8102E;
    color: #C8102E;
}

/* =========================================================
   DESCRIPTION SECTION – Apple × Linear × ÖBB
========================================================= */

.desc-section {
    padding: 110px 20px 140px 20px;
    background: var(--bg);
}

.desc-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
}

.desc-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.desc-accent {
    width: 90px;
    height: 5px;
    margin: 0 auto;
    border-radius: 3px;
    background: #C8102E;
    box-shadow: 0 0 16px rgba(200,16,46,0.55);
}

/* Two-column layout */
.desc-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Card style */
.desc-card {
    padding: 40px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.dark-mode .desc-card {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}

.desc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

/* Text */
.desc-card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--text);
}

.desc-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--subtitle);
}

/* Responsive */
@media (max-width: 900px) {
    .desc-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ========== WELCOME SECTION (Apple × Linear × ÖBB) ========== */
.welcome-section {
    padding: 120px 0;
    background: var(--bg);
    color: var(--text);
    position: relative;
}

.welcome-title {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 12px;
}

.welcome-accent {
    width: 120px;
    height: 6px;
    background: #C8102E;
    margin: 0 auto 25px auto;
    border-radius: 3px;
    box-shadow: 0 0 18px rgba(200,16,46,0.4);
}

.welcome-subtitle {
    font-size: 19px;
    color: var(--subtitle);
    margin-bottom: 60px;
}

/* GRID */
.welcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

/* CARD */
.welcome-card {
    background: rgba(255,255,255,0.04);
    padding: 28px;
    border-radius: 18px;
    backdrop-filter: blur(8px);
    transition: 0.35s ease;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    cursor: pointer;
    transform-style: preserve-3d;
}

/* Hover Glow */
.welcome-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18),
    0 0 18px rgba(200,16,46,0.45);
    border-color: rgba(200,16,46,0.6);
}

/* Bild */
.welcome-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}

/* Titel */
.welcome-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Text */
.welcome-card p {
    font-size: 15px;
    color: var(--subtitle);
}

/* ======================= FEATURE SECTION ======================= */
.feature-section {
    padding: 120px 0;
}

.feature-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.feature-accent {
    width: 120px;
    height: 6px;
    background: #C8102E;
    margin: 0 auto 50px auto;
    border-radius: 3px;
    box-shadow: 0 0 18px rgba(200,16,46,0.5);
}

/* GRID */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* CARD */
.feature-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    cursor: pointer;
    transform: translateZ(0);
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    opacity: 0;
    animation: cardFadeIn 1s ease forwards;
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hover Glow */
.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 14px 40px rgba(0,0,0,0.25),
    0 0 20px rgba(200,16,46,0.6);
    border-color: rgba(200,16,46,0.6);
}

/* Image */
.feature-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

/* Text */
.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.feature-card ul {
    padding-left: 18px;
    margin: 0;
}

.feature-card li {
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--subtitle);
}

/* ======================= MAGNETIC HOVER ======================= */

.magnetic {
    position: relative;
}

.magnetic:hover {
    transition: transform 0.3s ease-out;
}

.magnetic:hover {
    transform: translateY(-10px) scale(1.03);
}

/* Magnetic cursor tracking */
.magnetic {
    --magnet-size: 40px;
}

.magnetic:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle,
    rgba(200,16,46,0.28),
    rgba(200,16,46,0) 70%);
    opacity: 1;
    pointer-events: none;
    animation: magPulse 1.6s infinite ease-out;
}

@keyframes magPulse {
    0%   { opacity: 0.4; }
    50%  { opacity: 0.8; }
    100% { opacity: 0.4; }
}

/* ======================= DETAILS SECTION ======================= */

.details-section {
    padding: 120px 0;
    background: var(--bg);
}

.details-container {
    width: 92%;
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.details-block {
    display: flex;
    align-items: center;
    gap: 60px;
}

.details-block.reverse {
    flex-direction: row-reverse;
}

.details-image img {
    width: 420px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.details-image:hover img {
    transform: scale(1.03);
    box-shadow: 0 18px 48px rgba(0,0,0,0.45);
}

.details-text {
    flex: 1;
}

.details-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.details-accent {
    width: 110px;
    height: 5px;
    background: #C8102E;
    border-radius: 4px;
    box-shadow: 0 0 14px rgba(200,16,46,0.6);
    margin-bottom: 22px;
}

.details-text p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--subtitle);
    margin-bottom: 18px;
}

.details-text ul {
    list-style: none;
    padding-left: 0;
}

.details-text ul li {
    font-size: 17px;
    padding: 6px 0;
    position: relative;
    color: var(--text);
}

.details-text ul li::before {
    content: "•";
    color: #C8102E;
    margin-right: 10px;
    font-size: 20px;
    vertical-align: middle;
}

/* MOBILE */
@media (max-width: 900px) {
    .details-block,
    .details-block.reverse {
        flex-direction: column;
        text-align: center;
    }
    .details-image img {
        width: 80%;
        margin-bottom: 20px;
    }
}

/* ======================= MISSION SECTION ======================= */

.mission-section {
    padding: 120px 0;
    background: var(--bg);
    color: var(--text);
    text-align: center;
}

.mission-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.mission-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.mission-accent {
    width: 120px;
    height: 6px;
    background: #C8102E;
    margin: 0 auto 35px auto;
    border-radius: 4px;
    box-shadow: 0 0 14px rgba(200,16,46,0.6);
}

.mission-text {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.7;
    color: var(--subtitle);
}

/* GRID */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.mission-card {
    background: var(--bg);
    padding: 30px 25px;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

.mission-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.mission-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.mission-card p {
    color: var(--subtitle);
    font-size: 15px;
    line-height: 1.6;
}

/* MOBILE */
@media (max-width: 900px) {
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .mission-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
/* ================= ICON COLOR AUTO-MODE ================= */

/* Light Mode */
.mission-icon svg {
    stroke: #111111;   /* dunkel im Light Mode */
    transition: stroke 0.3s ease;
}

/* Dark Mode */
body.dark-mode .mission-icon svg {
    stroke: #f5f5f5;   /* hell im Dark Mode */
}

/* ===================== TEAM SECTION ===================== */

.team-section {
    padding: 110px 0;
    background: var(--bg);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.team-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
}

.team-accent {
    width: 120px;
    height: 6px;
    background: #C8102E;
    border-radius: 4px;
    margin: 16px auto 28px auto;
    box-shadow: 0 0 16px rgba(200,16,46,0.5);
}

.team-subtitle {
    font-size: 18px;
    color: var(--subtitle);
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 30px 20px;
    transition: transform .35s ease, box-shadow .35s ease;
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
}

body.dark-mode .team-card {
    background: rgba(20, 20, 20, 0.45);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.team-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
}

.team-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.team-role {
    color: var(--subtitle);
    font-size: 15px;
}

/* ===================== LOGOS IN NAVBAR ===================== */

.nav-logo-group {
    display: flex;
    align-items: center;
}

.nav-school-logo {
    height: 72px;
    margin-right: 28px;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.4));
}

.nav-oebb-logo {
    height: 64px;
    margin-left: 28px;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.4));
}

/* Dark mode adjustments */
body.dark-mode .nav-school-logo,
body.dark-mode .nav-oebb-logo {
    filter: brightness(0.85) drop-shadow(0 0 4px rgba(0,0,0,0.5));
}

.partner-section {
    padding: 80px 0;
    text-align: center;
}

.partner-title {
    font-size: 36px;
    font-weight: 700;
}

.partner-accent {
    width: 120px;
    height: 6px;
    margin: 14px auto 40px;
    background: #C8102E;
    border-radius: 4px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.partner-img {
    height: 144px;
    opacity: 0.92;
    transition: 0.3s;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.25));
}

.partner-img:hover {
    opacity: 1;
    transform: scale(1.06);
}

/* ===================== PARTNER SECTION (Elegant Row) ===================== */

.partner-section {
    padding: 90px 0 70px;
    text-align: center;
    background: var(--bg);
}

.partner-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
}

.partner-accent {
    width: 110px;
    height: 6px;
    background: #C8102E;
    margin: 14px auto 50px;
    border-radius: 4px;
    box-shadow: 0 0 16px rgba(200,16,46,0.55);
}

.partner-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
    flex-wrap: wrap;
}

.partner-img {
    height: 140px;
    opacity: 0.9;
    transition: 0.3s ease;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.25));
}

.partner-img:hover {
    opacity: 1;
    transform: scale(1.07);
}

/* DARK MODE */
body.dark-mode .partner-img {
    filter: brightness(0.85) drop-shadow(0 0 7px rgba(0,0,0,0.5));
}
/* ===================== PARTNER SECTION — APPLE ULTRA CLEAN ===================== */

.partner-section {
    padding: 110px 0 120px;
    background: var(--bg);
    text-align: center;
}

.partner-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.6px;
}

.partner-accent {
    width: 90px;
    height: 4px;
    background: #C8102E;
    margin: 18px auto 70px;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(200,16,46,0.4);
}

/* Apple-Like Spacing + Alignment */
.apple-layout {
    display: flex;
    justify-content: center;
    gap: 110px;
    flex-wrap: wrap;
}

/* Container für Apple-Look */
.partner-logo {
    position: relative;
    transition: transform 0.5s ease, opacity 0.4s ease;
    opacity: 0.85;
}

/* Logos selbst */
.partner-logo img {
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(0,0,0,0.10));
    transition: transform 0.45s ease, filter 0.45s ease;
}

/* Leichter Parallax- / Float-Effekt */
.partner-logo:hover {
    transform: translateY(-8px);
    opacity: 1;
}

.partner-logo:hover img {
    transform: scale(1.04);
    filter: drop-shadow(0 0 35px rgba(0,0,0,0.18));
}

/* Apple Shine Overlay (Glare) */
.partner-logo::after {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: linear-gradient(
            125deg,
            rgba(255,255,255,0.0) 40%,
            rgba(255,255,255,0.15) 50%,
            rgba(255,255,255,0.0) 60%
    );
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.partner-logo:hover::after {
    opacity: 1;
    transform: translateX(8px);
}

/* Dark Mode Anpassungen */
body.dark-mode .partner-logo img {
    filter: brightness(0.80) drop-shadow(0 0 30px rgba(0,0,0,0.6));
}

body.dark-mode .partner-logo:hover img {
    filter: brightness(0.95) drop-shadow(0 0 40px rgba(0,0,0,0.8));
}






