/* Shared layout primitives */
.ks-shell {
  margin-inline: auto;
  max-width: 1152px;
  padding: 1rem;
}

.ks-inline-link {
  align-items: center;
  color: var(--ks-purple-300);
  display: inline-flex;
  font-family: var(--font-family-ui);
  font-size: var(--type-title-md-size);
  font-weight: var(--font-weight-regular);
  gap: 0.5rem;
  margin-top: 0.6rem;
  text-decoration: none;
}

.ks-inline-link:hover {
  color: var(--ks-purple-350);
}

.ks-inline-link img {
  height: 1rem;
  width: 1rem;
}

/* Global page-theme hooks */
.page-theme-primary {
  --wp--preset--color--bg: var(--ks-page-bg-primary);
}

.page-theme-secondary {
  --wp--preset--color--bg: var(--ks-page-bg-secondary);
}

.page-theme-accent {
  --wp--preset--color--bg: var(--ks-page-bg-accent);
}

.page-theme-default {
  --wp--preset--color--bg: var(--ks-page-bg-default);
}

/* ===================================================================
   Startseite (Home)
   =================================================================== */

.ks-startseite {
  background: var(--ks-white);
  color: var(--ks-ink);
}

.ks-startseite h1,
.ks-startseite h2,
.ks-startseite h3,
.ks-startseite p,
.ks-startseite ul {
  margin: 0;
}

/* Hero
   ----------------------------------------------------------------- */

.ks-s-hero-bg {
  background: var(--ks-cream);
  overflow: hidden;
}

.ks-s-hero {
  margin-inline: auto;
  max-width: 1400px;
  overflow: unset;
  padding-block: 0;
  position: relative;
}

.ks-s-hero .ks-shell {
  max-width: 1160px;
  position: relative;
  z-index: 1;
}

.ks-s-hero-grid {
  align-items: center;
  display: grid;
  min-height: 550px;
}

/* Hero — text column */

.ks-s-hero-left h1 {
  font-family: var(--font-family-display);
  font-size: clamp(var(--type-display-xxl-min-size), var(--type-display-xxl-fluid-size), var(--type-display-xxl-size));
  font-weight: var(--font-weight-bold);
  line-height: var(--type-display-xxl-lh);
  margin-bottom: var(--space-hero-title-bottom);
  max-width: var(--measure-hero-title);
  color: var(--color-black);
}

.ks-s-hero-left h1 span {
  color: var(--ks-green);
}

.ks-s-hero-left p {
  color: #4b5563;
  font-family: var(--font-family-ui);
  font-size: var(--type-body-xl-size);
  font-weight: var(--font-weight-light);
  line-height: var(--type-body-lg-lh);
  max-width: 448px;
}

/* Hero — illustration (desktop) */

.ks-s-hero-illustration {
  bottom: 0;
  pointer-events: none;
  position: absolute;
  right: -150px;
  top: 0;
  z-index: 0;
}

.ks-s-hero-illustration img,
.ks-s-hero-illustration svg {
  height: 100%;
  width: 100%;
}

/* Hero — illustration (mobile, hidden by default) */

.ks-s-hero-illustration-mobile {
  display: none;
}

/* Hero — responsive (≤1024px) */

@media (max-width: 1024px) {
  .ks-s-hero {
    padding-bottom: 0;
  }

  .ks-s-hero-grid {
    gap: 20px;
    min-height: auto;
    padding-block: 40px 40px;
  }

  .ks-s-hero-left {
    align-items: center;
    text-align: center;
  }

  .ks-s-hero-left h1 {
    font-size: 32px;
    line-height: 40px;
    max-width: none;
  }

  .ks-s-hero-left p {
    font-size: 16px;
    line-height: normal;
    max-width: none;
  }

  .ks-s-hero-illustration {
    display: none;
  }

  .ks-s-hero-illustration-mobile {
    display: block;
    width: 100%;
  }

  .ks-s-hero-illustration-mobile img {
    display: block;
    height: auto;
    width: 100%;
  }
}

/* Topics — "Was beschäftigt dich?"
   ----------------------------------------------------------------- */

.ks-s-topics {
  padding-block: 64px;
}

.ks-s-topics .ks-shell {
  max-width: 1024px;
}

.ks-s-topics-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  text-align: center;
}

.ks-s-topics-header h2 {
  color: var(--ks-purple-300);
  font-family: var(--font-family-display);
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.7px;
  line-height: 20px;
}

.ks-s-topics-header p {
  font-family: var(--font-family-body);
  font-size: 16px;
  color: #6b7280;
  font-weight: var(--font-weight-regular);
  line-height: 20px;
}

.ks-s-topics-grid {
  display: flex;
  gap: 16px;
}

.ks-s-topic-card {
  background: #f2f0ff;
  border-radius: 16px;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  padding: 26px;
  text-decoration: none;
  transition: box-shadow 0.2s ease;
}

.ks-s-topic-card:hover {
  box-shadow: 0 4px 16px rgba(120, 81, 168, 0.12);
}

.ks-s-topic-icon {
  align-items: center;
  background: var(--color-purple-100);
  border-radius: 12px;
  display: flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 16px;
  width: 48px;
}

.ks-s-topic-icon img {
  height: 24px;
  width: 24px;
}

.ks-s-topic-card h3 {
  color: #1f2937;
  font-family: var(--font-family-ui);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  line-height: 24px;
  margin-bottom: 7px;
}

.ks-s-topic-card p {
  color: #4b5563;
  font-family: var(--font-family-ui);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 22.75px;
}

/* Topics — responsive (≤1024px) */

@media (max-width: 1024px) {
  .ks-s-topics {
    padding-block: 48px;
  }

  .ks-s-topics-grid {
    flex-direction: column;
    gap: 12px;
  }

  .ks-s-topic-card {
    padding: 26px;
  }
}

/* Violence — "Ist das eigentlich schon Gewalt?"
   ----------------------------------------------------------------- */

.ks-s-violence {
  background: #f2f0ff;
  padding-block: 80px;
}

.ks-s-violence .ks-shell {
  max-width: 1152px;
}

.ks-s-violence-grid {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr;
}

/* Violence — left card */

.ks-s-violence-card {
  background: var(--ks-white);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
}

.ks-s-violence-card h3 {
  color: #1f2937;
  font-family: var(--font-family-display);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: 36px;
}

.ks-s-violence-card > p {
  color: #4b5563;
  font-family: var(--font-family-body);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: 26px;
}

/* Violence — reflection prompts */

.ks-s-violence-prompts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.ks-s-violence-prompts li {
  background: #eeeaff;
  border-radius: 12px;
  color: #374151;
  font-family: var(--font-family-body);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: 24px;
  padding: 16px;
  padding-left: 36px;
  position: relative;
}

.ks-s-violence-prompts li::before {
  background: var(--ks-purple-300);
  border-radius: 50%;
  content: "";
  height: 8px;
  left: 16px;
  position: absolute;
  top: 24px;
  width: 8px;
}

/* Violence — right column */

.ks-s-violence-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.ks-s-violence-illustration img {
  display: block;
  height: auto;
  width: 100%;
}

/* Violence — validation callout */

.ks-s-violence-validation {
  background: #e8f7f4;
  border-left: 4px solid var(--ks-green);
  border-radius: 0 12px 12px 0;
  padding: 12px 0 12px 20px;
  width: 100%;
}

.ks-s-violence-validation p {
  color: #374151;
  font-family: var(--font-family-body);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: 26px;
}

.ks-s-violence-validation strong {
  font-weight: var(--font-weight-bold);
}

/* Violence — responsive (≤1024px) */

@media (max-width: 1024px) {
  .ks-s-violence {
    padding-block: 48px;
  }

  .ks-s-violence-grid {
    grid-template-columns: 1fr;
  }

  .ks-s-violence-card {
    padding: 28px;
  }

  .ks-s-violence-card h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .ks-s-violence-illustration {
    max-width: 400px;
  }
}

/* Steps — "Noch unsicher, wobei du Hilfe brauchst?"
   ----------------------------------------------------------------- */

.ks-s-steps {
  padding-block: 64px;
}

.ks-s-steps .ks-shell {
  max-width: 896px;
}

.ks-s-steps-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.ks-s-steps-header h2 {
  color: #1f2937;
  font-family: var(--font-family-display);
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  line-height: 36px;
}

.ks-s-steps-header p {
  color: #6b7280;
  font-family: var(--font-family-ui);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: 24px;
}

.ks-s-steps-grid {
  display: flex;
  gap: 24px;
  padding-top: 40px;
}

.ks-s-step-card {
  background: #f9fafb;
  border-radius: 16px;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 11px;
  padding: 32px 24px 24px;
  position: relative;
}

.ks-s-step-badge {
  align-items: center;
  background: var(--ks-purple-300);
  border-radius: 50%;
  color: white;
  display: flex;
  font-family: var(--font-family-ui);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  height: 32px;
  justify-content: center;
  left: -12px;
  position: absolute;
  top: -12px;
  width: 32px;
}

.ks-s-step-card h3 {
  color: #1f2937;
  font-family: var(--font-family-ui);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  line-height: 24px;
}

.ks-s-step-card p {
  color: #4b5563;
  font-family: var(--font-family-ui);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 22.75px;
}

/* Steps — responsive (≤1024px) */

@media (max-width: 1024px) {
  .ks-s-steps {
    padding-block: 48px;
  }

  .ks-s-steps-grid {
    flex-direction: column;
    gap: 20px;
    padding-top: 32px;
  }

  .ks-s-steps-header h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .ks-s-step-badge {
    left: -6px;
    top: -6px;
  }
}

/* Trust — "Wir hören dir zu"
   ----------------------------------------------------------------- */

.ks-s-trust {
  background: var(--ks-purple-300);
  padding-block: 64px;
}

.ks-s-trust .ks-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 896px;
}

.ks-s-trust h2 {
  color: white;
  font-family: var(--font-family-ui);
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  line-height: 36px;
  text-align: center;
}

.ks-s-trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  width: 100%;
}

.ks-s-trust-card {
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  flex: 1 1 250px;
  padding: 24px;
  text-align: center;
}

.ks-s-trust-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 16px;
  width: 48px;
}

.ks-s-trust-icon img {
  height: 24px;
  width: 24px;
}

.ks-s-trust-card h3 {
  color: white;
  font-family: var(--font-family-ui);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  line-height: 24px;
  margin-bottom: 8px;
}

.ks-s-trust-card p {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-family-ui);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 20px;
}

.ks-s-trust-cta {
  text-align: center;
}

.ks-s-trust-btn {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  color: var(--ks-purple-300);
  display: inline-block;
  font-family: var(--font-family-ui);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  line-height: 24px;
  padding: 16px 32px;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ks-s-trust-btn:hover {
  box-shadow: 0 14px 20px -4px rgba(0, 0, 0, 0.15), 0 6px 8px -4px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Trust — responsive (≤1024px) */

@media (max-width: 1024px) {
  .ks-s-trust {
    padding-block: 48px;
  }

  .ks-s-trust h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .ks-s-trust-grid {
    gap: 12px;
  }

  .ks-s-trust-card {
    text-align: center;
  }
}

/* Who we are — "Wer sind wir?"
   ----------------------------------------------------------------- */

.ks-s-whoweare {
  background: #f2f0ff;
  overflow: clip;
  padding-block: 64px;
  position: relative;
}

.ks-s-whoweare .ks-shell {
  max-width: 896px;
  position: relative;
  z-index: 1;
}

/* Illustration — positioned on the section, centered over the right column */

.ks-s-whoweare-illustration {
  pointer-events: none;
  position: absolute;
  right: calc(50% - 448px + 216px);
  top: 50%;
  transform: translate(50%, -50%);
  width: 886px;
  z-index: 0;
}

.ks-s-whoweare-illustration img {
  display: block;
  height: auto;
  width: 100%;
}

/* Grid layout */

.ks-s-whoweare-grid {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 432px;
}

/* Left column — text */

.ks-s-whoweare-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ks-s-whoweare-left h2 {
  color: #1f2937;
  font-family: var(--font-family-display);
  font-size: 34px;
  font-weight: var(--font-weight-bold);
  line-height: 36px;
}

.ks-s-whoweare-left > p {
  color: #4b5563;
  font-family: var(--font-family-ui);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: 26px;
}

.ks-s-whoweare-left > p strong {
  font-weight: var(--font-weight-bold);
}

/* Feature list */

.ks-s-whoweare-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
}

.ks-s-whoweare-features li {
  align-items: center;
  color: #374151;
  display: flex;
  font-family: var(--font-family-ui);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  gap: 12px;
  line-height: 24px;
}

.ks-s-whoweare-check {
  align-items: center;
  background: #c3b9ff;
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.ks-s-whoweare-check img {
  height: 16px;
  width: 16px;
}

/* Inline link override for this section */

.ks-s-whoweare-left .ks-inline-link {
  font-family: var(--font-family-ui);
  font-size: 16px;
  font-weight: 500;
  margin-top: 0;
  padding-top: 12px;
}

/* Right column — quote */

.ks-s-whoweare-right {
  align-self: end;
}

.ks-s-whoweare-quote {
  background: white;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  width: 432px;
}

.ks-s-whoweare-quote p {
  color: #374151;
  font-family: var(--font-family-body);
  font-size: 16px;
  font-style: italic;
  font-weight: var(--font-weight-bold);
  line-height: 24px;
  margin-bottom: 12px;
}

.ks-s-whoweare-quote cite {
  color: #4b5563;
  font-family: var(--font-family-body);
  font-size: 14px;
  font-style: normal;
  font-weight: var(--font-weight-regular);
  line-height: 20px;
}

/* Who we are — responsive (≤1024px) */

@media (max-width: 1024px) {
  .ks-s-whoweare {
    padding-block: 48px;
  }

  .ks-s-whoweare-illustration {
    display: none;
  }

  .ks-s-whoweare-grid {
    grid-template-columns: 1fr;
  }

  .ks-s-whoweare-left h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .ks-s-whoweare-left {
    gap: 24px;
  }

  .ks-s-whoweare-quote {
    max-width: 100%;
    width: auto;
  }
}

/* Bystander — "Du bist für jemand anderen hier?"
   ----------------------------------------------------------------- */

.ks-s-bystander {
  border-bottom: 1px solid var(--ks-cream);
  border-top: 1px solid var(--ks-cream);
  padding-block: 41px;
}

.ks-s-bystander .ks-shell {
  max-width: 934px;
}

.ks-s-bystander-inner {
  align-items: center;
  display: flex;
  gap: 40px;
}

/* Bystander — left text */

.ks-s-bystander-left {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 20px;
}

.ks-s-bystander-left h2 {
  color: #1f2937;
  font-family: var(--font-family-display);
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  line-height: 32px;
}

.ks-s-bystander-left > p {
  color: #4b5563;
  font-family: var(--font-family-body);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: 26px;
}

.ks-s-bystander-left > p strong {
  font-weight: var(--font-weight-bold);
}

.ks-s-bystander-left .ks-inline-link {
  font-family: var(--font-family-ui);
  font-size: 16px;
  font-weight: 500;
  margin-top: 0;
  padding-top: 12px;
}

/* Bystander — emergency card */

.ks-s-bystander-emergency {
  align-items: center;
  background: rgba(215, 72, 37, 0.15);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 20px;
  padding: 40px;
  text-align: center;
  width: 448px;
}

.ks-s-bystander-emergency-icon {
  align-items: center;
  background: #d74825;
  border-radius: 50%;
  display: flex;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.ks-s-bystander-emergency-icon img {
  height: 28px;
  width: 28px;
}

.ks-s-bystander-emergency h3 {
  color: #d74825;
  font-family: var(--font-family-ui);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  line-height: 24px;
}

.ks-s-bystander-emergency > p {
  color: #374151;
  font-family: var(--font-family-ui);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 20px;
}

/* Emergency phone numbers */

.ks-s-bystander-numbers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ks-s-bystander-number {
  align-items: center;
  background: white;
  border: 1px solid rgba(215, 72, 37, 0.3);
  border-radius: 12px;
  display: flex;
  gap: 11px;
  padding: 8px 20px;
  text-decoration: none;
  width: 186px;
}

.ks-s-bystander-tel {
  color: #d74825;
  font-family: var(--font-family-ui);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 28px;
}

.ks-s-bystander-number span:last-child {
  color: #4b5563;
  font-family: var(--font-family-ui);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 20px;
}

/* Bystander — responsive (≤1024px) */

@media (max-width: 1024px) {
  .ks-s-bystander-inner {
    flex-direction: column;
  }

  .ks-s-bystander-emergency {
    width: 100%;
  }
}

/* Partner banner (shared)
   ----------------------------------------------------------------- */

.ks-about-partner {
  background: #b9e6dc;
  padding: 26px 0;
}

.ks-about-partner-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-inline: auto;
  max-width: 1152px;
  padding-inline: 1rem;
}

.ks-about-partner-left {
  align-items: center;
  display: flex;
  gap: 12px;
}

.ks-about-partner-logo-circle {
  align-items: center;
  background: #1a1a1a;
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  height: 45px;
  justify-content: center;
  width: 45px;
}

.ks-about-partner-logo-circle img {
  display: block;
  height: 29px;
  width: 20px;
}

.ks-about-partner-name {
  color: #1f2937;
  font-family: var(--font-family-ui);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  max-width: 174px;
}

.ks-about-partner-divider {
  align-items: center;
  display: flex;
  gap: 4px;
  padding: 8px 0;
}

.ks-about-partner-line {
  border-top: 1px solid #1c7662;
  display: block;
  width: 30px;
}

.ks-about-partner-label {
  color: #0d4f40;
  font-family: var(--font-family-ui);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

.ks-about-partner-right {
  flex-shrink: 0;
}

.ks-about-partner-org-logo {
  display: block;
  height: 55px;
  width: auto;
}

/* Home page width override */
.ks-startseite .ks-about-partner-inner {
  max-width: 934px;
}

@media (max-width: 1024px) {
  .ks-about-partner-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .ks-about-partner-left {
    flex-direction: column;
  }

  .ks-about-partner-name {
    max-width: none;
  }

  .ks-about-partner-org-logo {
    height: 40px;
  }
}

/* Network — "Gemeinsam für den Kinderschutz"
   ----------------------------------------------------------------- */

.ks-s-network {
  background: #e8f7f4;
  padding-bottom: 40px;
}

.ks-s-network .ks-shell {
  max-width: 934px;
}

.ks-s-network-grid {
  align-items: center;
  display: flex;
  gap: 40px;
  padding: 40px 1rem 0;
}

/* Network — left text */

.ks-s-network-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 447px;
}

.ks-s-network-left h2 {
  color: #1f2937;
  font-family: var(--font-family-display);
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  line-height: 32px;
}

.ks-s-network-left > p {
  color: #4b5563;
  font-family: var(--font-family-body);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: 26px;
}

.ks-s-network-link {
  align-items: center;
  color: #277463;
  display: inline-flex;
  font-family: var(--font-family-ui);
  font-size: 16px;
  font-weight: 500;
  gap: 9px;
  line-height: 24px;
  text-decoration: none;
}

.ks-s-network-link img {
  height: 14px;
  width: 14px;
}

/* Network — right stats card */

.ks-s-network-card {
  background: #b9e6dc;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  width: 447px;
}

.ks-s-network-card h3 {
  color: #0d4f40;
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  line-height: 24px;
}

.ks-s-network-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.ks-s-network-stat {
  background: white;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  padding: 16px;
}

.ks-s-network-stat-number {
  color: #277463;
  font-family: var(--font-family-display);
  font-size: 30px;
  font-weight: var(--font-weight-bold);
  line-height: 36px;
  text-align: center;
}

.ks-s-network-stat-label {
  color: #4b5563;
  font-family: var(--font-family-body);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 20px;
}

/* Network — note */

.ks-s-network-note {
  background: white;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 15px;
}

.ks-s-network-note-icon {
  align-items: center;
  background: #e8f7f4;
  border-radius: 50%;
  display: flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.ks-s-network-note-icon img {
  height: 16px;
  width: 16px;
}

.ks-s-network-note p {
  color: #4b5563;
  font-family: var(--font-family-body);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 20px;
}

.ks-s-network-note p strong {
  font-weight: var(--font-weight-bold);
}

/* Network — responsive (≤1024px) */

@media (max-width: 1024px) {
  .ks-s-network-grid {
    flex-direction: column;
  }

  .ks-s-network-left,
  .ks-s-network-card {
    width: 100%;
  }
}

/* Floating CTAs — "Seite verlassen" + "Soforthilfe"
   ----------------------------------------------------------------- */

.ks-floating-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
}

.ks-floating-cta-btn {
  align-items: center;
  display: flex;
  flex-direction: row-reverse;
  gap: 0;
  overflow: hidden;
  text-decoration: none;
}

button.ks-floating-cta-btn {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.ks-floating-cta-icon {
  align-items: center;
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.ks-floating-cta-icon--dark {
  background: var(--ks-neutral-700);
}

.ks-floating-cta-icon--red {
  background: var(--ks-help);
}

.ks-floating-cta-icon--green {
  background: #1c7662;
}

.ks-floating-cta-label {
  font-family: var(--font-family-display);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  line-height: 40px;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  padding-right: 0;
  transition: max-width 300ms ease, opacity 200ms ease, padding 300ms ease;
  white-space: nowrap;
}

.ks-floating-cta-btn:hover .ks-floating-cta-label {
  max-width: 250px;
  opacity: 1;
  padding-right: 16px;
}

.ks-floating-cta-leave .ks-floating-cta-label {
  color: var(--ks-neutral-700);
}

.ks-floating-cta-help .ks-floating-cta-label {
  color: var(--ks-help);
}

.ks-floating-cta-chat .ks-floating-cta-label {
  color: #1c7662;
}

/* Mobile — icons only, no slide */

@media (max-width: 1024px) {
  .ks-floating-cta {
    bottom: 24px;
    right: 16px;
    top: auto;
  }

  .ks-floating-cta-label {
    display: none;
  }
}

/* ===================================================================
   Textseite / Content page (template-content.php)
   =================================================================== */

.ks-cp {
  background: var(--ks-white);
}

/* Hero
   ----------------------------------------------------------------- */

.ks-cp-hero-bg {
  background: var(--color-cream);
}

.ks-cp-hero {
  padding-block: 52px 48px;
}

.ks-cp-hero-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

.ks-cp-hero-title {
  color: var(--color-black);
  font-family: var(--font-family-display);
  font-size: var(--type-display-xl-size);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  margin: 0;
}

.ks-cp-hero-subtitle {
  color: var(--ks-neutral-600);
  font-family: var(--font-family-body);
  font-size: var(--type-body-lg-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--type-body-lg-lh);
  margin: 0;
}

/* Content body
   ----------------------------------------------------------------- */

.ks-cp-body {
  padding-block: 56px 80px;
}

.ks-cp-body-inner {
  max-width: 760px;
}

/* Prose typography */

.ks-cp-body-inner h2 {
  font-family: var(--font-family-display);
  font-size: var(--type-heading-lg-size);
  font-weight: var(--font-weight-bold);
  line-height: var(--type-heading-lg-lh);
  margin: 2em 0 0.5em;
}

.ks-cp-body-inner h3 {
  font-family: var(--font-family-display);
  font-size: var(--type-heading-md-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--type-heading-md-lh);
  margin: 1.75em 0 0.4em;
}

.ks-cp-body-inner h4 {
  font-size: var(--type-title-md-size);
  line-height: var(--type-title-md-lh);
  margin: 1.5em 0 0.4em;
}

.ks-cp-body-inner p {
  color: var(--ks-neutral-700);
  font-size: var(--type-body-lg-size);
  line-height: var(--type-body-lg-lh);
  margin: 0 0 1em;
}

.ks-cp-body-inner ul,
.ks-cp-body-inner ol {
  color: var(--ks-neutral-700);
  font-size: var(--type-body-lg-size);
  line-height: var(--type-body-lg-lh);
  margin: 0 0 1em;
  padding-left: 1.5em;
}

.ks-cp-body-inner li {
  margin-bottom: 0.35em;
}

.ks-cp-body-inner a {
  color: var(--ks-purple-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ks-cp-body-inner a:hover {
  color: var(--ks-purple-350);
}

.ks-cp-body-inner strong {
  font-weight: var(--font-weight-semibold);
}

/* Mobile
   ----------------------------------------------------------------- */

@media (max-width: 640px) {
  .ks-cp-hero {
    padding-block: 36px 32px;
  }

  .ks-cp-hero-title {
    font-size: var(--type-heading-lg-size);
  }

  .ks-cp-body {
    padding-block: 40px 60px;
  }
}
