/*
Theme Name: Psychologische Numerologie
Theme URI: https://www.psychologischenumerologie.eu/
Description: Schlankes Block-Theme (nur Gutenberg, mehrsprachig mit Polylang) als Zwischenlösung bis zum Neubau mit Astro. Look nah an der bisherigen Seite.
Author: akademie bios
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: numerologie
*/

:root {
  --nl-brand: #008199;
  --nl-brand-text: #008199;
  --nl-brand-deep: #005a6a;
  --nl-on-brand: #ffffff;           /* Schrift auf Türkis: Weiß wie im Original (Entscheidung Clemens 2026-11-06, Kontrast 4,57 : 1 mit #008199). */
  --nl-gray: #f2f2f2;
  --nl-gold: #c6af6e;
  --nl-gold-text: #9a7f2e;           /* nur große Schrift (Hero-Kursiv) */
  --nl-gold-small: #6b5818;          /* kleine Schrift in Gold */
  --nl-ink: #333333;
  --nl-muted: #666666;
  --nl-line: #d9d9d9;
  --nl-logo-h: 64px;                /* Logo-Höhe am Desktop, klein gehalten */
  --nl-wide: 72rem;
}
html { scroll-behavior: smooth; }
img { height: auto; }
.screen-reader-text, .skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; color: var(--nl-ink); padding: .75rem 1rem; }
:where(a, button, input, textarea, summary):focus-visible { outline: 3px solid var(--nl-ink); outline-offset: 3px; }

/* Kopf */
.site-header { background: var(--nl-brand); color: var(--nl-on-brand); }
.site-header__inner { width: min(var(--nl-wide), 100% - 2rem); margin-inline: auto; padding: .5rem 0; display: flex; align-items: center; gap: 1.25rem; min-height: 4.5rem; flex-wrap: wrap; }
.site-logo { display: block; flex: none; }
.site-logo img { height: var(--nl-logo-h); width: auto; display: block; }
.nav-toggle { display: none; margin-left: auto; min-height: 2.75rem; padding: .4rem 1rem; background: transparent; color: var(--nl-on-brand); border: 2px solid currentColor; border-radius: 5px; font: inherit; font-weight: 500; cursor: pointer; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.site-nav__list, .site-nav__list ul { list-style: none; margin: 0; padding: 0; }
.site-nav__list { display: flex; gap: clamp(.7rem, 1.2vw, 1.3rem); flex-wrap: nowrap; }
.site-nav__list > li { position: relative; }
.site-nav a { color: var(--nl-on-brand); text-decoration: none; font-weight: 500; font-size: .9375rem; white-space: nowrap; text-transform: uppercase; letter-spacing: .02em; display: block; padding: .5rem 0; border-bottom: 2px solid transparent; }
.site-nav__list > li > a:hover, .site-nav__list > li.current-menu-item > a, .site-nav__list > li.current-menu-ancestor > a { border-bottom-color: currentColor; }
.site-nav .sub-menu { display: none; position: absolute; left: -1rem; top: 100%; min-width: 16rem; background: #fff; box-shadow: 0 6px 18px rgb(0 0 0 / .15); padding: .5rem 1rem; z-index: 50; border-radius: 0 0 5px 5px; }
.site-nav .sub-menu a { color: var(--nl-brand-text); text-transform: none; font-size: 1rem; padding: .4rem 0; }
.site-nav .sub-menu a:hover { color: var(--nl-brand-deep); text-decoration: underline; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: block; }
.site-search { display: flex; align-items: center; background: #fff; border-radius: 999px; border: 2px solid #fff; padding-right: 2px; }
.site-search input { border: 0; padding: .35rem .3rem .35rem .9rem; font: inherit; font-size: .95rem; width: 6rem; color: var(--nl-ink); background: transparent; }
.site-search input:focus-visible { outline-offset: 6px; }
.site-search button { border: 0; background: transparent; color: var(--nl-brand-text); width: 2rem; height: 2rem; padding: 0; display: grid; place-items: center; border-radius: 50%; cursor: pointer; }
.site-search button:hover { color: var(--nl-brand-deep); }
.lang-dd { position: relative; }
.lang-dd__btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: 0 .5rem; background: transparent; color: var(--nl-on-brand); border: 0; border-radius: 5px; cursor: pointer; }
.lang-dd img { display: block; width: 24px; height: 16px; object-fit: cover; box-shadow: 0 0 0 1px rgb(0 0 0 / .25); }
.lang-dd__chev { transition: transform .15s; }
.lang-dd.is-open .lang-dd__chev { transform: rotate(180deg); }
.lang-dd__list { display: none; list-style: none; margin: 0; padding: .4rem; position: absolute; right: 0; top: 100%; z-index: 60; background: #fff; border-radius: 0 0 5px 5px; box-shadow: 0 6px 18px rgb(0 0 0 / .15); }
.lang-dd.is-open .lang-dd__list { display: block; }
@media (hover: hover) { .lang-dd:hover .lang-dd__list { display: block; } }
.lang-dd__list a { display: flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .5rem; border-bottom: 0; }
.lang-dd__list a:hover { background: var(--nl-gray); }

/* Inhalt */
.site-main { max-width: var(--nl-wide); margin: 0 auto; background: #fff; padding: 2rem 1rem 3rem; }
.site-main > .wp-block-post-title, .content-head { max-width: 44rem; }
.entry-meta { color: var(--nl-muted); font-size: 1rem; margin-bottom: 1.5rem; }
.entry-meta a { color: var(--nl-brand-text); }
.entry-meta { align-items: center; }
.entry-meta .entry-cat { margin-left: auto; }
.entry-meta .entry-cat a { margin: 0 0 0 .35rem; color: var(--nl-muted); }
.crumbs { font-size: .95rem; color: var(--nl-muted); margin-bottom: 1rem; }
.crumbs a { color: var(--nl-muted); }
nav.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .4rem; }
nav.crumbs li + li::before { content: ">"; margin-right: .4rem; }
nav.crumbs a { text-decoration: none; }
nav.crumbs a:hover, nav.crumbs a:focus-visible { text-decoration: underline; }
nav.crumbs { margin-bottom: 1.5rem; }
.wp-block-post-terms a { display: inline-block; background: #fff; border: 1px solid var(--nl-line); color: var(--nl-muted); text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .65rem; border-radius: 999px; }
.wp-block-post-featured-image img { border-radius: 5px; }

/* Bausteine (Muster) */
em.gold, .has-gold-text { font-style: italic; color: var(--nl-gold-text); }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nl-gold-small); margin: 0; }
.is-style-outline .wp-block-button__link, .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--nl-gold-small); border: 1px solid var(--nl-gold); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgb(198 175 110 / .15); color: var(--nl-gold-small); }
.card { background: rgb(198 175 110 / .12); border: 1px solid var(--nl-gold); border-radius: 5px; padding: 1.25rem 1.5rem; }
.card h3 { margin-top: 0; }
.card, .card * { overflow-wrap: break-word; hyphens: manual; }
.wp-block-post-terms__separator { display: none; }
.wp-block-post-terms a { margin: 0 .35rem .35rem 0; }
.wp-block-post-template.is-layout-grid { gap: 1.5rem; }
.card.is-white { background: #fff; }
.num { font-weight: 700; color: var(--nl-gold-small); letter-spacing: .08em; margin: 0; }
.band-gray { background: var(--nl-gray); }
.compare-no li { list-style: none; color: var(--nl-muted); }
.compare-no li::before { content: "\2715\00a0"; }
.compare-yes li { list-style: none; }
.compare-yes li::before { content: "\2713\00a0"; color: #46691a; font-weight: 700; }
.compare-no, .compare-yes { padding-left: 0; }

/* Beitragslisten */
.wp-block-post-template .card h2, .wp-block-post-template .card h3 { font-size: 1.2rem; }
.wp-block-post-template .card .wp-block-post-title a { text-decoration: none; }
.wp-block-query-pagination { margin-top: 2rem; }

/* Fuß */
.site-footer { background: var(--nl-brand); color: var(--nl-on-brand); font-size: 1rem; }
.site-footer__strip { height: 6px; background: var(--nl-gold); }
.site-footer__inner { max-width: var(--nl-wide); margin-inline: auto; padding: 2.5rem 1rem 1.5rem; }
.site-footer a { color: var(--nl-on-brand); }
.site-footer h2 { color: inherit; font-size: 1.05rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .75rem; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer__legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .4); font-size: .875rem; }

/* Mobil: Menü einklappen */
@media (max-width: 78rem) {
  :root { --nl-logo-h: 56px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; flex-basis: 100%; min-width: 0; flex-direction: column; align-items: stretch; margin: 0 0 1rem; gap: 1rem; }
  .site-nav a { white-space: normal; }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list > li > a { padding: .75rem 0; border-bottom: 1px solid rgb(255 255 255 / .35); }
  .site-nav .sub-menu { display: block; position: static; box-shadow: none; background: transparent; padding: 0 0 .5rem 1rem; }
  .site-nav .sub-menu a { color: var(--nl-on-brand); }
  .site-search { width: 100%; }
  .site-search input { flex: 1; width: auto; }
  .lang-dd__list { position: static; background: transparent; box-shadow: none; padding: 0; }
  .lang-dd.is-open .lang-dd__list { display: flex; gap: .25rem; }
  .lang-dd__list a:hover { background: rgb(255 255 255 / .2); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Startseite und Abschnitte */
.section { padding-block: 1.5rem; }
.hero { padding-block: 1rem 2rem; }
.hero h1 { margin-bottom: 1.25rem; }
.hero > p { font-size: 1.25rem; }
.section > h2 { margin-top: .25rem; }
.cta { border-radius: 5px; padding: 2.5rem 1.5rem; text-align: center; margin-block: 2.5rem 1rem; }
.cta h2 { color: #fff; }
.cta p { margin-inline: auto; max-width: 36rem; }
.cta .wp-block-buttons { justify-content: center; }
.cta .wp-block-button__link { background: #fff; color: var(--nl-brand-text); }
.cta .wp-block-button__link:hover { background: var(--nl-gray); color: var(--nl-brand-deep); }
.wp-block-columns img { border-radius: 5px; }
.grid-2, .grid-3 { gap: 1.25rem; }

/* Thrive-Tabellen: Abstände, Zeilenhöhe und Streifen wie auf der bisherigen Seite */
.entry-content .tve_table td, .entry-content .tve_table th, .site-main .tve_table td, .site-main .tve_table th { padding: 10px; text-align: left; vertical-align: top; line-height: 1.7; }
.site-main .tve_table td p, .site-main .tve_table td li, .site-main .tve_table td div { line-height: 1.7; }
.site-main .tve_table tbody tr:nth-child(odd) td { background: var(--nl-gray); }
.site-main .tve_table { max-width: 100%; }
@media (max-width: 40rem) { .site-main .thrv_wrapper:has(> .tve_table) { overflow-x: auto; } }

/* Markenzusatz "nach Dr. Mazza ®" hochgestellt und klein, wie auf der bisherigen Seite */
sup { font-size: .6em; line-height: 0; }
h1 sup, h2 sup { font-size: .45em; }

/* Blog: Kategorie-Menü und Übersicht */
.site-main > .blog-menu { width: 100%; max-width: var(--nl-wide); margin: 0 0 2rem; }
.blog-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.blog-menu a { display: inline-block; padding: .4rem 1rem; border: 1px solid var(--nl-brand); border-radius: 999px; color: var(--nl-brand-text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.blog-menu a:hover { background: var(--nl-gray); }
.blog-menu a.is-current { background: var(--nl-brand); color: #fff; }
.site-main > .cat-section, .site-main > .cat-grid, .site-main > .navigation { width: 100%; max-width: var(--nl-wide); }
.cat-section { margin: 0 0 2.5rem; }
.cat-tab { border-bottom: 2px solid var(--nl-brand); margin-bottom: 1.25rem; }
.cat-tab a { display: inline-block; background: var(--nl-brand); color: #fff; padding: .45rem 1rem; border-radius: 5px 5px 0 0; font-weight: 500; text-decoration: none; }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.post-card { display: flex; flex-direction: column; gap: .5rem; padding: 0 0 1.25rem; overflow: hidden; }
.post-card > * { margin: 0; padding-inline: 1.25rem; }
.post-card .post-card__img { padding: 0; display: block; }
.post-card .post-card__img img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 0; }
.post-card__title { font-size: 1.2rem; margin-top: .75rem !important; }
.post-card__title a { text-decoration: none; }
.post-card__date { color: var(--nl-muted); font-size: .9rem; margin-top: auto !important; }
.cat-more { margin-top: 1rem; }
.navigation.pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.navigation.pagination .page-numbers { padding: .35rem .8rem; border: 1px solid var(--nl-line); border-radius: 5px; text-decoration: none; }
.navigation.pagination .current { background: var(--nl-brand); color: #fff; border-color: var(--nl-brand); }
.navigation.pagination .screen-reader-text { position: absolute; left: -9999px; }
@media (max-width: 48rem) { .cat-grid, .cat-grid--3 { grid-template-columns: 1fr; } }
.ti-box { max-height: 34rem; overflow-y: auto; border: 1px solid var(--nl-line); border-radius: 5px; padding: .5rem; }

/* Mega-Menü "Blog": links Kategorien, rechts Beiträge mit Vorschaubild */
.site-header__inner { position: relative; }
.site-nav__list > li.menu-item-mega { position: static; }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 70; background: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / .18); border-radius: 0 0 5px 5px; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -2rem; height: 2rem; }
.menu-item-mega:hover > .mega, .menu-item-mega:focus-within > .mega { display: flex; }
.mega__list { flex: 0 0 15.5rem; background: var(--nl-brand-deep); padding: 1.25rem 0; border-radius: 0 0 0 5px; }
.site-nav .mega__cat { display: block; color: #fff; text-transform: none; font-size: 1rem; font-weight: 500; white-space: normal; padding: .55rem 1.5rem; border-bottom: 0; letter-spacing: 0; }
.site-nav .mega__cat:hover, .site-nav .mega__cat.is-active { background: var(--nl-brand); }
.mega__panels { flex: 1; padding: 1.5rem; min-height: 20rem; }
.mega__panel { display: none; grid-template-columns: repeat(4, 1fr); gap: 1.25rem 1rem; align-content: start; }
.mega__panel.is-active { display: grid; }
.site-nav .mega__item { display: block; color: var(--nl-brand-text); text-transform: none; white-space: normal; font-size: .92rem; font-weight: 600; line-height: 1.35; padding: 0; border-bottom: 0; letter-spacing: 0; }
.site-nav .mega__item:hover span { text-decoration: underline; }
.mega__item img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; border-radius: 3px; margin-bottom: .4rem; }
@media (max-width: 78rem) {
  .mega { display: block; position: static; box-shadow: none; background: transparent; border-radius: 0; }
  .mega::before { display: none; }
  .mega__list { background: transparent; padding: 0 0 .5rem 1rem; }
  .mega__panels { display: none; }
  .site-nav .mega__cat { padding: .4rem 0; }
  .site-nav .mega__cat:hover { background: transparent; text-decoration: underline; }
}

/* Landingpages */
.lp-hero { background: var(--nl-brand); color: #fff; text-align: center; border-radius: 5px; padding: 2.5rem 1.5rem 2rem; margin-block: 0 2.5rem; }
.lp-hero .lp-tagline { color: #fff; font-size: 1.1rem; margin: 0 0 1rem; line-height: 1.4; }
.lp-hero h2 { color: #fff; font-size: clamp(1.75rem, 4.2vw, 2.6rem); font-weight: 700; line-height: 1.2; margin: 0 0 1.5rem; }
.lp-hero .wp-block-image { margin-block: 0 1.5rem; }
.lp-hero .wp-block-image img { width: 100%; height: auto; border-radius: 5px; }
.lp-hero .lp-lead { color: #fff; font-size: clamp(1.15rem, 2.4vw, 1.5rem); max-width: 46rem; margin-inline: auto; line-height: 1.5; }
.lp-hero .wp-block-button__link { background: #fff; color: var(--nl-brand-text); }
.lp-hero .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: #fff; border: 2px solid #fff; }
.lp-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgb(255 255 255 / .15); color: #fff; }
.lp-quote .lp-avatar { margin: 0 0 .75rem; }
.lp-quote .lp-avatar img { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; }
.lp-quote h4 { margin: 0; color: var(--nl-brand-text); }
.lp-quote .lp-role { color: var(--nl-muted); font-size: .95rem; margin: 0 0 .75rem; }
.lp-quotes2 .grid-3 { align-items: start; }
.lp-pages { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; margin-bottom: .5rem; }
.lp-pages figure { flex: 0 0 min(72%, 21rem); scroll-snap-align: start; margin: 0; }
.lp-pages img { display: block; width: 100%; height: auto; border: 1px solid var(--nl-line); border-radius: 3px; box-shadow: 0 2px 8px rgb(0 0 0 / .12); }
.lp-pages figcaption { text-align: center; font-size: .9rem; color: var(--nl-muted); margin-top: .35rem; }
.lp-note { color: var(--nl-muted); font-size: .95rem; }
.lp-steps { padding-left: 1.4rem; }
.lp-questions li { margin-bottom: .5rem; }
.lp-compare-wrap { overflow-x: auto; }
.lp-compare table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.lp-compare th { background: var(--nl-brand); color: #fff; padding: .6rem .75rem; text-align: center; }
.lp-compare th:first-child, .lp-compare td:first-child { text-align: left; }
.lp-compare td { padding: .45rem .75rem; text-align: center; border-bottom: 1px solid var(--nl-line); }
.lp-compare td:not(:first-child) { color: var(--nl-brand-text); font-weight: 700; }
.lp-compare tbody tr:nth-child(odd) td { background: var(--nl-gray); }
.lp-faq .wp-block-details { border: 1px solid var(--nl-line); border-radius: 5px; padding: .75rem 1rem; margin-bottom: .75rem; }
.lp-faq .wp-block-details summary { font-weight: 600; color: var(--nl-brand-text); cursor: pointer; }
.lp-faq .wp-block-details[open] summary { margin-bottom: .5rem; }
.site-main .cta .wp-block-buttons { justify-content: center; }
.section.lp > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.section.lp > p, .section.lp > ul { max-width: 52rem !important; }
.section.lp > .wp-block-buttons { margin-top: 1.5rem; }

/* Fuß: Logo und Texte wie auf der bisherigen Seite */
.site-footer__about p { margin: 0 0 1rem; line-height: 1.6; }
.site-footer__logo { display: block; width: max-content; margin: 0 auto 1.25rem; }
.site-footer__logo img { display: block; }
.site-footer__label { font-weight: 500; }
.site-footer sup { font-size: .6em; }
.lp-video { position: relative; aspect-ratio: 16 / 9; max-width: 48rem; margin: 0 auto 1.5rem; }
.lp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 5px; }
.lp-hero .lp-video { max-width: 52rem; }
.lp-start { font-size: 1.2rem; color: var(--nl-brand-text); margin-bottom: 1rem; }
.lp-strong { font-weight: 600; font-size: 1.15rem; margin-top: 1.5rem; }
.lp-books { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 1rem; }
.lp-books img { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 2px 8px rgb(0 0 0 / .2); }
.lp-list { padding-left: 1.3rem; }
.lp-list li { margin-bottom: .35rem; }
.lp-modules .wp-block-details, .lp-faq .wp-block-details { border: 1px solid var(--nl-line); border-radius: 5px; padding: .75rem 1rem; margin-bottom: .6rem; }
.lp-modules .wp-block-details summary { font-weight: 600; color: var(--nl-brand-text); cursor: pointer; }
.lp-modules .wp-block-details[open] summary { margin-bottom: .5rem; }
.lp-price-card { text-align: center; }
.lp-price-card .lp-price-kicker { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--nl-muted); margin: 0; }
.lp-price-card .lp-price-kind { font-weight: 700; margin: 0 0 .25rem; }
.lp-price-card .lp-price { font-size: 2.2rem; color: var(--nl-brand-text); margin: 0 0 1rem; }
.lp-price-card .lp-price-list { text-align: left; max-width: 24rem; margin-inline: auto; }
.lp-price-card .wp-block-buttons { justify-content: center; }
.lp-avatar { margin: 0 0 .75rem; }
@media (max-width: 48rem) {
  .grid-2, .grid-3 { grid-template-columns: 1fr !important; }
  .lp-hero { padding: 1.75rem 1rem 1.5rem; }
}
.lp-compare td:not(:first-child) { color: var(--nl-brand-deep); }
.lp-modules h3, .section.lp .card h4 { color: var(--nl-brand-deep); }

/* Landingpage Ausbildung: Seitentitel ausblenden (bleibt für Suchmaschinen und Screenreader im Text), Trustindex, H2 in Karten */
.site-main:has(.lp-hide-title) > .wp-block-post-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Thrive-Inhaltsverzeichnis in Blogartikeln: Farben der Seite statt der alten Thrive-Farben (#00b2d4 Titel, #eaecf1 Kasten, #4b4b4b Text) */
.thrv_contents_table .tve_contents_table { background-color: var(--nl-gray) !important; }
.thrv_contents_table .tve_ct_title { background-color: var(--nl-brand) !important; color: var(--nl-on-brand) !important; }
.thrv_contents_table [class*="tve_ct_level"] { color: var(--nl-ink) !important; }
.thrv_contents_table .ct_column a, .thrv_contents_table .ct_column a:visited { color: var(--nl-brand-text) !important; }
.thrv_contents_table .ct_column a:hover, .thrv_contents_table .ct_column a:focus { color: var(--nl-brand-deep) !important; }
.site-main:has(.lp-hide-title) { padding-top: 0; }
.site-main:has(.lp-hide-title) > .crumbs { display: none; }
.ti-embed { margin: 1rem 0; min-height: 4rem; }
.lp .card h2 { margin-top: 0; font-size: 1.6rem; }

/* Vollbild-Einbettung (z. B. Numerologie-Rechner): Rahmen über die ganze Seitenbreite und die volle Höhe unter dem Kopf */
.site-main.site-main--frame { max-width: none; width: 100%; margin: 0; padding: 0; background: #fff; }
.site-main--frame > * { max-width: none !important; margin: 0 !important; }
.site-main--frame .frame-wrap { width: 100%; }
.site-main--frame iframe { display: block; width: 100%; height: calc(100vh - var(--nl-header-h, 88px)); height: calc(100dvh - var(--nl-header-h, 88px)); min-height: 30rem; border: 0; }

/* Numerologie-Rechner-Formular (im Artikel, per Shortcode oder Block) */
.pn-rechner-box { margin: 1.75rem 0; padding: 1.25rem 1.5rem; border: 1px solid var(--nl-line); border-left: 4px solid var(--nl-brand); border-radius: 5px; background: var(--nl-gray); }
.pn-rechner-box h3 { margin-top: 0; }
.pn-rechner-form .form-group { margin-bottom: .85rem; }
.pn-rechner-form label { display: block; font-weight: 600; margin-bottom: .25rem; }
.pn-rechner-form input.form-control { width: 100%; box-sizing: border-box; padding: .55rem .7rem; font: inherit; border: 1px solid #8a8a8a; border-radius: 4px; background: #fff; color: var(--nl-ink); }
.pn-rechner-form .pn-rechner-btn { display: block; width: 100%; background: var(--nl-brand-text); color: #fff; border: 0; border-radius: 4px; padding: .7rem 1rem; font: inherit; font-weight: 600; cursor: pointer; }
.pn-rechner-form .pn-rechner-btn:hover, .pn-rechner-form .pn-rechner-btn:focus-visible { background: var(--nl-brand-deep); }
