/* -----------------------------------------------------------------------------------
Basics
----------------------------------------------------------------------------------- */
@font-face {
    font-display: swap;
    font-family: 'D-Din';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/d-din.woff2') format('woff2'),
        url('../fonts/d-din.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'D-Din';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/d-din-bold.woff2') format('woff2'),
        url('../fonts/d-din-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-slab-v24-latin-regular.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/roboto-slab-v24-latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/roboto-slab-v24-latin-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/roboto-slab-v24-latin-regular.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/roboto-slab-v24-latin-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/roboto-slab-v24-latin-regular.svg#RobotoSlab') format('svg');
    /* Legacy iOS */
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 2dppx) {
    :root {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: "din-2014", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 27px;
    font-weight: 400;
    color: #1e1e1e;
    background-color: #f3f1ed;
}

h1,
h2,
h3 {
    margin: 0;
    padding: 0;
    font-weight: 700;
}

h1 {
    margin-bottom: 50px;
    font-family: "Roboto Slab", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 38px;
}

h2 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 32px;
}

h2.more-margin {
    margin-bottom: 25px;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 30px;
}

@media (max-width: 767px) {

    h1,
    h2 {
        -webkit-hyphens: auto;
        hyphens: auto;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 28px;
        line-height: 40px;
    }
}

a,
a:hover,
a:focus {
    color: #1e1e1e;
    text-decoration: none;
    outline: none;
}

main a,
main a:hover,
main a:focus {
    text-decoration: underline;
}

p {
    margin-bottom: 30px;
}

strong {
    font-weight: 700;
}

main ol {
    margin: -5px 0 30px 20px;
}

main ul {
    margin: -5px 0 30px 20px;
}

img {
    border: none;
}

figure {
    margin: 0;
    padding: 0;
}

.text-center {
    text-align: center;
}


/* General button style (reset) */
div.button a,
button.btn,
a.btn,
a.btn:focus,
a.btn:active:focus,
a.btn.active:focus,
a.btn.focus,
a.btn:active.focus,
a.btn.active.focus {
    display: inline-block;
    margin-top: 5px;
    padding: 18px 60px 18px 30px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    background-color: transparent;
    border: 1px solid #1e1e1e;
    border-radius: 0;
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
}

a.btn:hover,
a.btn:active,
a.btn.active,
button.btn:hover {
    color: #fff;
    background-color: #1e1e1e;
}

a.btn::after {
    position: relative;
    top: -2px;
    content: "";
    display: inline-block;
    margin-left: 15px;
    width: 8px;
    height: 8px;
    border: none;
    border-top: 1px solid #1e1e1e;
    border-right: 1px solid #1e1e1e;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

a.btn:hover::after,
button.btn:hover::after {
    border: none;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}

.btn-text,
.btn-text:active,
.btn-text:hover {
    position: relative;
    display: inline-block;
    padding-right: 25px;
    color: #1e1e1e;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
}

.btn-text::after {
    position: absolute;
    top: 9px;
    right: 0;
    content: "";
    width: 8px;
    height: 8px;
    border: none;
    border-top: 1px solid #1e1e1e;
    border-right: 1px solid #1e1e1e;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

iframe,
.embed-responsive {
    margin-bottom: 30px;
}

.margin-bottom-none {
    margin-bottom: 0 !important;
}

/* Selection */
::selection {
    color: #fff;
    background: #1e1e1e;
    /* WebKit/Blink Browsers */
}

::-moz-selection {
    color: #fff;
    background: #1e1e1e;
    /* Gecko Browsers */
}


/* -----------------------------------------------------------------------------------
Container
----------------------------------------------------------------------------------- */
.wrapper {
    margin: 0 auto;
    max-width: 1480px;
    background-color: #fff;
}

.container-fluid {
    max-width: 1360px;
}

.container.xl {
    max-width: 1280px;
}

.container-fluid,
.container {
    padding: 0 20px;
}

.container {
    max-width: 760px;
}

div.bg-grau {
    background-color: #f3f1ed;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

.row [class^="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.row.no-space {
    margin-left: 0;
    margin-right: 0;
}

.row.no-space [class^="col-"] {
    margin-bottom: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .container {
        padding-right: 30px;
        padding-left: 30px;
    }

    .container-fluid {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 992px) {
    .container {
        padding-right: 40px;
        padding-left: 40px;
    }

    .container-fluid {
        padding-left: 40px;
        padding-right: 40px;
    }

    .row {
        margin-left: -20px;
        margin-right: -20px;
    }

    .row [class^="col"] {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* -----------------------------------------------------------------------------------
Navigation
----------------------------------------------------------------------------------- */
.navbar {
    padding-left: 0;
    padding-right: 0;
}

.navbar-light.bg-light {
    background-color: #f3f1ed !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.navbar-expand-xl>.container-fluid {
    padding-right: 20px;
    padding-left: 20px;
}

.navbar-light .navbar-brand img {
    margin-top: 5px;
    margin-bottom: 5px;
    max-height: 55px;
    width: auto;
}

.navbar-toggler {
    margin-top: -10px;
    padding: 0;
    border: none;
    background: transparent !important;
}

.navbar-toggler .icon-bar {
    width: 29px;
    height: 3px;
    background-color: #1e1e1e;
    display: block;
    transition: all 0.2s;
    margin-top: 5px
}

.navbar-toggler .icon-bar.top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}

.navbar-toggler .icon-bar.middle-bar {
    opacity: 0;
}

.navbar-toggler .icon-bar.bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .icon-bar.top-bar {
    transform: rotate(0);
}

.navbar-toggler.collapsed .icon-bar.middle-bar {
    opacity: 1;
}

.navbar-toggler.collapsed .icon-bar.bottom-bar {
    transform: rotate(0);
}

.navbar-light .navbar-nav a.nav-link {
    font-size: 17px;
    color: #1e1e1e;
    font-weight: 700;
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
}

.navbar-light .navbar-nav a.nav-link:hover,
.navbar-light .navbar-nav a.nav-link:focus {
    color: #8e887c;
}

.navbar-light .navbar-nav a.nav-link.active {
    color: #1e1e1e;
}

.dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: 15px;
    width: 7px;
    height: 7px;
    border: none;
    border-bottom: 1px solid #1e1e1e;
    border-right: 1px solid #1e1e1e;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.navbar-light .navbar-nav .dropdown-menu {
    padding: 20px 25px 25px 25px;
    border: none;
    border-radius: 0;
    background-color: #fff;
}

.navbar-light .navbar-nav .dropdown-menu a {
    padding: 6px 20px 6px 0;
    font-size: 17px;
    line-height: 27px;
    font-weight: 400;
    color: #1e1e1e;
    text-decoration: none;
    background-color: transparent;
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
}

.navbar-light .navbar-nav .dropdown-menu a:hover,
.navbar-light .navbar-nav .dropdown-menu a:focus {
    color: #8e887c;
}

.navbar-light .navbar-nav .dropdown-menu a.active {
    color: #8e887c;
}

@media (max-width:1199px) {

    /* Fix: */
    .navbar-collapse {
        padding-top: 20px;
        padding-bottom: 20px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .navbar-light .navbar-nav a.nav-link {
        margin: 0;
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 21px;
        line-height: 31px;
    }

    .navbar-light .navbar-nav a.nav-link.active {
        color: #8e887c;
    }

    .navbar-light .navbar-nav .dropdown-menu {
        margin-bottom: 15px;
        background-color: #fff;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .navbar-light .navbar-nav .dropdown-menu a {
        padding: 7px 20px 7px 0;
        font-size: 19px;
        line-height: 29px;
        text-decoration: none;
    }

    .navbar-light .navbar-nav .dropdown-menu .dropdown-item {
        white-space: normal;
    }
}

@media (min-width:768px) {
    .navbar-expand-xl>.container-fluid {
        padding-right: 30px;
        padding-left: 30px;
    }

    .navbar-light .navbar-brand img {
        margin-top: 15px;
        margin-bottom: 15px;
        max-height: 55px;
    }
}

@media (min-width:1200px) {
    .navbar-expand-xl>.container-fluid {
        padding-right: 40px;
        padding-left: 40px;
    }


    .navbar-light .navbar-brand img {
        margin-top: 15px;
        margin-bottom: 15px;
        max-height: 110px;
    }

    .navbar-light .navbar-nav a.nav-link {
        margin-top: 15px;
        margin-left: 25px;
        margin-bottom: 15px;
        padding: 0 0 1px 0;
        border-bottom: 2px solid transparent;
    }

    .navbar-light .navbar-nav a.nav-link.active {
        border-bottom: 2px solid #1e1e1e;
    }

    .navbar-light .navbar-nav .dropdown-menu {
        min-width: 350px;
        overflow: hidden;
    }
}


/* -----------------------------------------------------------------------------------
Header (Unterseite)
----------------------------------------------------------------------------------- */
header.unterseite {
    margin-top: 80px;
    margin-bottom: 60px;
}

header.unterseite img.image {
    width: 100%;
    height: auto;
    min-height: 420px;
    object-fit: cover;
    object-position: 50% 55%;
}

header.unterseite .textbox {
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    color: #8e887c;
}

header.unterseite .textbox span.headline {
    display: block;
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 32px;
    color: #1e1e1e;
}

header.unterseite .textbox .btn-text {
    font-size: 16px;
    line-height: 26px;
    color: #1e1e1e;
}

@media (max-width: 767px) {
    header.unterseite .textbox {
        position: relative;
        z-index: 1000;
        margin: -30px 20px 0 20px;
        padding-top: 20px;
        padding-bottom: 1px;
        background-color: #e8e4db;
    }

    header.unterseite .textbox p {
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {
    header.unterseite {
        margin-top: 110px;
        background-color: #e8e4db;
    }

    header.unterseite img.image {
        min-height: 360px;
    }

    header.unterseite .textbox {
        margin: 0 auto;
        padding-top: 40px;
        padding-bottom: 10px;
        max-width: 500px;
    }

    header.unterseite .textbox .btn-text {
        margin-top: 20px;
    }

    header.unterseite .textbox span.headline {
        font-family: "Roboto Slab", Helvetica, Arial, sans-serif;
        color: #1e1e1e;
        font-weight: 400;
        font-size: 20px;
        line-height: 40px;
    }
}

@media (min-width: 992px) {
    header.unterseite {
        margin-top: 120px;
    }

    header.unterseite .textbox {
        font-size: 24px;
        line-height: 34px;
    }

    header.unterseite .textbox span.headline {
        font-size: 38px;
        line-height: 48px;
    }
}

@media (min-width: 1200px) {

    header.unterseite .textbox span.headline {
        font-size: 38px;
        line-height: 52px;
    }
}

@media (min-width: 1600px) {
    header.unterseite .textbox {
        padding-top: 60px;
        padding-bottom: 30px;
    }
}


/* -----------------------------------------------------------------------------------
Parallax
----------------------------------------------------------------------------------- */
aside.parallax {
    margin-bottom: 100px;
}

@media (max-width: 767px) {
    aside.parallax {
        height: 350px;
        overflow: hidden;
    }

    aside.parallax img.image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/* -----------------------------------------------------------------------------------
Module: Icon Boxen (2+3 Spalten)
----------------------------------------------------------------------------------- */
.text-boxen-spalten {
    margin-bottom: 60px;
}

.text-boxen-spalten .row [class*="col-"] {
    margin-bottom: 40px;
}

.text-boxen-spalten .row [class*="col-"] .box-container {
    padding-top: 40px;
    padding-bottom: 10px;
    height: 100%;
    background-color: #f3f1ed;
}

@media (min-width: 768px) {
    .text-boxen-spalten .row [class*="col-"] .box-container {}
}

@media (min-width: 1600px) {
    .text-boxen-spalten .row [class*="col-"] .box-container.zwei-spaltig {
        padding-top: 60px;
        padding-bottom: 30px;
    }
}


/* -----------------------------------------------------------------------------------
Module: Textabschnitt
----------------------------------------------------------------------------------- */
.textabschnitt {
    margin-bottom: 100px;
}

.textabschnitt.bg-grau {
    padding: 100px 0 70px 0;
}

.textabschnitt figure img {
    margin-bottom: 30px;
    max-width: 200px;
    height: auto;
}


/* -----------------------------------------------------------------------------------
Template: Kontakt
----------------------------------------------------------------------------------- */
.kontakt-container {
    margin-bottom: 100px;
    padding: 100px 0;
}

.kontakt-container .error-message {
    margin-bottom: 20px;
    padding: 15px 20px;
    color: #d74846;
    background-color: #e4d6cd;
    border: 1px solid #d74846;
}

.kontakt-container form .form-group {
    margin-bottom: 20px;
}

.kontakt-container form .form-control {
    padding: 20px 20px;
    height: auto;
    font-size: 17px;
    line-height: normal;
    color: #1e1e1e;
    font-weight: 400;
    background-color: #fff;
    border: 1px solid #ccc;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.kontakt-container form .form-control:focus {
    background-color: #fff;
    border-color: #1e1e1e;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.kontakt-container form textarea.form-control {
    margin-bottom: 30px;
}

.kontakt-container form .form-control.captcha {}

.kontakt-container form fieldset.datenschutz-hinweis .form-group {
    font-size: 16px;
    line-height: 26px;
}

.form-control::-webkit-input-placeholder {
    font-size: 17px;
    color: #1e1e1e;
    font-weight: 400;
    opacity: 1;
}

.form-control::-moz-placeholder {
    font-size: 17px;
    color: #1e1e1e;
    font-weight: 400;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    font-size: 17px;
    color: #1e1e1e;
    font-weight: 400;
    opacity: 1;
}

.form-control::-ms-input-placeholder {
    font-size: 17px;
    color: #1e1e1e;
    font-weight: 400;
    opacity: 1;
}

.form-control::placeholder {
    font-size: 17px;
    color: #1e1e1e;
    font-weight: 400;
    opacity: 1;
}

.form-control.error::-webkit-input-placeholder {
    color: #d74846;
}

.form-control.error::-moz-placeholder {
    color: #d74846;
}

.form-control.error:-ms-input-placeholder {
    color: #d74846;
}

.form-control.error::-ms-input-placeholder {
    color: #d74846;
}

.form-control.error::placeholder {
    color: #d74846;
}

/* Nur für das Kirby Uniform Plugin notwendig */
.uniform__potty {
    position: absolute;
    left: -9999px;
}


/* -----------------------------------------------------------------------------------
Footer
----------------------------------------------------------------------------------- */
footer {
    padding: 80px 0 50px 0;
    font-size: 16px;
    line-height: 26px;
    background-color: #e8e4db;
}

footer h3 {
    margin-bottom: 5px;
}

footer .abschlussleiste {
    padding-top: 60px;
    text-align: center;
}

footer .abschlussleiste p a {
    margin: 0 5px;
    padding-bottom: 3px;
    border-bottom: 1px solid #1e1e1e;
}

@media (max-width: 767px) {
    footer {
        text-align: center;
    }

    footer .content {
        margin-bottom: 40px;
    }

    footer .rechte-spalte img.image {
        margin-bottom: 80px;
        max-height: 55px;
        width: auto;
    }
}

@media (min-width: 768px) {

    footer .rechte-spalte {
        text-align: right;
    }

    footer .rechte-spalte img.image {
        max-height: 50px;
        width: auto;
    }
}

@media (min-width: 992px) {

    footer .content {
        margin-right: 40px;
    }

}

@media (min-width: 1200px) {
    footer .content {
        margin-right: 80px;
    }

    footer .rechte-spalte img.image {
        max-height: 75px;
        width: auto;
    }
}