/* Colors */

:root {
    --main-bright: #74a840;
    --main: #5c882f;
    --main-dark: #476e20;

    --shade-000: #ffffff;
    --shade-100: #ebebeb;
    --shade-200: #dbdbdc;
    --shade-300: #c0c1c3;
    --shade-400: #a5a6a9;
    --shade-500: #8a8b8f;
    --shade-600: #6f7074;
    --shade-700: #54555a;
    --shade-800: #383b40;
    --shade-900: #1d2027;
    --shade-999: #0e1216;
}

/* Fonts */

@font-face {
    font-family: 'Poppins';
    font-weight: 100;
    font-style: normal;
    src: url('../fonts/Poppins-Thin.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-weight: 200;
    font-style: normal;
    src: url('../fonts/Poppins-ExtraLight.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-weight: 300;
    font-style: normal;
    src: url('../fonts/Poppins-Light.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/Poppins-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-weight: 500;
    font-style: normal;
    src: url('../fonts/Poppins-Medium.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-weight: 600;
    font-style: normal;
    src: url('../fonts/Poppins-SemiBold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-weight: 700;
    font-style: normal;
    src: url('../fonts/Poppins-Bold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-weight: 800;
    font-style: normal;
    src: url('../fonts/Poppins-ExtraBold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-weight: 900;
    font-style: normal;
    src: url('../fonts/Poppins-Black.woff2') format('woff2');
    font-display: swap;
}

/* Generally */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Body */

body {
    position: relative;
    display: block;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;

    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    font-optical-sizing: none;
    line-height: initial;

    background-color: var(--shade-000);
}

/* Typography */

p,
ul,
blockquote,
form {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: var(--shade-600);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    position: relative;
    display: block;
    overflow: hidden;
    color: var(--shade-800);
    font-weight: 600;
}

main h2 {
    margin-top: 120px;
    margin-bottom: 0px;
    font-size: 27px;
    text-align: center;
}

main h2::after {
    position: relative;
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--main);
    content: "";
    margin: 5px auto 0px auto;
}

.sub {
    text-align: center;
    margin-bottom: 100px;
    margin-top: 10px;
    font-size: 18px;
}

h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 21px;
}

h3.rot {
    padding-left: 35px;
    background-image: url(../img/rot.jpg);
    background-repeat: no-repeat;
    background-position: 0px 4px;
}

h3.gruen {
    padding-left: 35px;
    background-image: url(../img/gruen.jpg);
    background-repeat: no-repeat;
    background-position: 0px 4px;
}

main h2::after {
    position: relative;
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--main);
    content: "";
    margin: 5px auto 0px auto;
}

em {
    font-style: italic;
}

i {
    font-style: normal;
}

dfn {
    font-style: normal;
    white-space: nowrap;
}
b {
    color: var(--shade-700);
    font-weight: 600;
}

strong {
    font-weight: 600;
    color: var(--shade-700);
}

a {
    color: var(--main-dark);
    text-decoration: none;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out 0s;
}

a:hover {
    color: var(--main-darker);
}

#footer a {
    line-height: 27px;
    color: var(--shade-400);
}

#footer a:hover {
    padding-left: 5px;
    color: var(--main-bright);
}

#footer address a:hover {
    padding-left: 0px;
}

#footer a.active {
    color: var(--main);
}

.center {
    text-align: center;
}

address {
    font-style: normal;
}

.spacer {
    position: relative;
    display: block;
    overflow: hidden;
    height: 200px;
}

@media (max-width:768px){
    .spacer{
        height: 50px;
    }
}

.red {
    color: #821818;
}

.green {
    color: var(--main);
}

.clear {
    position: relative;
    display: block;
    width: 100%;
    float: none;
    clear: both;
}

/* Header */

header {
    position: fixed;
    display: block;
    width: 100%;
    height: 90px;
    top: 0;
    left: 0;
    background-color: var(--shade-000);
    z-index: 9999;
    box-shadow: 0 2px 3px rgba(96, 96, 96, .1);
}

/* Logo */

header #logo {
    position: absolute;
    display: block;
    top: 18px;
    left: 20px;
}

header #logo a {
    position: relative;
    display: block;
}

header #logo img {
    position: relative;
    display: block;
    width: 120px;
    height: auto;
}

/* Burger Button */

body.desktop #burger {
    display: none;
}

body.mobile #burger {
    position: absolute;
    display: block;
    top: 40px;
    right: 30px;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

body.mobile .burger:nth-child(1) {
    position: absolute;
    display: block;
    top: 0px;
    left: 0px;
    height: 2px;
    width: 100%;
    border-top: 2px solid var(--shade-900);
    content: "";
}

body.mobile .burger:nth-child(2) {
    position: absolute;
    display: block;
    top: 50%;
    left: 0px;
    height: 2px;
    width: 100%;
    border-top: 2px solid var(--shade-900);
    content: "";

    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

body.mobile .burger:nth-child(3) {
    position: absolute;
    display: block;
    bottom: 0px;
    left: 0px;
    height: 2px;
    width: 100%;
    border-top: 2px solid var(--shade-900);
    content: "";
}

#closer {
    position: absolute;
    display: none;
    top: 30px;
    right: 30px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

body.nav-open #closer {
    display: block;
}

#closer::before,
#closer::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    /* gleiche Breite wie das Element */
    height: 2px;
    background-color: var(--shade-700);
    transform-origin: center;
}

#closer::before {
    transform: translate(-50%, -50%) rotate(45deg);
    /* Erste Linie */
}

#closer::after {
    transform: translate(-50%, -50%) rotate(-45deg);
    /* Zweite Linie */
}

/* Nav Mobile */

body.mobile header nav {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

body.mobile.nav-open header nav {
    display: block;
}

body.mobile header nav::before {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: var(--shade-999);
    opacity: 0.8;
    content: "";
}

body.mobile header nav ul {
    position: absolute;
    display: block;
    overflow: hidden;
    margin: 0px;
    padding: 70px 0px 0px 50px;
    list-style: none;
    width: 75%;
    height: 100%;
    top: 0px;
    right: 0px;
    background-color: var(--shade-000);
}

body.mobile header nav ul li {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
}

body.mobile header nav ul li a {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding: 8px 0px 8px 0px;
    font-size: 18px;
    font-weight: 500;
}

body.mobile header nav ul li a.active {
    color: var(--shade-700);
}

/* Burger Button */

body.desktop header nav {
    position: relative;
    display: block;
}

body.desktop header nav ul {
    position: absolute;
    display: block;
    top: 30px;
    right: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.desktop header nav ul li {
    position: relative;
    display: block;
    float: left;
    margin: 0 10px;
}

body.desktop nav ul li a {
    color: var(--shade-900);
    text-decoration: none;
    padding: 5px 0px;
    transition: all 0.2s ease-in-out 0s;
    border-bottom: 3px solid var(--shade-000);
    font-weight: 600;
    font-size: 15px;
    color: var(--shade-800);
    text-transform: uppercase;
}

body.desktop nav ul li a.active {
    border-bottom: 2px solid var(--main);
}

/* Section */

.section {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0x;
}

.section::after {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    float: none;
    clear: both;
    content: "";
}

.inside {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.inside.small {
    width: auto;
    max-width: 1000px;
    padding: 20px;
    margin: 0 auto;
}

.responsive {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

/* Titelbild */

#start {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-height: 700px;
    background: no-repeat center / cover url(../img/mohnfeld.jpg);
}

#start .inside {
    min-height: 700px;
}

#start-content {
    position: absolute;
    display: block;
    overflow: hidden;
    width: 100%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    padding: 0 100px 0 100px;
    text-align: center;
}

@media (max-width:768px) {
    #start-content {
        padding: 0 20px 0 20px;
    }
}

#start-content h1 {
    position: relative;
    display: block;
    width: 100%;
    color: var(--shade-000);
    font-weight: 500;
    font-size: 4em;
    margin-bottom: 0px;
    padding-top: 90px;
    line-height: 70px;
}

@media (max-width:550px) {
    #start-content h1 {
        font-size: 7vw;
        line-height: 9vw;
    }
}

#start-content p {
    position: relative;
    display: inline-block;
    width: 800px;
    color: var(--shade-000);
    font-weight: 300;
    font-size: 2em;
    line-height: 40px;
}

@media (max-width:950px) {
    #start-content p {
        width: 100%;
        font-size: 5vw;
        line-height: 7vw;
    }
}

/* col */

.col {
    position: relative;
    display: block;
    overflow: hidden;
    float: left;
}

@media (max-width:800px) {
    .col {
        float: none;
        clear: both;
        width: 100% !important;
        padding: 0px 0px 0px 0px !important;
    }
}

.col-7 {
    width: 70%;
    padding-right: 30px;
}

.col-3 {
    width: 30%;
}

.col-5-1 {
    width: 50%;
    padding-right: 20px;
}

.col-5-2 {
    width: 50%;
    padding-left: 20px;
}

/* kontakt */

#kontakt {
    padding-bottom: 100px;
}

.mail {
    position: relative;
    display: inline-block;
    padding: 10px 0px 20px 0px;
    margin-right: 30px;
    font-size: 20px;
}

.mail::before {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 30px;
    background-image: url(../img/mail.svg);
    background-size: 40px auto;
    background-repeat: no-repeat;
    margin-right: 7px;
    content: "";
    top: 8px;
}

.fon {
    position: relative;
    display: inline-block;
    padding: 10px 0px 20px 0px;
    margin-left: 30px;
    font-size: 20px;
}

.fon::before {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url(../img/phone.svg);
    background-size: 40px auto;
    background-repeat: no-repeat;
    margin-right: 7px;
    content: "";
    top: 15px;
}

@media (max-width:450px){
    .mail,
    .fon{
        margin: 0px !important;
    }

    .mail::before,
    .fon::before  {
        position: relative;
        display: block;
        width: 40px;
        height: 40px;
        margin: 0px auto 20px auto !important;
        top: 8px;
    }
}

/* Footer */

footer {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--shade-900);
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Impressum */

#impressum-modal{
    cursor: pointer;
}

#impressum {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 9999;
}

body.im-open #impressum {
    display: block;
}

#impressum::before {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: var(--shade-999);
    opacity: 0.8;
    content: "";
}

#impressum .inner {
    position: absolute;
    display: block;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 90%;
    max-width: 500px;
    height: 90%;
    top: 50%;
    left: 50%;
    padding: 60px 30px 30px 30px;
    border-radius: 5px;

    scrollbar-color: #8e8e8e #fff;
    scrollbar-width: thin;

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    background-color: var(--shade-000);
}

#im-closer {
    position: absolute;
    display: block;
    top: 30px;
    right: 30px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#im-closer::before,
#im-closer::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    /* gleiche Breite wie das Element */
    height: 2px;
    background-color: var(--shade-700);
    transform-origin: center;
}

#im-closer::before {
    transform: translate(-50%, -50%) rotate(45deg);
    /* Erste Linie */
}

#im-closer::after {
    transform: translate(-50%, -50%) rotate(-45deg);
    /* Zweite Linie */
}


/* Grundstücksliste */

table{
    display: table;
    position: relative;
    width: 100%;
    border: none;
    border-collapse: collapse;
    color: var(--shade-800);
}

table th{
    border: none;
    text-align: left;
    background-color: var(--shade-300);
    padding: 5px 10px;
    color: var(--shade-900);
}

table td{
    padding: 5px 10px;
}

table td.verkauft{
    color: #ea4109 ;
}

table td.reserviert{
    color: #a98215 ;
}

table td.verfügbar{
    color: var(--main) ;
}

table tr:nth-child(even){
    background-color: var(--shade-100);
}

#properties-modal{
    position: relative;
    display: inline-block;
    background-color: var(--main);
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    text-align: left;
    margin-top: 15px;
    margin-bottom: 50px;
    padding: 16px 20px 15px 65px;
    font-size: 16px;
    line-height: 18px;

    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -ms-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

#properties-modal:hover{
    background-color: var(--main-dark);
}

#properties-modal::before{
    position: absolute;
    display: block;
    width: 35px;
    height: 35px;
    top: 58%;
    left: 15px;

    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);

    background-color: var(--shade-000);
    -webkit-mask-image: url(../img/properties.svg);
    mask-image: url(../img/properties.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    content: "";
}

#properties {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 9999;
}

body.properties-open #properties {
    display: block;
}

#properties::before {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: var(--shade-999);
    opacity: 0.8;
    content: "";
}

#properties .inner {
    position: absolute;
    display: block;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 90%;
    max-width: 500px;
    height: 90%;
    top: 50%;
    left: 50%;
    padding: 60px 30px 30px 30px;
    border-radius: 5px;

    scrollbar-color: #8e8e8e #fff;
    scrollbar-width: thin;

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    background-color: var(--shade-000);
}

#properties-closer {
    position: absolute;
    display: block;
    top: 30px;
    right: 30px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#properties-closer::before,
#properties-closer::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    /* gleiche Breite wie das Element */
    height: 2px;
    background-color: var(--shade-700);
    transform-origin: center;
}

#properties-closer::before {
    transform: translate(-50%, -50%) rotate(45deg);
    /* Erste Linie */
}

#properties-closer::after {
    transform: translate(-50%, -50%) rotate(-45deg);
    /* Zweite Linie */
}

#objects {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
} 

#objects .objects-info {
    position: absolute;
    display: block;
    width: 6%;
    height: 4%;
    border-radius: 100px;
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -ms-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
    cursor: pointer;
    border: 2px solid var(--main-dark);
} 

#objects .objects-info:hover {
   opacity: 1;
} 

#objects .objects-info-row {
    position: absolute;
    display: block;
    overflow: hidden;
    width: 170px;
    height: 100px;
    margin-left: 40px;
    padding: 20px;
    background-color: var(--shade-000);
    border-radius: 5px;
    pointer-events: none;
    -webkit-box-shadow: 0px 0px 14px 4px rgba(0,0,0,0.29); 
    box-shadow: 0px 0px 14px 4px rgba(0,0,0,0.29);
} 

#objects .objects-info-row span {
    position: relative;
    display: block;
    overflow: hidden;
    color: var(--shade-500);
} 

#objects .objects-info-row span label {
    position: relative;
    display: inline-block;
    width: 55px;
} 

#objects .objects-info-row span.verkauft b{
    color: #ea4109 ;
}

#objects .objects-info-row span.reserviert b{
    color: #a98215 ;
}

#objects .objects-info-row span.verfügbar b{
    color: var(--main) ;
}