:root {
  --bg: #e7edf1;
  --accent: #657082;
  --text: #222;
  --font-serif: "Playfair Display", serif;
  --font-sans: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  font-size: 16px;
}

/* Header */
.header {
  background: var(--bg);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent);
}

.logo span {
  font-weight: normal;
  color: var(--text);
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  z-index: 1001;
  position: relative;
}

.nav a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
}

/* Überschriften-Schrift */
h1,
h2,
h3,
h4,
h5,
h6,
.section-heading {
  font-family: "Playfair Display", serif;
  font-weight: 400;
}

/* Fließtext-Schrift */
body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Sections */
.hero {
  background: url("../images/hero.jpg") no-repeat center center / cover;
  color: rgb(0, 0, 0);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  text-align: right;
  padding: 0 2rem;
  position: relative;
}

.hero .hero-content {
  min-width: 75vw;
  display: flex;
  flex-direction: row;
  gap: 5rem;
  align-items: center;
  justify-content: space-between;
}

.introimg {
  max-width: 400px;
  transform: translateY(100px);
  /* ragt nach unten raus */
  z-index: 2;
}

.introimg img {
  width: 100%;
  height: auto;
  border-style: solid;
  border-color: rgb(230, 230, 230);
  border-width: 30px;
  border-radius: 2px;
}

.hero .image img {
  max-width: 20vw;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero .text {
  max-width: 500px;
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero .intro {
  font-size: 0.9rem;
  color: #5a5a5a;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.section-white {
  padding: 3rem;
  max-width: 100%;
  margin: 0;
  background-color: white;
}

.section-gray {
  padding: 3rem 10rem;
  max-width: 100%;
  margin: 0;
  background-color: rgb(230, 230, 230, 0.75);
}

.content-block {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}

.content-block.reverse {
  flex-direction: row-reverse;
}

.text {
  flex: 1 1 400px;
}

.intro {
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.5rem;
}

.image {
  flex: 1 1 350px;
  max-width: 500px;
}

.image_center {
  flex: 1 1 350px;
  max-width: 500px;
}

.image img {
  width: 100%;
  border-radius: 4px;
}

.image_bottom {
  max-height: 300px;
}

.image_center img {
  width: 100%;
  border-radius: 4px;
}

.logo {
  flex: 1 1 350px;
  max-width: 100%;
}

.logo img {
  width: 50%;
  border-radius: 4px;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.framed {
  background-color: white;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Mission Block */
.mission-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.highlight-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-top: 1rem;
}

/* Kontakt */
#kontakt {
  text-align: center;
}

.contact-box {
  background: white;
  padding: 2rem;
  border-radius: 6px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-box h2 {
  font-family: var(--font-serif);
  margin-bottom: 1rem;
}

.telefon-mobile {
  display: none;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #777;
  background: var(--bg);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-box {
    padding-bottom: 0;
  }

  .telefon-desktop {
    display: none;
  }

  .telefon-mobile {
    display: inline;
  }

  .section {
    padding: 1rem 1rem 1rem 1rem;
    max-width: 1200px;
    margin: 0;
  }

  .section-white {
    padding: 1rem 1rem 1px 1rem;
  }

  .section-gray {
    padding: 1rem 1rem 1rem 1rem;
  }

  .mission-text {
    margin-bottom: 0;
  }

  .hero .text {
    display: none;
  }

  .hero .introimg img {
    width: 75vw;
    min-width: 180px;
    border-width: 5px;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    z-index: 2;
    transform: translateY(-100px);
    /* ragt nach unten raus */
  }

  .content-block {
    flex-direction: column;
  }

  .nav ul {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg);
    position: absolute;
    right: 2rem;
    top: 70px;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav ul.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .image {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    object-fit: cover;
    object-position: top;
    display: block;
    margin: 0 auto;
  }

  .image img {
    width: 100%;
    max-width: 100vw;
    min-width: 100vw;
    height: 260px;
    object-fit: cover;
    object-position: top;
    display: block;
    margin: 0 auto;
  }

  .logo img {
    max-width: 600px;
    width: 100%;
    display: block;
    margin: 0;
  }

  .image_center {
    max-width: 600px;
    width: 100%;
    display: block;
    margin: 0;
  }

  .image_bottom {
    display: none;
  }
}
