/* ============================================================
   KONTAKT PAGE STYLES — kontakt.html
   web-erhebung.de
   ============================================================ */

/* --- Hero --- */
.kontakt-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, #0a0e1a 0%, #0d1629 100%);
  border-bottom: 1px solid #1e2d45;
}

.kontakt-hero__inner {
  max-width: 640px;
}

.kontakt-hero h1 {
  margin-bottom: 0.75rem;
}

.kontakt-hero p {
  color: #9ca3af;
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0;
}

/* --- Main contact layout --- */
.kontakt-main {
  padding: 4rem 0;
  background-color: #0a0e1a;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Contact Form --- */
.contact-form-card {
  background-color: #111827;
  border: 1px solid #1e2d45;
  border-radius: 16px;
  padding: 2rem;
}

.contact-form-card h2 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.contact-form-card > p {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #1e2d45;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: #0a0e1a;
  border: 1px solid #1e2d45;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #f9fafb;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #4b5563;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-submit {
  margin-top: 0.5rem;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
}

.form-note {
  font-size: 0.8rem;
  color: #4b5563;
  margin-top: 0.75rem;
  text-align: center;
}

/* --- Info sidebar --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card {
  background-color: #111827;
  border: 1px solid #1e2d45;
  border-radius: 12px;
  padding: 1.5rem;
}

.info-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card h3 svg {
  color: #3b82f6;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #1e2d45;
}

.info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-item:first-of-type {
  padding-top: 0;
}

.info-label {
  font-size: 0.75rem;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.info-value {
  color: #f9fafb;
  font-size: 0.9375rem;
}

.info-value a {
  color: #3b82f6;
  text-decoration: none;
}

.info-value a:hover {
  color: #93c5fd;
}

/* --- Department cards --- */
.dept-card {
  background-color: #0a0e1a;
  border: 1px solid #1e2d45;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 0.75rem;
  transition: border-color 0.2s ease;
}

.dept-card:first-of-type {
  margin-top: 1rem;
}

.dept-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.dept-card h4 {
  font-size: 0.875rem;
  color: #f9fafb;
  margin-bottom: 0.25rem;
}

.dept-card p {
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0;
}

.dept-card a {
  font-size: 0.875rem;
  color: #3b82f6;
  display: block;
  margin-top: 0.25rem;
}

/* --- Hours table --- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.hours-table tr {
  border-bottom: 1px solid #1e2d45;
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 0.5rem 0;
  color: #9ca3af;
}

.hours-table td:last-child {
  text-align: right;
  color: #f9fafb;
}

.hours-closed {
  color: #4b5563 !important;
}

/* --- Map section --- */
.kontakt-map {
  padding: 0 0 4rem;
  background-color: #0a0e1a;
}

.map-header {
  margin-bottom: 1.5rem;
}

.map-header h2 {
  font-size: 1.25rem;
}

.map-header p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1e2d45;
  background-color: #111827;
  height: 360px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: invert(0.9) hue-rotate(180deg);
}
