/* ============================================================
   seite-kontakt.css — Unterseite „Kontakt"
   Nutzt Tokens/Klassen aus assets/css/main.css. Nur Ergänzungen,
   die auf dieser Seite gebraucht werden.
   ============================================================ */

/* ---------- Unterseiten-Held ---------- */

.unterheld { padding-bottom: clamp(40px, 6vh, 72px); }

.unterheld .wrap {
  position: relative;
  z-index: var(--z-inhalt);
  max-width: 860px;
}

.unterheld h1 { max-width: 20ch; }

/* ---------- Kern: direkte Kanäle + Formular ---------- */

.kontakt-kern {
  background: var(--bg-tint);
  padding-block: clamp(60px, 8.5vh, 108px);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.kontakt-direkt h2 { font-size: var(--fs-h2); margin-bottom: 16px; }

.kontakt-direkt-lead {
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: clamp(28px, 3.6vh, 40px);
}

.kanal-liste {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: clamp(32px, 4vh, 48px);
}

.kanal {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--linie);
  text-decoration: none;
  color: var(--ink);
  transition: color 0.25s ease, transform 0.25s ease;
}

a.kanal:hover { color: var(--petrol); transform: translateX(4px); }

.kanal-icon {
  flex-shrink: 0;
  color: var(--petrol);
  margin-top: 2px;
}

.kanal-inhalt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kanal-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-leise);
}

.kanal-wert {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.4;
}

/* Telefon: die eine große, klickbare Zeile */
.kanal-tel .kanal-wert {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.kanal-tel .kanal-icon { margin-top: 6px; }

.kanal-adresse .kanal-wert {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 1.05rem;
}

.kontakt-foto {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--karte-schatten);
}

.kontakt-foto img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.kontakt-foto figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(6, 23, 25, 0.55);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- Formular ---------- */

.kontakt-form-karte {
  position: relative;
  background: var(--bg);
  border-radius: 28px;
  padding: clamp(28px, 3.6vw, 48px);
  box-shadow: var(--karte-schatten);
  overflow: hidden;
}

.kontakt-form-karte::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--shimmer);
  background-size: 200% 100%;
  animation: schimmer-lauf 7s linear infinite;
}

.kontakt-form {
  display: grid;
  gap: clamp(20px, 2.6vw, 28px);
}

.feld {
  display: grid;
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 0;
}

.feld legend {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  padding: 0;
  margin: 0;
  letter-spacing: normal;
}

.feld label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.optional {
  color: var(--ink-leise);
  font-weight: 400;
}

.feld input[type="text"],
.feld input[type="email"],
.feld input[type="tel"],
.feld textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--linie);
  background: var(--bg-tint);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.feld input::placeholder,
.feld textarea::placeholder { color: var(--ink-leise); }

.feld input:hover,
.feld textarea:hover { border-color: rgba(14, 94, 99, 0.3); }

.feld input:focus-visible,
.feld textarea:focus-visible {
  outline: none;
  border-color: var(--petrol);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(14, 94, 99, 0.14);
}

.feld textarea { resize: vertical; min-height: 88px; }

.wahl-gruppe {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.wahl-gruppe-schmal { grid-template-columns: repeat(3, 1fr); }

.wahl {
  position: relative;
  display: block;
  cursor: pointer;
}

.wahl input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.wahl span {
  display: flex;
  align-items: center;
  min-height: 46px;
  box-sizing: border-box;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--linie);
  background: var(--bg-tint);
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.3;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.wahl:hover span { border-color: var(--petrol); }

.wahl input:checked + span {
  border-color: var(--petrol);
  background: rgba(14, 94, 99, 0.1);
  color: var(--petrol);
  font-weight: 600;
}

.wahl input:focus-visible + span {
  outline: 2px solid var(--petrol-hell);
  outline-offset: 2px;
}

.kontakt-form .btn { justify-self: start; }

.kontakt-form-hinweis {
  font-size: 0.88rem;
  color: var(--ink-leise);
  text-align: center;
}

/* ---------- Responsive ---------- */

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

@media (max-width: 560px) {
  .wahl-gruppe,
  .wahl-gruppe-schmal { grid-template-columns: 1fr; }

  .kontakt-form-karte { padding: 24px; border-radius: 22px; }

  .kanal { gap: 12px; padding-block: 16px; }
}
