@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-Hairline-web.woff') format('woff');
    font-weight: 100; /* Hairline */
    font-style: normal;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-HairlineItalic-web.woff') format('woff');
    font-weight: 100; /* Hairline Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-Thin-web.woff') format('woff');
    font-weight: 200; /* Thin */
    font-style: normal;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-ThinItalic-web.woff') format('woff');
    font-weight: 200; /* Thin Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-Light-web.woff') format('woff');
    font-weight: 300; /* Light */
    font-style: normal;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-LightItalic-web.woff') format('woff');
    font-weight: 300; /* Light Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-Regular-web.woff') format('woff');
    font-weight: normal; /* Regular */
    font-style: normal;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-RegularItalic-web.woff') format('woff');
    font-weight: normal; /* Regular Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-Medium-web.woff') format('woff');
    font-weight: 500; /* Medium */
    font-style: normal;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-MediumItalic-web.woff') format('woff');
    font-weight: 500; /* Medium Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-Bold-web.woff') format('woff');
    font-weight: bold; /* Bold */
    font-style: normal;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-BoldItalic-web.woff') format('woff');
    font-weight: bold; /* Bold Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-Black-web.woff') format('woff');
    font-weight: 900; /* Black */
    font-style: normal;
}
@font-face {
    font-family: 'U8';
    src: url('../fonts/U8-BlackItalic-web.woff') format('woff');
    font-weight: 900; /* Black Italic */
    font-style: italic;
}

/* Globale Schriftart und Farben festlegen */
body {
    font-family: 'U8', sans-serif;
    background-color: #FFFFFF; /* Reines Weiß */
    color: #1A1A1A; /* Sehr dunkles Grau, fast Schwarz */
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'U8', sans-serif;
    font-weight: bold;
    color: #1A1A1A; /* Schwarz für Überschriften */
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* Horizontale Navigation */
.navbar-container {
    width: 100%;
    max-width: 1400px; /* Sollte die gleiche Breite wie der Inhalts-Container haben */
    margin: 0 auto; /* Zentriert den Container */
    padding-left: 15px; /* Nur ein kleiner Abstand zum Rand */
    padding-right: 15px;
}

.navbar {
    background-color: #FFFFFF !important; /* Weißer Hintergrund */
    border-bottom: none; /* Keine Border */
    padding: 15px 0; /* Mehr Padding oben/unten */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.navbar-nav {
    display: flex;
    flex-direction: row; /* Horizontale Anordnung */
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-item {
    margin-left: 20px; /* Abstand zwischen den Links */
}

.navbar-nav .nav-link {
    color: #1A1A1A; /* Schwarzer Text für Nav-Links */
    font-weight: normal; /* Regular Gewicht */
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.navbar-nav .nav-link:hover {
    text-decoration: underline; /* Unterstreichung beim Hover */
}

/* Buttons */
.btn {
    font-family: 'U8', sans-serif;
    font-weight: bold; /* Bold Gewicht für Buttons */
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 0; /* Keine abgerundeten Ecken */
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-mondhuegel-primary {
    background-color: #1A1A1A; /* Schwarzer Hintergrund */
    border-color: #1A1A1A;
    color: #FFFFFF; /* Weißer Text */
}

.btn-mondhuegel-primary:hover {
    background-color: #333333; /* Etwas helleres Schwarz beim Hover */
    border-color: #333333;
    color: #FFFFFF;
}

.btn-mondhuegel-secondary {
    background-color: transparent;
    border: 1px solid #1A1A1A; /* Dünner schwarzer Rahmen */
    color: #1A1A1A; /* Schwarzer Text */
}

.btn-mondhuegel-secondary:hover {
    background-color: #F5F5F5; /* Sehr helles Grau beim Hover */
    border-color: #1A1A1A;
    color: #1A1A1A;
}

/* Formulare */
input.mondhuegel-input,
select.mondhuegel-input,
textarea.mondhuegel-input {
    background-color: #FFFFFF;
    border: 1px solid #F5F5F5; /* Dezenter hellgrauer Rahmen */
    color: #1A1A1A;
    padding: 10px;
    border-radius: 0; /* Keine abgerundeten Ecken */
    width: 100%;
    transition: border-color 0.3s ease;
}
input.mondhuegel-input:focus,
select.mondhuegel-input:focus,
textarea.mondhuegel-input:focus {
    outline: none;
    border-color: #1A1A1A; /* Rahmen wird schwarz bei Fokus */
}

/* Tabellen */
.mondhuegel-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    color: #1A1A1A;
    background-color: #FFFFFF; /* Weißer Hintergrund */
}

.mondhuegel-table th,
.mondhuegel-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #F5F5F5; /* Feine, hellgraue Linien */
    text-align: left;
}

.mondhuegel-table thead th {
    background-color: #FFFFFF; /* Weißer Hintergrund */
    color: #1A1A1A; /* Schwarzer Text */
    font-weight: bold; /* U8 Bold */
    text-transform: none; /* Keine Großbuchstaben */
    border-bottom: 2px solid #1A1A1A; /* Etwas stärkere Linie unter Header */
}

.mondhuegel-table tbody tr:nth-child(even) {
    background-color: #F5F5F5; /* Optional: Leichter Grauton für jede zweite Zeile */
}

.mondhuegel-table tbody tr:hover {
    background-color: #E0E0E0; /* Hellerer Grauton beim Hover */
}

/* Keine sichtbaren Boxen/Rahmen für Cards */
.mondhuegel-card {
    background-color: transparent; /* Transparent */
    border: none; /* Keine Border */
    border-radius: 0; /* Keine abgerundeten Ecken */
    padding: 0; /* Kein Padding, wird durch Inhalt gesteuert */
    margin-bottom: 30px; /* Mehr Abstand zwischen Sektionen */
}

.mondhuegel-card-body {
    padding: 0; /* Kein Padding */
}

/* Layout und Hilfsklassen */
.mondhuegel-container {
    width: 100%;
    padding-right: 30px; /* Etwas Rand lassen */
    padding-left: 30px;  /* Etwas Rand lassen */
    margin-right: auto;
    margin-left: auto;
    max-width: 1400px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.mondhuegel-mb-4 {
    margin-bottom: 2rem !important;
}

.mondhuegel-mb-3 {
    margin-bottom: 1.5rem !important;
}

.mondhuegel-mb-1 {
    margin-bottom: 0.5rem !important;
}

.mondhuegel-d-flex {
    display: flex !important;
}

.mondhuegel-w-100 {
    width: 100% !important;
}

.mondhuegel-justify-content-between {
    justify-content: space-between !important;
}

.mondhuegel-list-group {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mondhuegel-list-group-item {
    background-color: #FFFFFF;
    border: 1px solid #F5F5F5;
    color: #1A1A1A;
    padding: 10px 15px;
    margin-bottom: -1px; /* Für durchgehende Linien */
}

.mondhuegel-list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.mondhuegel-list-group-item:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.mondhuegel-list-group-item-action {
    text-decoration: none;
    color: #1A1A1A;
}

.mondhuegel-list-group-item-action:hover {
    background-color: #F5F5F5;
    color: #1A1A1A;
}

/* Alerts */
.alert {
    border-radius: 0;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #f5f5f5; /* Sehr helles Grau */
    color: #1A1A1A; /* Schwarzer Text */
    border: 1px solid #e3e3e3; /* Feiner, hellgrauer Rahmen */
    border-left: 5px solid #1A1A1A; /* Dicker, schwarzer Rand links als Akzent */
}

.alert-danger {
    background-color: #ffe6e6; /* Very light red */
    color: #1A1A1A;
    border-color: #e6a3a3;
}

/* Custom spacing for headings */
h1, h2, h3 {
    margin-bottom: 20px;
}

/* Spacing for report groups */
.report-gruppe {
    margin-bottom: 40px;
}

/* Overriding blue color for report content headings and table headers */
.mondhuegel-container h1,
.mondhuegel-container h2,
.mondhuegel-container h3 {
    color: #1A1A1A !important; /* Schwarz erzwingen */
    text-transform: uppercase;
    font-weight: bold;
}

.mondhuegel-container table thead th {
    background-color: #f5f5f5 !important; /* Hellgrauer Hintergrund */
    color: #1A1A1A !important; /* Schwarzer Text */
    font-weight: bold;
}

.deviation-warning-positive {
    background-color: #ffe6e6; /* Very light red */
    color: #A94442; /* Darker red text for contrast */
    font-weight: bold;
}

.deviation-warning-negative {
    background-color: #e6f2ff; /* Very light blue */
    color: #31708f; /* Darker blue text for contrast */
    font-weight: bold;
}