/* ============================================================
   kontakt.css – Kontaktseite: kurzer Hero, Formular,
                 Kontakt-Infocard
   Benötigt: base.css
   ============================================================ */

body { background: var(--cream); }

/* ── Kurzer Hero ── */
.hero {
  min-height: 40vh;
  padding-top: 68px;
  background: var(--dark-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise-svg);
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  list-style: none;
}

.breadcrumb li {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: '›';
  margin-right: 0.5rem;
  color: var(--brand-light);
}

.breadcrumb a { color: var(--sand); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--brand-light); }

.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}

/* ── Hauptinhalt ── */
.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem 7rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .content-grid { grid-template-columns: 3fr 2fr; gap: 4rem; align-items: start; }
}

/* ── Formular ── */
.form-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.fehler-hinweis {
  background: #fdf2f0;
  border-left: 4px solid #c0392b;
  padding: 0.875rem 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
  color: #c0392b;
}

.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.form-label .required { color: var(--brand); margin-left: 0.2em; }

.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(93, 181, 43, 0.12);
}

/* Fehler-Zustand (via JS) */
.form-input.field-error,
.form-select.field-error,
.form-textarea.field-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.form-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='%236b6858' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-textarea { resize: vertical; min-height: 130px; }

.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.35rem; }

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* DSGVO Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--sand);
  background: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0.15em;
  accent-color: var(--brand);
}

.form-check-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.form-check-label a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.form-check-label a:hover { color: var(--brand-hover); }

/* 2-Spalten-Reihe Name + Telefon */
.form-row { display: grid; grid-template-columns: 1fr; gap: 0 1.25rem; }
@media (min-width: 540px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-submit {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* ── Kontakt-Infocard ── */
.contact-card {
  background: var(--dark-surface);
  padding: 2.25rem 2rem;
  position: sticky;
  top: 88px;
}

.contact-card__title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.contact-card__sub {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(93, 181, 43, 0.25);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item__icon {
  width: 36px;
  height: 36px;
  background: var(--dark-surface2);
  border: 1px solid rgba(93, 181, 43, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--brand-light);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item__label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.2rem;
}

.contact-item__value { font-size: 0.9rem; color: var(--white); line-height: 1.5; }
.contact-item__value a { color: var(--brand-light); transition: color 0.2s; }
.contact-item__value a:hover { color: var(--white); }

.contact-card__note {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(93, 181, 43, 0.2);
  font-size: 0.825rem;
  color: var(--sand);
  line-height: 1.6;
}

.contact-card__note strong {
  display: block;
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.4rem;
}
