/* ===================================================================
   File: styles-schlachtung.css
   Gilt nur für die Seite „schlachtung.php“
=================================================================== */

/* Reset & Basis */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
  transition: background 0.3s, color 0.3s;
  min-width: 320px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.logo img {
  width: 40px;
  height: 40px;
}
nav {
  display: flex;
  align-items: center;
}
.nav-links {
  list-style: none;
  display: flex;
  margin-left: 20px;
}
.nav-links li {
  margin-left: 20px;
}
.nav-links li a {
  display: block;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.nav-links li a:hover {
  background-color: #f0f0f0;
}

/* Buttons */
#menuToggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  margin-left: 20px;
  display: none;
}

/* Main Content */
main {
  padding-top: 80px;
}

/* Angebote & Termine */
.offers-header {
  text-align: center;
  margin: 40px 0 20px;
}
.offers-header h1 {
  font-size: 2rem;
}
.offers-header p {
  font-size: 1.1rem;
  color: #d9534f;
}

/* Event-Cards */
.schlachtungen {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding-bottom: 60px;
}
.event-card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  width: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.image-wrapper {
  height: 180px;
  overflow: hidden;
}
.card-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-content h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.card-content p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.price {
  font-weight: bold;
  margin-bottom: 10px;
}
.reserve-btn {
  margin-top: auto;
  padding: 10px;
  background: #5cb85c;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.reserve-btn:hover {
  background: #4cae4c;
}

/* Modal Popup */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.modal[hidden] {
  display: none;
}
.modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #005500;
  color: #fff;
}
.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}
.modal-body {
  padding: 1rem;
  background: #f9f9f9;
}
.modal-body label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: bold;
  color: #005500;
}
.modal-body input,
.modal-body textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 2px solid #005500;
  border-radius: 4px;
  background: #fff;
  color: #000;
}
.modal-body input:focus,
.modal-body textarea:focus {
  outline: 3px solid #ffa500;
}
.btn-submit {
  width: 100%;
  padding: 0.75rem;
  background: #005500;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-feedback {
  margin-top: 0.5rem;
  color: #a94442;
  font-size: 0.9rem;
}

/* Allgemeine Informationen */
.general-info {
  background: linear-gradient(135deg, #f9f9f9 0%, #e9f9ff 100%);
  padding: 40px 20px;
}
.info-text {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
}
.info-text h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
.info-text p {
  font-size: 1rem;
}

/* Footer */
footer {
  background: #f0f0f0;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 768px) {
  #menuToggle {
    display: block;
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
  }
  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }
}
