/* libre-baskerville-italic - latin */
@font-face {
    font-family: 'Libre Baskerville';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/libre-baskerville-v14-latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/libre-baskerville-v14-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/libre-baskerville-v14-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/libre-baskerville-v14-latin-italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/libre-baskerville-v14-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/libre-baskerville-v14-latin-italic.svg#LibreBaskerville') format('svg'); /* Legacy iOS */
  }

/* jost-regular - latin */
@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/jost-v14-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/jost-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/jost-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/jost-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/jost-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/jost-v14-latin-regular.svg#Jost') format('svg'); /* Legacy iOS */
  }
  /* jost-600 - latin */
  @font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/jost-v14-latin-600.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/jost-v14-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/jost-v14-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/jost-v14-latin-600.woff') format('woff'), /* Modern Browsers */
         url('../fonts/jost-v14-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/jost-v14-latin-600.svg#Jost') format('svg'); /* Legacy iOS */
  }


/*** Allgemein ***/
* {
    margin: 0;
    padding: 0;
    font-family: "Jost";
    scroll-behavior: smooth;
}
body {
    background-color: grey;
}
.container {
    max-width: 1400px;
    margin: auto;
    overflow-x: hidden;
}
button {
    padding: 5px 10px;
    background-color: rgb(172, 0, 0);
    color: white;
    border: 1px solid rgb(172, 0, 0);
    border-radius: 5px;
    font-size: clamp(15px, 2vw, 17px);
    cursor: pointer;
}
button:hover {
    background-color: rgba(0,0,0,0);
    color:rgb(172, 0, 0);
    border: 1px solid rgb(172, 0, 0);
}
p, a {
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.5;
}
a {
    cursor: pointer;
    color: black;
    text-decoration: none;
}
h1 {
    font-weight: 500;
}
h2 {
    font-family: "Libre Baskerville";
    font-size: clamp(17px, 7vw, 40px);
    font-weight: 500;
    margin: 10px 0;
}
h3 {
    color: rgb(172, 0, 0);
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: clamp(14px, 5vw, 17px);
}
h4 {
    font-size: clamp(15px, 2vw, 17px);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.red {
    color: rgb(172, 0, 0);
}
.anker {
    position: absolute;
    top: -70px;
}


/*** Section ***/
.section {
    padding: 50px 0;
    position: relative;
    width: 100%;
}

/*** Menü ***/
.menu {
    position: fixed;
    max-width: 1400px;
    width: 100%;
    height: 70px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 1px 1px 10px 1px grey;
    z-index: 20;
}
.menu-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
}
.menu-nav li {
    margin-left: 20px;
    cursor: pointer;
}
.menu-nav li a:hover {
    color:rgb(172, 0, 0);
}
#menu-kontakt a {
    border: 1px solid rgb(172, 0, 0);
    padding: 5px 10px;
    border-radius: 5px;
}
#menu-kontakt a:hover {
    color: white;
    background-color: rgb(172, 0, 0);
}
#menu-right {
    margin-right: 50px;
}
.logo {
    text-transform: uppercase;
    font-size: clamp(17px, 2vw, 20px);
    margin-left: 50px;
}
.menu-btn {
    display: none;
    cursor: pointer;
    margin-right: 50px;
}
.menu-btn div {
    height: 2px;
    width: 22px;
    background-color: black;
    margin: 4px;
    transition: 0.5s;
}
.clicked-1 {
    transform: rotate(45deg) translateY(4px);
}
.clicked-2 {
    display: none;
}
.clicked-3 {
    transform: rotate(-45deg) translateY(-4px);
}


/*** Hero ***/
.hero {
    background-image: url(./img/IMG_6532_1.jpg);
    background-position: center;
    background-size: cover;
    height: 750px;
    padding-top: 50px;
}
.hero-text {
    padding-top: 100px;
    padding-left: 50px;
    width: 50%;
}
.hero-text-1 {
    color: rgb(172, 0, 0);
    font-size: clamp(17px, 3vw, 20px);
    text-transform: uppercase;
    font-weight: light;
    letter-spacing: 1px;
}
.hero-text-2 {
    font-family: "Libre Baskerville";
    font-size: clamp(17px, 7vw, 45px);
    margin: 15px 0;
}
.hero-text-3 {
    margin: 12px 0 20px 0;
}



/*** Leistungen ***/
.leistungen {
    text-align: center;
    background-color: rgb(230, 230, 230)
}
.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.leistung {
    margin: 50px;
}
.leistung h4 {
    font-size: clamp(17px, 3vw, 20px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.leistung img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin: 10px 0;
}
.leistung p {
    margin: 10px 0;
}



/*** Über mich ***/
.ueber {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: rgb(215, 215, 215);
    position: relative;
}
.ueber img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#ueber-img-2 {
    display: none;
}
.ueber-text {
    padding: 50px 100px 30px 50px;
}
.ueber-text p {
    margin-bottom: 10px;
}



/*** Referenzen ***/
.referenzen {
    background-color: rgb(230, 230, 230);
    text-align: center;
}
.referenzen-name {
    font-style: italic;
}
.referenz {
    background-color: rgb(245,245,245);
    padding: 1px 0;
    margin: 0 20px;
    border-radius: 20px;
    box-shadow: 1px 1px 5px 1px grey;
}


/*** Blog ***/

.blog {
    background-color: rgb(245, 245, 245);
}
.blog h2, .blog h3 {
    text-align: center;
}
.blog-eintraege {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 40px;
    margin: 30px 50px 0 50px;
}
.blog-eintrag {
    max-width: 500px;
}
.blog-eintrag img {
    max-width: 100%;
}
.blog-eintrag h5 {
    font-weight: normal;
    font-size: 25px;
    margin: 10px 0;
}
.blog-eintrag p {
    margin: 10px 0;
}
.blog-eintrag a {
    text-decoration: underline;
}
.blog-eintrag a:hover {
    color: rgb(172, 0, 0)
}
.blog button {
    margin-left: 50%;
    transform: translateX(-50%);
}


/*** Swiper ***/
html,
body {
  position: relative;
  height: 100%;
}
.swiper {
  width: 90%;
}
.swiper-slide {
  text-align: center;
  min-height: 300px;
  margin: 20px 0 40px 0;
}
.swiper-slide p {
    margin: 20px 30px;
}
:root {
    --swiper-pagination-color: rgb(172, 0, 0);
}



/*** Kontakt ***/
.kontakt {
    text-align: center;
    background-color: rgb(230,230,230);
}
.kontakt-formular {
    text-align: left;
    max-width: 600px;
    margin: auto;
    padding: 0 30px;
}
.kontakt-formular p {
    margin: 20px 0;
}
input, textarea, label {
    font-size: clamp(15px, 2vw, 17px);
}
input, textarea {
    padding-left: 5px;
    width: calc(100% - 5px);
    margin-bottom: 15px;
}
textarea {
    height: 200px;
}
.kontakt-formular-absenden {
    padding: 5px 10px;
    color: white;
    border: 1px solid rgb(172, 0, 0);
    border-radius: 5px;
    font-size: clamp(15px, 2vw, 17px);
    cursor: pointer;
    width: 100%;
}
.kontakt-formular-absenden:hover {
    background-color: rgba(0, 0, 0, 0);
    color: black;
}
.kontakt-icons {
    max-width: 300px;
    margin: 30px auto 0 auto;
    padding: 0 30px;
}
.kontakt-icons div {
    display: flex;
    align-items: center;
    margin-top: 10px;
}
.kontakt-icons div i {
    margin-right: 10px;
}


/*** Footer ***/
.footer {
    display: flex;
    background-color: rgb(185, 185, 185);
    color: white;
    justify-content: space-between;
    padding: 10px 50px;
}
.footer div {
    display: flex;
    justify-content: space-between;
}
.footer div a {
    margin-left: 20px;
    color: white;
}
.footer div a:hover {
   color: black;
}


/*** Lektorat etc. ***/
.lektorat {
    padding-top: 70px;
    background-color: rgb(230, 230, 230);
}
.lektorat-bild {
    height: 600px;
    background-size: cover;
    margin-bottom: 50px;
}
#lektorat-bild {
    background-image: url(./img/lektorat.jpg);
}
#korrektorat-bild {
    background-image: url(./img/korrektorat.jpg);
}
#projekt-bild {
    background-image: url(./img/projekt.jpg);
}
.lektorat-bild-blur {
    background-color: rgba(255,255,255,0.7);
    height: 100%;
}
.lektorat-bild h3 {
    padding-top: 200px;
}
.lektorat-bild h2, .lektorat-bild h3 {
    text-align: center;
}
.lektorat-text {
    max-width: 900px;
    margin: auto;
    padding: 0 30px;
}
.lektorat-text h2, .lektorat-text h3 {
    text-align: center;
}
.lektorat-text-grid {
    display: grid;
    grid-template-columns: 4fr 9fr;
    grid-gap: 10px;
    margin: 30px 0;
}
.lektorat-anfrage {
    background-color: rgb(215, 215, 215);
}
.lektorat-anfrage h2 {
    text-align: center;
}


/*** Impressum und Datenschutz ***/
.impressum {
    padding: 100px 20px 50px 20px;
    background-color: rgb(230, 230, 230);
}
.impressum-container {
    max-width: 900px;
    margin: auto;
}


/*** Anfrage gesendet ***/
.anfrage-gesendet {
    text-align: center;
    background-color: rgb(245,245,245);
    height: 100vh;
}


@media screen and (max-width: 1000px) {
    .ueber {
        grid-template-columns: 1fr;
    }
    #ueber-img-1 {
        display: none;
    }
    #ueber-img-2 {
        display: block;
    }
}

@media screen and (max-width: 950px) {
    .hero {
        background-image: url(./img/hero-2.jpg);
    }
    .grid-3 {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .blog-eintraege {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}


@media screen and (max-width: 850px) {
    .menu {
        height: 50px;
    }
    .menu-nav {
        position: absolute;
        top: 50px;
        right: 0;
        text-align: center;
        width: 100%;
        background-color: white;
        height: 100vh;
        transform: translateX(100%);
        transition: 0.5s;
    }
    .menu-nav.show {
        transform: translateX(0px);
    }
    .menu-nav-list {
        display: block;
        text-align: center;
    }
    .menu-nav-list li {
        margin: 20px 0;
        text-align: center;
    }
    #menu-kontakt {
        margin: auto;
    }
    #menu-kontakt a {
        margin: auto;
    }
    #menu-right {
        margin: auto;
    }
    .menu-btn {
        display: block;
    }
}

@media screen and (max-width: 750px) {
    .logo {
        margin-left: 30px;
    }
    .menu-btn {
        margin-right: 30px;
    }
    .hero {
        background-image: url(./img/hero-3.jpg);
        height: 900px;
        background-position: bottom;
    }
    .hero-text {
        padding: 50px 20px;
        width: 90%;
    }
    .leistung {
        margin: 30px 20px;
    }
    .ueber-text {
        padding: 30px 20px;
    }
    .lektorat-text {
        padding: 0 20px;
    }
    .ueber-text h3, .ueber-text h2 {
        text-align: center;
    }
    .lektorat-bild {
        height: 300px;
        background-size: cover;
    }
    .lektorat-bild h3 {
        padding-top: 100px;
    }
    .kontakt-formular {
        padding: 0 20px;
    }
    .footer {
        padding: 10px 20px;
    }
    .anker {
        top: -50px;
    }
    .lektorat {
        padding-top: 50px;
    }
}

@media screen and (max-width: 600px) {
    .grid-3 {
        display: grid;
        grid-template-columns: 1fr;
    }
    .blog-eintraege {
        display: grid;
        grid-template-columns: 1fr;
        margin: 30px 20px 0 20px;
    }
    .lektorat-text-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 500px) {
    .footer {
        display: block;
        padding: 10px 20px;
    }
    .footer div {
        display: block;
    }
    .footer div a {
        margin-left: 0px;
        margin-right: 10px;
    }
}