/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ## #  ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** TEXT & ICONS ****/

/* WHITE */
hr,
.prev,
.next,
.teaser i,
button,
.button,
input[type=submit],
#bottomfooter p,
#bottomfooter a {
    color: var(--white);
}

/* XXX */
a,
.form h4,
#decline,
#popup h3,
#selection,
.menuitem a:hover {
    color: var(--orange);
}

.contact-icon i {
    color: rgba(219, 118, 62, 0.65);
}

/* BLACK */
h1,
h2,
h3,
h4,
li i,
#selection,
#topfooter p,
#topfooter a {
    color: var(--black);
}

/* PARAGRAPH TEXT */
p,
.teaser p,
.documentation-list {
    color: #575757;
}

/* OTHER */
.alert i:nth-of-type(1) {
    color: green;
}

/**** ELEMENT BACKGROUND ****/

/* WHITE */
.bottommenu nav,
.dropdown {
    background: var(--B07040);
}

/* GREY / WARM BEIGE */
input,
.teaser,
textarea,
body,
.bottommenu,
#teaserbox,
#topfooter,
#hero,
#about,
section.content:not(#teaserbox):not(#contact-section) {
    background: var(--xxx);
}

.teaser {
    background-color: #dfdfd9
}


/* XXX */
button,
.button,
.teaser i,
#bottomfooter,
input[type=submit],
#burgermenu .burger .line {
    background: var(--orange);
}

#selection,
#burgermenu,
#decline {
    background: transparent;
}

/* OTHER */
#popup {
    background: #fff;
}

#contact-section {
    background-color: #f1f2ed;
    background-image: url(../img/grid_image_kontaktformular.png);
    border-top: 1px solid #c4c1bd;
}

.contact-title {
    color: rgb(87, 87, 87);
    font-family: 'Calibri Light', Calibri, sans-serif;
}

.contact-text {
    color: #575757;
    font-weight: 300;
}

/**** 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 {
    color: #b2b2b2;
    text-decoration: underline;


}

/**** TEXT TRANSFORM ****/
.menuitem a {
    text-transform: uppercase;
    font-family: Cambria, serif;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    color: rgb(87, 87, 87);
    font-size: 1.25rem;
    white-space: nowrap;
}

/**** 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: 'Text';
    line-height: 1.5;
    /* Anpassen basierend auf Font */
}

/**** ROOT ****/
:root {
    --white: #FFFFFF;
    --grey: #F2EDE8;
    --xxx: #ecece6;
    --black: #1A1A1A;
    --orange: #db763e;
}

@font-face {
    font-family: 'Calibri';
    src: local('Calibri');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Calibri Bold';
    src: url('../font/calibrib.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Calibri Italic';
    src: url('../fontawesome/webfonts/calibrii.woff2.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Calibri Light';
    src: url('../fontawesome/webfonts/calibril.woff2.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cambria';
    src: url('../fontawesome/webfonts/cambria.woff2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}