/* =========================================================
   SC34 — kontakt.css
   Stile NUR für die Kontaktseite (kontakt.html).

   Setzt style.css voraus.

   AUFBAU:
   1. Aktiver Navlink
   2. Kontakt-Hero
   3. Zweispaltiges Layout
   4. Formular
   5. Ansprechpartner & Infos rechts
   6. Responsive
   ========================================================= */


/* ---------------------------------------------------------
   1. AKTIVER NAVLINK
   --------------------------------------------------------- */
.main-nav a.active {
  border-bottom: 2px solid var(--black);
  padding-bottom: 2px;
}


/* ---------------------------------------------------------
   2. KONTAKT-HERO
   --------------------------------------------------------- */
.kontakt-hero {
  padding-top: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-light {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.breadcrumb-light a { color: var(--gray-500); }
.breadcrumb-light a:hover { color: var(--black); }

.kontakt-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}

.kontakt-hero p {
  font-size: 17px;
  max-width: 560px;
  color: var(--gray-700);
}


/* ---------------------------------------------------------
   3. ZWEISPALTIGES LAYOUT
   Links: Formular (breiter)
   Rechts: Ansprechpartner + Infos (schmaler)
   --------------------------------------------------------- */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;   /* beide Spalten starten oben */
}

.kontakt-formular h2 {
  margin-bottom: 8px;
}

.kontakt-formular > p {
  font-size: 15px;
  color: var(--gray-700);
  margin-bottom: 36px;
}

/* Status-Meldung nach dem Absenden (Erfolg/Fehler) */
.formular-status {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}
.formular-status.status-success {
  background: rgba(142, 159, 66, 0.12);
  border: 1px solid rgba(142, 159, 66, 0.35);
  color: #445C47;
}
.formular-status.status-error {
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.3);
  color: #a33c2f;
}


/* ---------------------------------------------------------
   4. FORMULAR
   Saubere Formularstile — jedes Feld hat ein Label darüber,
   einheitliche Höhe und Abstände.
   --------------------------------------------------------- */
.formular {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Jede Feld-Gruppe: Label + Input untereinander */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

/* Pflichtfeld-Stern: dezent rot */
.pflicht { color: #c0392b; }

/* Gemeinsame Stile für Input, Select und Textarea */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.18s ease;
  appearance: none;   /* entfernt Browser-Standard-Styling bei Select */
}

/* Fokus-Zustand: Rahmen wird dunkler wenn das Feld aktiv ist */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--black);
}

.form-group textarea {
  resize: vertical;   /* nur vertikales Resizing erlaubt */
  min-height: 140px;
}

/* Select: eigener Pfeil-Indikator da appearance: none
   den Browser-Standard-Pfeil entfernt */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a1a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Datenschutz-Checkbox: horizontal nebeneinander */
.form-check {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 12px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--black); /* Haken-Farbe in unterstützenden Browsern */
}

.form-check label {
  font-size: 13.5px;
  font-weight: 400;  /* nicht fett bei der Datenschutz-Checkbox */
  line-height: 1.5;
  color: var(--gray-700);
  cursor: pointer;
}

.form-check a {
  color: var(--black);
  text-decoration: underline;
}

/* Submit-Button: volle Breite */
.btn-submit {
  width: 100%;
  text-align: center;
  padding: 15px;
  font-size: 15px;
}

.pflicht-hinweis {
  font-size: 12.5px;
  color: var(--gray-500);
  margin-top: -8px;  /* näher am Button */
}


/* ---------------------------------------------------------
   5. ANSPRECHPARTNER & INFOS (rechte Spalte)
   --------------------------------------------------------- */

/* Ansprechpartner-Karte */
.ansprechpartner { margin-bottom: 0; }
.ansprechpartner .eyebrow { margin-bottom: 18px; }

.ap-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

/* Kleiner runder Avatar — wie auf der Team-Seite */
.ap-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
}

.ap-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}

.ap-rolle {
  font-size: 13px;
  color: var(--gray-500);
}

/* Kontaktdaten-Liste */
.kontakt-daten {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kontakt-daten li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kontakt-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.kontakt-wert {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
}
.kontakt-wert:hover { color: var(--gray-500); }

/* Trennlinie zwischen den Info-Blöcken */
.info-divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 28px 0;
}

/* Projektgebiete */
.projektgebiete .eyebrow { margin-bottom: 10px; }

.projektgebiete-claim {
  font-size: 16px;
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: 20px;
}

.gebiete-liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.gebiet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}
.gebiet:last-child { border-bottom: none; padding-bottom: 0; }

.gebiet-name {
  font-size: 15px;
  font-weight: 600;
}

.gebiet-sub {
  font-size: 13px;
  color: var(--gray-500);
}

.projektgebiete-hinweis {
  font-size: 13px;
  color: var(--gray-500);
  font-style: italic;
}

/* Reaktionszeit */
.reaktionszeit .eyebrow { margin-bottom: 10px; }
.reaktionszeit p {
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.6;
}
.reaktionszeit strong { color: var(--black); }


/* ---------------------------------------------------------
   6. RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 860px) {

  /* Einspaltig auf Tablet/Mobile:
     Formular oben, Infos darunter */
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 480px) {
  .gebiet { flex-direction: column; align-items: flex-start; gap: 2px; }
}
