/* Entfernung der automatischen Abdunkelung des Bildes ganz oben auf der Seite (hero) */
.image-overlay { 
     display: none; 
}



/* Bildbereich ganz oben auf der Seite (hero) */

.section.hero {
    aspect-ratio: 3379 / 955;
    padding: 0 !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}



/* Überschrift in dem Bild ganz oben auf der Seite (hero) */

.hero .container h1 {
    -webkit-text-stroke: 1px #000 !important;
    color: transparent !important;
}



/* Keine Umschaltung Dark-Modus möglich */

.theme-toggle {
    display: none !important;
}



/* Gestaltung der ausgewählten Seite (Link) in der Navigation */

nav a.active {
    background-color: #FF3030 !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}



/* Links in der Fußzeile - unterstrichen und Farbe */

footer a {
    color: #000 !important;
    text-decoration: underline !important;
}



/* Position von Bilder in der Fußzeile */

footer img {
    max-height: 4rem;
    width: auto;
    vertical-align: middle;
}



/* Links im Haupttext sollen unterstrichen und farbig sein */

main a {
    color: #0050af !important;
    text-decoration: underline !important;
}




/* Links in der Navigation sollen nicht unterstrichen sein */

nav a {
    color: inherit !important;
    text-decoration: none !important;
}



/* Hover-Effekt für Links - nur in main */

main a:hover,
footer a:hover {
    color: #01a002 !important;
}



/* Infokasten */

.info-box {
    border: 2px solid #0350ad;
    background-color: #e8f0fe;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}



/* Entfernt den kurzen horizontalen Strich über h2-Überschriften, den quark2 automatisch einfügt */

h2 {
    border-top: none !important;
}

h2::before {
    display: none !important;
}



/* Farbe Überschrift h1 */

h1 {
    color: #0350ad;
}





/* Abstand nach h1 + h2 korrigiert */

h1 + h2 {
    margin-bottom: 0.2em !important;
    padding-bottom: 0.2em !important;
}

h1 + h2 + p {
    margin-top: 0.2em !important;
    padding-top: 0.2em !important;
}



/* Abstand zwischen h1 und h2 korrigiert */

h1 + h2 {
    margin-top: 2rem !important;
}



/* Hintergrundfarbe Navigation oben */
header {
    background-color: #E5E5E5 !important;
}



/* Hintergrundfarbe Fußzeile */
footer {
    background-color: #E5E5E5 !important;
}



/* Anker-Links als Buttons*/

a[href^="#"] {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: #CCCCCC;
    color: #404040 !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
    transition: background-color 0.2s;
}

a[href^="#"]:hover {
    background-color: #01a002;
    color: #fff !important;
}

main p:has(a[href^="#"]) {
    margin-top: 0;
}



/* Trennlinie zwischen den Abschnitten*/

hr {
    border: 0;
    border-top: 1px solid #0050af;
}




/* Bilder im Hauptteil werden zentriert und in Originalgröße dargestellt*/

main img {
    max-width: none !important;
    width: auto !important;
    display: block;
    margin: 0 auto;
}



