.family-iframe-wrapper { width: 100%; }
.family-iframe {
  display: block;
  width: 100%;
  height: 1200px;   /* starting height until the real one arrives */
  border: 0;
  overflow: hidden;
}
/* Search suggestions */
.agg-suggest {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 1060;
  background: #fff; border: 1px solid #e5e5e5; border-top: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  max-height: 70vh; overflow-y: auto; text-align: left;
}
.agg-suggest a {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem .75rem; color: #333; text-decoration: none;
}
.agg-suggest a:hover, .agg-suggest a.active { background: #f6f6f6; color: #333; }
.agg-suggest img, .agg-suggest-noimg {
  width: 48px; height: 48px; object-fit: cover; flex: none; background: #f0f0f0;
}
.agg-suggest strong { display: block; }
.agg-suggest small { display: block; color: #777; }
.agg-suggest-all { justify-content: center; font-weight: 600; border-top: 1px solid #eee; color: #50bbb3 !important; }
.agg-suggest-empty { padding: .75rem; color: #777; }

/* Results page */
.agg-result-card {
  display: block; height: 100%; padding: .75rem; text-decoration: none;
  border: 1px solid #e5e5e5; background: #fff;
}
.agg-result-card:hover { border-color: #50bbb3; }
.agg-result-card img, .agg-result-noimg {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  background: #f0f0f0; margin-bottom: .5rem;
}
.agg-result-card small { display: block; color: #777; }

/* Seitenübersicht */
.sitemap-page h1 { margin: 1.5rem 0 1.25rem; }

.sitemap-card {
  margin-bottom: 2rem;
  border: 1px solid #f0f0f0;
  background: #fff;
}
.sitemap-card-title {
  margin: 0;
  padding: .9rem 1.25rem;
  background: #f6f6f6;
  font: 400 .9375rem/1.5 "Roboto", sans-serif;
  color: #333;
}
.sitemap-card-body { padding: 1.25rem; }

.sitemap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem 2rem;
}
@media (min-width: 576px) {
  .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .sitemap-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.sitemap-links { list-style: none; margin: 0; padding: 0; }
.sitemap-links li { padding: .3rem 0; line-height: 1.4; }
.sitemap-links a { overflow-wrap: anywhere; }
.sitemap-top a { font-weight: 700; }
.sitemap-depth-2 { padding-left: 1rem !important; }
.sitemap-depth-3 { padding-left: 2rem !important; }
.sitemap-fam a { font-size: .875rem; }
/* News list */
.news-page h1 { margin: 1.5rem 0 1.25rem; }
.news-toolbar {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding-bottom: 1rem; margin-bottom: 2rem; border-bottom: 1px solid #eee;
}
.news-toolbar-bottom { border-bottom: 0; border-top: 1px solid #eee; padding: 1rem 0 0; margin: 2.5rem 0 0; }
.news-filter { display: flex; flex-wrap: wrap; gap: .75rem; }
.news-filter select {
  height: 2.75rem; min-width: 9rem; padding: .4rem 2rem .4rem .9rem;
  border: 1px solid #464646; border-radius: .125rem; background: #fff; font: inherit; color: #333;
}
.news-pagination { display: flex; align-items: center; gap: 1rem; }
.news-pagination a, .news-pagination .current { text-decoration: none; padding-bottom: .25rem; border-bottom: 2px solid transparent; }
.news-pagination .current { font-weight: 700; border-bottom-color: #50bbb3; }

.news-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem 2rem; }
@media (min-width: 768px)  { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px)  { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.news-card { display: flex; flex-direction: column; align-items: flex-start; }
.news-date { margin-bottom: 1rem; font-size: 1rem; }
.news-title { font-size: 1rem; font-weight: 700; line-height: 1.5; margin-bottom: 1rem; }
.news-title a { text-decoration: none; color: #333; }
.news-title a:hover { color: #50bbb3; }
.news-excerpt { margin-bottom: 1.25rem; }
.news-more { margin-top: auto; }
/* Contact form */
.contact-form .form-group { margin-bottom: 1rem; }
.contact-form label { margin-bottom: .35rem; font-weight: 600; }
.contact-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1rem; }
@media (min-width: 576px) { .contact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-consent { display: flex; gap: .6rem; align-items: flex-start; }
.contact-consent input { margin-top: .35rem; flex: none; }
.contact-consent label { font-weight: 400; font-size: .875rem; margin: 0; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-alert { padding: .9rem 1.1rem; margin-bottom: 1.25rem; border-left: 4px solid; }
.contact-alert-ok { background: #eaf6ec; border-color: #1c871e; color: #14571a; }
.contact-alert-error { background: #fbeaea; border-color: #b90000; color: #7a0000; }
.zoho-note { padding: 1rem 1.1rem; background: #fff; border: 1px solid #e5e5e5; }
.zoho-note p { font-size: .875rem; margin-bottom: 1rem; }
@media (min-width: 992px) {
  .nav-scrollbar-item .nav-mobile-heading {
    padding-right: 0;
  }
}
.nav-scrollbar-item .nav-mobile-heading {
  display: block;
  padding-right: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}