@charset "utf-8";
/*
 * author: BEP WERBEAGENTUR
 * customer: Dalla Corte
 *
 *
 * COLORS ===================================================================
 *

 @media only screen and (min-width: 40em) {
}

@media only screen and (min-width: 60em) {
}

@media only screen and (min-width: 80em) {
}
 */
/*FONTS*/

@font-face {
    font-family: 'DINNextLTPro-Bold';
    src: url('webfonts/265062_0_0.eot');
    src: url('webfonts/265062_0_0.eot?#iefix') format('embedded-opentype'), url('webfonts/265062_0_0.woff') format('woff'), url('webfonts/265062_0_0.ttf') format('truetype'), url('webfonts/265062_0_0.svg#wf') format('svg');
}


@font-face {
    font-family: 'DINNextLTPro-Regular';
    src: url('webfonts/265062_1_0.eot');
    src: url('webfonts/265062_1_0.eot?#iefix') format('embedded-opentype'), url('webfonts/265062_1_0.woff') format('woff'), url('webfonts/265062_1_0.ttf') format('truetype'), url('webfonts/265062_1_0.svg#wf') format('svg');
}

@font-face {
    font-family: 'DINNextLTPro-Light';
    src: url('webfonts/2650F9_0_0.eot');
    src: url('webfonts/2650F9_0_0.eot?#iefix') format('embedded-opentype'), url('webfonts/2650F9_0_0.woff') format('woff'), url('webfonts/2650F9_0_0.ttf') format('truetype'), url('webfonts/2650F9_0_0.svg#wf') format('svg');
}


@font-face {
    /*dallacorte-condensedsemibold*/
    font-family: 'dalla_cortecondensed_semibold';
    src: url('webfonts/dallacorte-condensedsemibold-webfont.woff2') format('woff2'),
    url('webfonts/dallacorte-condensedsemibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    /*dallacorte-condensedsemibold*/
    font-family: 'dallacorte-condensedsemibold';
    src: url('webfonts/dallacorte-condensedsemibold.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/*  VAR  */

:root {
    --font-txt-1: 'DINNextLTPro-Light';
    --font-txt-2: 'DINNextLTPro-Regular';
    --font-txt-3: 'DINNextLTPro-Bold';
    --font-titel-1: 'dallacorte-condensedsemibold';
    --font-titel-2: 'DINNextLTPro-Bold';
    --grau-0: #262626;
    --grau-1: #414042;
    --grau-2: #707070;
    --grau-3: #AAAAAA;
    --grau-4: #F2F2F2;
    --gelb: #f6c52d;
    --negativ: #ffffff;
}


/** ALLGEMEIN **/

html {
    font-size: 1rem;
    line-height: 1.4;
}

html, body {
    scroll-behavior: smooth;
    background-color: var(--grau-1);

    /* fuer Maps */
    height: 100%;
    margin: 0;
    padding: 0;
}

html, body, button, input, select, textarea, li {
    font-family: var(--font-txt-1), sans-serif;
    color: var(--negativ);
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.4;
}

input, select, textarea {
    color: #000;
}
.gelb {
    color: var(--gelb);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    text-transform: uppercase;

}


h1, h2 {
    font-family: var(--font-titel-1, sans-serif);
    line-height: 1;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3, h4 {
    font-family: var(--font-titel-2, sans-serif);
    font-size: 1.25rem;
    line-height: 1.1;
}

h4 {
    font-size: 1rem;
}

strong, b {
    font-family: var(--font-txt-3);
    font-weight: normal;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #FFFFFF;
    margin: 1em 0;
    padding: 0;
    overflow: visible;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

/* ANKER */

div.anker div {
    position: absolute;
    height: 0;
    overflow: hidden;
}


/* ==========================================================================
  CSS LAYOUT
  ========================================================================== */

body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

p {
    font-size: .875rem;
    font-weight: 300;
    line-height: 1.38;
}

@media only screen and (min-width: 48em) {
    p {
        font-size: 1rem;
    }
}

p a {
    text-decoration: underline;
    color: #3171DC;
}

a:hover {
    color: var(--gelb);
}


img {
    border: 0;
}

.clear {
    clear: both;

}

/* ==========================================================================
  STRUKTUR: MAIN / FOOTER / HEADER :::: LOGO / MENUE ICO / NAV
  ========================================================================== */


main, body > footer {
    position: relative;
    width: 100vw;
    overflow-x: hidden;
}

main {
    min-height: 100vh;
    overflow-x: hidden;

}


/*  HEADER  */

main > header {
    z-index: 500;
    position: absolute;
    overflow-y: hidden;
    top: 0;
    left: 0;
    height: 5rem;
    width: 100vw;
    background-color: rgba(0, 0, 0, .8);
    /*opacity: .75;*/
    transition: height .3s ease-in;
}

body.scroll-bottom main > header {
    position: fixed;
    height: 0;
}

body.scroll-top main > header {
    position: fixed;
    height: 5rem;
}


body.nav-open main > header {
    height: 21rem;
}

body.nav-open.nav-adjust main > header {
    height: auto;
}

.logo {
    background: url("assets/logo.svg") no-repeat transparent top center;
    background-size: contain;
    width: 5em;
    height: 3em;
}


main > header > a {
    display: block;
    position: absolute;
    left: 1.5em;
    top: 1em;
}
/*   LOGIN ICO   */
main > header .ico-login {
    position: absolute;
    top: 1.75em;
    right:4.5em;

}
main > header .ico-login a {
    position: relative;
    width: 19px;
    height: 30px;
display: block;
    background-color:transparent;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;

}
main > header .ico-login a:visited::before,
main > header .ico-login a:hover::before,
main > header .ico-login a::before {
    content:"login";
    color: var(--grau-4);
    display: block;
    position: absolute;
    right: 30px;
    top: 3px;

}
main > header .ico-login a.link-logout::before {
    content: "logout";
    color: var(--gelb);
}

main > header .ico-login a.link-login {
    background-position: top 3px center;
}
main > header .ico-login a.link-login {
    background-image: url("assets/ico-logout.svg");
}
main > header .ico-login a.link-logout {
    background-image: url("assets/ico-login.svg");
}
/* public oder nicht piblic */
body[user="public"] main > header .ico-login a.link-logout {
    display: none;
}
main > header .ico-login a.link-logout {
    display: block;
}
body[user="public"] main > header .ico-login a.link-login {
    display: block;
}

main > header .ico-login a.link-login {
    display: none;
 }

@media only screen and (min-width: 80em) {
    main > header .ico-login {
        top: 3em;
        right:2em;

    }
}

/*   MENUE ICO   */
#ico-menue {
    top: 2em;
    right: 1.5em;
    cursor: pointer;
    position: absolute;
    height: 24px;
    width: 24px;
    overflow: visible;
    /*background-color: #FFF;*/

}


#ico-menue span,
#ico-menue span::before,
#ico-menue span::after {
    top: 8px;
    position: absolute;
    content: '';
}

#ico-menue span::before {
    top: -8px;
}

#ico-menue span::after {
    top: 8px;
}

#ico-menue span,
#ico-menue span::before,
#ico-menue span::after {
    position: absolute;
    height: 3px;
    width: 24px;
    border-radius: 1px;
    background-color: var(--negativ);
    transition: all .3s ease-out;
    transition-delay: .2s;
}

body.nav-open #ico-menue span {
    background: transparent;
}

body.nav-open #ico-menue span::before {
    transform: rotate(45deg);
    top: 0;

}

body.nav-open #ico-menue span::after {
    transform: rotate(-45deg);
    top: 0;
}


@media only screen and (min-width: 80em) {

    main {
        min-height: calc(100vh - 240px);
        overflow-x: hidden;

    }
}

@media only screen and (min-width: 80em) {
    body #ico-menue {
        display: none;
    }

}


/* ==========================================================================
  NAVIGATION
  ========================================================================== */


header > nav {
    margin-top: 5em;
}

header > nav ul {
    margin: 0;
    padding: 0;
}

header > nav > ul {
    margin-top: 5.5rem;
}

header > nav li {
    position: relative;
    list-style: none;
}

header > nav > ul > li > ul {
    height: 0;
    display: block;
    overflow: hidden;
    padding-left: 1.5rem;
    transition: height ease-out .5s;
}

header > nav a {
    color: var(--negativ);
    display: block;
    font-size: 1rem;
    letter-spacing: .05rem;
    text-transform: uppercase;
    text-decoration: none;
    padding: .875rem 0 .75rem 2rem;

    /*min-height: 1.5rem;*/
}

header > nav li:not(.submenue) a::before {
    content: '';
    display: block;
    position: absolute;

    width: 8px;
    height: 8px;
    border: solid var(--grau-2);
    border-width: 1px 1px 0 0;
    transform: rotate(45deg);
}

header > nav > ul > li > a::before {
    left: 13px;
    top: 20px;
}

header > nav > ul > li > ul > li a::before {
    left: 6px;
    top: 15px;
}

header > nav > ul > li > ul > li a {
    padding: .5rem .5rem .5rem 1.5rem;
}

header > nav > ul > li {
    border-top: solid var(--grau-2) 1px;
}

header > nav > ul > li.submenue > span {
    position: absolute;
    display: block;
    width: 16px;
    height: 16px;
    top: 1rem;
    right: 1.75rem;
    z-index: -1;
}

header > nav > ul > li.submenue > span::after,
header > nav > ul > li.submenue > span::before {
    content: '';
    display: block;
    position: absolute;
    top: 8px;
    width: 16px;
    height: 1px;
    background-color: var(--grau-2);
    transition: all .3s ease-out;
    transition-delay: .15s;
}

header > nav > ul > li.submenue > span::after {
    left: 0;
    transform: rotate(90deg);
}

header > nav > ul > li.submenue.open > span::after {
    left: 0;
    transform: rotate(180deg);
}

header > nav > ul > li.submenue.open > span::before {
    background-color: transparent;
}

header > nav > ul > li > ul > li:last-child {
    padding-bottom: 1.5rem;
}

header > nav > ul > li.open > a,
header > nav > ul > li.open > a:hover {
    text-transform: none;
    font-size: 1.25rem;
    font-weight: 100;
    color: var(--grau-2);
    transition: font-size ease-out .25s;
}

@media only screen and (min-width: 80em) {
    main > header {
        height: 7rem;
    }

    main > header > a {

        left: calc(50vw - 3.75em);
        top: 1em;
    }

    .logo {
        width: 7.5em;
        height: 4.5em;
    }


    header > nav {
        margin-top: 0;


    }

    header > nav > ul {
        display: flex;
        flex-direction: row;
        overflow: visible;
        align-items: center;
        height: 7rem;
        /*margin: 2em 0 0 2em;*/
        margin: 0 0 0 3.5em;
        gap: .875em;
    }


    header > nav li {
        border: none;
        display: block;
        width: auto;
    }

    header > nav > ul > li {
        border: none;
    }

    header > nav a {
        font-size: .8125rem;
        letter-spacing: .075rem;
        padding: 0;
        transition: inherit;
    }

    header > nav a:hover {
        color: var(--gelb);
    }

    /* submenue wird nicht verwendet */
    header > ul > li > ul {
        position: absolute;
        padding-left: 0;
        width: 17rem;
        margin-left: -1.5rem;
        height: 0;
        text-align: left;
        overflow: hidden;
        background-color: var(--grau-1);
        -webkit-box-shadow: 3px 3px 8px -3px rgba(0, 0, 0, 0.5);
        -moz-box-shadow: 3px 3px 8px -3px rgba(0, 0, 0, 0.5);
        box-shadow: 3px 3px 8px -3px rgba(0, 0, 0, 0.5);
    }

    header > ul > li > ul {
        margin-top: 1.25rem;
    }


    header > ul > li > ul > li {
        padding: 0 1.5rem;
    }

    header > ul > li > ul > li:last-child {
        padding-bottom: .5rem;
    }


    header > nav ul > li.submenue > span {
        display: none;
    }

    header > nav li:not(.submenue) a::before {
        display: none;

    }

}

@media only screen and (min-width: 90em) {
    main > header {
        height: 7.5rem;
    }

    main > header > a {
        top: 1.5em;
    }

    header > nav > ul {
        gap: 1.5em;
        height: 7.5rem;
    }

    header > nav a {
        font-size: .875rem;

    }
}

/* ==========================================================================
    FOOTER
  ========================================================================== */
body > footer {
    position: relative;
    z-index: 0;
    background-color: var(--grau-1);
}

body > footer .logo {
    margin: 4em 0 2em 1.5em;
}

body > footer .social {
    margin: 2em 0 2em 1.5em;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1em;
}

body > footer .social a {
    background: no-repeat transparent bottom center;
    background-size: contain;
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
}

body > footer .social a.fb {
    background-image: url("assets/ico_fb.svg");
}

body > footer .social a.ig {
    background-image: url("assets/ico_ig.svg");
}

body > footer .social a.yt {
    background-image: url("assets/ico_yt.svg");
}

body > footer .social a.pr {
    background-image: url("assets/ico_pr.svg");
}

body > footer .social a.vm {
    background-image: url("assets/ico_vm.svg");
}
body > footer .social a.li {
    background-image: url("assets/ico_li.svg");
}

body > footer .footer-nav ul {
    margin: 0 0 2em 0;
    padding: 0;
}

body > footer .footer-nav li {
    position: relative;
    list-style: none;
    border-top: solid var(--grau-2) 1px;
}

body > footer .footer-nav li:last-child {
    border-bottom: solid var(--grau-2) 1px;
}

body > footer .footer-nav a {
    color: var(--grau-3);
    display: block;
    font-size: .8125rem;
    letter-spacing: .05rem;
    text-transform: uppercase;
    text-decoration: none;
    padding: .875rem 0 .75rem 2rem;
    /* min-height: 1.5rem; */
}

body > footer .footer-nav a:hover {
    color: var(--gelb);
}

body > footer .footer-nav a::before {
    content: '';
    display: block;
    position: absolute;
    width: 8px;
    height: 8px;
    left: 13px;
    top: 20px;
    border: solid var(--grau-2);
    border-width: 1px 1px 0 0;
    transform: rotate(45deg);
}

body > footer h6 {
    font-size: .75rem;
    color: var(--grau-3);
    margin: 1rem 0 2em 1.5em;
}


@media only screen and (min-width: 60em) {
    body > footer {
        position: relative;
        height: 15rem;
        width: 100%;

    }

    body > footer .logo {
        position: absolute;
        left: 3.5em;
        top: 3.5rem;
        margin: 0;
        width: 7em;
        height: 3.75em;

    }

    body > footer .footer-nav {
        display: flex;
        flex-direction: row;
        column-gap: 2em;
        align-items: flex-start;
        align-content: flex-start;
        position: absolute;
        top: 3rem;
        left: 13em;
        width: auto;

    }

    body > footer .footer-nav ul {
        margin: 0;
    }

    body > footer .footer-nav li {
        position: relative;
        list-style: none;
        border-top: none;
    }

    body > footer .footer-nav li:last-child {
        border-bottom: none;
    }

    body > footer .footer-nav a {
        font-size: .8125rem;
        letter-spacing: .05rem;
        text-transform: uppercase;
        text-decoration: none;
        padding: .25rem 0 .25rem 0;
    }

    body > footer .footer-nav li a::before {
        content: unset;
    }

    body > footer .social {
        position: absolute;
        justify-content: flex-end;
        top: 3.25rem;
        right: 2.25em;
        margin: 0;
        width: 16em;
        gap: 1em;
    }

    body > footer .social a {
        width: 1.75rem;
        height: 1.75rem;
    }

    body > footer h6 {
        position: absolute;
        color: var(--grau-3);
        top: 5.5rem;
        right: 2.75em;
        margin: 0;
        letter-spacing: .025em;
    }

}

@media only screen and (min-width: 80em) {

}

/* ==========================================================================
 ELEMENTE
 ========================================================================== */
.btn {
    cursor: pointer;
    display: inline-block;
    font-family: var(--font-titel-2), sans-serif;
    letter-spacing: .1em;
    background-color: transparent;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    border-style: solid;
    border-width: 1px;
    padding: .75em 1.125em;
    border-color: var(--grau-1);
    color: var(--grau-1);
}

.btn-negativ {
    color: var(--negativ);
    border-color: var(--negativ);
}

.btn-negativ.hover,
.btn:hover {
    color: var(--gelb);
}

.btn-grau:hover {
    color: var(--negativ);
}


/* ==========================================================================
Module
 ========================================================================== */
.modul {
    /*width: 100vw;*/
}

.modul-service {
    padding: 2em;
    background-color: var(--gelb);

}
.modul-service > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    gap: 1em;
}

.modul-service a.modul-ico,
.modul-service a.modul-ico:visited,
.modul-service a.modul-ico:hover {
    position: relative;
    display: block;
    height: 60px;
    font-family: var(--font-txt-2);
    color: var(--grau-1);
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;

    padding: 24px 0 0 80px;
}

.modul-service a.modul-ico {
    background: no-repeat transparent left center;
    background-size: 60px 60px;
}

.modul-service a.ico-haendler {
    background-image: url("assets/ico-service-suche.svg");
}

.modul-service a.ico-kontakt {
    background-image: url("assets/ico-service-fragen.svg");
}

.modul-service a.ico-wartung {
    background-image: url("assets/ico-service-wartung.svg");
}

.modul-service a.ico-download {
    background-image: url("assets/ico-service-download.svg");
}


@media only screen and (min-width: 60em) {

    .modul-service {
        padding: 2em;

    }
    .modul-service > div{
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        align-content: flex-start;
        gap: 2.5em;
    }

    .modul-service a.modul-ico,
    .modul-service a.modul-ico:visited,
    .modul-service a.modul-ico:hover {
        width: 11em;
        padding: 24px 0 0 72px;
    }
}

@media only screen and (min-width: 80em) {

}


/* ==========================================================================
 SVG
 ========================================================================== */
.menueico {
    stroke-miterlimit: 10;
    stroke-width: 1px;
    fill: none;
}


body.nav-negativ .menueico {
    stroke: #FFFFFF;
}

.line {
    stroke-width: 1px;
    fill: none;
}

/*********************** ON SCROLL*********************/

.on-scroll {
    opacity: 0;
    transition: all 300ms ease-out;
}
.on-scroll.show {
    opacity: 1;
}
@media only screen and (min-width: 80em) {
    .on-scroll {
        transform: translateY(80px);
        transition: all 600ms ease-out;
    }
    .on-scroll.show {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
  Helper classes
  ========================================================================== */
::-moz-selection {
    background: #000;
    text-shadow: none;
}

::selection {
    background: #000;
    text-shadow: none;
}

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-main-for-accessibility
*
* 1. For long main, line feeds are not interpreted as spaces and small width
*    causes main to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
    visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space main is one way to avoid an Opera bug when the
*    `maineditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
    main: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as main requires.
   ========================================================================== */
#settings-widget {
    width: 100%;
    height: 800px;
}

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        main: " (" attr(href) ")";
    }

    abbr[title]:after {
        main: " (" attr(title) ")";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
