:root {
    --color-beige: #fefce6;
    --color-grau: #303034;
    --color-blau: #0097ba;
    --color-rot: #e66073;
    --color-gelb: #fdb50b;
    --color-gruen: #6DBF5F;
    --color-white: #ffffff;
    --font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --navbar-height: 60px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-beige);
    color: var(--color-grau);
    line-height: 1.6;
    padding-top: calc(var(--navbar-height) + 20px);
    padding-bottom: 50px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-center {
    margin: 0 auto;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .col-center {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background-color: var(--color-blau);
    color: var(--color-white);
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu (Simple implementation) */
.navbar-toggler {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
    }

    .navbar-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background-color: var(--color-blau);
        padding: 10px;
        gap: 10px;
    }

    .navbar-nav.show {
        display: flex;
    }
}

/* Dropdown (Simple CSS hover) */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 5px 0;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 8px 16px;
    color: var(--color-grau);
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: rgba(230, 96, 115, 0.1);
}

/* Cards */
/* Content Sections */
.content-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-grau);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    border-bottom: 3px solid var(--color-blau);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title.red {
    border-color: var(--color-rot);
}

.section-title.green {
    border-color: var(--color-gruen);
}

.section-title.yellow {
    border-color: var(--color-gelb);
}

/* Typography & Content */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1.5rem;
    color: var(--color-grau);
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
    text-align: left;
    /* Changed from justify for better readability on web */
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 800px;
    /* Optimal line length */
}

/* Homepage Redesign */
.hero-section {
    text-align: center;
    padding: 4rem 1rem;
    background-color: var(--color-beige);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-blau);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-grau);
    max-width: 600px;
    margin: 0 auto;
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .action-grid {
        grid-template-columns: 1fr 1fr;
        padding: 0;
    }
}

.action-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.5rem;
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.action-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    color: white;
}

.action-tile:active {
    transform: scale(0.98);
}

.action-tile span {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.75rem;
    opacity: 0.95;
    text-transform: none;
    line-height: 1.4;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--color-blau);
    margin-left: 1rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2.65rem;
    /* Adjusted for thicker border */
    top: 0.2rem;
    width: 1.3rem;
    height: 1.3rem;
    background-color: var(--color-blau);
    border-radius: 50%;
    border: 4px solid var(--color-beige);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-blau);
    margin-bottom: 1rem;
    line-height: 1;
}

.timeline-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-light {
    color: var(--color-white);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

/* Colors */
.ba_blau {
    background-color: var(--color-blau);
}

.ba_rot {
    background-color: var(--color-rot);
}

.ba_gelb {
    background-color: var(--color-gelb);
}

.ba_gruen {
    background-color: var(--color-gruen);
}

.ba_grau {
    background-color: var(--color-grau);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 20px;
    text-align: center;
    border-radius: 0;
    /* rounded-0 in bootstrap */
    cursor: pointer;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.9;
    color: var(--color-white);
}

.btn-lg {
    font-size: 1.25rem;
}

/* Grid Utilities */
.col-half {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    .col-half {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-0 {
    margin-bottom: 0;
}

.w-100 {
    width: 100%;
}

.text-uppercase {
    text-transform: uppercase;
}

.rounded-0 {
    border-radius: 0 !important;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--color-grau);
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    text-align: left;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    font-weight: 700;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-borderless th,
.table-borderless td,
.table-borderless thead th,
.table-borderless tbody+tbody {
    border: 0;
}

.table-sm th,
.table-sm td {
    padding: 0.3rem;
}