/* =============================================
   TRASPARENZA PAGE
   ============================================= */

/* Hero-Bar (wie index, aber für Unterseiten) */
.page-hero-bar {
  background: var(--green);
  color: #fff;
  padding: 28px 0;
}
.page-hero-bar h1 {
  margin: 0;
  font-size: var(--h1);
  font-weight: 800;
  text-align: center;
  letter-spacing: .2px;
}

/* Zweispaltiges Layout DE | IT */
.trasparenza-grid {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 0 40px;
  align-items: start;
  padding: 56px 0 72px;
}

/* Vertikaler Trennstrich */
.trsp-divider {
  background: rgba(11, 107, 58, .18);
  align-self: stretch;
  margin: 8px 0;
}

/* Inhaltsblöcke */
.trsp-block {
  margin-bottom: 40px;
}
.trsp-block:last-child {
  margin-bottom: 0;
}

/* Überschriften */
.trsp-heading {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--green);
  margin: 0 0 10px 0;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(11, 107, 58, .2);
}

/* Fließtext */
.trsp-col p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 6px 0;
}

.trsp-col a {
  color: var(--green);
  text-decoration: none;
}
.trsp-col a:hover {
  text-decoration: underline;
}

/* Vermittler-Liste */
.trsp-list {
  margin: 10px 0 0 0;
  padding: 0 0 0 20px;
  list-style: disc;
}
.trsp-list li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 4px;
}

.trsp-subheading {
  margin: 18px 0 8px;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
}

.trsp-note {
  margin-top: 12px;
  padding: 14px 16px;
  border-left: 4px solid rgba(11, 107, 58, .42);
  background: rgba(11, 107, 58, .06);
}

.trsp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.trsp-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
}

.trsp-action:hover {
  filter: brightness(.95);
}

/* Platzhalter-Text (grau, kursiv) */
.trsp-placeholder {
  color: var(--muted);
  font-style: italic;
}

/* Aktiver Menülink auf dieser Seite */
.overlay-link--active span:last-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer auf Trasparenza-Seite (kein gallery-Bild) */
.site-footer-trsp .section-gallery {
  padding-top: 0;
}
.site-footer-trsp .gallery {
  display: none; /* keine Galeriebilder auf Unterseite */
}

/* -----------------------------------------------
   Sprachsensitive Spaltenanzeige
   renderI18n() setzt bereits html[lang="de"/"it"]
   ----------------------------------------------- */
html[lang="de"] .trsp-col[lang="it"],
html[lang="de"] .trsp-divider { display: none; }

html[lang="it"] .trsp-col[lang="de"],
html[lang="it"] .trsp-divider { display: none; }

/* Bei einsprachiger Anzeige: volle Breite */
html[lang="de"] .trasparenza-grid,
html[lang="it"] .trasparenza-grid {
  grid-template-columns: 1fr;
}

/* Responsive: untereinander auf Mobile */
@media (max-width: 760px) {
  .trasparenza-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .trsp-divider {
    height: 2px;
    width: 100%;
    margin: 8px 0 40px;
    align-self: auto;
  }
}
