#kontakt {
  background-color: #f5f7fa;
  padding: 2rem;
  margin-top: 2rem;
}

.contact-wrapper {
  display: flex;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1.2;
  min-width: 280px;
}

.contact-info h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-info p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-person h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.contact-person p {
  color: #777;
  margin: 2px 0;
}

.contact-person a {
  color: var(--accent);
  text-decoration: none;
}

.contact-person a:hover {
  text-decoration: underline;
}

/* Form */
.contact-form {
  flex: 1.5;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-weight: 500;
  color: #555;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.15);
}

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

/* Honeypot: absolut unsichtbar, aber nicht display:none (Bots erkennen das) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Datenschutz-Checkbox */
.form-privacy {
  flex-direction: row !important;
  align-items: flex-start;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: var(--primary-dark);
}

button.primary {
  align-self: flex-start;
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

button.primary:hover {
  background: #0056b3;
}

footer {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 3rem 2rem 2rem;
  font-family: "Inter", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.footer-top p,
.footer-top li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration: none;
}

.footer-top .footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-top li {
  margin-bottom: 0.5rem;
}

.footer-top ul {
  list-style: none;
  padding: 0;
}

.footer-social .social-icons {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.footer-social .social-icons a img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer-social .social-icons a svg {
  stroke: white;
}

.footer-social .social-icons a:hover img {
  transform: scale(1.1);
  filter: brightness(0) invert(0.6);
}

.footer-bottom {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom nav ul {
  display: flex;
  gap: 2rem;
}

.footer-bottom nav ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-bottom nav ul li a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .form-row {
    flex-direction: column;
  }

  button.primary {
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-bottom nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  #kontakt .content {
    gap: 2rem;
  }

  .contact {
    flex-direction: column;
  }

  .contact-person {
    display: none;
  }
}
