:root {
    --font-default: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-primary: "Raleway", sans-serif;
    --font-secondary: "Raleway", sans-serif;
    --font-headers: "Raleway", sans-serif;

    --color-nuance1: #162440;
    --color-nuance2: #204473;
    --color-nuance3: #F2CB07;
    --color-nuance4: #F2B441;
    --color-nuance5: #F28705;

    --color-default: #333;
    --color-primary: #333;
    --color-link: #c81818;
    --color-backgrounds: #333;
    --color-shadows: #333;
    --color-secondary: #333;
    --color-bright: #fff;

    --background-topbar: #00000077;
    --background-header: #204473;
    --background-primary: #c81818;
    --background-footer: #333333;
    scroll-behavior: smooth;
}

.bg-post {
    background: var(--color-nuance5);
    border: 0;
}

.btn-primary {
    background: var(--color-primary);
    border: 0;
}

.btn-primary:hover {
    background: var(--color-shadows);
    border: 0;
}

html {
    scroll-behavior: auto !important;
}

body {
    font-family: var(--font-default);
    color: var(--color-default);
}

a {
    color: var(--color-link);
    text-decoration: none;
}

a:hover {
    color: var(--color-secondary);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headers);
    text-transform: uppercase;
}

h1, h2 {
    font-weight: 700;
    font-size: 200%;
    line-height: 1em;
    color: #c81818;
}

h3, h4 {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

nav .navbar-toggler {
    border: 2px solid #fff !important;
    color: #fff;
}

nav a {
    color: #fff !important;
    font-size: 18px;
}

nav a,
.hover-underline-animation {
    display: inline-block;
    position: relative;
    color: #c81818;
}

nav a::after,
.hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #c81818;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

nav a:hover::after,
.hover-underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

#topbar {
    background: var(--background-topbar);
    color: var(--color-bright);
    font-size: 13px;
    padding: .5em;
    z-index: 1000;
    position: relative;
}

#topbar a {
    color: var(--color-bright);
}

#topbar svg {
    margin: 0 3px 0 0;
    position: relative;
    top: -2px;
}

header.altenstadt {
    min-height: 75vh;
    background: url(../img/header-default-altenstadt.jpg) no-repeat center center;
    background-size: cover;
    color: var(--color-bright);
}

header.pressath {
    min-height: 75vh;
    background: url(../img/header-default-pressath.jpg) no-repeat center center;
    background-size: cover;
    color: var(--color-bright);
}

.header-overlay {
    position: absolute;
    display: block;
    width: 100%;
    min-height: 75vh; 
    background: linear-gradient(180deg, rgba(2,0,36,1) 0%, rgba(0,0,0,1) 20%, rgba(255,255,255,0) 40%);
    opacity: .5;
    z-index: 0;
}

header.service.altenstadt {
    background: url(../img/header-service-altenstadt.jpg) no-repeat top center !important;
    background-size: 100% !important;
}

header.service.pressath {
    background: url(../img/header-service-pressath.jpg) no-repeat 0px 40% !important;
    background-size: 100% !important;
}


header.ueber-uns.altenstadt {
    background: url(../img/header-ueber-uns-altenstadt.jpg) no-repeat top center !important;
    background-size: 100% !important;
}

header.ueber-uns.pressath {
    background: url(../img/header-ueber-uns-pressath.jpg) no-repeat top center !important;
    background-size: 100% !important;
}

header.kontakt.altenstadt {
    background: url(../img/header-kontakt-altenstadt.jpg) no-repeat center center !important;
    background-size: 100% !important;
}

header.kontakt.pressath {
    background: url(../img/header-kontakt-pressath.jpg) no-repeat center center !important;
    background-size: 100% !important;
}

header .icon {
    max-height: 64px;
    width: auto;
}

header a {
    color: var(--color-bright);
}

header a:hover {
    color: var(--color-bright);
}

#content {
    min-height: 20vh;
    padding: 1em 0 1em 0;
}

footer {
    background: var(--background-footer) url(../img/footer.jpg) no-repeat 0px 0px;
    background-size: 100%;
    color: var(--color-bright);
}

footer a {
    color: var(--color-bright) !important;
}

.backtotop {
    position: relative;
    width: 300px;
    margin-right: auto;
    margin-left: auto;
    border-top: 80px solid #333;
    border-right: 150px solid transparent;
    border-left: 150px solid transparent;
    z-index: 10;
    text-align: center;
}

.backtotop svg {
    position: relative;
    top: -65px;
    left: -15px;
    color: #c81818;
}

.no-list {
    list-style: none;
    padding: 0;
}

.history {
    height: 0px;
    overflow-y: auto;
    transform: all .2s;
}

#copyright {
    color: #333;
    text-align: center;
}

.btn-warn svg,
.btn-created svg {
    position: relative;
    top: -2px;
}

.cookiemonster-button  {
    left: 0;
    border-radius: 0 7px 0 0;
}

#service {
    background: var(--background-primary) url(../img/service.jpg) no-repeat 0px 0px;
    background-size: 100%;
    color: #fff;
    padding-top: 7em !important;
    min-height: 600px;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
    margin-bottom: 3em;
}

.service-box {
    background: #333;
    color: #fff;
    border-left: .5px solid #666;
    border-right: .5px solid #666;
    transition: all .2s;
    position: relative;
    z-index: 1;
}

.service-box:hover {
    margin-top: -10px;
}

.service-box p,
.service-box h3,
.service-box svg {
    color: #fff;
    transition: .2s all;
}

.service-box:hover p,
.service-box:hover h3,
.service-box:hover svg {
    color: #333;
    transition: .2s all;
}

.service-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom center;
    background: #fff;
    z-index: -1;
    transition: transform 0.3s;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.service-box:hover::after {
    transform: scaleY(1);
}

#thankyou {
    color: #333;
}

@media ( max-width: 768px ) {

    #thankyou {
        color: #fff;
        padding-top: 1em;
    }

}

.back-to-top {
    background: #ffffff99;
    position: fixed;
    bottom: 0px;
    right: 0px;
    padding: .75em 1em .75em 1em;
    border-radius: 7px 0 0 0;
    z-index: 100;
    transition: all .2s;
    color: #333;
}

.back-to-top:hover {
    background: #ffffffff;
    transition: all .2s;
}

iframe {
    position: relative;
    padding: 0;
    margin: 0;
}

.maps {
    max-height: 450px;
    overflow-y: hidden;
}

.switch-overlay {
    width: 90vw;
    border-radius: 15px;
    position: fixed;
    top: 5vh;
    left: 4vw;
    background: #ffffffbb;
    backdrop-filter: blur(10px);
    z-index: 9000;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

@media ( min-width: 768px ) {

    .img-text-centered {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 200%;
    }

}

.img-text-centered {
    color: #fff;
    background: #333333dd;
    padding: .25em;
    border-radius: 15px;
  }