* {
  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-color: #f8f8f0;
  background-image: url("../bilder-und-logo/hintergrund.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: 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;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  max-width: 680px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label,
.check-row {
  color: #53585e;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(84, 89, 95, 0.32);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
  border-radius: 4px;
}

.form-row textarea {
  resize: vertical;
  min-height: 180px;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(189, 209, 37, 0.58);
  border-color: var(--green-dark);
}

.check-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  line-height: 1.4;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
}

.submit-button {
  justify-self: start;
  border: 0;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: 600 18px/1 "Times New Roman", Times, serif;
  padding: 13px 26px;
  border-radius: 4px;
}

.submit-button:hover,
.submit-button:focus {
  background: var(--green-dark);
}

.form-message {
  border-left: 4px solid var(--green);
  background: rgba(255, 255, 255, 0.72);
  margin: 18px 0 28px;
  padding: 16px 18px;
}

.form-message.error {
  border-left-color: #b94a48;
}

.form-message ul {
  margin-bottom: 0;
}

.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);
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 14px;
  align-items: center;
  background: rgba(0, 0, 0, 0.84);
  padding: 28px;
}

.lightbox-figure {
  justify-self: center;
  margin: 0;
  max-width: min(100%, 1160px);
}

.lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 132px);
  object-fit: contain;
}

.lightbox-caption {
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  margin-top: 12px;
  min-height: 22px;
  text-align: center;
}

.lightbox-button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  cursor: pointer;
  font: 600 34px/1 Arial, sans-serif;
  display: grid;
  place-items: center;
}

.lightbox-button:hover,
.lightbox-button:focus {
  background: rgba(189, 209, 37, 0.86);
  outline: none;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 28px;
}

.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;
  }

  .lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    padding: 18px 10px;
  }

  .lightbox-button {
    width: 40px;
    height: 40px;
  }

  .lightbox-image {
    max-height: calc(100vh - 116px);
  }
}
