/* contact.css – CSS-Variablen-kompatibel */

.contact-page { padding-bottom: 4rem; }

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--red);
}

.contact-form-section {
  padding: 3rem 0;
  background: var(--bg-page);
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-main);
  font-size: 0.95rem;
}
.required { color: var(--red); }

.form-group input,
.form-group textarea {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border-col);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--bg-card);
  color: var(--text-main);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--bg-card);
}
.form-group textarea { resize: vertical; min-height: 140px; }

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

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.form-hint { font-size: 0.8rem; color: var(--text-muted); max-width: 400px; line-height: 1.5; }
.form-hint a { color: var(--red); }

.contact-info-section {
  background: var(--bg-section);
  padding: 3rem 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact-card {
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-top: 4px solid var(--red);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.contact-card--address { padding: 1.5rem; }
.contact-card--address .contact-card__icon { font-size: 2rem; margin-bottom: 0.5rem; }
.contact-card--address h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}
.contact-card--address address {
  font-style: normal;
  line-height: 1.8;
  color: var(--text-muted);
}
.contact-card--address address a { color: var(--red); text-decoration: none; }
.contact-card--address address a:hover { text-decoration: underline; }

.contact-card--pitch { padding: 0; }

.pitch-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--bg-section);
}
.pitch-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.contact-card--pitch:hover .pitch-image img { transform: scale(1.03); }

.pitch-body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; }
.pitch-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.pitch-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pitch-info li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.pitch-info__label {
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 90px;
  font-size: 0.82rem;
}

.surface-badge {
  background: var(--bg-section);
  color: var(--text-muted);
  border: 1px solid var(--border-col);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.maps-section { padding: 2rem 0 3rem; }

.maps-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  min-height: 380px;
  position: relative;
  background: var(--bg-section);
}

.maps-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  background: var(--bg-section);
}
.maps-placeholder__inner {
  text-align: center;
  padding: 2rem;
  max-width: 420px;
}
.maps-placeholder__icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.maps-placeholder__inner p { color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.6; }
.maps-placeholder__inner small { font-size: 0.8rem; color: var(--text-muted); }
.maps-placeholder__inner a { color: var(--red); }

#mapsFrame iframe { width: 100%; height: 380px; border: none; display: block; }

.alert { padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1.5rem; font-size: 0.95rem; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-error ul { margin: 0; padding-left: 1.2rem; }
