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

body {
  font-family: Arial, sans-serif;
  color: #f5f5f5;
  background-color: #000; /* schwarzer Hintergrund */
  background-image: url("../images/Achim_BG_front.JPG");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.4) 40%,
      rgba(0, 0, 0, 0.6) 100%
    );
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  min-height: 160px;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0.25) 80%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.header > * {
  position: relative;
  z-index: 1;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 20px;
  display: flex;
  align-items: center;
}

.logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.nav-area {
  position: absolute;
  right: 20px;
  top: 20px;
  display: grid;
  grid-template-rows: auto minmax(60px, auto);
  grid-template-areas:
    "menu"
    "teaser";
  justify-items: end;
  text-align: right;
}

.menu {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.menu a {
  color: #fff;
  text-decoration: none;
}

.menu a:hover {
  color: #EADF1E;
}

.menu a.active {
  color: #EADF1E;
  font-weight: bold;
}

.teaser {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  min-height: 60px;
}

.teaser-text {
  display: block;
  color: #fff;
  white-space: nowrap;
}

.cta {
  padding: 10px 20px;
  background-color: #EADF1E;
  color: #000;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

/* ================= BURGER ================= */

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

.burger span {
  width: 25px;
  height: 3px;
  background: #fff;
}

/* ================= CONTENT ================= */

.content {
  padding: 20px 80px;
  font-size: 18px;
  line-height: 1.5;
  margin-top: 160px;
  position: relative;
}

.content::before {
  content: "";
  position: fixed;
  top: 160px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.content a {
  color: #EADF1E;
}

.content a.cta {
  color: #000;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1em;
}

p {
  margin-bottom: 1em;
}

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

.footer {
  position: fixed;
  bottom: 0;
  height: 60px;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background: rgba(0,0,0,0.5);
}

.footer-left {
  margin-left: 20px;
  background: rgba(0,0,0,0.5);
  padding: 5px 10px;
}

.footer-left a {
  color: #fff;
  font-size: x-small;
  text-decoration: none;
}

.footer-right {
  justify-self: end;
  margin-right: 50px;
}

.footer-right img {
  height: 50px;
}

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

@media (max-width: 900px) {

  body {
    background-attachment: scroll;
  }

  .nav-area {
    grid-template-rows: auto auto;
  }

  .teaser {
    justify-content: flex-end;
    text-align: right;
  }

  .teaser-text {
    white-space: normal;
  }

  .nav-area {
    grid-template-rows: auto auto;
    grid-template-areas:
      "menu"
      "teaser";
    justify-items: end;      
  }

  .menu {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: #000;
    padding: 10px 0;
    align-items: flex-end;    
  }

  .menu.open {
    display: flex;
  }

  .burger {
    display: flex;
    margin-bottom: 10px;
  }

  .content {
    padding: 20px;
  }
}
/* ================= KONTAKTFORMULAR ================= */

.contact-form {
  max-width: 600px;
  margin: 30px 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid #EADF1E;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #EADF1E;
  font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid #EADF1E;
  border-radius: 4px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 16px;
  box-sizing: border-box;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group input[type="tel"]::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  box-shadow: 0 0 8px rgba(234, 223, 30, 0.3);
}

/* Select-spezifisches Styling */
.form-group select {
  background-color: #000 !important;
  color: #fff !important;
}

.form-group select option {
  background-color: #000;
  color: #fff;
}

.form-group select option:checked {
  background-color: #EADF1E;
  color: #000;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.form-group.checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
  accent-color: #EADF1E;
}

.form-group.checkbox label {
  margin-bottom: 0;
  font-weight: normal;
}

.form-group.checkbox a {
  color: #EADF1E;
  text-decoration: underline;
}

.form-message {
  margin: 15px 0;
  padding: 12px;
  border-radius: 4px;
  display: none;
  text-align: center;
}

.form-message.success {
  display: block;
  background-color: rgba(76, 175, 80, 0.2);
  border: 1px solid #4CAF50;
  color: #90EE90;
}

.form-message.error {
  display: block;
  background-color: rgba(244, 67, 54, 0.2);
  border: 1px solid #F44336;
  color: #FF6B6B;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background-color: #EADF1E;
  color: #000;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #fff;
}

.contact-form button:disabled {
  background-color: #999;
  cursor: not-allowed;
  opacity: 0.6;
}