/* =====================================================
   KONTAKT – Seitenstyles
   ===================================================== */

/* =========================================
   Kontaktdaten
   ========================================= */

.kontakt-details {
  margin-top: 24px;

  /* Typo wie p aus layout.css */
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
}

@media (min-width: 1400px) {
  .kontakt-details {
    font-size: 26px; /* wie p in layout.css */
  }
}

.kontakt-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 14px;
}

.kontakt-info-row:last-of-type {
  margin-bottom: 0;
}

.kontakt-info-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-top: 4px;
}

/* SVG-Style wie Footer, skaliert aber mit der Textgröße */
.kontakt-icon-svg {
  width: 1.25em;
  height: 1.25em;
  display: block;
  flex-shrink: 0;

  stroke: #6c605f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mail optisch etwas dünner */
.kontakt-icon-svg.icon-mail {
  stroke-width: 1.6;
}

.kontakt-info-text {
  display: block;
}

/* Uppercase-Zeile in deinem Stil */
.kontakt-uppercase {
  margin-top: 18px;
  text-transform: uppercase;
}

/* Mobile etwas kompakter */
@media (max-width: 900px) {
  .kontakt-info-row {
    gap: 12px;
    margin-bottom: 12px;
  }
}


/* =========================================
   Edge-Icon Größe (Override)
   ========================================= */

body.kontakt .content-grid .box-media.stilelement-edge {
  overflow: hidden;
}

/* Desktop: sichtbar groß, aber gedeckelt */
body.kontakt .content-grid .box-media.stilelement-edge img {
  display: block;
  width: auto;
  height: 520px;
  max-height: 620px;
  object-fit: contain;
  margin: 0;
}

/* Zwischenbreiten */
@media (max-width: 1200px) {
  body.kontakt .content-grid .box-media.stilelement-edge img {
    height: 440px;
    max-height: 520px;
  }
}

/* Mobile */
@media (max-width: 900px) {
  body.kontakt .content-grid .box-media.stilelement-edge img {
    height: 320px;
    max-height: 380px;
  }
}


/* =========================================
   Map / Hinweis / Liste
   ========================================= */

.kontakt-map-hinweis {
  margin-top: 14px;
  font-size: 16px;
  opacity: 0.85;
}

.kontakt-map .map-link {
  position: relative;
  display: block;
  text-decoration: none;
}

.kontakt-map img {
  width: 100%;
  height: auto;
  display: block;
}

.kontakt-map .map-overlay {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-block;
  padding: 10px 14px;
  background: rgba(108, 96, 95, 0.92);
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.kontakt-map .map-link:hover .map-overlay {
  background: rgba(90, 80, 79, 0.95);
}

.kontakt-oepnv {
  margin: 10px 0 0;
  padding-left: 20px;
}

.kontakt-oepnv li {
  margin-bottom: 10px;
}


.map-credits {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.6;
}


/* =========================================
   Öffentliche Anbindung
   ========================================= */

.kontakt-oepnv-block {
  grid-column: 1 / -1;     /* spannt über beide Grid-Spalten */
  margin-top: 60px;        /* Desktop: deutlich Luft nach oben */
}

/* Manche Desktop-Zwischenbreiten wirken sonst "zu knapp" */
@media (max-width: 1200px) {
  .kontakt-oepnv-block {
    margin-top: 45px;
  }
}

/* Mobile: Abstand nach oben etwas größer, damit es nicht "klebt" */
@media (max-width: 900px) {
  .kontakt-oepnv-block {
    margin-top: 0px;
  }
}

/* Optional: h3 unten etwas Luft zur Liste */
.kontakt-oepnv-block h3 {
  margin-bottom: 16px;
}



