/*Allgemeine Einstellungen*/
*{
    font-size: 62,5%;
    box-sizing: border-box;
}
body {
    margin: 0px;
    padding: 0px;
    background-color: white;
    color: black;
    font-family: 'Montserrat', sans-serif;
    
    
    background-image: url("../images/b3.jpg");
    background-size: 100% 100%;
    

}

p {
    font-size: 20px;
    text-align: center;

}

/*Obere Leiste*/

.dropdown {
    position: relative;
    display: none;
    float:right;
    margin: 21px 40px 10px 10px;
    cursor: pointer;
}

.dropbtn {
  background-color: #0074D9;
  color: white;
  padding: 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropbtn:focus {
    border-style: none;
    outline: none;
    background-color: #4dacff;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
    right: 0;
}

.nodisplay {
    display: none;
}

.blockdisplay {
    display:block;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}


/* Show the dropdown menu on hover 
.dropdown:hover .dropdown-content {
  display: block;
}*/

/* Change the background color of the dropdown button when the dropdown content is shown */


#obereleiste {
    width: 100%;
    height: 100px;
    background-color: white;
    color: black;
    float: left;
    position: fixed;
    display: inline-block;
    z-index: 1000;
    transition: 0.5s;
    box-shadow: 2px 2px 5px 0px gray;
    visibility: visible;
}

.topleiste-platzhalter {
    height: 100px;
    width: 100%;
}


#blauesquadrat {
    background-color: #0074D9;
    width: 30px;
    height: 30px;
    float: left;
    transition-duration: 1.0s;
    transition-delay: 0.1s;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-name: drehen;
    /*cursor: pointer;*/
    margin: 35px 15px 10px 20px;

}

#headname {
    font-size: 30px;
    margin: 26px 0px 10px 10px;
    width: 355px;
    float: left;
}

.pagecolor:hover {
    color: #0074D9;
}


.imagebig {
    font-size: 50px;
    margin: 15px;
    color: black;
}


#obereleiste ul {

    font-size: 18px;
    margin: 0px;
    margin-right: 50px;
    padding: 0px;
    list-style: none;
    float: right;
}

#obereleiste li {
    float: left;
    margin: 39px 5px 5px 20px;
    text-decoration: none;
    border-bottom-style: solid;
    border-color: white;
    color: black;
    filter: brightness(70%);
}

/*
li::after {
      content: " ";
      position: absolute;
      top: 106%; 
      left: 50%;
      margin-left: -10px;
      border-width: 10px;
      border-style: solid;
      border-color: white transparent transparent transparent;
    filter: brightness(70%);              
}
*/

/*Allgemeine Komponenten*/

.flex-center {
    display: flex;
    justify-content: center;
}

.btn-down {
    margin: 10px;
    padding: 10px;
    width: 150px;
    height: 45px;
    border: 2px solid grey;
    border-radius: 6px;
    outline: none;
    font-size: 16px;
}

li .btn-down {
    margin: 10px 10px 10px 0px;
    padding: 10px;
    width: 150px;
    height: 45px;
    border: 2px solid white;
    color: white;
    border-radius: 6px;
    outline: none;
    font-size: 16px;
    background-color: #4dacff;
}

.btn-down:hover{
    border-color: #0074D9;
    animation: pulse 1s;
    color: #0074D9;
    cursor: pointer;
}

.btn.down:active{
    background-color: #4dacff;
}

.btn.down:focus{
    background-color: #4dacff;
}

.btn-white {
    border-color: white;
    background-color: #4dacff;
    color: white;
    margin-left: 18px;
    margin-top: -5px;
}


.container-l, .container-xl, .container-m, .container-s {
    width: 400px;
    height: 500px;
    background-color: white;
    margin: 10px;
    position: relative;
    float: left;
    /*box-shadow: 2px 2px 5px 0px gray;*/
    box-shadow: 0px 0px 0px 1px rgba(209,209,209,1);
    padding: 15px;
    animation-duration: 0.5s;
    transition-duration: 0.5s;

}

.middleout {
    display: flex;
    justify-content: center;
}

.noborder {
    border: none;
}

.container-xl {
    width: 500px;
    height: 600px;                
}

.container-m {
    width: 350px;
    height: 300px;                
}

.container-s {
    width: 250px;
    height: 300px;                
}

.bordertop {
    border-top-style: solid;
    border-top-width: 8px;
    border-top-color: #0074D9;
}

.borderleft {
    border-left-style: solid;
    border-left-width: 8px;
    border-left-color: #0074D9;
}

.borderbottom {
    border-bottom-style: solid;
    border-bottom-width: 8px;
    border-bottom-color: #0074D9;
}

.borderright {
    border-right-style: solid;
    border-right-width: 8px;
    border-right-color: #0074D9;
}


/*Hintergrund 1*/
#hintergrund1 {
    background-size: cover;
    width: 100vw;
    height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;

}

#eh {
    font-size: 30px;
}

#eh::before {
    content: "";
    width: 30px;
    height: 4px;
    background-color: #0074D9;
    position: absolute;
    margin-top: 20px;
    margin-left: -40px;                
}

#eh::after {
    content: "";
    width: 30px;
    height: 4px;
    background-color: #0074D9;
    position: absolute;
    margin-top: 20px;
    margin-left: 9px;                
}

#circle-pic {
    width: 220px;
    height: 250px;
    background-image: url(../images/bewerbungsbild.jpeg);
    background-size: cover;
    border-radius: 30%;
    margin: auto;
    position: relative;
    background-color: white;

}

#h1-p {
    font-size: 35px;
}

#h1-balken1 {
    width: 100px;
    height: 4px;
    background-color: #0074D9;
    position: relative;
    margin: auto;
    margin-top: -10px;
}

#h1-balken2 {
    width: 100px;
    height: 4px;
    background-color: #0074D9;
    position: relative;
    margin: auto;
    margin-top: 30px;
    margin-bottom: -10px;
}

/*Hintergrund 2*/
.wrap {
    width: 100vw;
    display:flex;
    justify-content: center;
}

#hintergrund2 {
    background-size: cover;
    width: 820px;
    height: 4000px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
    overflow:hidden;
    margin-bottom: 150px;
}

#hintergrund2 h1 {
    font-size: 30px;
    font-family: 'Montserrat', sans-serif;
    line-height: 35px;
}

#hintergrund2 p {
    text-align: left;
    padding-left: 10px;
}

#hintergrund2 ul {
    font-size: 20px;
}

#hintergrund2 li {
    padding: 7px;
}

#hintergrund2 table{
    margin-top: 15px;
    font-size: 20px;
    color: white;
    border-collapse: collapse;
}

#hintergrund2 td {
    padding: 0px 5px 0px 10px;
    height: 60px;
}

#res-facts, #res-tl-ed, #res-tl-work, #res-lang, #res-prolang, #res-eng, #res-edv, #res-down {
    padding-top: 10px;
    top: 120px;
    flex-grow: 1;
    flex-shrink: 1;
    box-shadow: none;
    /*background-color: #0074D9;*/
    color: white;
    /*opacity: 0.7;*/
    background-color: #4dacff;
    transition-duration: 0.2s;
    transition-timing-function:ease-out;
}

/*todo
https://codepen.io/Miriali/pen/JjGOJwY
*/

#res-eng {
    height: 300px; 
}

/*
#res-down {
    height:260px;
}
*/

#res-tl-ed {
    height: 1350px;
}

#res-tl-work {
    height: 1150px;
}

time {
    font-style: italic;
    font-weight: bold;
}

.timeline ul {
    padding: 30px 0;
}

.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 6px;
  margin: 0px 0px 0px 20%;
  padding-top: 50px;
  background: #fff;
}


/*Punkte*/
.timeline ul li::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: inherit;
}

/*Kasten*/
.timeline ul li div {
  position: relative;
  bottom: -15;
  width: 400px;
  padding: 15px;
  border-style:solid;
}

/*kleiner pfeil*/
.timeline ul li div::before {
  content: '';
  position: absolute;
  bottom: 7px;
  width: 0;
  height: 0;
  border-style: solid;
}


/*Divposition*/
.timeline ul li:nth-child(odd) div {
    left: 45px;
    margin-top: 20px;
}

/*kleiner Pfeil*/
.timeline ul li:nth-child(odd) div::before {
  left: -17px;
  border-width: 8px 16px 8px 0;
  border-color: transparent white transparent transparent;
}

/*Divposition*/
.timeline ul li:nth-child(even) div {
    left: 45px;
    margin-top: 20px;
}

/*kleiner Pfeil*/
.timeline ul li:nth-child(even) div::before {
  left: -17px;
  border-width: 8px 16px 8px 0;
  border-color: transparent white transparent transparent;
}

/*.timeline ul li:nth-child(even) div {
  left: -439px;
}

.timeline ul li:nth-child(even) div::before {
  right: -15px;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #F45B69;

}*/


#res-facts {
    order: 3;
}
#res-lang {
    order: 4;
}
#res-edv {
    order: 5;
}
#res-prolang {
    order: 6;
}
#res-eng {
    order: 8;
}
#res-tl-ed {
    order: 2;
}
#res-tl-work {
    order: 1;
}

#res-down {
    order:7;
}






/*Hintergrund 3*/
#hintergrund3 {
    background-size: cover;
    width: 100vw;
    height: 800px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 30px;
    margin-bottom: 150px;
}

/*Testkörper innerhalb des Carousel*/

.owl-carousel {
    color: black;

}

.owl-theme {

}

/*ganze Reihe*/
.owl-card {
    display: flex;
    justify-content: center;
    align-content: center;
}

/*blauer Boy-Container*/
.owl-box {
    height: 700px;
    width: 800px;
    background-color: #4dacff;
    display: relative;
}

/*Inhalte*/
.owl-pic{
    width: 100%;
    height: 350px;
    background-color: white;
    float:left;
    background-position: left;
    background-repeat: no-repeat;
    border-bottom-style: solid;
    border-bottom-width: 5px;
    border-bottom-color: white;
    /*
    1. background-image: url(url eingeben);
    2. background-size: separat ausfüllen
    */
}

#bild1-1 {
    background-image: url(../images/ap2.jpg);
    background-size: cover;
    background-position: center;
}

#bild1 {
    background-image: url(../images/goldbeck-pic2.jpg);
    background-size: cover;
    background-position: center;
}

#bild2 {
    background-image: url(../images/tud2.jpg);
    background-size: cover;
    background-position: center;
}

#bild3 {
    background-image: url(../images/rosendom.jpg);
    background-size: cover;
    background-position: top;
}

#bild4 {
    background-image: url(../images/blank2.jpg);
    background-size: cover;
    background-position: center;
}

#bild5 {
    background-image: url(../images/bundestag2.jpg);
    background-size: cover;
    background-position: center;
}

#bild6 {
    background-image: url(../images/populism2.jpg);
    background-size: cover;
    background-position: center;
}

#bild7 {
    background-image: url(../images/eisenbahn.jpg);
    background-size: cover;
    background-position: center;
}

#bild8 {
    background-image: url(../images/logistic.jpg);
    background-size: cover;
    background-position: center;
}

#bild9 {
    background-image: url(../images/aalto.jpg);
    background-size: cover;
    background-position: center;
}

.weißebox {
    width: 300px;
    height: 60px;
    background-color: none;
    margin: auto;
    padding-top: 10px;

}


/*
#bild2 {
    background-image: url(url eingeben);
    background-size: separat ausfüllen;
}
*/

.owl-innerbox{
    width: 50%;
    height: 350px;
    background-color: none;
    float: left;
}

.owl-carousel ul {
    font-size: 20px;
}

.owl-carousel li {
    padding: 3px 0px 0px 0px;
    color: white;
}

.owl-carousel p {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 20px;
    text-align: justify;
    color: white;

}

.owl-carousel h1 {
    font-size: 35px;
    border-style: solid;
    border-color: white;
    border-right-style: none;
    border-left-style: none;
    color: white;
    margin-top: 15px;
    padding-left: 10px;
    margin-right: 0px;
    line-height: 40px;
}

.borderleftw {
    border-left-style: solid;
    border-color: white;
}



/*Navigation & Punkte*/
.owl-nav button{
    width:50px;
}

.owl-prev:hover, .owl-next:hover {
    background-color: #4dacff !important;
    border-style: none !important;
    outline: none !important;
}

.owl-prev.visited {
    background-color: red !important;
}

.owl-nav {
    font-size: 20px;
}

.owl-dots {
    text-align: center;
    margin-top: 0px;
}

/*
.owl-dot {
    margin: 5px;
    outline: none!important;
    border-radius: 50%;
    border: 0px none #4dacff!important;
    transition: all 0.3s ease;
    background-color: red !important;
}*/

/*
.owl-dot.active {
    color: red !important;
    background-color: red !important;
    border-radius: 50%;
}*/

/*
.owl-dot.active,
.owl-dot:hover {
    background: #4dacff!important;
    border-radius: 50%;
}*/


#hintergrund3-1 {
    background-size: cover;
    width: 820px;
    height: 3200px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    padding-top: 30px;
    flex-wrap: wrap;
    flex-direction: row;
    overflow:hidden;
    margin-bottom: 100px;
}

#hintergrund3-1 p {
    text-align: justify;
    margin-top: 0px;
}

#hintergrund3-1 h2 {
    margin-top: 40px;
    padding-left: 10px;
}

#hintergrund3-2 {
    background-size: cover;
    width: 820px;
    height: 2500px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    padding-top: 30px;
    flex-wrap: wrap;
    flex-direction: row;
    overflow:hidden;
    margin-bottom: 100px;
}

#hintergrund3-2 p {
    text-align: justify;
    margin-top: 0px;
}

#hintergrund3-2 h2 {
    margin-top: 40px;
    padding-left: 10px;
}

#th-1 {
    order: 1;
    width: 820px;
    margin: 10px;
    height: 100px;
    padding: 15px 10px 10px 10px;
    box-shadow: none;
}

#heuristik {
    order: 2;
    width: 97%;
    height: auto;
    margin: 0px;
    padding: 0px;
    background-color: white;
}

#heuristik2 {
    order: 2;
    width: 97%;
    height: auto;
    margin: 0px;
    padding: 0px;
    background-color: white;
    box-shadow: 0px 0px 0px 1px #0074D9;
}

.heuristik3 {
    order: 2;
    width: 100%;
    height: auto;
    margin: 0px;
    padding: 0px;
    background-color: white;
    
}

#th-2 {
    order: 3;
    width: 820px;
    height: 600px;
    margin: 10px;
    padding-top: 5px;
    box-shadow: 0px 0px 0px 1px #0074D9;
}

#th-7 {
    order: 3;
    width: 820px;
    height: 1500px;
    margin: 10px;
    padding-top: 5px;
    box-shadow: 0px 0px 0px 1px #0074D9;
}

#th-2-2 {
    order: 4;
    width: 820px;
    margin: 10px;
    height: 90px;
    padding: 15px 10px 10px 10px;
    box-shadow: none;
}

#th-2-2 h2 {
    margin-left: 0px;
    margin-top: 10px;
}

#benchmark {
    width: 97%;
    height: auto;
    order: 5;
    margin: 10px 10px 10px 10px;
    box-shadow: 0px 0px 0px 1px rgba(209,209,209,1);
    
}

#th-3 {
    order: 6;
    width: 820px;
    height: 150px;
    margin: 10px;
    padding: 10px;
    box-shadow: 0px 0px 0px 1px #0074D9;
}

#th-4 {
    order: 7;
    width: 820px;
    margin: 10px;
    height: 90px;
    padding: 15px 10px 10px 10px;
    box-shadow: none;
}

#th-4 h2 {
    margin-left: 0px;
    margin-top: 10px;
}

#tabusearch {
    width: 97%;
    height: auto;
    order: 8;
    margin-top: 10px;
    margin: 10px;
    box-shadow: 0px 0px 0px 1px rgba(209,209,209,1);
}

#th-5 {
    order: 9;
    width: 820px;
    height: 300px;
    margin: 10px;
    padding: 10px;
    box-shadow: 0px 0px 0px 1px #0074D9;
}

#th-6 {
    order: 10;
    width: 820px;
    height: 140px;
    margin: 10px;
    padding: 0px 10px 10px 10px;
    box-shadow: 0px 0px 0px 1px #0074D9;
}

#th-6 h2 {
    margin-top: 10px;
    padding-left: 0px;
    color: #0074D9;
    margin-bottom: 0px;
}

#th-6 .res-hr {
    background-color: #0074D9;
    border-color: #0074D9;
    margin-bottom: 5px;
}

#th-6 .btn-down {
    color: #0074D9;
    width: 200px;
    float: left;
}



/*Hintergrund 4*/
#hintergrund4 {
    background-size: cover;
    width: 100vw;
    height: 800px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 30px;
}

.oben  {
    top: 0px;
}

#contact-h1 {
    margin: 10px 0px 5px 10px;
}

.zitat {
    margin-top: -15px;
    margin-bottom: 0px;
}

.contactform {
    margin-top: 25px;
    text-align: justify;
}

.contactform2 {
    margin-top: 10px;
    text-align: justify;
}

#hintergrund4 table{
    margin-top: 0px;
    font-size: 20px;
    color: black;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.fs30 {
    font-size: 35px;
    padding-right: 50px;
}

#hintergrund4 td {
    padding: 10px 0px 10px 10px;
    height: 30px;
}

#contact-name:focus, #contact-email:focus, #contact-tel:focus, #contact-subject:focus, #contact-textarea:focus {
    border-color: #0074D9;

}

#contact-name, #contact-email, #contact-tel, #contact-subject {
    margin: 10px;
    width: 350px;
    height: 45px;
    border: 2px solid grey;
    border-radius: 6px;
    outline: none;
    padding-left: 10px;
}

#contact-textarea {
    margin: 10px;
    resize: none;
    width: 350px;
    height: 190px;
    border: 2px solid grey;
    border-radius: 6px;
    outline: none;
    padding-left: 10px;
    padding-top: 10px;
}

#contact-submit {
    margin: 10px;
    width: 130px;
    height: 45px;
    border: 2px solid grey;
    border-radius: 6px;
    outline: none;

}

#contact-submit:hover {
    border-color: #0074D9;
    animation: pulse 1s;
}

/*Footer*/
#hintergrund5 {
    background-color: #aaa;
    background-size: cover;
    width: 100vw;
    height:40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#hintergrund5 a {
    text-decoration: underline;
    cursor: pointer;
}


#contact-span{
    height: 2px;
    width: 100%;
    background-color: #0074D9;
    margin-left: 5px;


}

hr {
    margin: 5px 0px 5px 0px;
}

.res-hr {
    border-bottom: 3px solid white;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
}

/*Animation & Action section*/

/*
a:link, a:visited {
    text-decoration: none;
    border-bottom-style: solid;
    border-color: white;
    color: black;
    filter: brightness(70%);
}
*/


#res-facts:hover, #res-tl-ed:hover, #res-tl-work:hover, #res-lang:hover, #res-prolang:hover, #res-eng:hover, #res-edv:hover{
    /*opacity: 1.0;*/
    background-color: #0074D9;
}

#obereleiste li:hover {
    filter: grayscale(200%);
    border-bottom-style: solid;
    transition-duration: 0s;
    border-bottom-color: black;
    cursor: pointer;
}

@keyframes pulse {
    0% { box-shadow: 0px 0px 0px 0px rgba(0,116,217,1)}
    100% { box-shadow: 0px 0px 0px 30px rgba(0,116,217,0)}
}


@keyframes drehen {
    0%  {transform: rotate(0deg)}
    100% {transform:rotate(360deg)}

}

@keyframes wackeln  {
    0% {transform: translate(-5%,0)}
    50% {transform: translate(5%,0)}
    100% {transform: translate(-5%,0)}
}

@keyframes buttonmove {
  0% {
    transform: translate(0px, -10px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(0px, 10px);
    opacity: 0;
  }
}

/*@keyframes lichteffekt {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    box-shadow: 0 0 0 60px rgba(255,255,255,.1);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}*/

/*@keyframes zoomanim {
    0%  {transform: scale(1.0)}
    100% {transform: scale(1.1)}                           
}*/



.wackeln {
    animation-name: wackeln;
    animation-iteration-count: infinite;
    animation-duration: 0.5s;
}

.zoom {
    transform: scale(1.07);
}

/*.lichteffekt {
    animation: lichteffekt 3s infinite;
}*/

.buttonmove {
    animation-name: buttonmove;
    animation-delay: 3s;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    cursor: pointer;
    color: #0074D9;
}

/*Testing area*/

.timeline ul li::after {
    transition: background .5s ease-in-out;
}

.timeline ul li.in-view::after {
    border-style: solid;
    border-color: #0074D9;
    background: lightgrey;
    z-index: 1;
}

.timeline ul li div {
    visibility: hidden;
    opacity: 0;
    transition: all .5s ease-in-out;
}

.timeline ul li:nth-child(odd) div {
    transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(even) div {
    transform: translate3d(-200px, 0, 0);
}

.timeline ul li.in-view div {
    transform: none;
    visibility: visible;
    opacity: 1;
}



/* *******MEDIA******* */
/*
@media only screen and (max-width: 1100px) {

}
*/

@media only screen and (max-width: 1100px) {
    #hintergrund4 {
        height: 1700px;
        display: block;
        justify-content: none;
        align-content: none;
        align-items: none;
        padding-top: 30px;
    }

    .contact1, .contact2 {
        float: none;
        margin:auto;
        margin-top: 20x;
        margin-bottom: 40px;
    }

}

@media only screen and (max-width: 1088px) {
    .dropdown {
        display: inline-block;
    }   
    #navigation {
        display: none;
    }

    .zoom {
        transform: none;
        z-index: 0;
    }
}

@media only screen and (max-width: 900px) {
    #hintergrund1 {
        display: block;
        height: 1100px;
    }

    .container-l {
        float:none;
        margin-left: auto;
        margin-right: auto;
        margin-top: 30px;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 880px) {
    #hintergrund3-1 {
        margin-right: 15px;
    }
    
    #benchmark, #tabusearch {
        width: 97%;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    
    
}

@media only screen and (max-width: 850px) {
    #hintergrund3 {
        height: 1300px;
    }


    .owl-card {
        background-color: none;

    }    

    .owl-box {
        display: relative;
        height:1000px;
        width: 100%;
        float: none;
        background-color: none;
    }

    .owl-pic {
        display: block;
        float: none;
        height: 300px;

    }

    .owl-innerbox {
        width: 90%;
        height: 280px;
        display: block;
        float: none;
        margin: auto;
    }

    .owl-innerbox h1 {

    }

    .owl-nav {
        display: none;
    }

    .borderleftw {
        border-style: none;
        border-top-style: solid;
        border-color: white;
    }
    
    #hintergrund2 {
        margin-right: 15px;
    }
    
    #th-3 {
        height: 170px;
    }
    
    #th-5 {
        height: 330px;
    }
    
    #hintergrund3-1 {
        
    }
    #res-eng {
    height: 350px;
    }
    
}

@media only screen and (max-width: 750px) {
    #hintergrund2 {
        height: 4600px;

    }
    
    

    
    
}

@media only screen and (max-width: 700px) {
    #th-2 {
        height: 700px;    
    }
    
    #th-3 {
        height: 220px;
    }
    
    #th-5 {
        height: 400px;
    }
    #th-6 {
        height: 200px;
    }
    #res-eng {
    height: 500px;
    }
    
}

@media only screen and (max-width: 650px) {


    .timeline ul li {
      background: none; /*hier steckt der vertikale balken drin!*/
    }


    /*Punkte*/
    .timeline ul li::after {
      display: none;
    }

    /*kleiner pfeil*/
    .timeline ul li div::before {
      display: none;
    }


    /*Divposition*/
    .timeline ul li:nth-child(odd) div {
        left: -90px;
        margin-top: 20px;
    }

    /*kleiner Pfeil*/
    .timeline ul li:nth-child(odd) div::before {
      display: none;
    }

    /*Divposition*/
    .timeline ul li:nth-child(even) div {
        left: -90px;
        margin-top: 20px;
    }

    /*kleiner Pfeil*/
    .timeline ul li:nth-child(even) div::before {
      display: none;
    }


    .timeline ul li::after {
    display: none;
    }
    
    
    
    #hintergrund2 {
    height: 4800px;
    }

}

@media only screen and (max-width: 560px) {
    #th-2 {
        height: 820px;    
    }
    
    #th-3 {
        height: 340px;
    }
    
    #th-5 {
        height: 630px;
    }
    
    #hintergrund3-1 {
        height: 3500px;
    }
}

@media only screen and (max-width: 555px) {
    #headname {
        width: 150px;
        font-size: 20px;
    }

    .contact1 {
        width: 100%;
    }

    .contact1 p {
        padding-right: 20px;
    }

    .contact2 {
        width: 100%;
    }

    #res-eng {
    height: 600px;
    }

    #hintergrund2 {
        height: 4800px;
    }

    .owl-innerbox {
        height: 350px;
    }

}

/*********SMARTPHONE********/
@media only screen and (max-width: 450px) {
    .container-l {
        width: 100%;            

    }

    #contact-name, #contact-email, #contact-tel, #contact-subject, #contact-textarea {
        width: 100%;
        margin-left: 5px;
    }

    #contact-submit {
        margin-left: 5px;
    }

    .contact1 {
        height: 720px;
    }

    .owl-box {
        height: 1200px;
    }
    .owl-innerbox {
        height: 400px;
    }

    .timeline ul li div {
        position: relative;
        bottom: -15;
        width: 400px;
        padding: 15px;
        border-style:solid;

        border-left-style: none;
        border-right-style: none;
        border-bottom-style: none;
        padding-right: 70px;
    }

    #hintergrund2 {
        height: 5000px;
        margin-right: 0px;
    }

    #res-tl-ed {
        height: 1600px;
    }

    #res-tl-work {
        height: 1100px;
    }

    #hintergrund4 table {
        font-size: 15px;
    }

    #hintergrund5 {
        height: 80px;
        line-height: 25px;
    }
    
    #th-2-2 {
        height: 140px;
    }
    
    #th-2 {
        height: 900px;    
    }
    
    #th-3 {
        height: 400px;
    }
    
    #th-5 {
        height: 650px;
    }
    
    #th-6 {
        height: 270px;
    }
    
    #th-7 {
        height: 1580px;
    }
    
    #hintergrund3-1 {
        height: 3800px;
    }
    
    #hintergrund3-2 {
        height: 2400px;
    }
    
    
    #hintergrund3-1 p {
        font-size: 18px;
        
    }

}


/**very old small smartphone***/
@media only screen and (max-width: 325px) {
    #hintergrund2 {
        height: 4800px;
    }

    #res-edv {
        height: 350px;
    }

    #res-eng {
        height: 700px;
    }

    .dropbtn {
        font-size: 16px;
    }

    .dropdown {
        margin-left: 10px;
        margin-right: 15px;
    }
    
    #th-7 {
        height: 1850px;
    }
    
    #hintergrund3-2 {
        height: 2700px;
    } 

}