/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ## #  ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** TEXT & ICONS ****/

/* WHITE */
hr,
h1,
.prev, 
.next,
.teaser i,
button,
.button,
input[type=submit],
#bottomfooter p,
#bottomfooter a {
    color: var(--white);
}

/* AKZENTFARBE */
a,
.form h4,
#decline,
#popup h3,
#selection,
.menuitem a:hover {
    color: var(--xxx);
}

/* BLACK */
h2,
h3,
h4,
p,
li i,
#selection,
.menuitem a,
#topfooter p,
#topfooter a {
    color: var(--black);
} 

/* OTHER */
.alert i:nth-of-type(1) {
    color: green;
}

/**** ELEMENT BACKGROUND ****/

/* WHITE */
body,
.topmenu,
.dropdown,
#teaserbox .box {
    background: var(--white);    
}

.bottommenu nav,
.bottommenu
{
    background: var(--blue);    
}

.bottommenu .nav li a
{
   color: white;    
}



/* GREY */
input,
.teaser,
textarea,
#teaserbox,
#topfooter {
    background: var(--grey);
}

/* AKZENTFARBE */
button,
.button,
.teaser i,
#bottomfooter,
input[type=submit],
#burgermenu .burger .line {
    background: var(--xxx);
}

#selection,
#burgermenu,
#decline {
    background: transparent;
}

/* OTHER */
#popup {
    background: #ffffff85;
}

/**** OUTLINE ****/
#decline,
input:focus,
textarea:focus {
    outline: 1px solid var(--xxx);
}
.button:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
a:focus-visible {
    outline: .2rem solid var(--black);
}

/**** BOX SHADOW ****/
#popup {
    -webkit-backdrop-filter: blur(3rem);
    backdrop-filter: blur(3rem);
    box-shadow: var(--black) 0 0 10rem -4rem;
}

/**** TEXT DECORATION ****/
.menuitem a:hover {
    text-decoration: none;
}
#popup a,
#bottomfooter a {
    text-decoration: underline;
}

/**** TRANSITIONS ****/
nav,
#more,
.all i,
.dropdown,
.menuitem a,
.bottommenu nav,
#selection span {
    transition: all linear 100ms;
}

#burgermenu {
    transition: all linear 200ms;
}




/**** FONTS ****/
@font-face {
    font-family: 'Text';
    src: url(../font/dm-sans/DMSans-VariableFont_opsz\,wght.ttf);
}
* {
    font-family: 'Questrial', sans-serif;
    line-height: 1.5; /* Anpassen basierend auf Font */
}

/**** ROOT ****/
:root {
    --white: #FFFFFF;
    --grey: #F0F0F0;
    --xxx: var(--blue); 
    --black: #000000;
    --blue: #002454;
}


/* Footer-Farben nach Homepage */
#topfooter {
    background: var(--blue);
    color: var(--white);
}
#topfooter p,
#topfooter a {
    color: var(--white);
}
#topfooter .footer-hours-title {
    text-decoration: underline;
}
/* Dropdown-Kontrast passend zur blauen Navigation. */
.bottommenu .dropdown {
    background: var(--blue);
}
.bottommenu .dropdown a:hover,
.bottommenu .dropdown a:focus-visible {
    background: var(--xxx);
}
#topfooter a {
    color: #cdcdcd;
}
#topfooter a:hover {
    color: var(--white);
}
/* Geöffneter Hauptmenüpunkt wie auf der Homepage */
.bottommenu .nav > ul > li:hover > a,
.bottommenu .nav > ul > li:focus-within > a {
    background: #ff1725;
    color: var(--white);
}
/* Originalschrift der Hauptnavigation */
@font-face {
    font-family: 'Questrial';
    src: url('../font/questrial-regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
.bottommenu .nav a {
    font-family: 'Questrial', sans-serif;
    font-weight: 400;
}
.bottommenu .nav > ul > li > a {
    font-size: 16px;
}
.bottommenu .nav .dropdown a {
    font-size: 14px;
}
/* Hero-Button */
#hero-btn {
    background: var(--blue);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    text-decoration: none;
    transition: background .2s ease, box-shadow .2s ease;
}
#hero-btn:hover {
    background: #00366f;
    filter: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
#hero-btn:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 4px;
}
/* Schriftgrössen entsprechend der Homepage */
body {
    font-size: 16px;
}
p {
    font-size: 18px;
    line-height: 26px;
}
h2 {
    font-size: 32px;
    line-height: 38px;
}
h3 {
    font-size: 26px;
    line-height: 32px;
}
h4 {
    font-size: 23px;
    line-height: 32px;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}
#topfooter p {
    font-size: 18px;
    line-height: 26px;
}
#topfooter nav a {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}
#topfooter nav a[href^="tel:"] {
    font-size: 18px;
    line-height: 26px;
}
#topfooter .footer-hours {
    font-size: 16px;
    line-height: 20px;
}
#topfooter .footer-hours-title {
    font-size: 18px;
    line-height: 24px;
}
#topfooter .footer-legal a {
    font-size: 26px;
    line-height: 32px;
}
/* Willkommen auch auf dem Desktop dauerhaft rot */
.bottommenu .nav > .nav-list > li:first-child > a {
    background: #ee1c25;
    color: var(--white);
}
/* Headerbild abdunkeln */
#hero .inner > img {
    filter: brightness(0.6);
}
#welcome_id {
    color: #002454;
}