/*
	Theme Name: Formel F
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('./fonts/roboto-v30-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/roboto-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('./fonts/roboto-v30-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --transition: 0.3s;
    --main-color: #ec7405;
}

body {
    margin: 0;
    padding: 0;
    color: #676767;
    font-family: Roboto;
}

.header {
    position: fixed;
    z-index: 9999;
    width: 100%;
    top: 0;
}

.wrapper {
    margin: 0 auto;
    width: 1100px;
}

.slider {
    position: relative;
    width: 100%;
    max-height: 580px;
    margin-top: 65px;
    overflow: hidden;
}

.slider img {
    object-fit: cover;
    width: 100%;
	min-height: 300px;
}

.slider .text {
    position: absolute;
    font-size: 40px;
    text-transform: uppercase;
    color: #fff;
    top: 70%;
    right: 8%;
    font-weight: 300;
    text-shadow: 0 0 7px rgba(0,0,0,.7);
}

.content {
    margin-top: 60px;
}

.kachelbox {
    display: flex;
    gap: 40px;
}

.kachel {
    width: 33%;
    height: 400px;
    position: relative;
}

.kachel img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 35px;
    border-bottom-right-radius: 35px;
}

.kachel a {
    position: absolute;
    bottom: 0;
    text-decoration: none;
    padding: 5px 10px 5px 10px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    background: #fff;
}

.kachel a:hover {
    background: var(--main-color);
    color: #fff;
}

.banner {
    margin-top: 60px;
    height: 200px;
    background: #e8e9ea;
}

.banner .wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner .wrapper .wp-block-gallery {
    width: 100%;
    height: 200px;
}

.banner .wrapper .wp-block-gallery img {
    object-fit: contain;
}

.footer {
    margin-top: 150px;
    background: #e8e9ea;
    padding-top: 40px;
    padding-bottom: 50px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    line-height: 22px;
}

.footer ul li:first-child {
    font-weight: bold;
}

.footer ul li a {
    color: #676767;
    text-decoration: none;
}

.footer ul li a:hover {
    text-decoration: underline;
}

.footer .wrapper {
    display: flex;
    align-items: top;
    justify-content: space-between;
}

.kontaktsticker {
    border-top: 5px solid var(--main-color);
    border-left: 5px solid var(--main-color);
    border-bottom: 5px solid var(--main-color);
    background: #fff;
    position: fixed;
    top: 250px;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 35px;
    padding: 10px;
    z-index: 9999;
}

.kontaktsticker a:hover {
    opacity: .6;
}

.schnellzugriff {
    position: absolute;
    top: 70px;
    right: 8%;
    display: flex;
    gap: 20px;
    background: rgba(0,0,0,.4);
    padding: 0 15px 20px 15px;
    border-radius: 8px;
}

.schnellzugriff div {
    text-align: center;
}

.schnellzugriff div p {
    color: #fff;
    font-size: 14px;
}

.schnellzugriff div a {
    background: var(--main-color);
    padding: 7px 20px 7px 20px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

.schnellzugriff div a:hover {
    background: #fff;
    color: var(--main-color);
}

.pdf img {
	position: absolute;
 	margin-top: -10px;
}

.pdf strong {
	margin-left: 36px;
}

/*#################### SEITEN ##################*/

.fahrschule .content .wrapper {
    display: flex;
    gap: 40px;
}

.content .textbox-50 {
    width: 50%;
}

.content h1, .content h2 {
    color: var(--main-color);
}

.content p {
    line-height: 22px;
}

.content ul li {
    line-height: 22px;
}

.content a {
    color: #ec7405;
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

.content a.button, .content .wp-block-button a {
    text-decoration: none;
    padding: 5px 10px 5px 10px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    margin-right: 10px;
    background: #fff;
    height: auto;
    width: auto;
}

.content a.button:hover, .content .wp-block-button a:hover {
    background: var(--main-color);
    color: #fff;
}

.klassen .content, .ausbildungsklassen .content {
    padding-top: 20px;
    padding-bottom: 30px;
    margin-top: 0;
    background: #e8e9ea;
    margin-top: 100px;
}

.liste {
    margin-top: 40px;
}

.zeile {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    margin-bottom: 40px;
}

.zeile h2, .zeile h3, .ausbildungsklassen .content h2, .ausbildungsklassen .content h3 {
    margin-top: 0;
}

.zeile img, .ausbildungsklassen .content img {
    width: 300px;
    object-fit: cover;
    /*border-top-left-radius: 35px;
    border-bottom-right-radius: 35px;*/
}

.seminare-button1 a, .seminare-button2 a {
    border: 0 !important;
    color: #fff !important;
    background: #676767 !important;
    padding: 10px 15px 10px 15px !important;
}

.seminare-button1 a:hover, .seminare-button2 a:hover {
    text-decoration: underline;
}

.seminare-button1.aktiv a, .seminare-button2.aktiv a {
    background: var(--main-color) !important;
}

.textblock2 {
    display: none;
}

.karte {
    width: 100%;
    height: 300px;
    border: 0;
}

.grau {
    background: #e8e9ea;
    margin-bottom: -28px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.kontakt .content {
    margin-top: 130px;
}

.kontakt .banner, .kursplan .banner {
    display: none;
}

.kontakt form {
    width: 90%;
}

.kontakt form .formular-zeile p {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.kontakt form .formular-zeile input {
    width: 100%;
}

.kontakt form textarea {
    width: 100%;
} 

.kontakt form .formular-text {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.kontakt form input[type=submit] {
    border: 2px solid var(--main-color);
    padding: 5px 8px 5px 8px;
    color: var(--main-color);
}

.kontakt table td {
    border: 0;
    padding: 0;
    padding-bottom: 5px;
}

.slider .text {
    display: none;
}

.startseite .slider .text {
    display: block;
}

.kursplan .content {
    background: #e8e9ea;
    margin-bottom: -28px;
    margin-top: 0;
    padding-top: 30px;
    padding-bottom: 30px;
}

.kursplan h1 img {
    margin-left: 10px;
    position: relative;
    top: 12px;
}

/*#################### MOBIL MENÜ ##################*/

.screen1_menu_container {
    border-top: 25px solid var(--main-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    color: #000;
    padding: 0 10px;
    /*box-shadow: 0 5px 5px rgba(0,0,0,.2);*/
    position: relative;
    /*width: 100vw;*/
    /*left: 0;*/
    z-index: 99999;
}

.screen1_menu_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75px;
    height: 75px;
    cursor: pointer;
    transition: all var(--transition) ease-in-out;
}

.screen1_menu_hamburger {
    width: 30px;
    height: 4px;
    background-color: var(--main-color);
    border-radius: 5px;
    z-index: 10;
    transition: all var(--transition) ease;
    z-index: 9999;
}

.screen1_menu_hamburger::before,
.screen1_menu_hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 4px;
    background: var(--main-color);
    border-radius: 5px;
    transition: all var(--transition) ease;
}

.screen1_menu_hamburger::before {
    transform: translateY(-8px);
}

.screen1_menu_hamburger::after {
    transform: translateY(8px);
}

.screen1_menu_items {
    background:  #ec7405;
    color: #fff;
    position: absolute;
    /*right: 100%;*/
    left: -50%;
    height: 100vh;
    width: 30%;
    padding-top: 100px;
    top: -20px;
    transition: all var(--transition) ease-in-out;
    box-shadow: 0 5px 5px rgba(0,0,0,.2);
    z-index: 9998;
}

.screen1_menu_items li {
    padding: auto;
    text-align: left;
    transition: all var(--transition) ease; 
    list-style-type: none;
}

.screen1_menu_items li:hover {
    color: #fff;
    text-decoration: underline;
}

.screen1_menu_items li.active {
    color: #fff;
}

.screen1_menu_items li a {
    font-size: 20px;
    line-height: 26px;
    color: #fff;
    text-decoration: none;
}

.screen1_menu_items .current_page_item {
    font-weight: bold;
}

/* animation */
.screen1_menu_btn input:checked ~.screen1_menu_hamburger {
    transform: translateX(-50px);
    background: transparent;
}

.screen1_menu_btn input:checked ~.screen1_menu_hamburger::before {
    transform: rotate(45deg) translate(35px, -35px);
    background: #fff;
}

.screen1_menu_btn input:checked ~.screen1_menu_hamburger::after {
    transform: rotate(-45deg) translate(35px, 35px);
    background: #fff;
}

.screen1_menu_btn input:checked ~.screen1_menu_items {
    left: 0%;
}

.screen1_menu_btn input {
    display: none;
}

.screen1_menu_container h4 {
    color: #799f3c;
}

.screen1_menu_container hr {
    width: 75%;
    margin-left: 0px;
    border: 0;
    border-top: 1px solid #828385;
}

/*nav img {
    max-width: 60%;
}*/

nav .logo {
    max-width: 240px;
    margin-right: 8%;
}

nav .logo img {
    width: 100%;
}

.screen1_menu_container a {
    text-decoration: none;
}

.screen1_menu_container a p {
    margin-top: 0;
    position: relative;
    color: #000;
    text-decoration: none;
    font-size: 12px;
}

/*#################### MOBIL ##################*/

@media only screen and (max-width: 1200px) {
    .screen1_menu_items {
        width: 60%;
        left: -70%;
    }

    .kontakt {
        top: 120px;
    }

    .wrapper {
        width: 90%;
    }

    .slider .text {
        font-size: 25px;
		max-width: 70%;
		left: 5%;
    }

    .kachelbox {
        width: 100%;
        flex-wrap: wrap;
    }

    .kachel a {
        position: relative;
    }

    .kachel {
        width: 100%;
        margin-bottom: 50px;
        border-bottom: 1px dotted #898989;
    }

    .banner .wrapper, .fahrschule .banner .wrapper {
        flex-wrap: wrap;
        gap: 0;
    }

    .banner {
        height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
        margin-top: 20px;
    }

    .banner img {
        max-width: 18%;
    }

    .fahrschule .content .wrapper {
        flex-wrap: wrap;
    }

    .content .textbox-50 {
        width: 100%;
    }

    .footer {
        width: 100%;
        margin-top: 70px;
    }

    .footer ul {
        margin-bottom: 30px;
    }

    .footer ul li {
        font-size: 14px;
    }

    .footer .wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .liste .zeile {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        margin-bottom: 40px;
        padding-bottom: 15px;
        border-bottom: 1px dotted #898989;
    }

    .kontakt form {
        width: 100%;
    }

    .kursplan h1 img {
        display: block;
        margin-left: 0;
        margin-bottom: 15px;
    }    
}