/* ================= RESET ================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
  background-color: #fafafa;
  color: #222;
}

/* ================= LAYOUT ================= */

section[id] {
  scroll-margin-top: 80px;
}

main {
  max-width: 900px;
  margin: 0 auto 3rem auto;
  padding: 110px 1.2rem 0 1.2rem;
}

/* ================= TYPOGRAFIE ================= */

h1 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #2f5d3a;
}

h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  color: #2f5d3a;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #2f5d3a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ================= BILDER ================= */

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

/* Hero Bild */

.image-full {
  margin: 2rem 0 3rem 0;
}

.image-full img {
  width: 100%;
  height: 55vh;
  max-height: 550px;
  object-fit: cover;
}

/* Textblock */

.text-block {
  max-width: 700px;
  margin: 2rem 0;
}

/* Bildstreifen */

.image-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 3rem 0;
}

.image-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Portrait */

.portrait {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 3rem 0;
}

/* ================= HEADER ================= */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 32px;
}

.main-nav {
  display: flex;
  gap: 1.8rem;
}

.main-nav a {
  font-weight: 500;
  color: #2f5d3a;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.6;
}

/* Burger */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 2px;
  background: #2f5d3a;
}

/* ================= FOOTER ================= */

.site-footer {
  margin-top: 100px;
  padding: 40px 20px;
  background: #f4f4f1;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #e5e5e5;
}

.site-footer a {
  margin: 0 15px;
  color: #2f5d3a;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ================= RECHTSSEITEN SPEZIELL ================= */

.legal-page h1 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  margin-top: 2.2rem;
}

.legal-page p {
  font-size: 0.95rem;
  color: #333;
}

/* leichte optische Trennung */

.legal-page h2:not(:first-of-type) {
  padding-top: 1.2rem;
  border-top: 1px solid #eee;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  main {
    padding: 100px 1rem 0 1rem;
  }

  .portrait {
    grid-template-columns: 1fr;
  }

  .image-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-full img {
    height: auto;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    width: 200px;
    background: white;
    flex-direction: column;
    display: none;
    padding: 0.8rem 0;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  }

  .main-nav a {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #f0f0f0;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav.active {
    display: flex;
  }

  .burger {
    display: flex;
  }

  body {
    overflow-x: hidden;
  }
}
/* ================= LEGAL PAGES ================= */

.legal-page {
  max-width: 820px;
  margin: 160px auto 80px auto;
  padding: 0 20px;
  line-height: 1.7;
}

.legal-page h1 {
  margin-bottom: 40px;
}

.legal-page h2 {
  margin-top: 40px;
  font-size: 20px;
  color: #2f5d3a;
}

.legal-page p {
  margin-bottom: 18px;
}

.legal-page a {
  color: #2f5d3a;
  text-decoration: underline;
}
