/* #####################################################################
#####                                                           #####
#####                    wwd-blau                               #####
#####                                                           #####
##################################################################### */




/* Elemente ausblenden */

#slide-wrap {
    display: none;
}

#nav-mobil {
    display: none;
}

#nav-linecross {
    display: none;
}

#nav-4k {
    display: none;

}

#welcome img {
    display: none;
}


/* ########################### seitenaufbau #################################*/

#wrapper {
    position: relative;
    width: 100vw;
}

/* body generelle Festlegung des Stylings */

body {
    position: relative;
    min-height: 100vw;
    margin: 0;
    padding: 0;
    width: 100vw;
    font-family: 'Baskerville', 'Palatino Linotype','Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    /* font-family: -apple-system, BlinkMacSystemFont, 'Palatino Linotype', Roboto, Oxygen, URW Bookman, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
    font-size: 2.5em;
    margin-block-start: 0px;
    margin-block-end: 0px;
}

body a {
    color: red;
    text-decoration: none;
}

body a:hover {
    color: red;
    text-decoration: underline;
}

body h1 {
    font-size: 1.5em;
    font-weight: 700;
    text-align: center;
    margin-block-start: 0px;
    margin-block-end: 0px;
}

body h2 {
    font-size: 1.25em;
    font-weight: 600;
    margin-block-start: 0px;
    margin-block-end: 0px;
}


/* ######################  seite1 - outer grid ############################### */

#index {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100vw;
    margin: 0;
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;

}

#index .leitsatz {
    grid-column: 1;
}

#index article {
    grid-column: 1;
}

#welcome {
    grid-row: 5;
}

/* ################## header ############################*/

#seite1 header {
    position: relative;
    width: 100vw;
    height: 100vh;    
    background-image: url(./bilder/img9_4000.jpeg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


#seite2 header {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-image: url(./bilder/img3_4000.jpeg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#seite3 header {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-image: url(./bilder/img6_4000.jpeg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#seite4 header {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-image: url(./bilder/img5_4000.jpeg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* ----- wwd_logo in header  */

#seite5 header,
#seite6 header,
#seite7 header,
#seite8 header {
    height: 20vh;
    background-image: url(bilder/wwd_logo.png);
    background-position: center center;
    background-size: 40% auto;
    background-repeat: no-repeat;
}

#down-link {
    position: absolute;
    top: 85vh;
    left: 47vw;
    z-index: 100;
    opacity: 0.5;
}

#down-link img {
    width: 100px;
    height: 100px;
}

#down-link a {
    font-size: 0em;
}


/* ############################   Navigation ################################### */


/* nav-desktop als horizontale Navigation mit Grid-Layout im Header*/

#nav-desktop {
    position: fixed;
    top: 0vh;
    margin: 0;
    padding: 0;
    width: 100vw;
    background-color: black;
    z-index: 100;
}

#nav-desktop ul li:nth-of-type(6) {
    display: none;
}

#nav-desktop ul {
    display: none;
    width: 100vw;
    height: 5vh;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
    filter: grayscale(0);
}

#nav-desktop ul a {
    color: red;
}


#nav-desktop a:hover {
    color: red;
    text-decoration: underline;
    font-weight: bold;
}

/* ----------- Navigation nav-linecross in Header -------------------------------- */

    #nav-linecross {
        position: absolute;
        top: 2vh;
        left: 2vw;
        font-size: 1em;
        z-index: 50;
    }
    
    #nav-linecross ul {
        position: absolute;
        left: 0vw;
    }

    #nav-linecross a {
        color: black;
        text-decoration: none;
    }

    #nav-linecross a:hover {
        font-size: 1.1em;
        color: red;
    }

    #nav-linecross ul li {
        list-style-type: none;
    }

    #nav-linecross ul li ul {
        left: 0px;
    }

    /* --- erstes und letztes Element mit Radius versehen ------- */
    #nav-linecross .erstes {
        border-top: 1px solid black;
        border-top-right-radius: 1em;
        border-top-left-radius: 1em;
    }

    #nav-linecross .letztes {
        border-bottom: 1px solid black;
        border-radius: 0em 0em 1rem 1rem;
    }

    /* --- li zentriert über right ---------- */
    /* --- z-index - über content anzeigen -- */
    #nav-linecross ul li ul li {
        position: relative;
        width: 10em;
        height: 1.5em;
        padding: 0.25em;
        background-color: white;
        border-left: 1px solid black;
        border-right: 1px solid black;
        border-bottom: 1px solid black;
        text-align: center;
    }
    
    
    #nav-linecross input {
        cursor: none;
    }
    
    /* --- hamburger erzeugen --------------- */
    label.hamburger { 
        position: relative;
        display: block;
        background: white;
        width: 50px; 
        height: 50px;
        border: 1px solid black;
        border-radius: 0.5rem;
    }
    
    /* ---------- die checkbox wird nicht angezeigt -- */
    input#hamburger {display:none}
    
    /* ---------- hier werden die Linien erzeugt und als nth-child zum Kreuz*/
    .line { 
        position: absolute; 
        left: 6.25px;
        height: 3px; 
        width: 37.5px; 
        background: black; /* Farbe der Linien */
        display: block; 
        transition: 1s; 
        transform-origin: center; 
    }
    
    /* ---------- die Linien werden positioniert - halbe Höhe abziehen !!----- */
    .line:nth-child(1) { top: 11px; }
    .line:nth-child(2) { top: 23.5px; }
    .line:nth-child(3) { top: 36px; }
    
    
    /* --------- die folgenden 3 Einträge machen aus den Linien ein Kreuz - */
    /* --------- die erste Linie wird verschoben und um 45 Grad gedreht   - */
    #hamburger:checked + .hamburger .line:nth-child(1){
        transform: translateY(12.5px) rotate(-45deg);
        height: 4px;
        background: red;
    }
    
    /* ---------- die zweite Linie wird durchsichtig gemacht  */
    #hamburger:checked + .hamburger .line:nth-child(2){
        opacity:0;
    }    
    
    /* --------- die dritte Linie wird verschoben und um 45 Grad gedreht */
    #hamburger:checked + .hamburger .line:nth-child(3){
        transform: translateY(-12.5px) rotate(45deg);
        height: 4px;
        background: red;
    }
    
    /* --- Untermenue verstecken --------------- */
    #nav-linecross ul li ul {
        display: none;
    }
    
    /* --- Untermenue anzeigen ----------------- */
    #nav-linecross .hackbox:checked ~ul {
        display: block;
    }
        
/* ----------- ende nav-linecross ---------------------- */



/* ################################## content ###########################################*/

/* sonst springt down-link nicht tief genug */
.leer-top { 
    height: 5vh;
}

.top-space {
    display: none;
}

.leitsatz {
    grid-template-columns: repeat(1fr);
    position: relative;
    width: 92vw;
    padding: 4vh 2vw 4vh 2vw;
    margin: 2vw;  
    background-color: darkblue;
    border: 0px solid darkblue;
    border-radius: 1rem;
    box-shadow: 5px 5px 20px 10px white;
}

#seite3 .leitsatz {
    box-shadow: 5px 5px 20px 10px white inset;
    width: 90vw;    
}

.leitsatz {
    animation: leitsatz 5s infinite;
}

@keyframes leitsatz {
    0% {
        font-size: 2em;
        color: red;
    }

    32% {
        font-size: 2.0em;
        color: red;
    }

    33% {
        font-size: 2.0em;
        color: rgb(1, 173, 1);
    }

    65% {
        font-size: 2.0em;
        color: rgb(1, 173, 1);
    }

    66% {
        font-size: 2.0em;
        color: rgba(255, 185, 7);
    }

    100% {
        font-size: 2.0em;
        color: rgb(255, 185, 7);
    }
}

    #top-link {
        position: fixed;
        top: 80vh;
        left: 90vw;
        z-index: 100;
        opacity: 0.5;

    }

    #top-link img {
        width: 100px;
        height: 100px;
    }

    #top-link a {
        font-size: 0em;
    }

    #top-link {
        animation: toplink 11s;
    }

    @keyframes toplink {
        0% {
            opacity: 0;
        }

        90% {
            opacity: 0;
        }

        100% {
            opacity: 0.75;
        }
    }

    .willkommen {
        padding-top: 5vh;
        padding-bottom: 5vh;
        margin: 2vw;
        grid-column: 1 / span 3;
        background-color: darkblue;
        color: white;
        border: 0px solid darkblue;
        border-radius: 1rem;
        box-shadow: 5px 5px 20px 10px white;
    }
    
    #welcome .text {
        width: 100vw;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        
    }
    
    
    #welcome .links,
    #welcome .rechts {
        width: 42vw;
        padding-left: 2vw;
        padding-right: 2vw;
        margin: 2vw;        
        background-color: darkblue;
        color: white;
        border: 0px solid darkblue;
        border-radius: 1rem;
        box-shadow: 5px 5px 20px 10px white;
    }
    
    #welcome h1 {
        grid-column: 1 / span 3;
        /* position: relative; */
        width: 92vw;
        padding: 4vh 2vw 4vh 2vw;
        margin: 2vw;  
        background-color: darkblue;
        color: white;
        border: 0px solid darkblue;
        border-radius: 1rem;
        box-shadow: 5px 5px 20px 10px white;
    }

 
    /* -------------------------- Grid Layout - Anfang -------------------------------------*/
    
    #inhalt {
        position: relative;
        left: 12.5vw;
        width: 75%;
    }
    
    #inhalt section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin: 2em 0em 1em 0em;
        border-radius: 1rem;
        box-shadow: 5px 5px 20px 10px white;
    }
    
    #inhalt .text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 33.5vw;
        padding-left: 2vw;
        padding-right: 2vw;
        padding-top: 3vh;
        background-color: darkblue;
        color: white;
    }    
    #inhalt img {
        width: 100%;
        min-height: 50vh;
        height: 100%;
        object-fit: cover;

    }
    
    #inhalt section:nth-of-type(odd) .text {
        grid-column: 1;
        border: 0px solid darkblue;
        border-radius: 2em 0em 0em 2em;
    }
    
    #inhalt section:nth-of-type(odd) img {
        grid-column: 2;
        border: 0px solid darkblue;
        border-radius: 0em 2rem 2rem 0em;
    }
    
    #inhalt section:nth-of-type(even) .text {
        grid-column: 2;
        border: 0px solid darkblue;
        border-radius: 0em 2rem 2rem 0em;
    }
    
    #inhalt section:nth-of-type(even) img {
        grid-column: 1;
        border: 0px solid darkblue;
        border-radius: 2rem 0em 0em 2rem;
    }

    .design2 .text,
    .design2 img {
        grid-row: 1;

    }

    .design4 .text,
    .design4 img {
        grid-row: 3;
    }

    .design6 .text,
    .design6 img {
        grid-row: 5;
    }

    .design8 .text,
    .design8 img {
        grid-row: 7;
    }

/*  -------------------------------------------- Grid Layout - Ende ----------------------------- */


/* "Fenster" auf ein Bild im Hintergrund */
#seite1 .leer-center {
    height: 50vh;
    background-image: url(./bilder/gvs_1000.jpeg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border: 0px solid transparent;
    border-radius: 2rem;
    box-shadow: 5px 5px 20px 10px white;
}

#seite1 #background-desktop,
#seite2 #background-desktop,
#seite3 #background-desktop,
#seite4 #background-desktop,
#seite5 #background-desktop,
#seite6 #background-desktop,
#seite7 #background-desktop,
#seite8 #background-desktop {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    /*background-color: darkblue;*/
    background-image: url(./bilder/gvs_1000.jpeg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* filter: grayscale(0.8); */
}

.leer,
.leer-bottom {
    display: none;
}

footer {
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-top: 3vh;
    background-color: black;
    z-index: 10;
}

footer p {
    text-align: center;
    color: white;
}


/* ###################### Seite2 - WebDesign | #seite2 ist die id vom body ########################### */

#webdesign article {
    position: relative;
    width: 92vw;
    left: 2vw;
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    color: white;
}

#webdesign section {
    width: 43vw;
    margin: 4vh 2vw 4vh 0vw;
    

    min-height: 25vh;
    padding: 4vh 2vw;
    background-color: darkblue;
    border: 0px solid darkblue;
    border-radius: 1rem;
    box-shadow: 5px 5px 20px 10px white;
}



/* google audit eine eigene Spalte über die volle Breite zuweisen */
#webdesign figure {
    grid-row: 5;
    grid-column: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    object-fit: cover; 
    
    width: 43vw;
    height: auto;
    padding: 1vh 1.5vw 1vh 1.5vw;
    margin: 4vh 0vw 3.5vh 0vw;
    background-color: darkblue;
    border: 0px solid darkblue;
    border-radius: 2rem;
    box-shadow: 5px 5px 20px 10px white;
}

#webdesign figure img {
    width: 40vw;
    margin-left: auto;
    margin-right: auto;
}

/* ############################# #seite4 - Leistungen - #seite4 ist die id vom body ######################## */

#services article {
    position: relative;
    width: 92vw;
    left: 2vw;
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    color: white;
}

#services section {
    width: 43vw;
    margin: 4vh 2vw 4vh 0vw;
    
    min-height: 25vh;
    padding: 4vh 2vw;
    background-color: darkblue;
    border: 0px solid darkblue;
    border-radius: 1rem;
    box-shadow: 5px 5px 20px 10px white;
}

#services section:nth-of-type(9) {
    width: 91vw;
    grid-column: 1 / 3;
}

#weitereLeistungen ul {
    display: flex;
    flex-flow: column;
}


/* Seite4 - Beispielwebsites - #seite4 ist die id vom body */


#example-pages article {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 2vh 2vw;
    gap: 3vw;
    color: white;
    margin: 4vh 2vw 4vh 0vw;
}

#example-pages section {
    padding: 2vw;
    border: 1px solid lightgray;
    border-radius: 1rem;
    box-shadow: 1px 2px 30px 8px white inset;
    background-color: darkblue;
}

#example-pages h2 {
    text-align: center;
}

/* ---- Tabelle mit Beschreibung der Website */
th {
    /* border: 5px dotted red; */
    text-align: left;
    width: 30%;
    padding: 0.25em;
    font-weight: 100;
    border-bottom: 1px solid gray;
}

/* ----- Punkt in der Tabelle verstecken ----------- -- */
.dot {
    visibility: hidden;
}

/* ----------- Bild formatieren ----------------------------- */
.examples {
    position: relative;
    width: 75%;
    left: 12.5%;
    border: 0px solid black;
    border-radius: 1rem;
}
.newwindow {
    display: none;
}

/* ---- neues Fenster mit dem großen Bild */

/*  nur das Bild anzeigen */
.newwindow h2,
.newwindow p {
    display: none;
}

.newwindow {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0vh;
    left: 0vw;
    background-image: url(./bilder/img9_1000.jpeg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 50;
}

/* ---- gibt die Größe des Bildes im neuen Fenster an */
.big {
    position: fixed;
    top: 15vh;
    left: 10vw;
    width: 80vw;
    height: auto;
    border: 1px solid lightgray;
    border-radius: 1rem;
    box-shadow: 1px 2px 30px 8px white;
    z-index: 50;
}

.close img {
    position: fixed;
    top: 10vh;
    left: 90vw;
    width: 50px;
    height: 50px;
    z-index: 60;
    
}

/* ---- :target -> Ziel des Links - macht das Fenster sichtbar */
.newwindow:target {
    display: block;
    animation: einblenden 2s;
}

@keyframes einblenden {
    0% {
        opacity: 0;
        /*scale: 0.8;*/
    }

    100% {
        opacity: 1;
        /*scale: 1;*/
    }
}


/* ---- Link zum Schliessen - wählt den Link von :target ab */
.close {
    position: absolute;
    bottom: 0.5em;
    right: 0.5em;
}


/* ####################  Kontakt - Impressum - DSGVO - Cookies ########################################## */

/* ------- genrelle Anpassung -----------------------------------------------*/


/* ------- Anpassen - Impressum - DSGVO - Cookies --------------------- */
#seite5 header,
#seite6 header,
#seite7 header,
#seite8 header {
    height: 25vh;
    background-position: center center;
    background-size: 50% auto;
}

#seite5 .leitsatz,
#seite6 .leitsatz,
#seite7 .leitsatz,
#seite8 .leitsatz,
#kontakt .info,
.kontaktform,
.inhalt-impressum,
.inhalt-dsgvo{
    width: 60vw;
    margin: 1em auto 2em auto;
    padding: 5vh 2vw;
    background-color: darkblue;
    color: white;
    border: 0px solid darkblue;
    border-radius: 1rem;
    box-shadow: 5px 5px 20px 10px white;
}


/* ########################### #seite5 - Kontakt ########################################################*/

.kontaktform h3 {
    color: red;
}

.kontaktform li {
    list-style: none;
}

.kontaktform span {
    color: red;
}

.kontaktform label {
    float: left;
    width: 40%;
    margin-right: 1em;
    padding: 0.25em;
}

.kontaktform input {
    width: 45%;
    height: 3em;
    font-size: 0.8em;
    border: 1px solid lightgray;
}

.kontaktform input#firma {
    border-top-right-radius: 1em;
    border-top-left-radius: 1em;
}    

.kontaktform textarea {
    width: 45%;
    height: 10em;
    font-size: 0.8em;
    border: 1px solid lightgray;
}

.kontaktform textarea:first-of-type {
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;

}    
.kontaktform button {
    position: relative;
    width: 8em;
    height: 2em;
    left: 55%;
    font-size: 1.25em;
    background-color: white;
    border: 1px solid lightgray;
    border-radius: 1em;
    box-shadow: 2px 2px 5px 2px lightgray;
}


/* ########################### #Seite8 - Cookies - immer volle Höhe ##################################### */

#seite8 {
    min-height: 100vh;
}

#seite8 .leer-top {
    display: none;
}

#seite8 h1 {
    border: 6px dotted orange;
    width: 60vw;
    margin: 1em auto 0em auto;
    padding: 4vh 2vw 2vh 2vw;
    background-color: darkblue;
    color: white;
    border: 0px solid darkblue;
    border-radius: 1rem 1rem 0em 0em;
    box-shadow: 5px 0px 20px 5px white;
}
#seite8 .inhalt-cookies {
     text-align: center;
     width: 60vw;
     margin: 0em auto 1em auto;
     padding: 3vh 2vw 3vh 2vw;
     background-color: darkblue;
     color: white;
     border: 0px solid darkblue;
     border-radius: 0em 0em 1rem 1rem;
     box-shadow: 5px 10px 20px 0px white; 

}

#seite8 footer {
      position: fixed; 
      width: 100vw; 
      left: 0px;
      bottom: 0px; 
      height: auto;
    }



/* -------------------------- */
/* ####################################### Anpassung an die viewports ###########################################*/
/* -------------------------- */

@media all and (max-width: 2200px) {
    body {
    font-size: 2em;
    }

    #seite1 header {
        background-image: url(./bilder/img9_2000.jpeg);
    }

    #seite2 header {
        background-image: url(./bilder/img3_2000.jpeg);
    }

    #seite3 header {
        background-image: url(./bilder/img6_2000.jpeg);
    }

    #seite4 header {
        background-image: url(./bilder/img5_2000.jpeg);
    }

    #down-link img {
        width: 75px;
        height: 75px;
    }

    #top-link img {
        width: 75px;
        height: 75px;
    }

    #seite8 .leitsatz {
        margin: 0em auto 0em auto;
        /* border-radius: 1rem; */
    }

    #kontakt .info,
    .kontaktform,
    .inhalt-impressum,
    .inhalt-dsgvo,
    .inhalt-cookies {
        width: 60vw;
    }

    .inhalt-cookies {
        margin: 1em auto 1em auto;
    }
}

@media all and (max-width: 1800px) {
    body {
    font-size: 1.5em;
    }

    #top-link {
        left: 80vw;
    }

    #down-link img {
        width: 50px;
        height: 50px;
    }

    #top-link img {
        width: 50px;
        height: 50px;
    }
    #seite5 .leitsatz,
    #kontakt .info,
    #kontakt .kontaktform {
        width: 65vw;
    }
}


@media all and (max-width: 1500px) {
    body {
    font-size: 1.15em;
    }

    #down-link img {
        width: 50px;
        height: 50px;
    }

    #top-link {
        left: 90vw;
    }
    #top-link img {
        width: 50px;
        height: 50px;
    }

    #example-pages .close img {
        width: 50px;
        height: 50px;
    } 

    #impressum .leitsatz,
    #dsgvo .leitsatz,
    #kontakt .leitsatz,
    #kontakt .info,
    #kontakt .kontaktform,
    .inhalt-impressum,
    .inhalt-dsgvo,
    .inhalt-cookies {
        width: 75vw;
    }

    .kontaktform  form {
        width: 100%;
    }

    #seite8 .leitsatz {
        margin: 0em auto 1.5em auto;
        border-radius: 1rem;
    }

}


@media all and (max-width: 899px) and (orientation: portrait) {
   
    body {
        width: 100vw;
    }
    
    header {
        top: 0;
        height: 100vh;
    }
    
    #seite1 header {
        background-image: url(./bilder/img9_1000.jpeg);
    }

    #seite2 header {
        background-image: url(./bilder/img3_1000.jpeg);
    }

    #seite3 header {
        background-image: url(./bilder/img6_1000.jpeg);
    }

    #seite4 header {
        background-image: url(./bilder/img5_1000.jpeg);
    }
    
    #seite5 header,
    #seite6 header,
    #seite7 header,
    #seite8 header {
        height: 15vh;
        background-position: right center;
        background-size: 50% auto;
    }
    
    #nav-desktop {
        display: none;
    }

    #nav-linecross {
    display: block;
    top: 1vh;
    }
    
    /* ##################################################### */
    /* ################      seite1     #################### */ 
    /* ##################################################### */
    
    /* ############# display: grid aufheben  ############### */
    
    
    #welcome .text,
    #inhalt section
    {
        display: block;
    }
    
    /* ############# styles zurücksetzen     ############### */
    .leitsatz,
    .willkommen,
    #welcome .text,
    #welcome .links,
    #welcome .rechts {
        width: 100vw;
        margin: 0;
        padding: 0;
    }

    #inhalt, 
    #inhalt section,
    #inhalt .text {
        width: 90vw;
        left: 0;
        margin: 0;
        padding: 0;
    }   

    /* ############# neues Styling ########################## */

    body {
        font-size: 1rem;
    }
    .leitsatz {
        font-weight: 400;
    }

    /* #############  ausrichten ############################ */
 
    .leitsatz {
        width: 92vw;
        margin: 5vh 2vw 10vh 2vw;     
        padding: 4vh 2vw 4vh 2vw;  
    }

    .willkommen,
    #welcome .rechts,
    #welcome .links
    {
        width: 88vw;
        margin: 10vh 2vw;     
        padding: 4vw;   
    }
    
    #inhalt section {
        width: 96vw;
        margin: 10vh 2vw;
        background-color: darkblue;
    }
    
    #inhalt .text {
        width: 88vw;
        padding: 4vw;
    }
    #inhalt img {
        width: 96vw;
    }

    /* radien bei img und Text anpassen */
    #inhalt section:nth-of-type(odd) .text {
        border-radius: 0em 0em 1rem 1rem;
    }
    
    #inhalt section:nth-of-type(odd) img {
        border-radius: 1rem 1rem 0em 0em;
    }
    
    #inhalt section:nth-of-type(even) .text {
        border-radius: 0em 0em 1rem 1rem;
    }
    
    #inhalt section:nth-of-type(even) img {
        border-radius: 1rem 1rem 0em 0em;
    }
    .leer-center {
        width: 96vw;
        margin: 5vh 2vw 5vh 2vw; 
    }
    


    #seite1 #background-desktop {
        background-image: url(./bilder/gvs_1000.jpeg);
    }

    footer {
        grid-template-columns: repeat(1, 1fr);
        height: auto;
        padding-top: 2em;
        padding-bottom: 2em;
    }
    
    /* berechnen der notwendigen Breite mit padding 1em + 1em */
    #foot p {
        width: calc(100vw - 2em);  
        padding-top: 1em;
    }

    #down-link {
        position: absolute;
        top: 85%;
        left: 45%;
    }
    
    #top-link {
        position: fixed;
        top: 85%;
        left: 75%;
    }

    #down-link img,
    #top-link img {
        width: 35px;
        height: 35px;
    }

    .leer-bottom {
        margin: 5vh;
    }

     /*############################# Webdesign - #webdesign ######################################### */

    #webdesign article {
        display: block;
    }
    
    #webdesign section {
        display: flex;
        flex-direction: column;
        width: 90vw;
        margin: 10vh 2vw;
        justify-content: space-evenly;
    }

    #webdesign figure {
        width: 90vw;
        margin: 4vh 2vw;
        padding: 4vh 2vw;
    }
    
    #webdesign figure img {
        width: 90%;
        height: 90%;
        object-fit: cover;
    }

    #webdesign figurecaption {
        text-align: center;
    }

    /* ##################################### Leistungen - #services - #seite4 ########################## */

    #services section {
        display: flex;
        flex-direction: column;

        /* space-evenly erzeugt space in x UND y Richtung */
        justify-content: space-evenly;
    }

    #services section:nth-of-type(9) {
        width: 88vw;
        margin: 10vh 2vw;
    }


    /* ################################## #seite4 - Leistungen - services ########################## */ 

    #services article {
        display: block;
    }
    
    #services section {
        width: 88vw;
        margin: 10vh 2vw;
    }


    /* ##################################### Beispielwebseiten  - #example-pages ####################### */

    #example-pages .leitsatz {
        box-shadow: 1px 2px 30px 8px white inset;
    }

    #example-pages section {
        border: 0px solid darkblue;
        margin: 10vh 2vw;
        padding: 5vh 2vw;

    }
    .big {
        top: 30vh;
    }

    #example-pages .flex-container {
        display: block;
    }

    #example-pages section {
        margin-top: 1em;
    }

    #wcam2012 .link-inaktiv {
        pointer-events: none;
        cursor: default;
    }

    #example-pages .close img {
        width: 40px;
        height: 40px;
        top: 5vw;
        left: 75vw;
    }    



    /* ######################### #seite5 bis #seite8 - header und inhalte ########################## */ 
        #seite5 header,
        #seite6 header,
        #seite7 header,
        #seite8 header {
            height: 15vh;
            background-position: right center;
            background-size: 50% auto;
        }

        #seite5 .leitsatz,
        #seite6 .leitsatz,
        #seite7 .leitsatz,
        #seite8 .leitsatz {
            width: 92vw;
            padding: 5vh 2vw;
            margin: 10vh 2vw;
            font-size: 1em;
            border-radius: 1rem;
        }
        
        #kontakt .info,
        #kontakt .kontaktform,
        .inhalt-impressum,
        .inhalt-dsgvo {
            width: 92vw;
            margin: 10vh 2vw;
            padding: 5vh 2vw;
            border-radius: 1rem;
        }        
        
        #seite8 h1,
        #seite8 .inhalt-cookies {
            width: 92vw;

        }

        #seite8 .inhalt-cookies {
            margin-bottom: 10vh;
        }
    
    /* ############################### #seite5 - kontakt ############################################ */



    #kontakt ul {
        margin-block-start: 0;
        padding-left: 0;
    }
    
    .kontaktform  {
        padding: 0;
    }

    .kontaktform label {
        width: 88vw;
    }

    .kontaktform input {
        width: 88vw;
    }
    
    .kontaktform textarea {
        width: 88vw;
    }

    .kontaktform button {
        left: 30%;
        width: 40%;
        margin-bottom: 2vh;
    }


    /* ############################### #seite8 - Cookies ############################################# */ 

    #seite8 footer {
        position: relative;
    }
}


@media all and (max-width: 999px) and (orientation: landscape) {

    body {
        font-size: 1em;
    }

    #nav-desktop {
        display: none;
    }

    #nav-linecross {
        display: block;
        top: 1vh;
    }

    #seite1 header {
        background-image: url(./bilder/img9_1000.jpeg);
    }

    #seite2 header {
        background-image: url(./bilder/img3_1000.jpeg);
    }

    #seite3 header {
        background-image: url(./bilder/img6_1000.jpeg);
    }
    
    #seite4 header {
        background-image: url(./bilder/img5_1000.jpeg);
    }

    #top-link,
    #down-link {
        top: 80vh;
    }

    #down-link img,
    #top-link img {
        width: 35px;
        height: 35px;
    }

    #seite1 #background-desktop {
        background-image: url(./bilder/gvs_1000.jpeg);
    }

    footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    #seite5 header,
    #seite6 header,
    #seite7 header,
    #seite8 header {
        height: 30vh;
        background-position: right center;
        background-size: 50% auto;
    }

    #example-pages .close img {
        top:5vh;
    }

   #seite8 footer {
        position: relative;
    }

} 

