/* =========================
   Farbdefinitionen (CI)
   ========================= */
   :root {
    --rot: #b00020;
    --rot-dunkel: #8a0018;
    --weiß: #ffffff;
    --grau-hell: #f4f4f4;
    --text-hell: #ffffff;
    --rahmen-dunkel: rgba(0, 0, 0, 0.35);
}

/* =========================
   Reset / Basis
   ========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background-color: var(--weiß);
    color: var(--text-hell);
    line-height: 1.6;
}

/* =========================
   Header
   ========================= */
.header {
    background-color: var(--rot);
    color: var(--weiß);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.header h1 {
    font-size: 2rem;
}

.header p {
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* =========================
   Header mit Logo
   ========================= */  
.header-with-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-logo {
    height: 70px;
    width: auto;
}

/* Text im Header */
.header-text h1 {
    font-size: 2rem;
}

.header-text p {
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* =========================
   Layout Container
   ========================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* =========================
   Info-Boxen (oben)
   ========================= */
.info-boxes {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;

    /* NEU */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.info-box {
    background-color: var(--rot-dunkel);
    color: var(--weiß);
    padding: 1.75rem;
    border-radius: 6px;
    border: 1px solid var(--rahmen-dunkel);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.info-box h2 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.info-box p {
    opacity: 0.95;
}

/* =========================
   Kacheln
   ========================= */
.tiles {
    display: grid;
    gap: 1.75rem;
}

.tile {
    display: block;
    text-decoration: none;
    background-color: var(--weiß);
    color: var(--rot-dunkel);
    padding: 2rem 1.75rem;
    border-radius: 8px;
    border: 1px solid var(--rahmen-dunkel);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
    border-left: 6px solid var(--rot-dunkel);
}

.tile h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.tile p {
    opacity: 0.95;
}

.tile:hover {
    background-color: var(--weiß);
    border-color: rgba(0, 0, 0, 0.55);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);}

.tile.external {
    border-left: 6px solid var(--rot-dunkel);
}

/* =========================
   Footer
   ========================= */
.footer {
    background-color: var(--grau-hell);
    color: #333;
    text-align: center;
    padding: 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}

/* =========================
   Responsive Breakpoints
   ========================= */
@media (min-width: 600px) {
    .info-boxes {
        grid-template-columns: repeat(1, 1fr); /*Wie viele Elemente sollen nebeneinander stehen repeat(#Anzahl, 1fr)*/
    }

    .tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .tiles {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .header-with-logo {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-logo {
        height: 55px;
    }

    .header-text h1 {
        font-size: 1.6rem;
    }
}

/* =========================
   Tabellen – Studien- & Berufsorientierung
   ========================= */

   .table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.stud-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--weiß);
    color: #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.stud-table thead {
    background-color: var(--rot-dunkel);
    color: var(--weiß);
}

.stud-table th,
.stud-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
}

.stud-table th {
    font-size: 0.95rem;
    font-weight: 600;
}

.stud-table td {
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.stud-table tbody tr:hover {
    background-color: var(--grau-hell);
}

.stud-table a {
    color: var(--rot-dunkel);
    text-decoration: none;
    font-weight: 500;
}

.stud-table a:hover {
    text-decoration: underline;
}

/* Kleine Bildschirme */
@media (max-width: 600px) {
    .stud-table th,
    .stud-table td {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* =========================
   Dezenter Hinweistext
   ========================= */

   .notice-subtle {
    max-width: 900px;
    margin: 2rem auto 0 auto;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #444;
    background-color: var(--grau-hell);
    border-left: 4px solid var(--rahmen-dunkel);
    border-radius: 4px;
}

.notice-subtle p {
    margin: 0;
}

/* =========================
   Allgemeine Hinweise – Studien- & Berufsorientierung
   ========================= */

   .general-info {
    max-width: 900px;
    margin: 3rem auto 0 auto;
    color: #333;
}

.general-info h2 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--rot-dunkel);
}

.general-info-list {
    list-style: disc;
    padding-left: 1.5rem;
}

.general-info-list li {
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.general-info-list a {
    color: var(--rot-dunkel);
    text-decoration: none;
}

.general-info-list a:hover {
    text-decoration: underline;
}

.general-info-list em {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.9rem;
    color: #555;
}
