/*@import"https://fonts.googleapis.com/css?family=Playfair+Display:700|Raleway&display=swap";*/
@import"https://fonts.googleapis.com/css?family=Playfair+Display:700";

:root {
    --font-family: Raleway, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --primary: #8e3433;
    --accent2: #6e957b;
    --cool: #00a3a3;
    --nice: #818F96;
    --light: #f1f7ed;
    --light2: #f9faf9;
    --accent: #91c7b1;
    --dark: #54494b;
    --darker: #1F1E22;
    --text: #262020;

    --fs-xl: clamp(2rem, 5vw + 1rem, 8rem);    /* nie kleiner als 3rem, nie größer als 8rem */
    --fs-600: 1.5rem;
    --fs-500: 1.25rem;
    --fs-400: 1rem;

    --fw-bold: 600;
  }

html, body {
    background-color: var(--secondColor);
    margin: 0;
    padding: 0;
}

* {
    scroll-behavior: smooth
}

body{
    font-family: var(--font-family);
    font-size: var(--fs-400);
    color: var(--text)
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
}



html.light,body.light {
    --primeColor: #2d3436;
    --secondColor: #ffffff;
    --textColor: rgba(0, 0, 0, 0.8)
}

html.dark,body.dark {
    --primeColor: #ffffff;
    --secondColor: #2d3436;
    --textColor: #ccc
}


/* scale Fonts */
@media (min-width: 40em) {
    :root {
        --fs-xl: 5rem;
        --fs-600: 2rem;
        --fs-500: 1.5rem;
        --fs-400: 1.2rem;
    }
}


/* ##########
 * Fonts 
 * ##########
 */
  
/*  li {
    --font-family: Raleway, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      font-size: 1.2rem
  }*/
  
h1 {
    font-family: "Playfair Display", serif;
    font-size: var(--fs-xl)
}

h2 {
    font-size: var(--fs-600)
}

h3 {
    font-family: "Playfair Display", serif;
    font-size: var(--fs-600)
}

a {
    color: var(--primary);
    text-decoration: none;
    font-weight: var(--fw-bold);
}


/* ##########
 * Navigation 
 * ##########
 */

.navbar_toggle-button {
    position: absolute;
    left: 30px;
    cursor: pointer
}

.navbar_toggle-button span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #fff;
    margin: 6px 0
}

.backdrop {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .3);
    z-index: 100;
    filter: blur(1rem)
}

.hide {
    display: none
}

.navbar {
    top: 0;
    left: 0;
    width: 100%;
    height: 4em;
    position: fixed;
    background-color: var(--primary);
    z-index: 999
}

.navbar .navbar_navigation {
    display: flex;
    align-items: center;
    height: 100%
}

.navbar .navbar_navigation .navbar_logo_div a {
    font-size: 2rem
}

.navbar .navbar_navigation .navbar_logo_div a img {
    height: 2em
}

.navbar .navbar_navigation .spacer {
    flex: 1
}

.navbar .navbar_navigation .navbar_navigation_items {
    transform: translateX(0)
}

.navbar .navbar_navigation .navbar_navigation_items ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none
}

.navbar .navbar_navigation .navbar_navigation_items ul li {
    padding: 0 .5rem;
    font-size: var(--fs-500)
}

.navbar .navbar_navigation .navbar_navigation_items ul li a {
    color: #fff;
    text-decoration: none
}

.navbar .navbar_navigation .navbar_navigation_items ul li a:hover,
.navbar .navbar_navigation .navbar_navigation_items ul li a:active {
    color: var(--nice)
}

@media(max-width: 1200px) {
    .navbar .navbar_navigation .navbar_navigation_items {
        display: block;
        height: 100%;
        background: #fff;
        box-shadow: 2px 0px 5px rgba(0, 0, 0, .5);
        position: fixed;
        top: 0;
        left: 0;
        width: 50%;
        max-width: 400px;
        z-index: 200;
        transform: translateX(-100%);
        transition: transform .5s ease-out
    }

    .navbar .navbar_navigation .navbar_navigation_items ul {
        height: 100%;
        list-style: none;
        display: flex;
        flex-direction: column;
        justify-content: center
    }

    .navbar .navbar_navigation .navbar_navigation_items ul li {
        margin: .5rem 0
    }

    .navbar .navbar_navigation .navbar_navigation_items ul li a {
        color: var(--text)
    }

    .navbar .navbar_navigation .navbar_navigation_items ul li a:hover,
    .navbar .navbar_navigation .navbar_navigation_items ul li a:active {
        color: var(--primary)
    }

    .navbar .navbar_navigation .open {
        transform: translateX(0)
    }
}

@media(max-width: 1200px) {
    .navbar_navigation_items {
        display: none
    }

    .navbar_logo_div {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center
    }
}

@media(min-width: 1201px) {
    .navbar_toggle-button {
        display: none
    }

    .navbar_logo {
        margin-left: 0
    }
}

/* ##############
 * End Navigation 
 * ##############
 */


 main {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    grid-gap: 2rem;
    justify-items: center;
    padding: 2em 0
}

.read-button {
    font-family: "Playfair Display", serif;
    color: var(--text);
    text-align: left;
    width: 100%;
    height: 2rem
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
    grid-gap: 2 rem;
    justify-items: center
}

.card-image {
    width: auto;
    height: 100%;
    max-height: 10.5rem;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
    margin: auto
}

.card-image-info {
    width: 100%;
    height: auto;
    max-height: 20rem
}

.card {
    box-shadow: 0px 4px 24px 2px rgba(191, 191, 191, .92);
    transition-duration: .7s;
    width: 16rem;
    height: 25rem;
    margin: 3rem 0
}

.card:hover {
    box-shadow: 0px 4px 30px 5px rgba(160, 160, 160, .9)
}

.card-detail {
    margin: 1rem
}

.card-detail h3 {
    margin: 0
}

.card-description {
    overflow: hidden;
    float: left;
    max-height: 6em;
    min-height: 4.5em;
    font-size: 1em;
    line-height: 1.5em
}

.post-headline {
    text-align: left;
    width: 100%
}

.article-text {
    text-align: left;
    margin: 0;
    width: 100%;
    display: block
}

.quetsche {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5em;
    margin-bottom: 4em
}

.navigation-blog {
    display: grid;
    grid-template-columns: 50% 50%;
    margin-top: 2rem
}

.navigation-blog .left {
    text-align: left
}

.navigation-blog .right {
    text-align: right
}

body {
    position: relative
}





/* ##############
 * Footer 
 * ##############
 */

footer {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: auto
}

footer .center, footer .icon {
    color: #fff
}

footer .footer-container {
    padding: 1rem 0;
    min-height: 10em;
    width: 100%;
    background-color: var(--primary);
    color: #fff;
    display: flex
}

footer .columns {
    padding: 0 10%;
    width: 80%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-content: center;
    text-align: center
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center
}

footer ul li {
    padding: 1rem 0
}

footer ul a {
    text-decoration: none;
}

footer ul i {
    vertical-align: middle
}

@media(min-width: 769px) {
    footer .columns {
        padding: 0 4rem;
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        justify-content: center
    }

    footer .columns .center {
        text-align: center
    }

    footer ul {
        text-align: left
    }
}

.google-maps {
    position: relative;
    width: 100%;
    min-height: 200px;
    overflow: hidden
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important
}


/* checked bis hier her */





.table {
    width: 100%;
    margin: 0
}

tr {
    margin-top: 1.5rem
}


.wackel-pfeil {
    position: absolute;
    top: 85dvh;
    width: 100%;
    text-align: center;
    font-size: 2rem !important;
    color: #fff;
    animation: bounce .8s infinite alternate
}

@keyframes bounce {
    0% {
        transform: translateY(0)
    }

    100% {
        transform: translateY(-50px)
    }
}

img {
    max-width: 100%
}

nav {
    width: 100%
}

nav a {
    color: #fff;
    padding: 1rem;
    display: inline-block
}



.center {
    text-align: center
}

.head {
    height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column
}

.head .nav-abstand {
    height: 3em
}

.head .head-image {
    height: 100%;
    width: 100%;
    width: 100%;
    height: 100%;
    background-size: cover
}

.head .head-image .head-content {
    position: relative;
    top: 40%;
    transform: translateY(-50%);
    width: 90%;
    margin-left: auto;
    margin-right: auto
}

.head .head-image .head-content h1,
.head .head-image .head-content h2 {
    color: #fff;
    text-align: center
}

@media(min-width: 1201px) {
    .head .wackel-pfeil {
        font-size: 4rem !important
    }

    .head .head-image {
        flex-grow: 1;
        width: 100%;
        overflow: hidden;
        background: var(--secondColor)
    }

    .head .head-image .bild {
        background-size: cover;
        -webkit-clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
        clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
        height: 100%;
        width: 70%;
        float: left;
        z-index: 0
    }

    .head .head-image .head-content {
        width: 30%;
        overflow: hidden;
        margin-right: 2rem;
        line-height: 3rem;
        position: relative;
        top: 50%;
        transform: translateY(-50%)
    }

    .head .head-image .head-content h1,
    .head .head-image .head-content h2 {
        color: var(--text)
    }

    .head .head-image .head-content .fahrzeug-headline {
        text-align: right !important;
        margin-right: 2rem
    }
}

.button-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem
}

.button {
    box-shadow: 0 4px 10px 4px rgba(43, 88, 118, .2);
    text-decoration: none;
    text-align: center;
    margin: 1rem;
    transition: .3s;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center
}

.button:hover {
    box-shadow: 0 4px 10px 8px rgba(43, 88, 118, .25)
}

.button-left {
    border: var(--light) solid 2px;
    color: #fff
}

.button-right {
    border: var(--light) solid 2px;
    color: #fff
}

@media(min-width: 1201px) {
    .button-right {
        color: var(--primary);
        border: var(--primary) solid 2px;
    }
    .button-left {
        border: var(--text) solid 2px;
        color: var(--text);
    }
}


.bildunterschrift {
    margin: 0;
    font-style: italic
}

.wrapper {
    display: grid;
    grid-template-columns: 1fr;
    padding: 5.5%;
    grid-column-gap: 10%
}

@media(min-width: 769px) {
    .wrapper {
        grid-template-columns: 1fr 1fr
    }
}

.wrapper div {
    height: 100%
}

.wrapper .fahrzeuge h2 i {
    padding-right: 10px
}

.termine h2 i {
    padding-right: 10px
}

.termine ul {
    list-style: square
}


.newsletter {
    text-align: center;
    background: url("../img/laterne-768px.jpg") no-repeat center fixed;
    background-size: cover;
    color: #fff;
    min-height: 25em;
    display: grid;
    align-items: center;
    justify-content: center;
    line-height: 3em
}

.newsletter form {
    width: 90%;
    margin-left: auto;
    margin-right: auto
}

.newsletter form h1 {
    color: #fff
}

.newsletter p {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    color: #fff
}

.newsletter .email-box {
    display: flex;
    margin: 0 auto;
}

.newsletter .email-box i {
    background: var(--primary);
    width: 3em;
    line-height: 3em
}

.newsletter .btn,
.newsletter .tbox {
    border: none;
    outline: none
}

.newsletter .tbox {
    width: 0;
    padding: 0;
    transition: .5s ease
}

.newsletter .email-box:hover>.tbox,
.newsletter .tbox:focus {
    width: 260px;
    padding: 0 10px
}

.newsletter .btn {
    background: var(--primary);
    color: #fff;
    padding: 0 10px;
    text-transform: uppercase;
    cursor: pointer
}

/* TODO: prüfen */
/*.dynamic-content h1 {
    font-size: 6vw
}*/

@media(min-width: 769px)and (max-width: 1920px) {
    .newsletter {
        background: url("../img/laterne-1920px.jpg") no-repeat center fixed
    }

    /*.dynamic-content h1 {
        font-size: 3vw;
        line-height: 4.5rem
    }*/
}

@media(min-width: 1921px) {
    .newsletter {
        background: url("../img/laterne.jpg") no-repeat center fixed
    }

    /*.dynamic-content h1 {
        font-size: 3vw;
        line-height: 4.5rem
    }*/
}

.fahrzeugBanner {
    list-style: none;
    padding: 0
}

.fahrzeugBanner li {
    box-shadow: 0px 2px 5px 2px rgba(191, 191, 191, .4);
    transition-duration: .7s;
    width: 100%;
    margin: 3rem 0
}

.fahrzeugBanner li a {
    display: flex;
    width: 100%
}

@media(max-width: 768px) {
    .fahrzeugBanner li a img {
        width: 50%;
        height: auto
    }
}

.fahrzeugBanner li a p {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center
}

.fahrzeugBanner li:hover {
    box-shadow: 0px 2px 5px 2px rgba(160, 160, 160, .7)
}

.info {
    background-color: var(--nice);
    padding-top: 5rem;
    padding-bottom: 5rem
}

.info .ueberschriftInfo {
    width: 89%;
    margin-left: 5.5%;
    text-align: center;
    padding-bottom: 2.5rem;
    color: #fff
}

.info .infoSection {
    width: 89%;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 2rem;
    margin: auto;
    padding-bottom: 2.5rem
}

@media(min-width: 769px)and (max-width: 1919px) {
    .info .infoSection {
        grid-template-columns: 1fr 1fr
    }
}

@media(min-width: 1920px) {
    .info .infoSection {
        grid-template-columns: 1fr 1fr 1fr
    }
}

.info .infoSection div {
    box-shadow: 0px 3px 7px 3px #68757c;
    background-color: #fff
}

.info .infoSection div a {
    display: flex;
    justify-content: center
}

.info .infoSection div a p {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center
}

.info .infoSection div:hover {
    box-shadow: 0px 4px 20px 4px #5c686e
}

.info .alleAusgaben {
    margin-left: auto;
    margin-right: auto;
    width: -moz-max-content;
    width: max-content
}

.info .alleAusgaben a .button {
    width: -moz-max-content;
    width: max-content;
    border: #fff solid 2px
}

.info .alleAusgaben a .button p {
    padding: 1rem;
    color: #fff
}

.info .alleAusgaben a:hover {
    box-shadow: 0px 4px 20px 4px #5c686e
}

.dynamic-content {
    margin-top: 2.5rem
}

.zwei-spalten {
    grid-template-columns: 1fr;
    display: grid;
    align-items: center;
    grid-gap: 5rem
}

@media(min-width: 1200px) {
    .zwei-spalten {
        grid-template-columns: 50% 50%
    }
}

.rechts {
    text-align: right
}

.volle-breite {
    width: 100%;
    max-height: 70%;
    height: auto
}

.volle-breite img {
    margin-left: 0;
    margin-right: auto;
    width: auto;
    height: 100%;
    max-height: 85dvh;
    -o-object-fit: contain;
    object-fit: contain
}

.download-item {
    display: flex;
    box-shadow: 0px 2px 5px 2px rgba(191, 191, 191, .4)
}

.download-item div {
    align-self: center;
    padding-left: 2rem;
    padding-right: 2rem
}

.download-item a {
    display: flex
}

.download-item a img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    -o-object-fit: contain;
    object-fit: contain
}