/* ===========================
   Kontaktseite
=========================== */


.kontakt-hero {
  position: relative;
  z-index: 1;
  background-image: url('https://bilder-plus.de/bilder/kontakt/ronny.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 10px solid rgba(255, 255, 255, 1);
}


.kontakt-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-end; /* Zitat unten ausrichten */
  justify-content: space-between;
  gap: 2rem;
  height: 100%;
}

.kontakt-formular {
  background: rgba(255, 255, 255, 0.85);
  padding: 1rem 3rem 2rem 3rem;
  border-radius: 0px;
    border: 2px solid #ffffff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 650px;
  width: 100%;
  margin-top: auto; /* Abstand zum oberen Rand */
}

.kontakt-formular.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kontakt-formular h1,
.kontakt-formular h2 {
  color: #577593;
  text-align: left;
}

.kontakt-formular h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.kontakt-formular h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.kontakt-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #444;
}

.kontakt-formular label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: #333;
  text-align: left;
}

.kontakt-formular input,
.kontakt-formular textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* ✅ Datenschutzerklärung: Checkbox links, Text daneben */
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  margin-top: 1em;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.kontakt-formular button {
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background-color: #a20002;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.kontakt-formular button:hover {
  background-color: #800002;
}

.fehler {
  background-color: #ffe5e5;
  color: #a20002;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

#rueckruf-option {
  margin-top: 1rem;
  background: rgba(240, 240, 240, 0.6);
  padding: 1rem;
  border-radius: 8px;
}
.rueckruf-hinweis {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #444;
  font-style: italic;
}
#rueckruf-zeit {
  margin-top: 0.5rem;
}


.kontakt-zitat-rechts {
  max-width: 400px;
  font-style: italic;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  margin-bottom: 2rem;
  align-self: flex-end;
  text-align: left;
}

.kontakt-zitat-rechts span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #ddd;
}

#adresse {
  min-height: 200px;
  background: #ffffff;
  padding: 3rem 1rem;
}

#adresse h2 {
  margin-bottom: 2rem;
  text-align: left;
}

#anfahrt {
  background: #fff;
  /*padding: 3rem 1rem;*/
}

#anfahrt h2 {
  margin-bottom: 2rem;
  text-align: left;
}

#anfahrt .zweispaltig {
 max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

#anfahrt .spalte {
flex: 1 1 calc(50% - 1rem); /* 2rem gap → 1rem pro Seite abziehen */
}

#anfahrt .spalte p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
#anfahrt .spalte h3 {
    font-size: 1.3rem;
  line-height: 1.9;

}


.anfahrt-tabelle {
  margin-top: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  align-items: start;
  max-width: 100%;
}

.zeile {
  display: contents; /* erlaubt grid-Zeilen ohne extra Wrapper */
}

.label {
  font-weight: bold;
  white-space: nowrap;
}

.info {
  text-align: left;
  line-height: 1.5;
}

iframe.googlemap {
  border: 2px solid #ccc;
  border-radius: 0px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .kontakt-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .kontakt-formular {
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 100%;
  }

  .kontakt-hero {
    height: auto;
    padding: 2rem 1rem;
  }

  .kontakt-zitat-rechts {
    margin-top: 2rem;
    text-align: center;
    align-self: center;
  }

  #anfahrt .zweispaltig {
    grid-template-columns: 1fr;
 padding: 1rem;
  }

  #anfahrt .spalte {
    flex: 1 1 100%;
   
  }

  iframe.googlemap {
    margin: 0;
    width: calc(100% - 2rem); /* volle Breite minus Abstand */
  }
}
.navlink {
  display: inline-block;
  margin-top: 10px;
  background: #577593;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.navlink:hover {
  background: #a20002;
}
 .spalte iframe {
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
