/* Überschrift und kurze Einleitung */
#reactroot > .l-container > h1.webmasterSeo {
  box-sizing: border-box;
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 15px 4px;
  color: #FFF7FA;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

#reactroot > .l-container > h1.webmasterSeo + div.webmasterSeo {
  box-sizing: border-box;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px 12px;
  color: #D8CDD3;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

#reactroot > .l-container > h1.webmasterSeo + div.webmasterSeo > p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: inherit;
}

/* Profil: Anruf als Hauptaktion, Benachrichtigung als Nebenaktion. */
.c-profile-page .c-profile__callinfo > p > a[href^="tel:"] > .numberline {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 6px;
  background-color: #96274E;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.2;
}

.c-profile-page .c-profile__callinfo > p > a[href^="tel:"] > .numberline :is(.highlight2, svg),
.kit:has(.c-profile-page) #mobileFooter .left > a.button[href^="tel:"] :is(.ddi, svg) {
  color: inherit;
}

.c-profile-page .c-profile__callinfo > p > strong > a[href^="tel:"],
.c-profile-page .c-profile__callinfo > p > span.highlight2 {
  padding: 2px 5px;
  border-radius: 4px;
  background-color: rgba(255, 224, 234, .14);
  color: #FFE0EA;
  white-space: nowrap;
}

/* Die mobile Anrufleiste behaelt ihre vorhandenen Masse. */
.kit:has(.c-profile-page) #mobileFooter .left > a.button[href^="tel:"] {
  background-color: #96274E;
  background-image: none;
  border-color: #C65B81;
  color: #fff;
}

@media (hover: hover) {
  .c-profile-page .c-profile__callinfo > p > a[href^="tel:"]:hover > .numberline,
  .kit:has(.c-profile-page) #mobileFooter .left > a.button[href^="tel:"]:hover {
    background-color: #7C203F;
  }
}

.c-profile-page .c-profile__callinfo > p > a[href^="tel:"]:focus-visible > .numberline,
.kit:has(.c-profile-page) #mobileFooter .left > a.button[href^="tel:"]:focus-visible {
  outline: 2px solid #FFD5E3;
  outline-offset: 2px;
}

.c-profile-page .c-webpush-button:not(.c-webpush-button--active, [disabled], [aria-disabled="true"]) {
  background-color: #F4C8D7;
  color: #431525;
  animation: none;
}

/* Oberes Menue: aktive Seite hervorheben, ohne die Masse zu aendern. */
#categoryNav .c-navigation__link {
  background-color: #2B2028;
  color: #FFF7FA;
}

#categoryNav .c-navigation__link--active {
  background-color: #503240;
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 #F4A7C0;
}

@media (min-width: 601px) {
  #categoryNav .c-navigation__link {
    font-weight: 600;
  }
}

@media (hover: hover) {
  #categoryNav .c-navigation__link:not(.c-navigation__link--active):hover {
    background-color: #3B2933;
  }
}

#categoryNav .c-navigation__link:focus-visible {
  outline: 2px solid #FFD5E3;
  outline-offset: -4px;
}

/* Textbereiche auf Startseite, Chat-Cam und Telefonsex */
#reactroot:has(#categoryNav a:is([href="/"], [href="/chatcam/"], [href="/telefonsex/"])[aria-current="page"]) .footer.webmasterSeo {
  box-sizing: border-box;
  width: 100%;
  max-width: 920px;
  margin: 48px auto 24px;
  padding: 0 20px;
}

#reactroot:has(#categoryNav a:is([href="/"], [href="/chatcam/"], [href="/telefonsex/"])[aria-current="page"]) .footer.webmasterSeo h2 {
  margin: 24px 0 8px;
}

#reactroot:has(#categoryNav a:is([href="/"], [href="/chatcam/"], [href="/telefonsex/"])[aria-current="page"]) .footer.webmasterSeo p {
  margin: 0 0 8px;
}

@media (max-width: 600px) {
  #reactroot:has(#categoryNav a:is([href="/"], [href="/chatcam/"], [href="/telefonsex/"])[aria-current="page"]) .footer.webmasterSeo {
    margin: 32px auto 20px;
    padding: 0 15px;
  }
}

/* Footer-Farben und Profilbilder */
#reactroot:has(#categoryNav a:is([href="/"], [href="/chatcam/"], [href="/telefonsex/"])[aria-current="page"]) .footer.webmasterSeo {
  --footer-heading: #F4A7C0;
  --footer-text: #D8CDD3;
  --footer-divider: #503240;
}

#reactroot:has(#categoryNav a[href="/"][aria-current="page"]) .footer.webmasterSeo > div:has(> a[href*="/profil/"] > img) {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 22px;
  max-width: 100%;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--footer-divider);
}

#reactroot:has(#categoryNav a[href="/"][aria-current="page"]) .footer.webmasterSeo > div > a[href*="/profil/"]:has(> img) {
  display: block;
  flex: 0 0 180px;
  max-width: 100%;
}

#reactroot:has(#categoryNav a[href="/"][aria-current="page"]) .footer.webmasterSeo > div > a[href*="/profil/"] > img {
  display: block;
  width: 180px !important;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

#reactroot:has(#categoryNav a[href="/"][aria-current="page"]) .footer.webmasterSeo > div > a[href*="/profil/"]:has(> img) + div {
  max-width: none;
  flex: 1 1 260px;
  min-width: 0;
  overflow-wrap: break-word;
}

#reactroot:has(#categoryNav a:is([href="/"], [href="/chatcam/"], [href="/telefonsex/"])[aria-current="page"]) .footer.webmasterSeo > h2 {
  max-width: none;
  color: var(--footer-heading);
  font-size: 18px;
  line-height: 1.35;
}

#reactroot:has(#categoryNav a:is([href="/"], [href="/chatcam/"], [href="/telefonsex/"])[aria-current="page"]) .footer.webmasterSeo > h2 > span {
  color: inherit !important;
}

#reactroot:has(#categoryNav a:is([href="/"], [href="/chatcam/"], [href="/telefonsex/"])[aria-current="page"]) .footer.webmasterSeo > p {
  max-width: none;
  margin: 0 0 12px;
  color: var(--footer-text);
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

#reactroot:has(#categoryNav a:is([href="/"], [href="/chatcam/"], [href="/telefonsex/"])[aria-current="page"]) .footer.webmasterSeo > p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#reactroot:has(#categoryNav a[href="/"][aria-current="page"]) .footer.webmasterSeo > hr {
  max-width: none;
  height: 0;
  margin: 24px 0 16px;
  border: 0;
  border-top: 1px solid var(--footer-divider);
}

/* Ein gemeinsamer Übergang vom letzten Profil zum Infobereich */
#reactroot:has(#categoryNav a[href="/"][aria-current="page"]) .footer.webmasterSeo > div:has(> a[href*="/profil/"] > img):has(+ hr) {
  padding-bottom: 0;
  border-bottom: 0;
}

#reactroot:has(#categoryNav a[href="/"][aria-current="page"]) .footer.webmasterSeo > hr ~ hr {
  display: none;
}

#reactroot:has(#categoryNav a[href="/"][aria-current="page"]) .footer.webmasterSeo > hr ~ h2 {
  margin-top: 28px !important;
}

/* Einzelprofile: Gestaltung des Footer-Textes */
#reactroot:has(.c-profile-page) .footer.webmasterSeo {
  box-sizing: border-box;
  width: 100%;
  max-width: 920px;
  margin: 48px auto 24px;
  padding: 0 20px;
  text-align: left;
}

#reactroot:has(.c-profile-page) .footer.webmasterSeo > h2 {
  margin: 24px 0 8px;
  color: #F4A7C0;
  font-size: 18px;
  line-height: 1.35;
}

#reactroot:has(.c-profile-page) .footer.webmasterSeo > p {
  margin: 0 0 12px;
  color: #D8CDD3;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

#reactroot:has(.c-profile-page) .footer.webmasterSeo > p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  #reactroot:has(.c-profile-page) .footer.webmasterSeo {
    margin: 32px auto 20px;
    padding: 0 15px;
  }
}