body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #fff;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.container,
.container-fluid {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.container {
    max-width: 1100px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.col-12 { flex: 1 1 100%; }

@media (min-width: 768px) {
    .col-md-2 { flex: 0 0 calc(16.666% - 16px); }
    .col-md-3 { flex: 0 0 calc(25% - 16px); }
    .col-md-4 { flex: 0 0 calc(33.333% - 16px); }
    .col-md-5 { flex: 0 0 calc(41.666% - 16px); }
    .col-md-6 { flex: 0 0 calc(50% - 16px); }
    .col-md-8 { flex: 0 0 calc(66.666% - 16px); }
}

@media (min-width: 992px) {
    .col-lg-4 { flex: 0 0 calc(33.333% - 16px); }
    .col-lg-5 { flex: 0 0 calc(41.666% - 16px); }
}

.d-flex { display: flex; }

.navbar {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.navbar .container-fluid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.navbar-brand {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

.navbar-collapse {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
}

.navbar-nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-item { display: flex; }

@media (max-width: 768px) {
    .navbar .container-fluid { flex-direction: column; align-items: stretch; }
    .navbar-collapse { width: 100%; justify-content: flex-start; }
    .navbar-nav { width: 100%; flex-direction: column; }
}

.btn,
.btn-rot {
    background: #b30000;
    color: #fff;
    border: 0;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-rot:hover { background: #8f0000; }

.btn-secondary { background: #555; color: #fff; }
.btn-sm { padding: 6px 10px; font-size: 12px; }
.btn-klein { padding: 6px 10px; font-size: 12px; }

.form-control,
.form-select,
.eingabe-feld {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
}

.form-label { display: block; margin-bottom: 6px; font-weight: bold; }

.form-check { display: flex; align-items: center; gap: 6px; }
.form-check-inline { display: inline-flex; align-items: center; margin-right: 10px; }
.form-check-input { margin: 0; }

.alert {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f6f6f6;
}

.alert-info { background: #f2f5f7; border-color: #cfd8dc; }
.alert-warning { background: #fff3cd; border-color: #f1c27d; }

.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}

.card-body { padding: 16px; }

.table-responsive { width: 100%; overflow-x: auto; }

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}


.hero-bild {
    width: 100%;
    min-height: 500px;
    background-image: url('https://images.unsplash.com/photo-1558981403-c5f9899a28bc?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text { text-align: center; color: #fff; text-shadow: 0 0 8px rgba(0,0,0,0.5); }
.hero-text h1 { font-size: 40px; margin: 0 0 20px; }

.btn-hero-weiss {
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.link-hero { display: block; color: #fff; text-decoration: none; font-size: 14px; }

.abschnitt {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    overflow: hidden;
}

.text-teil { width: 40%; margin-top: 20px; }
.bild-teil { width: 50%; }
.bild-teil img { width: 100%; display: block; }
.links { float: left; }
.rechts { float: right; }

.login-wrapper { padding: 60px 0; }

.login-box {
    background: #cd5c5c;
    padding: 30px;
    border-radius: 8px;
    color: #fff;
}

.login-box h2 { margin: 0 0 20px; color: #000; text-align: center; }

.login-btn-weiss {
    background: #fff;
    color: #000;
    border: 0;
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.footer {
    margin-top: auto;
    padding: 40px 0;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #555;
}

.card-img-top { height: 200px; object-fit: cover; margin-bottom: 10px; }

.dashboard-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.dashboard-box {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.dashboard-box h3 { margin-top: 0; color: #b30000; }
