@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v16-latin-300-vE1REFhz.woff2') format("woff2"),
    url('../fonts/roboto-v16-latin-300-DC3iHbBu.woff') format("woff");
    font-display: swap
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v16-latin-regular-teVGZC04.woff2') format("woff2"),
    url('../fonts/roboto-v16-latin-regular-zybrCNhD.woff') format("woff");
    font-display: swap
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v16-latin-700-BZPpeBoA.woff2') format("woff2"),
    url('../fonts/roboto-v16-latin-700-BprOqkj6.woff') format("woff");
    font-display: swap
}

html, body {
    overflow-x: hidden; /* Verhindert horizontales Scrollen radikal */
    width: 100%;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box; /* Padding wird in die Breite eingerechnet */
}

/* Sticky Footer Logik */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Mindestens 100% der Viewport-Höhe */
    margin: 0;
}

main {
    flex-grow: 1; /* Füllt den leeren Raum aus */
}

/* 10% Abstand links und rechts */
.custom-container {
    padding-left: 10%;
    padding-right: 10%;
    width: 100%;
}

/* Top-Bar (Rand zu Rand) */
.top-bar {
    width: 100%;
    height: 54px;
    padding: 11px 30px 11px 11px;
    text-align: right;
    background-color: rgb(242, 245, 246);
    color: #222222;
    font-size: 1.8rem;
}

/* Inaktiver Zustand (Standard) */
.top-bar a {
    color: #6A6D71; /* Hellgrau */
    text-decoration: none; /* Entfernt die standardmäßige Unterstreichung */
    transition: color 0.3s ease; /* Optional: Macht den Übergang weicher */
}

/* Hover-Zustand */
.top-bar a:hover {
    color: #222222; /* Weiß */
    text-decoration: underline; /* Unterstrichen beim Drüberfahren */
    text-underline-offset: 5px;
}

.top-bar a.active {
    color: #222222; /* Schwarz (wie beim Hover) */
    font-weight: bold; /* Text wird fett */
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* 6% Abstand links und rechts */
.header-container {
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 2%;
    width: 100%;
}

.header-left {
    flex: 1;
}

.header-right {
    flex: 0 0 40%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 1em;
}

@media (max-width: 768px) {
    .header-right {
        flex: 0 0 120px; /* Logo-Breite bleibt konstant auf Mobile */
    }
}



.infobox {
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    border-color: #D8DBDD;
    color: #6A6D71;
    padding: 1.7em;
    width: auto;
    margin: 10px 0; /* Optional: kleiner Abstand oben/unten */
    word-wrap: break-word; /* Verhindert, dass langer Text die Box sprengt */
}

.btn-custom {
    background-color: #CC012F; /* Deine Wunschfarbe */
    color: white;
    font-size: 1.2em;
    margin: 1em 0 0 0;
    border-radius: 2px; /* Abgerundete Ecken */
    padding: 8px 20px 8px 20px; /* Größe anpassen */
    border: none;
    transition: 0.3s; /* Weicher Übergang beim Drüberfahren */
}

.btn-custom:hover {
    color: white;
    background-color: #b40000; /* Farbe beim Hovern */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer End Design */
.footer-end {
    background-color: #000000;
    color: #ffffff;
    padding: 20px 0;
}

/* Inaktiver Zustand (Standard) */
.footer-end a {
    color: #93969A; /* Hellgrau */
    text-decoration: none; /* Entfernt die standardmäßige Unterstreichung */
    transition: color 0.3s ease; /* Optional: Macht den Übergang weicher */
}

/* Hover-Zustand */
.footer-end a:hover {
    color: #ffffff; /* Weiß */
    text-decoration: underline; /* Unterstrichen beim Drüberfahren */
    text-underline-offset: 5px;
}

/* Demo-Farben */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #ffffff;
    padding: 40px 0 20px 0;
}

footer {
    background-color: #222222;
    color: white;
    padding: 24px 0;
}

/* Inaktiver Zustand (Standard) */
.footer a {
    color: #93969A; /* Hellgrau */
    text-decoration: none; /* Entfernt die standardmäßige Unterstreichung */
    transition: color 0.3s ease; /* Optional: Macht den Übergang weicher */
}

/* Hover-Zustand */
.footer a:hover {
    color: #ffffff; /* Weiß */
    text-decoration: underline; /* Unterstrichen beim Drüberfahren */
    text-underline-offset: 5px;
}

.large-tooltip .tooltip-inner {
    font-size: 1.6rem;
    padding: 8px 12px; /* Optional: Mehr Platz für den größeren Text */
}

.infobox {
    background-color: #F2F5F6;
    s
    color: #6A6D71;

}

.form-control.compact {
    height: 36px;
    padding: 1px 6px;
    font-size: 1.75rem;
}

.col-form-label.compact {
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: 0.85rem;
}

.custom-form {
    padding-top: 2em;
    margin-bottom: 6em;
    #border: solid 1px;

}

