/**
 * /impressum — Ergänzungen zu unternehmensprofil-profil.css
 */
body.nav-impressum .ahf-impressum-profil-link {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
  line-height: 1.5;
}

body.nav-impressum .ahf-impressum-profil-link a {
  font-weight: 600;
  color: var(--ahf-profil-accent, #1b978d);
  text-decoration: none;
}

body.nav-impressum .ahf-impressum-profil-link a:hover {
  text-decoration: underline;
}

body.nav-impressum .ahf-impressum-betreiber-box {
  margin: 0 0 1.35rem;
  padding: 1.35rem 1.45rem 1.5rem;
  background: #f7fafb;
  border: 2px solid var(--ahf-profil-accent, #1b978d);
  border-radius: 8px;
  box-sizing: border-box;
}

body.nav-impressum .ahf-impressum-betreiber-box .ahf-profil-meta {
  margin: 0;
}

body.nav-impressum .ahf-impressum-section__head {
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

body.nav-impressum .ahf-impressum-section__head .ahf-profil-section__title {
  flex: 1 1 auto;
  margin: 0;
}

body.nav-impressum .ahf-impressum-section__logo {
  flex: 0 0 auto;
  margin-left: auto;
  justify-content: flex-end;
  width: auto;
  min-width: 120px;
  max-width: 185px;
  height: auto;
  min-height: 0;
  padding: 0.5rem 0.65rem;
}

body.nav-impressum .ahf-impressum-section__logo img {
  margin-left: auto;
  width: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  object-position: right center;
}

@media (max-width: 575px) {
  body.nav-impressum .ahf-impressum-section__head {
    flex-wrap: wrap;
  }

  body.nav-impressum .ahf-impressum-section__logo {
    margin-left: 0;
    width: 100%;
    max-width: none;
    justify-content: flex-end;
  }
}

body.nav-impressum .ahf-impressum-agb {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--ahf-profil-line, #e4eaec);
}

body.nav-impressum .ahf-impressum-agb a {
  font-weight: 600;
  color: var(--ahf-profil-head, #2a2a2a);
  text-decoration: none;
}

body.nav-impressum .ahf-impressum-agb a:hover {
  color: var(--ahf-profil-accent, #1b978d);
}

body.nav-impressum .ahf-impressum-agb a i {
  margin-right: 0.35rem;
  color: var(--ahf-profil-accent, #1b978d);
}

body.nav-impressum .ahf-impressum-agb__size {
  font-size: 0.92rem;
  color: var(--ahf-profil-muted, #5a6570);
}

body.nav-impressum .ahf-impressum-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.35rem 0 0;
  align-items: stretch;
}

body.nav-impressum .ahf-impressum-info-card.ahf-contact-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 2px solid var(--ahf-profil-accent, #1b978d);
  border-radius: 8px;
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: none;
}

body.nav-impressum .ahf-impressum-info-card .ahf-contact-card__name {
  margin: 0 0 0.65rem;
  font-size: 1.116rem;
  line-height: 1.25;
}

body.nav-impressum .ahf-impressum-info-card .ahf-contact-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

body.nav-impressum .ahf-impressum-maps {
  margin: 0;
  margin-top: auto;
  padding-top: 0.35rem;
}

body.nav-impressum .ahf-impressum-hours {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

body.nav-impressum .ahf-impressum-hours li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--ahf-profil-line, #e4eaec);
  font-size: 0.95rem;
}

body.nav-impressum .ahf-impressum-hours li:last-child {
  border-bottom: 0;
}

body.nav-impressum .ahf-impressum-hours span {
  color: var(--ahf-profil-muted, #5a6570);
}

body.nav-impressum .ahf-impressum-hours strong {
  font-weight: 600;
  color: var(--ahf-profil-head, #2a2a2a);
}

body.nav-impressum .ahf-impressum-coords {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

body.nav-impressum .ahf-impressum-maps a {
  font-weight: 600;
  color: var(--ahf-profil-accent, #1b978d);
  text-decoration: none;
}

body.nav-impressum .ahf-impressum-maps a:hover {
  text-decoration: underline;
}

body.nav-impressum .ahf-impressum-maps a i {
  margin-right: 0.35rem;
}

/* Rechtliche Abschnitte (weitere CEs) wie Profil-Sektionen */
body.nav-impressum #article-41 .ce_text.bottom50 {
  margin: 0 0 2.5rem;
  padding: 0 0 2rem;
  border-bottom: 1px solid var(--ahf-profil-line, #e4eaec);
}

body.nav-impressum #article-41 .ce_text.bottom50 .inner > h2.headline {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ahf-profil-head, #2a2a2a);
  line-height: 1.25;
}

body.nav-impressum #article-41 .ce_text.bottom50 .inner > h2.headline::after {
  display: none;
}

body.nav-impressum #article-42 > h1.ce_headline,
body.nav-impressum #article-143 > h1.ce_headline {
  margin: 2.5rem 0 1.25rem;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ahf-profil-head, #2a2a2a);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ahf-profil-line, #e4eaec);
}

@media (max-width: 767px) {
  body.nav-impressum .ahf-impressum-cards {
    grid-template-columns: 1fr;
  }

  body.nav-impressum .ahf-impressum-hours li {
    flex-direction: column;
    align-items: flex-start;
  }
}
                                                         