* {
  box-sizing: border-box;
}

:root {
  --green: #bdd125;
  --green-dark: #a6b725;
  --text: #5f6368;
  --muted: #7a7a7a;
  --paper: rgba(255, 255, 255, 0.92);
  --line: rgba(84, 89, 95, 0.18);
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font: 18px/1.56 "Times New Roman", Times, serif;
  background: #f8f8f0 url("../bilder-und-logo/hintergrund.jpg") center / cover fixed no-repeat;
}

a {
  color: #54595f;
}

a:hover {
  color: var(--green-dark);
}

.site-header {
  padding-bottom: 28px;
}

.top-nav {
  background: var(--green);
  min-height: 55px;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.menu-button {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font: 600 18px/1 "Times New Roman", Times, serif;
  padding: 17px 22px;
}

.menu-links {
  width: min(1140px, 100%);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.menu-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 16px 15px 15px;
  border-bottom: 4px solid transparent;
}

.menu-links a:hover,
.menu-links a.active {
  border-bottom-color: var(--green-dark);
  color: #f7f7f7;
}

.brand-stage {
  width: min(1140px, calc(100% - 36px));
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: 38px;
}

.logo-link {
  display: block;
}

.logo-link img {
  display: block;
  width: 100%;
  max-height: 245px;
  object-fit: contain;
}

.hero-slides {
  position: relative;
  height: 350px;
  overflow: hidden;
  background: transparent;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 900ms ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.page-shell {
  width: min(1140px, calc(100% - 36px));
  margin: 42px auto 80px;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(245px, 0.9fr);
  gap: 44px;
  align-items: start;
}

.content,
.sidebar {
  background: var(--paper);
}

.content {
  padding: 44px 52px 48px;
}

.content h1,
.page-title {
  margin: 0 0 18px;
  color: #53585e;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 600;
}

.content h2 {
  margin: 28px 0 12px;
  color: #53585e;
  font-size: 24px;
  line-height: 1.3;
}

.content h3 {
  margin: 24px 0 10px;
  color: #53585e;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
}

.text-block {
  margin-bottom: 22px;
}

.content p {
  margin: 0 0 14px;
}

.content ul,
.content ol {
  margin: 0 0 20px 24px;
  padding: 0;
}

.content li {
  margin-bottom: 8px;
}

.inline-photo {
  margin: 18px 0 26px;
}

.inline-photo img,
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.inline-photo img {
  max-height: 620px;
  object-fit: contain;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 14px;
  margin: 24px 0 32px;
}

.gallery-item {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.sidebar {
  border-left: 1px solid var(--line);
  padding: 36px 34px;
}

.info-panel,
.notice-panel {
  margin-bottom: 30px;
}

.sidebar h2 {
  margin: 0 0 9px;
  color: #53585e;
  font-size: 22px;
  font-weight: 600;
}

.sidebar p {
  margin: 0 0 10px;
}

.notice-panel {
  border-top: 3px solid var(--green);
  padding-top: 16px;
}

.site-footer {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 36px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 4px 0;
}

@media (max-width: 880px) {
  .top-nav {
    display: block;
  }

  .menu-button {
    display: block;
    width: 100%;
    text-align: center;
  }

  .menu-links {
    display: none;
    padding: 0 14px 12px;
  }

  .menu-links.is-open {
    display: grid;
  }

  .menu-links a {
    text-align: center;
    padding: 12px;
  }

  .brand-stage {
    grid-template-columns: 1fr;
    margin-top: 28px;
    gap: 24px;
  }

  .logo-link img {
    max-height: 210px;
  }

  .hero-slides {
    height: clamp(210px, 48vw, 330px);
  }

  .page-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 26px;
  }

  .sidebar {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 30px 28px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
    background-attachment: scroll;
  }

  .brand-stage,
  .page-shell,
  .site-footer {
    width: min(100% - 24px, 1140px);
  }

  .content h1,
  .page-title {
    font-size: 26px;
  }

  .content,
  .sidebar {
    padding-left: 24px;
    padding-right: 24px;
  }

  .photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
    gap: 10px;
  }
}
