/* ============================================================
   Unterseiten im Piku-Design (Simon, 16.11.2026)
   Greift unter body.rl.pk:not(.pk-home) und überschreibt rl-pages.css
   (das die Tailwind-Klassen auf Schwarz umdeutet) zurück auf hell:
   weiße Seite, schwarze Schrift, dunkle Hero-Bühne, Pastell-Flächen,
   gelbe Pillen-Buttons, Montserrat. Templates bleiben unverändert.
   ============================================================ */
body.rl.pk.sub{background:#fff;color:#000}

/* Typografie */
.pk.sub main h1,.pk.sub main h2{font-family:Montserrat,sans-serif!important;font-weight:700;text-transform:none!important;letter-spacing:-.06em!important;line-height:1.04}
.pk.sub main h1{font-size:clamp(38px,5.2vw,72px)!important;letter-spacing:-.07em!important}
.pk.sub main h2.text-3xl,.pk.sub main h2.text-4xl,.pk.sub main h2.text-5xl,.pk.sub main h2.text-2xl{font-size:clamp(30px,3.8vw,50px)!important}
.pk.sub main h3{font-family:Montserrat,sans-serif;font-weight:700;letter-spacing:-.04em}
.pk.sub .h{font-family:Montserrat,sans-serif!important;text-transform:none!important;letter-spacing:-.06em}

/* Hintergründe: hell */
.pk.sub .bg-white{background:#fff!important}
.pk.sub .bg-graybg,.pk.sub .bg-slate-50,.pk.sub .bg-slate-100,.pk.sub .bg-gray-50,.pk.sub .bg-gray-100{background:#f7f6f7!important}
.pk.sub .bg-gray-200,.pk.sub .bg-gray-300{background:#e6e3e6!important}
.pk.sub .hover\:bg-gray-200\/70:hover,.pk.sub .hover\:bg-gray-200:hover,.pk.sub .hover\:bg-graybg:hover{background:var(--yelp)!important}
.pk.sub .bg-ink{background:var(--night)!important;color:#fff}
.pk.sub .bg-pink-50,.pk.sub .bg-magenta\/10,.pk.sub .bg-heey-cta\/10{background:#ffe3f9!important}
.pk.sub .bg-emerald-50,.pk.sub .bg-green-100{background:#dcfff2!important}
.pk.sub .bg-amber-50,.pk.sub .bg-orange-100{background:#fff6cc!important}
.pk.sub .bg-red-50,.pk.sub .bg-red-100{background:#ffe1e1!important}
.pk.sub .bg-white\/90{background:rgba(255,255,255,.92)!important;color:#000!important}

/* Hero-Bereiche = dunkle Bühne wie Startseite */
.pk.sub .bg-heey-hero{background:var(--night)!important;border:0;color:#fff;
  --tx:#fff;--mut:rgba(255,255,255,.78);--dim:rgba(255,255,255,.55);--line:rgba(255,255,255,.14);--line2:rgba(255,255,255,.3)}
.pk.sub section.bg-heey-hero{border-radius:0 0 48px 48px}
.pk.sub .bg-heey-hero h1,.pk.sub .bg-heey-hero h2,.pk.sub .bg-heey-hero h3{color:#fff!important}
.pk.sub .bg-heey-hero .text-ink,.pk.sub .bg-heey-hero .text-gray-900,.pk.sub .bg-heey-hero .text-gray-800{color:#fff!important}
.pk.sub .bg-heey-hero .text-gray-700,.pk.sub .bg-heey-hero .text-gray-600,.pk.sub .bg-heey-hero .text-slate-600,.pk.sub .bg-heey-hero .text-gray-500,.pk.sub .bg-heey-hero .text-slate-500{color:rgba(255,255,255,.78)!important}
.pk.sub .bg-heey-hero .text-magenta,.pk.sub .bg-heey-hero .text-\[\#D6006E\]{color:var(--pinkp)!important}
.pk.sub .bg-heey-hero nav[aria-label=Breadcrumb]{color:rgba(255,255,255,.6)!important}
.pk.sub .bg-heey-hero nav[aria-label=Breadcrumb] a:hover{color:#fff}
/* Hero-Kästen innerhalb der Bühne */
.pk.sub .bg-heey-hero .bg-white,.pk.sub .bg-heey-hero .bg-white\/90{background:#fff!important;color:#000!important;border-radius:28px}
.pk.sub .bg-heey-hero .bg-white h2,.pk.sub .bg-heey-hero .bg-white h3,.pk.sub .bg-heey-hero .bg-white .text-ink{color:#000!important}
.pk.sub .bg-heey-hero .bg-white .text-gray-600,.pk.sub .bg-heey-hero .bg-white .text-gray-500,.pk.sub .bg-heey-hero .bg-white .text-slate-500{color:#5c575c!important}
/* Hero-Blöcke als Kacheln im Inhalt (CTA-Boxen, Kennzahlen) = Pastell */
.pk.sub div.bg-heey-hero,.pk.sub a.bg-heey-hero{background:var(--lila)!important;color:#000;border-radius:40px!important;
  --tx:#000;--mut:#3a363a;--dim:#3a363a;--line:rgba(0,0,0,.15);--line2:#000}
.pk.sub div.bg-heey-hero.text-white,.pk.sub a.bg-heey-hero.text-white,.pk.sub div.bg-heey-hero .text-white,.pk.sub a.bg-heey-hero .text-white,.pk.sub div.bg-heey-hero [class*="text-white"]{color:#000!important}
.pk.sub div.bg-heey-hero h2,.pk.sub div.bg-heey-hero h3,.pk.sub a.bg-heey-hero h2,.pk.sub a.bg-heey-hero h3{color:#000!important}
.pk.sub div.bg-heey-hero .text-magenta,.pk.sub a.bg-heey-hero .text-magenta{color:#000!important}
.pk.sub div.bg-heey-hero .bg-white\/10,.pk.sub div.bg-heey-hero .bg-white\/15,.pk.sub div.bg-heey-hero .bg-white\/20{background:rgba(255,255,255,.6)!important}
.pk.sub div.bg-heey-hero a.bg-white,.pk.sub div.bg-heey-hero .bg-white{background:#000!important;color:#fff!important}
.pk.sub div.bg-heey-hero .bg-white *{color:inherit}
.pk.sub div.bg-heey-hero.opacity-25,.pk.sub div.bg-heey-hero.opacity-30{display:none}
.pk.sub .bg-heey-hero.rounded-3xl{background:var(--yelp)!important}

/* Texte */
.pk.sub .text-ink,.pk.sub .text-gray-900,.pk.sub .text-gray-800,.pk.sub .text-\[\#16131A\]{color:#000!important}
.pk.sub .text-ink\/90{color:rgba(0,0,0,.85)!important}
.pk.sub .text-gray-700,.pk.sub .text-gray-600,.pk.sub .text-slate-600,.pk.sub .text-slate-700{color:#4a454a!important}
.pk.sub .text-gray-500,.pk.sub .text-slate-500{color:#5c575c!important}
.pk.sub .text-gray-400,.pk.sub .text-slate-400,.pk.sub .text-slate-300{color:#8a858a!important}
.pk.sub .text-magenta,.pk.sub .text-\[\#D6006E\],.pk.sub .text-magenta-400,.pk.sub .hover\:text-magenta:hover,.pk.sub .group:hover .group-hover\:text-magenta{color:var(--pink)!important}
.pk.sub .text-orange,.pk.sub .text-orange-400,.pk.sub .text-orange-500{color:#e8590c!important}
.pk.sub .text-green-600,.pk.sub .text-green-700,.pk.sub .text-emerald-600,.pk.sub .text-emerald-700,.pk.sub .text-emerald-800{color:#047857!important}
.pk.sub .text-red-600,.pk.sub .text-red-700{color:#c81e1e!important}
.pk.sub .text-amber-800,.pk.sub .text-amber-700,.pk.sub .text-amber-600{color:#92400e!important}
.pk.sub .text-\[\#0A66C2\]{color:#0a66c2!important}
/* weiße Schrift auf hellen Flächen außerhalb dunkler Blöcke bleibt nur in farbigen Buttons/Pillen */
.pk.sub .bg-white .text-white:not([class*="bg-"]),.pk.sub .bg-graybg .text-white:not([class*="bg-"]){color:#000!important}

/* Rahmen / Schatten / Radien */
.pk.sub .ring-black\/5,.pk.sub .ring-black\/10,.pk.sub .ring-gray-200,.pk.sub .ring-slate-200{--tw-ring-color:#000!important;--tw-ring-shadow:0 0 0 1.5px #000!important}
.pk.sub .border-slate-200,.pk.sub .border-gray-200,.pk.sub .border-slate-100,.pk.sub .border-black\/5,.pk.sub .divide-gray-100>*+*{border-color:#e6e3e6!important}
.pk.sub .border-emerald-200,.pk.sub .border-amber-200,.pk.sub .border-red-200{border-color:#000!important}
.pk.sub .shadow-sm,.pk.sub .shadow-lg,.pk.sub .shadow-xl,.pk.sub .shadow-2xl,.pk.sub .hover\:shadow-lg:hover,.pk.sub .hover\:shadow-md:hover{box-shadow:none!important}
.pk.sub .rounded-2xl{border-radius:24px!important}
.pk.sub .rounded-3xl,.pk.sub .rounded-\[2rem\],.pk.sub .rounded-4xl{border-radius:32px!important}
.pk.sub main a.rounded-2xl.ring-1:hover,.pk.sub main a.rounded-3xl.ring-1:hover{background:var(--yelp)!important;transform:translateY(-3px)}

/* Buttons: gelbe Pillen */
.pk.sub .bg-heey-cta,.pk.sub .bg-magenta,.pk.sub .bg-\[\#D6006E\]{background:var(--yel)!important;color:#000!important;box-shadow:none!important}
.pk.sub a.bg-heey-cta,.pk.sub button.bg-heey-cta,.pk.sub a.bg-magenta,.pk.sub button.bg-magenta,.pk.sub a.bg-\[\#D6006E\],.pk.sub button.bg-\[\#D6006E\]{border-radius:999px!important;font-weight:600}
.pk.sub a.bg-heey-cta:hover,.pk.sub button.bg-heey-cta:hover,.pk.sub a.bg-magenta:hover,.pk.sub button.bg-magenta:hover,.pk.sub a.bg-\[\#D6006E\]:hover,.pk.sub button.bg-\[\#D6006E\]:hover{background:#000!important;color:#fff!important}
.pk.sub .bg-heey-cta *,.pk.sub .bg-magenta *,.pk.sub .bg-\[\#D6006E\] *{color:inherit!important}
.pk.sub .bg-orange{background:var(--mint)!important;color:#000!important}
.pk.sub .pill{background:var(--pinkp)!important;color:#000!important}

/* Formulare */
.pk.sub main input:not([type=checkbox]):not([type=radio]),.pk.sub main textarea,.pk.sub main select,.pk.sub .geo-in{background:#fff!important;color:#000!important;border:1.5px solid #000!important}
.pk.sub main input::placeholder,.pk.sub main textarea::placeholder{color:#8a858a!important}
.pk.sub .bg-heey-hero input:not([type=checkbox]):not([type=radio]){border-color:#fff!important}

/* Rich-Text */
.pk.sub .rblock p,.pk.sub .rblock ul,.pk.sub .rich p,.pk.sub .rich ul,.pk.sub .gp p,.pk.sub .gp td,.pk.sub .gp ul,.pk.sub .gp ol,.pk.sub .legal-body p,.pk.sub .legal-body ul,.pk.sub .prose-heey,.pk.sub .prose-block{color:#2a262a!important}
.pk.sub .rblock strong,.pk.sub .rich strong,.pk.sub .gp th,.pk.sub .gp .lead{color:#000!important}
.pk.sub .gp th{background:var(--yelp)!important}
.pk.sub .gp th,.pk.sub .gp td{border-color:#e6e3e6!important}
.pk.sub .legal-body a,.pk.sub .rich a,.pk.sub .rblock a{color:var(--pink)!important}
.pk.sub main th{color:#000}

/* Quiz-Komponenten (termin, website_check) */
.pk.sub #quiz .opt-btn{background:#fff!important;color:#000!important;box-shadow:inset 0 0 0 1.5px #000!important;border-radius:999px!important}
.pk.sub #quiz .opt-btn:hover{background:var(--yelp)!important;box-shadow:inset 0 0 0 1.5px #000!important;color:#000!important}
.pk.sub #quiz .cta-btn,.pk.sub #hero-check .hc-btn{background:var(--yel)!important;color:#000!important}

/* Breadcrumbs */
.pk.sub nav[aria-label=Breadcrumb]{color:#8a858a!important}
.pk.sub nav[aria-label=Breadcrumb] a:hover{color:#000}

/* Seitenspezifische <style>-Blöcke aus den Templates (service/article/glossar/grounding) übersteuern */
.pk.sub .faq-item,.pk.sub details{border-color:#e6e3e6}
.pk.sub main details summary{color:#000}

/* Termin-Widget auf hellem Grund */
.pk.sub .ht-wrap,.pk.sub .ht-card{color:#000}

/* Einheitliche Sektionen wie Startseite: farbige Sektionen = eingerückte Panels */
.pk.sub main>section.bg-graybg,.pk.sub main>section.bg-slate-50,.pk.sub main>section.bg-gray-50,.pk.sub main>section.bg-ink,
.pk.sub main section.bg-graybg,.pk.sub main section.bg-ink{margin:24px!important;border-radius:48px!important;border:0!important}
.pk.sub main section.bg-graybg{background:#f7f6f7!important}
.pk.sub main section.bg-ink{background:var(--night)!important}
.pk.sub main section.bg-ink h2,.pk.sub main section.bg-ink h3,.pk.sub main section.bg-ink .text-ink{color:#fff!important}
.pk.sub main section.bg-ink .text-gray-600,.pk.sub main section.bg-ink .text-gray-500,.pk.sub main section.bg-ink .text-slate-500{color:rgba(255,255,255,.75)!important}
.pk.sub main section.bg-heey-hero{margin:0 0 24px!important}
/* Hero-Text-Weiß + Hero-Buttons gelb */
.pk.sub .bg-heey-hero a.bg-white,.pk.sub .bg-heey-hero button.bg-white{background:var(--yel)!important;color:#000!important;border-radius:999px!important}
.pk.sub .bg-heey-hero a.bg-white:hover{background:#fff!important}
.pk.sub .bg-heey-hero a.bg-white\/10,.pk.sub .bg-heey-hero a.bg-white\/15,.pk.sub .bg-heey-hero a.ring-1{background:transparent!important;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)!important;color:#fff!important}
.pk.sub .bg-heey-hero span.bg-white\/10,.pk.sub .bg-heey-hero span.bg-white\/15,.pk.sub .bg-heey-hero span.bg-white\/20{background:#fff!important;color:#000!important;border-radius:999px}
/* Deko-Punkte/Blobs des alten Heros aus */
.pk.sub section.bg-heey-hero .blur-3xl,.pk.sub section.bg-heey-hero .animate-pulse,.pk.sub section.bg-heey-hero [class*="blur-"]{display:none!important}
@media(max-width:860px){
  .pk.sub main section.bg-graybg,.pk.sub main section.bg-ink{margin:10px!important;border-radius:32px!important}
  .pk.sub main section.bg-heey-hero{border-radius:0 0 32px 32px;margin-bottom:10px!important}
}
