/* ============================================================
 * TRINITY — Templates CSS (Hero, Pillars, CTA-Strip, Content)
 * ============================================================ */

/* HERO */
.t-hero {
  background: var(--tm-bg);
  padding: var(--sp-3xl) 0 var(--sp-xxl);
  position: relative;
  overflow: hidden;
}
.t-hero-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.t-hero .t-display { margin-bottom: var(--sp-md); }
.t-hero .t-display em { font-style: italic; color: var(--tm-blue-deep); }
.t-hero .t-tagline { margin: var(--sp-md) 0 var(--sp-lg); }
.t-hero .t-lead { max-width: 640px; margin: 0 auto var(--sp-xl); }
.t-hero-cta { display: flex; gap: var(--sp-md); justify-content: center; flex-wrap: wrap; margin-bottom: var(--sp-xl); }
.t-hero-image {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16/9;
}

/* PAGE HERO (Unterseiten) */
.t-page-hero {
  background: var(--tm-bg);
  padding: var(--sp-xxl) 0 var(--sp-xl);
  border-bottom: 1px solid var(--tm-line);
}
.t-page-hero h1 { font-size: 44px; max-width: 800px; }
.t-page-hero .t-lead { max-width: 720px; margin-top: var(--sp-md); }

/* CONTENT WRAPPER */
.t-content {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.7;
}
.t-content h2 { margin-top: var(--sp-xxl); }
.t-content h3 { margin-top: var(--sp-xl); }
.t-content ul, .t-content ol { padding-left: 1.2em; }
.t-content li { margin-bottom: var(--sp-sm); }
.t-content blockquote {
  border-left: 4px solid var(--tm-blue-deep);
  padding: var(--sp-md) var(--sp-lg);
  margin: var(--sp-lg) 0;
  font-style: italic;
  background: var(--tm-blue-mist);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.t-page-thumb { margin-bottom: var(--sp-xl); border-radius: var(--r-md); overflow: hidden; }
.t-page-thumb img { width: 100%; height: auto; display: block; }

/* PILLARS GRID (3-Col) */
.t-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}
.t-pillar h3 { margin-top: var(--sp-sm); }
.t-pillar p { color: var(--tm-ink); }
.t-link-more {
  display: inline-block;
  margin-top: var(--sp-md);
  font-family: var(--tm-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--tm-blue-deep);
}

/* CTA STRIP */
.t-cta-strip {
  background: var(--tm-charcoal);
  color: white;
  padding: var(--sp-xxl) 0;
}
.t-cta-strip h2 { color: white; }
.t-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-xl);
  flex-wrap: wrap;
}
.t-cta-actions { display: flex; gap: var(--sp-md); flex-wrap: wrap; }

/* BLOG GRID */
.t-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}
.t-blog-card-link { display: block; color: inherit; text-decoration: none; }
.t-blog-card-link:hover { text-decoration: none; }
.t-blog-card h3 { margin: var(--sp-sm) 0; font-size: 18px; }

.t-pagination {
  margin-top: var(--sp-xl);
  display: flex;
  justify-content: center;
}
.t-pagination .page-numbers {
  padding: 8px 14px;
  font-family: var(--tm-sans);
  font-size: 13px;
  color: var(--tm-ink);
  border-radius: var(--r-full);
  margin: 0 4px;
}
.t-pagination .current {
  background: var(--tm-blue-deep);
  color: white;
}

/* MOBILE */
@media (max-width: 900px) {
  .t-pillars { grid-template-columns: 1fr; }
  .t-blog-grid { grid-template-columns: 1fr; }
  .t-cta-inner { flex-direction: column; text-align: center; }
  .t-page-hero h1 { font-size: 32px; }
  .t-hero { padding: var(--sp-xxl) 0; }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .t-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .t-pillars { grid-template-columns: repeat(2, 1fr); }
}

/* FAQ Akkordion */
.t-faq details {
  border-bottom: 1px solid var(--tm-line);
  padding: var(--sp-md) 0;
}
.t-faq summary {
  cursor: pointer;
  font-family: var(--tm-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--tm-charcoal);
  list-style: none;
  padding-right: var(--sp-lg);
  position: relative;
}
.t-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 24px;
  color: var(--tm-blue-deep);
  transition: transform .2s ease;
}
.t-faq details[open] summary::after { content: '−'; }
.t-faq details > *:not(summary) { margin-top: var(--sp-md); color: var(--tm-ink); }
