*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at top right, rgba(124, 92, 255, 0.12) 0%, transparent 30%),
        radial-gradient(circle at left, rgba(154, 124, 255, 0.08) 0%, transparent 22%),
        #2f3338;
    color: #f4f6f8;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

.page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px;
}

/* Hero */
.hero-card {
    background: #3a4046;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-top {
    text-align: center;
    padding: 22px 20px 18px;
    background:
        linear-gradient(90deg, rgba(124, 92, 255, 0.10) 0%, rgba(154, 124, 255, 0.06) 100%),
        #363c42;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: inline-block;
}

.hero-banner {
    position: relative;
    min-height: 320px;
    background:
        linear-gradient(180deg, rgba(47, 51, 56, 0.14) 0%, rgba(47, 51, 56, 0.64) 100%),
        linear-gradient(120deg, rgba(124, 92, 255, 0.10) 0%, rgba(154, 124, 255, 0.05) 100%),
        url('/images/people-2557579_1920.jpg') no-repeat center center;
    background-size: cover;
}

.hero-overlay {
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 32px;
}

.hero-content {
    max-width: 660px;
    background: rgba(58, 64, 70, 0.50);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px 26px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #7c5cff 0%, #9a7cff 100%);
}

.hero-content h1 {
    margin: 0 0 10px;
    font-size: 2.3rem;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.hero-content p {
    margin: 0;
    font-size: 1.03rem;
    color: #d5dbe0;
    line-height: 1.6;
}

/* Main */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Stationsbereich */
.station-section {
    background: #3a4046;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-head {
    margin-bottom: 22px;
}

.section-head h2 {
    margin: 0 0 8px;
    font-size: 2rem;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.section-head h2::after {
    content: "";
    display: block;
    width: 78px;
    height: 4px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7c5cff 0%, #9a7cff 100%);
}

.section-subtitle {
    display: block;
    margin: 0;
    color: #c6cdd3;
    font-size: 0.97rem;
    line-height: 1.45;
}

/* Stationsgrid */
.station-container-wrapper {
    display: block;
}

.station-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    gap: 18px;
    width: 100%;
}

/* Stationskarte */
.station {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 100%;
    background: linear-gradient(180deg, #4a5158 0%, #454c53 100%);
    color: #fff;
    padding: 16px 14px;
    border-radius: 18px;
    text-align: center;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.station::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.18) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.station:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 92, 255, 0.35);
    background: linear-gradient(180deg, #515962 0%, #4b535b 100%);
    box-shadow:
        0 16px 28px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(124, 92, 255, 0.08),
        0 0 18px rgba(124, 92, 255, 0.18);
}

.station:hover::after {
    opacity: 1;
}

.station img {
    width: 100%;
    max-width: 130px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0;
    border-radius: 14px;
    display: block;
    position: relative;
    z-index: 1;
}

.station p {
    margin: 0;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
    color: #f8fafb;
    position: relative;
    z-index: 1;
}

/* Optional Badge */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(90deg, #7c5cff 0%, #9a7cff 100%);
    color: #ffffff;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.station.top-station {
    position: relative;
}

/* Info-Bereich */
.info-section {
    margin-top: 0;
}

.box-container {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
}

.box {
    background: linear-gradient(180deg, #40464d 0%, #3b4147 100%);
    color: #fff;
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.box::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #7c5cff 0%, #9a7cff 100%);
}

.box h3 {
    margin: 0 0 14px;
    font-size: 1.26rem;
    line-height: 1.3;
    color: #ffffff;
}

.box p {
    margin: 0 0 20px;
    color: #d4dbe0;
    line-height: 1.65;
    text-align: left;
}

.box-button {
    display: inline-block;
    background: linear-gradient(90deg, #7c5cff 0%, #9a7cff 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    padding: 11px 18px;
    font-weight: 700;
    line-height: 1.2;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
    box-shadow: 0 8px 18px rgba(124, 92, 255, 0.20);
}

.box-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 12px 24px rgba(124, 92, 255, 0.28);
}

/* Footer */
.footer {
    margin-top: 24px;
    background: #3a4046;
    color: #ccd3d8;
    padding: 18px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .box-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-wrap {
        padding: 12px;
    }

    .hero-top {
        padding: 18px 16px 12px;
    }

    .hero-banner,
    .hero-overlay {
        min-height: 240px;
    }

    .hero-overlay {
        padding: 18px;
        align-items: flex-end;
    }

    .hero-content {
        padding: 18px;
    }

    .hero-content h1 {
        font-size: 1.85rem;
    }

    .section-head h2 {
        font-size: 1.55rem;
    }

    .station-container {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 14px;
    }

    .station-section,
    .box,
    .footer,
    .hero-card {
        border-radius: 16px;
    }
}

@media (max-width: 520px) {
    .station-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-content h1 {
        font-size: 1.55rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }
}