/* =========================
   HERO
========================= */

.studienkolleg-hero {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.studienkolleg-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,.2));
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.hero-overlay h1 {
    font-size: 42px;
    margin-bottom: 24px;
    color: white;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* =========================
   BUTTONS
========================= */

.btn-primary {
    background: var(--color-surface);
    color: var(--off-black);;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

.btn-outline {
    border: 1px solid var(--color-surface);;
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
}

.btn-outline.full,
.btn-primary.full {
    width: 100%;
    text-align: center;
}

/* =========================
   LAYOUT
========================= */

.studienkolleg-content {
    padding: 60px 0;
    background: repeating-linear-gradient(
        45deg,
        #fdfdfd,
        #fdfdfd 1px,
        #f3f4f6 0,
        #f3f4f6 50%
    );
}

.content-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 32px;
}

/* =========================
   CARDS
========================= */

.info-card,
.sidebar-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    position: relative;
}

.info-card h3,
.sidebar-card h4 {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
}

/* =========================
   INFO ROWS
========================= */

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
}

.info-highlight {
    margin-top: 16px;
    background: var(--off-black);
    color: var(--color-surface);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

/* =========================
   TABLE
========================= */

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    text-align: left;
}

.info-table th {
    font-weight: 700;
    background: #f3f4f6;
}

/* =========================
   SIDEBAR – COURSE TYPES
========================= */

.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.course-item {
    background: #f3f4f6;
    border-radius: 14px;
    padding: 22px;
    text-align: center;
    font-weight: 700;
    transition: transform .2s ease;
}

.course-item:hover {
    transform: translateY(-2px);
}

/* =========================
   SIDEBAR – ICON CARDS
========================= */

.sidebar-card-icon {
    padding-top: 42px;
}

.sidebar-icon {
    position: absolute;
    top: -22px;
    right: 20px;
    width: 46px;
    height: 46px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.sidebar-icon i {
    font-size: 22px;
    color: var(--off-black);
}

/* =========================
   ENTRY EXAM CARD
========================= */

.exam-card {
    margin-top: 20px;
    background: #f3f4f6;
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
}

.exam-card i {
    font-size: 42px;
    color: #111827;
    margin-bottom: 14px;
}

.exam-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    text-decoration: underline dotted;
}

.exam-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--off-black);
    text-decoration: underline dotted;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.exam-link i {
    font-size: 14px;
}

/* =========================
   GERASSIST BUTTON
========================= */

.sidebar-text {
    margin: 18px 0 16px;
    font-size: 15px;
}

.btn-gerassist {
    display: inline-block;
    width: 100%;
    background: #ffffff;
    color: #111827;
    padding: 14px 20px;
    border-radius: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    transition: all .25s ease;
}

.btn-gerassist:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

/* =========================
   MAP
========================= */

.map-box iframe {
    width: 100%;
    height: 260px;
    border-radius: 14px;
    border: none;
    margin-top: 16px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .content-grid {
        display: flex;
        flex-direction: column;
    }

    .content-sidebar {
        order: 1;
    }

    .content-main {
        order: 2;
    }

    .hero-overlay {
        padding: 32px;
    }

    .hero-overlay h1 {
        font-size: 28px;
    }
}

/* =========================
   HEADER (UNDER HERO)
========================= */

.studienkolleg-header {
    background: #ffffff;
    padding: 40px 0 32px;
    border-bottom: 1px solid #e5e7eb;
}

.studienkolleg-breadcrumb {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 18px;
}

.studienkolleg-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    border-bottom: 2px dotted #9ca3af;
}

.studienkolleg-breadcrumb a:hover {
    color: #111827;
}

.studienkolleg-breadcrumb span {
    margin: 0 8px;
    color: #9ca3af;
}

.studienkolleg-breadcrumb strong {
    color: #111827;
    font-weight: 600;
}

/* Title */
.studienkolleg-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #111827;
}

/* Location */
.studienkolleg-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #4b5563;
}

.studienkolleg-location i {
    font-size: 20px;
    color: var(--off-black);
}

/* Responsive */
@media (max-width: 768px) {
    .studienkolleg-title {
        font-size: 30px;
    }

    .studienkolleg-location {
        font-size: 15px;
    }
    /* Hero title */
    .hero-overlay h1 {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 20px;
    }

    /* Actions wrapper */
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    /* Apply + Favorite buttons */
    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 100%;
        padding: 14px 18px;
        font-size: 15px;
        border-radius: 14px;
        justify-content: center;
        text-align: center;
    }

    /* Outline button icon spacing */
    .hero-actions .btn-outline i {
        font-size: 16px;
    }

    /* Hero overlay padding */
    .hero-overlay {
        padding: 28px 22px;
    }
}

