/* style.css */

/* 1) CSS-Reset / Basis */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
  font-family: "Avenir Next", sans-serif;
  color: #000;
}

/* 2) Farb- & Maßvariablen */

:root {
  --color-dark: #020203;
  --color-mid: #464a55;
  --color-light: #fff;
  --gap: 1.5rem;
  --max-width: 1400px;
}

/* 3) Typografie */

/* Bebas Neue Thin */
@font-face {
  font-family: "Bebas Neue";
  src: url("./fonts/bebas-neue-thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* Bebas Neue Light */
@font-face {
  font-family: "Bebas Neue";
  src: url("./fonts/bebas-neue-7.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Bebas Neue Book */
@font-face {
  font-family: "Bebas Neue";
  src: url("./fonts/bebas-neue-book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bebas Neue Regular */
@font-face {
  font-family: "Bebas Neue";
  src: url("./fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

h1, h2, h3 {
  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5ch;
 
}
h1, .h1 {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 200;
}
h2, .h2 {
  font-size: clamp(1.5rem, 5vw, 4rem);
  font-weight: 300;
}
h3, .h3 {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
}

.h4 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 300;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.1em;
  font-weight: 600;
}

/* 4) Container für max-width & Padding */

.container {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-block: var(--gap);
}

.gap--2x {
  padding-top: calc(var(--gap) * 2);
}

.site-header {
  width: 100%;
  position: absolute;
}

.header__inner {
  max-width: var(--max-width, 1400px);
  margin: 0 auto;
}

.header__logo {
  display: block;
  width: 300px;
  height: auto;
  margin-left: 0px;
}

.grid--2col > div, .flex {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.grid--2col > div p:not(:has(+ p)), .flex p:not(:has(+ p)) {
  margin-bottom: var(--gap);
}

/* 5) Hero-Sektion */

.hero {
  min-height: 100vh;
  display: flex;
}
.hero__inner {
  display: flex;
  gap: var(--gap);
}
.hero__content {
  margin-top: 300px;
  flex-grow: 1;

}
.hero__title {
  font-weight: 300;
  color: var(--color-dark);
  line-height: 1.1;
}
.hero__subtitle {
  margin-block: 20px;
}
.hero__byline {
  display: flex;
  font-size: 20px;
   align-items: center;
  color: var(--color-dark);
  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;
  font-weight: 300;
  text-decoration: none;
  letter-spacing: 3px;
}

.hero__figure img {
  display: block;
  max-width: 450px;
  width: 100%;
}

/* 6) Info-Sektion */

.info, .contact-section {
  background: linear-gradient(
    230deg,
    var(--color-mid) 0%,
    var(--color-dark) 50%
  );
  color: var(--color-light);
  height: fit-content;
}
.info__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap);
}
.info__content {
  flex: 1 1 400px;
}
.info__title {
  font-size: clamp(2rem, 6vw, 6rem);
  margin-bottom: 40px;
  margin-top: 150px;
}
.info__text {
  max-width: 650px;
  font-weight: 200;
  line-height: 2;
  margin-right: 50px;
}
.info__sign {
  margin-top: var(--gap);
  padding-bottom: 100px;
}
.info__portrait img {
  display: block;
  max-width: 490px;
  height: 660px;
}

/* 7) Galerie-Sektion */

.gallery {
  display: flex;
  justify-content: flex-start;
}

.gallery__item {
  position: relative;
  top: -80px;
  left: -60px;
}

.gallery__item img {
  display: block;
  max-width: 100%;
  height: auto;
}

.gallery__item figcaption, .gallery-mobile figcaption {
  margin-top: 10px;
  font-style: italic;
}

.gallery__item figcaption a, .gallery-mobile figcaption a {
  text-decoration: none;
  color: var(--color-dark);
}

.gallery-mobile figcaption {
  margin-inline: auto;
  width: 90%;
}

/* Galerie-Sektion Mobile */

.gallery-mobile {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  overflow: hidden;
  display: none;
  margin-bottom: 100px;
}

.gallery-mobile img {
  display: block;
  width: 100%;
  height: auto;
}

/* 8) Contact-Sektion */

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--gap) * 1.5);
  padding-block: calc(var(--gap) * 3);
}

.contact-intro > * + * {
  margin-top: 1rem;
}

.contact-info {
  font-weight: 200;
  display: flex;
  flex-direction: row;
  gap: calc(var(--gap) * 2);
}

.contact-title {
  font-size: 100px;
  font-weight: 200;
  text-transform: uppercase;
}

.contact-info .email, .contact-info .phone {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: calc(var(--gap) / 2);
}

.contact-info .email::before {
  content: url('assets/icon-email.svg');
  width: 18px;
  height: 18px;
}

.contact-info .phone::before {
  content: url('assets/icon-phone.svg');
  width: 18px;
  height: 18px;
}

.contact-btn {
  background-color: #fff;
  color: #000;
  padding: 14px 35px 10px;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 5px;
  line-height: 1em;
  font-family: "Bebas Neue", sans-serif;
  text-decoration: none;
}

footer {
  width: 100%;
  display: grid;
  place-items: center;
  height: 300px;
  font-family: "Bebas Neue", sans-serif;

}

.footer__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer__links {
  display: flex;
  flex-direction: row;
  margin-bottom: 40px;
  gap: 10px;
}

.footer__inner p,
.footer__inner a {
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: 200;
  color: black;
  text-align: center;
  text-decoration: none;
  font-weight: 300;
}

@media (min-width: 768px) {
  .grid {
    display: grid;
  }
  .grid--2col {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 1440px){
  .gallery__item {
    left: 0;
  }
}

@media (min-width: 769px) and (max-width: 1024px){

}
@media (min-width: 769px) and (max-width: 1024px) {
  .header__logo {
    width: 247px;
    margin-left: 60px;
  }

  .info__title {
    font-size: 80px;
    margin-bottom: 40px;
  }

  .info__text {
    max-width: none;
  }

  .hero__figure img {
    display: block;
    max-width: 390px;
    height: 550px;
  }

  .info__sign {
    padding-bottom: 40px;
  }

  .info__portrait-img {
    display: block;
    width: 390px;
    height: 500px;
    padding-bottom: 40px;
  }

  .gallery__item {
    top: 0;
  }

  .contact-section {
    margin-top: 150px;
  }

  .contact-title {
    font-size: 80px;
  }

  .footer__inner a {
    font-size: 16px;
    align-items: center;
  }

  .footer__inner p {
    font-size: 16px;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero__inner,
  .info__inner {
    flex-direction: column;
    text-align: left;
  }
  h1,
  h2 {
    letter-spacing: 0.4ch;
  }

  h1, .hero__title {
    font-size: 80px;
    line-height: 1;
  }
 .hero__subtitle {
    font-size: 30px;
    line-height: 1;
  }
  .hero__byline {
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
  }

  .hero__figure img {
    display: block;
    max-width: 300px;
  }

  .gallery-mobile img {
    display: block;
    width: 100%;
  }

  .header__logo {
    width: 247px;
  
  }

  .hero__content {
    margin-top: 200px;
  }

  .info__title {
    font-size: 64px;
    letter-spacing: 25px;
    line-height: 1.3;
    margin-top: 50px;
    margin-bottom: 20px;
  }

  .info__text {
    margin-right: 0;
    font-size: 14px;
    font-weight: 200;
  }

  .info__sign {
    padding-bottom: 100px;
  }
  .info__portrait img {
    display: block;
    /* max-width: 490px; */
    width: 310px;
    height: 450px;
}
.info__portrait {

  padding-bottom: 40px;
  margin-top: -50px;

}
  .gallery__item img {
    display: block;
    width: 100vw;
    height: auto;
    position: relative;
    top: 0;
  }

  .gallery-mobile {
    display: block;
  }

  .contact-section {
    margin-top: 0;
    margin: 0 auto;
  }

  .contact-title {
    font-size: 64px;
  }
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: calc(var(--gap) / 2);
  }
  .no_mobile {
    display: none;
  }
  .footer__inner a{
    font-size: 20px;
    align-items: center;
    font-weight: 300;
  }
  .footer__inner p{
    font-size: 20px;
    align-items: center;
    font-weight: 300;
  }

  
}
