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

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #bfbaae;
  color: #333;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  background-color: #5a5a56;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #5a5a56;
  padding: 10px 20px;
  margin-bottom: 10px;
}

.header-image-left,
.header-image-right {
  width: 180px;
}

.header-image-left img,
.header-image-right img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 2px solid #41413d;
}

.header-content {
  flex: 1;
  text-align: center;
  color: #f0f0f0;
}

.header h1 {
  font-size: 42px;
  color: #de272b;
  font-style: italic;
  font-weight: bold;
  margin-bottom: 10px;
}

.header .subtitle {
  font-size: 18px;
  color: #bfbaae;
}

/* Main Layout */
.main-wrapper {
  display: flex;
  background-color: #41413d;
}

/* Left Navigation */
.sidebar-nav {
  flex: 0 0 230px;
  background-color: #41413d;
  display: flex;
  flex-direction: column;
}

.nav-item {
  padding: 12px 20px;
  color: #ffffff;
  cursor: pointer;
  border-bottom: 1px solid #5a5a56;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.nav-item:hover {
  background-color: #5a5a56;
}

.nav-item-active {
  background-color: #de272b;
}

/* zum Ausblenden von Menüs (Absetzer/Wallache/Zuchtziel) */
.nav-item--hidden {
  display: none;
}

/* Main Content */
.main-content {
  flex: 1;
  background-color: #5a5a56;
  padding: 30px;
  color: #f0f0f0;
}

.page h2,
.welcome-title {
  color: #de272b;
  font-size: 28px;
  margin-bottom: 20px;
  border-bottom: 2px solid #666;
  padding-bottom: 10px;
}

.content-text {
  margin-bottom: 20px;
  font-size: 14px;
}

.content-text p {
  margin-bottom: 10px;
}

.content-text ul {
  list-style: disc;
  margin-left: 20px;
}

/* Gallery */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.gallery-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-item {
  flex: 1;
}

.gallery-item img {
  width: 100%;
  height: auto;          /* NICHT zuschneiden */
  display: block;
  border: 3px solid #41413d;
}

/* Lightbox Trigger */
.lightbox-trigger {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lightbox-trigger:hover {
  transform: scale(1.02);
}

/* Right Sidebar */
.sidebar-right {
  flex: 0 0 280px;
  background-color: #5a5a56;
  padding: 20px;
  color: #e0e0e0;
}

.contact-info {
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 1.8;
}

.contact-info p {
  margin-bottom: 12px;
}

.contact-message {
  margin-top: 5px;
  font-style: italic;
}

/* Contact Form */
.contact-form {
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  color: #d0d0d0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 6px 8px;
  border-radius: 3px;
  border: 1px solid #777;
  background-color: #6a6a66;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #de272b;
  background-color: #7a7a76;
}

.form-group textarea {
  resize: vertical;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.required-note {
  font-size: 12px;
  color: #b0b0b0;
}

/* Submit Button */
.submit-btn {
  padding: 8px 20px;
  background-color: #888;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-size: 13px;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #999;
}

/* CAPTCHA */
.captcha-group {
  background-color: #4a4a46;
  padding: 15px;
  border-radius: 4px;
  border: 1px solid #666;
}

.captcha-group label {
  font-weight: bold;
}

#captchaQuestion {
  color: #de272b;
  font-size: 18px;
  font-weight: bold;
  margin: 5px 0 8px 0;
}

.captcha-info {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: #b0b0b0;
  font-style: italic;
}

#captcha {
  background-color: #ffffff !important;
  color: #333333 !important;
  font-weight: bold;
  font-size: 14px;
}

/* Sidebar Images */
.sidebar-images {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-images img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border: 2px solid #41413d;
}

/* Footer */
.footer {
  background-color: #41413d;
  color: #f0f0f0;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  margin-top: 10px;
}

.footer-developer {
  max-width: 1400px;
  margin: 0 auto 5px auto;
  text-align: left;
  padding-left: 20px;
  font-size: 12px;
  color: #f0f0f0;
}

.footer-links {
  margin-bottom: 5px;
}

.footer-links a {
  color: #f0f0f0;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  padding-top: 60px;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.lightbox-close:hover {
  color: #bbbbbb;
}

.lightbox-caption {
  margin: 15px auto;
  text-align: center;
  color: #cccccc;
  max-width: 80%;
}

/* Scroll-Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Startseite spezielle Bild-Blöcke (falls benötigt) */
.page-startseite .image-block {
  margin: 1.5rem 0;
}

.page-startseite .image-block img {
  width: 100%;
  height: auto;
  display: block;
}

.page-startseite .image-block-left {
  max-width: 40%;
  float: left;
  margin-right: 1.5rem;
}

.clear {
  clear: both;
}

/* Cookie-Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background-color: rgba(30, 30, 30, 0.95);
  color: #f0f0f0;
  padding: 12px 16px;
  font-size: 13px;
  display: none; /* wird per JS sichtbar */
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cookie-banner p {
  flex: 1 1 260px;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 6px 12px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  color: #ffffff;
}

#cookieAcceptAll {
  background-color: #de272b;
}

#cookieAcceptEssential {
  background-color: #666666;
}

#cookieDeclineAll {
  background-color: #555555;
}

.cookie-buttons button:hover {
  opacity: 0.9;
}

.cookie-link {
  color: #ffffff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1100px) {
  .header-image-left,
  .header-image-right {
    display: none;
  }

  .header {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .main-wrapper {
    flex-direction: column;
  }

  .sidebar-nav {
    display: flex;
    overflow-x: auto;
  }

  .nav-item {
    flex: 1 0 auto;
    white-space: nowrap;
    border-right: 1px solid #5a5a56;
  }

  .sidebar-right {
    margin-top: 10px;
  }

  .lightbox-close {
    right: 20px;
  }

  .cookie-banner-inner {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 10px;
  }

  .main-content {
    padding: 20px;
  }

  .sidebar-right {
    padding: 15px;
  }

  .header h1 {
    font-size: 32px;
  }

  .header .subtitle {
    font-size: 16px;
  }

  .lightbox-close {
    top: 10px;
    right: 20px;
    font-size: 35px;
  }

  .lightbox-content {
    max-width: 95%;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
