/* ============================================================
   NRPT — Shared design system
   Fonts, tokens, palettes, typography, components, layout.
   ============================================================ */

/* ============ HEADLINE FONTS — PP Kyoto (serif) + PP Right Serif Mono ============ */
/* Font files live in /assets/fonts/ — relative path from this CSS file. */
@font-face {
  font-family: 'PP Kyoto';
  src: url('../fonts/PPKyoto-Regular.woff2') format('woff2'),
       url('../fonts/PPKyoto-Regular.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PP Kyoto';
  src: url('../fonts/PPKyoto-RegularItalic.woff2') format('woff2'),
       url('../fonts/PPKyoto-RegularItalic.woff') format('woff');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'PP Kyoto';
  src: url('../fonts/PPKyoto-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PP Kyoto';
  src: url('../fonts/PPKyoto-MediumItalic.otf') format('opentype');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'PP Right Serif Mono';
  src: url('../fonts/PPRightSerifMono-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PP Right Serif Mono';
  src: url('../fonts/PPRightSerifMono-RegularItalic.otf') format('opentype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'PP Right Serif Mono';
  src: url('../fonts/PPRightSerifMono-Dark.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ============ DESIGN TOKENS ============ */
:root {
  --bg:            #EFEDE6;
  --bg-alt:        #E4E1D7;
  --bg-warm:       #DAD7CB;
  --surface:       #FAF8F2;
  --paper:         #FFFFFF;
  --text:          #1F2520;
  --text-muted:    #758176;
  --text-soft:     #93A596;
  --accent:        #93A596;
  --accent-dark:   #6A7A6E;
  --accent-light:  #B3C0B4;
  --accent-50:     #DDE3DC;
  --cta:           #F37262;
  --cta-dark:      #D85B4B;
  --cta-soft:      #FAA094;
  --line:          rgba(31, 37, 32, 0.1);
  --line-strong:   rgba(31, 37, 32, 0.2);
  --shadow-soft:   0 1px 2px rgba(31,37,32,0.04), 0 8px 24px rgba(31,37,32,0.06);
  --font-display:  'PP Kyoto', Georgia, serif;
  --font-body:     'Manrope', -apple-system, system-ui, sans-serif;
  --font-mono:     'PP Right Serif Mono', ui-monospace, monospace;
  --max-w:         1320px;
  --gutter:        clamp(20px, 4vw, 64px);
}

/* Palette variants */
body[data-palette="warm"] {
  --bg: #F4F0E6; --bg-alt: #ECE6D5; --bg-warm: #E6DEC8; --surface: #FBF8F1;
  --text: #1E2620; --text-muted: #5C645A; --text-soft: #8A9088;
  --accent: #8FA088; --accent-dark: #5F6E5A; --accent-light: #C9D3C3; --accent-50: #E5EADF;
  --cta: #B05540; --cta-dark: #8A3F2E; --cta-soft: #DCAA9A;
}
body[data-palette="ochre"] {
  --bg: #F2EEDF; --bg-alt: #E9E2CB; --bg-warm: #E2D6B4; --surface: #FAF6E9;
  --text: #1E2620; --text-muted: #5C645A;
  --accent: #6B7A4A; --accent-dark: #4D5934; --accent-light: #C5CCAE; --accent-50: #E1E3D0;
  --cta: #C18A2B; --cta-dark: #9A6A18; --cta-soft: #E3C68A;
}
body[data-palette="rust"] {
  --bg: #EEEAE0; --bg-alt: #E4DDCE; --bg-warm: #DBD0B7; --surface: #F7F3E9;
  --text: #1A1A1A; --text-muted: #555;
  --accent: #4A4842; --accent-dark: #2A2A26; --accent-light: #B8B5AA; --accent-50: #D8D5C8;
  --cta: #9B3F2B; --cta-dark: #74301F; --cta-soft: #D3A092;
}

/* Typography variant: PP Kyoto (default editorial) */
body[data-type="editorial"] h1,
body[data-type="editorial"] h2,
body[data-type="editorial"] h3,
body[data-type="editorial"] h4 { font-weight: 500; }
body[data-type="editorial"] .hero-headline,
body[data-type="editorial"] .final-cta h2,
body[data-type="editorial"] .method-quote,
body[data-type="editorial"] .method .container > p,
body[data-type="editorial"] blockquote,
body[data-type="editorial"] .section-header h2,
body[data-type="editorial"] .trainer-content h2,
body[data-type="editorial"] .studio h2,
body[data-type="editorial"] .courses h2 { font-weight: 400; }
body[data-type="editorial"] h1 em,
body[data-type="editorial"] h2 em,
body[data-type="editorial"] .method-quote em,
body[data-type="editorial"] .method .container > p em { font-style: italic; font-weight: 400; }
body[data-type="editorial"] .hero-headline { font-size: clamp(38px, 6vw, 84px); }

/* Typography variant: Exo 2 mix */
body[data-type="exo-mix"] { --font-display: 'Exo 2', -apple-system, sans-serif; }
body[data-type="exo-mix"] h1, body[data-type="exo-mix"] h2,
body[data-type="exo-mix"] h3, body[data-type="exo-mix"] h4 { letter-spacing: -0.02em; font-weight: 300; }
body[data-type="exo-mix"] .hero-headline,
body[data-type="brand"]   .hero-headline { font-size: clamp(40px, 6.2vw, 82px); letter-spacing: -0.028em; }

/* Italic toggle */
body[data-italic="off"] h1 em, body[data-italic="off"] h2 em,
body[data-italic="off"] .method-quote em,
body[data-italic="off"] .method .container > p em { font-style: normal; color: inherit; }

/* ============ RESET & BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* WP block flow-layout resets — theme-specific margins override this via source order */
.is-layout-flow { gap: 0; }
.is-layout-flow > * + * { margin-block-start: 0; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.04;
  color: var(--text);
}
h1 em, h2 em {
  font-style: italic;
  color: var(--accent-dark);
  font-weight: 400;
}
p { line-height: 1.65; text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent-dark);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--cta); color: #FBF8F1; }
.btn-primary:hover { background: var(--cta-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text);
  padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--text);
}
.btn-ghost:hover { color: var(--cta); border-color: var(--cta); }
.btn-outline {
  background: transparent; color: var(--text); border: 1px solid var(--line-strong);
}
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-small { padding: 12px 22px; font-size: 14px; }
.arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============ PLACEHOLDER / PHOTO WRAPPER ============ */
.ph {
  position: relative;
  background-color: var(--accent-50);
  background-image: repeating-linear-gradient(135deg, rgba(30,38,32,0.05) 0px, rgba(30,38,32,0.05) 1px, transparent 1px, transparent 14px);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-dark {
  background-color: rgba(244,240,230,0.08);
  background-image: repeating-linear-gradient(135deg, rgba(244,240,230,0.06) 0px, rgba(244,240,230,0.06) 1px, transparent 1px, transparent 14px);
  border-color: rgba(244,240,230,0.15);
}
.ph.has-photo { position: relative; background: var(--bg-warm); border: none; }
.ph.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ HEADER ============ */
/*
 * In block templates WordPress wraps the shortcode header in a template-part
 * element whose height ends with the header. Sticky positioning therefore
 * belongs to that wrapper; classic/Tutor templates keep using .header itself.
 */
.wp-site-blocks > .wp-block-template-part:first-child {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.wp-site-blocks > .wp-block-template-part:first-child > .header {
  position: relative;
  top: auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(239, 237, 230, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s ease, border-color 0.3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  gap: 32px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.nrpt-logo { height: 38px; width: auto; display: block; }
.footer .nrpt-logo { height: 46px; filter: brightness(1.18) saturate(0.92); }

/* Desktop nav */
.nav { display: block; }
.nav-list { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav a { font-size: 14px; font-weight: 400; color: var(--text); transition: color 0.2s; }
.nav a:hover { color: var(--cta); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  font-size: 14px; color: var(--text-muted);
  font-variant-numeric: tabular-nums; white-space: nowrap;
  text-decoration: none; transition: color .15s ease;
}
.header-phone:hover { color: var(--text); }

/* Mobile hamburger button */
.nav-toggle {
  display: none;
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1002;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  min-height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
}
.nav-toggle-bar:nth-of-type(1) { top: 4px; }
.nav-toggle-bar:nth-of-type(2) { top: 13px; }
.nav-toggle-bar:nth-of-type(3) { top: 22px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 0.7, 0.3, 1);
  border-top: 1px solid var(--line);
}
.mobile-nav.is-open {
  max-height: min(500px, calc(100vh - 80px));
  max-height: min(500px, calc(100dvh - 80px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 28px var(--gutter) 32px;
}
.mobile-nav-links { list-style: none; }
.mobile-nav-links li { border-bottom: 1px solid var(--line); }
.mobile-nav-links a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  transition: color 0.2s;
}
.mobile-nav-links a:hover { color: var(--cta); }

/* ============ HERO ============ */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: start;
}
.hero-headline {
  font-size: clamp(40px, 5.2vw, 80px);
  margin: 28px 0 32px;
  font-weight: 400;
  letter-spacing: -0.028em;
}
.hero-headline em { display: block; }
.hero-lead,
.hero-grid > .wp-block-group > p {
  font-size: 19px; color: var(--text-muted); max-width: 520px; margin-bottom: 40px;
}
.hero-ctas {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 56px;
}
.hero-trust {
  display: flex; align-items: center; gap: 36px;
  flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--line);
}
.hero-trust-item { display: flex; flex-direction: column; gap: 4px; }
.hero-trust-link { display: flex; flex-direction: column; gap: 4px; transition: opacity 0.2s; }
.hero-trust-link:hover { opacity: 0.7; }
.hero-trust-item strong {
  font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1;
}
.hero-trust-item span  { font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; }
.hero-trust .stars     { color: var(--cta); letter-spacing: 2px; font-size: 14px; line-height: 1; }
.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  aspect-ratio: 4 / 5;
}
.hero-media .ph-main {
  grid-column: 1 / 3; grid-row: 1 / 3; border-radius: 6px;
}
.hero-media .ph-inset {
  position: absolute; bottom: -32px; right: -32px;
  width: 44%; aspect-ratio: 1 / 1.1;
  z-index: 2; background-color: var(--bg-warm); border-width: 2px;
  border-color: var(--bg); border-radius: 6px;
}
.hero-tag {
  position: absolute; top: 20px; left: 20px;
  background: rgba(251,248,241,0.94); backdrop-filter: blur(8px);
  padding: 10px 16px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.08em; color: var(--text);
  display: flex; align-items: center; gap: 8px;
  z-index: 3; text-transform: uppercase; font-weight: 500;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--cta); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ============ SECTIONS ============ */
section { padding: 120px 0; position: relative; }
.section-header {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 80px; align-items: end;
}
.section-header h2       { font-size: clamp(38px, 5vw, 64px); font-weight: 400; }
.section-header-text,
.section-header > p      { font-size: 18px; color: var(--text-muted); line-height: 1.65; max-width: 520px; }
.testimonials .section-header { grid-template-columns: 1fr; gap: 20px; align-items: start; }
.testimonials .section-header h2 { white-space: nowrap; }
.testimonials .section-header-text,
.testimonials .section-header > p { max-width: 640px; }
#preise .section-header { grid-template-columns: 1.4fr 1fr; }
#preise .section-header h2 em { white-space: nowrap; }

/* ============ PERSONAS ============ */
.personas { background: var(--bg-alt); }
.personas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.persona {
  background: var(--paper); padding: 40px 32px 36px;
  border-radius: 6px; display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.persona:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.persona-num  { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 13px; color: var(--cta); letter-spacing: 0.04em; }
.persona-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent-50); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.persona h3   { font-size: 26px; font-weight: 500; line-height: 1.15; }
.persona p    { color: var(--text-muted); font-size: 15px; flex: 1; }
.persona-tag  {
  display: inline-block; font-size: 11px; color: var(--accent-dark);
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px;
}

/* ============ METHOD ============ */
.method-mascot {
  position: absolute; right: 0; top: 60px;
  width: clamp(200px, 20vw, 320px);
  opacity: 0.12; pointer-events: none;
}
.method-quote,
.method .container > p {
  font-family: var(--font-display); font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.15; font-weight: 400;
  max-width: 1000px; margin-inline: auto;
  text-align: center; letter-spacing: -0.02em; text-wrap: balance;
}
.method-quote em,
.method .container > p em { font-style: italic; color: var(--accent-dark); }
.pillars-editorial {
  display: grid; grid-template-columns: repeat(12, 1fr);
  row-gap: 64px; border-top: 1px solid var(--line); padding-top: 64px;
}
.pillar-ed {
  display: grid; grid-template-columns: 80px 1fr 1.2fr;
  gap: 32px; align-items: start;
  grid-column: span 12; padding-bottom: 64px; border-bottom: 1px solid var(--line);
}
.pillar-ed:last-child { border-bottom: none; padding-bottom: 0; }
.pillar-ed-num { font-family: var(--font-display); font-style: italic; font-size: 36px; font-weight: 400; color: var(--cta); line-height: 1; }
.pillar-ed-title h3 { font-size: 30px; font-weight: 500; line-height: 1.15; margin-bottom: 8px; }
.pillar-ed-title .tag { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.pillar-ed-body p  { font-size: 16px; color: var(--text-muted); margin-bottom: 16px; }
.pillar-ed-body ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pillar-ed-body li {
  font-size: 12px; color: var(--accent-dark); background: var(--accent-50);
  padding: 6px 12px; border-radius: 999px; letter-spacing: 0.04em;
}

/* ============ TRAINER ============ */
.trainer { background: var(--bg-warm); }
.trainer-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.trainer-image-wrap { position: relative; }
.trainer-image-wrap .ph { aspect-ratio: 3 / 4; border-radius: 4px; }
.ph-name {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(251,248,241,0.95); padding: 10px 18px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; color: var(--text); z-index: 2;
}
.trainer-content h2     { font-size: clamp(36px,4.5vw,56px); margin-bottom: 32px; font-weight: 400; margin-top: 12px; }
.trainer-content p      { font-size: 17px; color: var(--text-muted); margin-bottom: 20px; }
.trainer-creds          { display: flex; gap: 32px; margin: 40px 0 32px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.trainer-creds > div    { flex: 1; min-width: 120px; }
.trainer-creds strong   { font-family: var(--font-display); font-size: 36px; font-weight: 500; display: block; line-height: 1; margin-bottom: 8px; }
.trainer-creds span     { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
/* Der Flow-Reset entfernt den Startabstand des nachfolgenden CTA. */
.home .trainer-content.is-layout-flow > .btn { margin-block-start: 32px !important; }

/* ============ TEAM ============ */
.team-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.team-members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.team-member .ph { aspect-ratio: 3 / 4; border-radius: 6px; }
.team-member .ph img { object-fit: cover; filter: grayscale(1) contrast(1.02); }
.team-side h3   { font-size: 28px; margin-bottom: 16px; font-weight: 500; line-height: 1.2; }
.team-side > p  { color: var(--text-muted); margin-bottom: 32px; font-size: 15px; }
.team-specs     { list-style: none; border-top: 1px solid var(--line); }
.team-specs li  { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.team-specs .num   { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.04em; min-width: 28px; }
.team-specs .label { flex: 1; color: var(--text); }
.team-specs .meta  { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: 0.02em; }

/* ============ STUDIO ============ */
.studio { background: var(--text); color: var(--bg); }
.studio h2, .studio h3, .studio h4 { color: var(--bg); }
.studio h2 em { color: var(--accent-light); }
.studio .eyebrow { color: var(--accent-light); }
.studio .eyebrow::before { background: var(--accent-light); }
.studio .section-header-text,
.studio .section-header > p { color: rgba(244,240,230,0.7); }
.studio-mosaic { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.studio-mosaic .ph { border-radius: 4px; }
.studio-mosaic > :nth-child(1),
.studio-mosaic > :nth-child(2) { grid-column: span 2; }
.studio-mosaic > :nth-child(n+3) { grid-column: span 1; }

/* Kadence image blocks used as photo-grid cells (team, studio, trainer) */
.team-members > .wp-block-kadence-image,
.studio-mosaic > .wp-block-kadence-image,
.trainer-image-wrap > .wp-block-kadence-image { width: 100%; margin: 0; }
.team-members > .wp-block-kadence-image figure,
.studio-mosaic > .wp-block-kadence-image figure,
.trainer-image-wrap > .wp-block-kadence-image figure { width: 100%; margin: 0; }
.studio-info { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; padding-top: 48px; border-top: 1px solid rgba(244,240,230,0.15); }
.studio-info-item h4 { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); font-weight: 500; margin-bottom: 14px; }
.studio-info-item p  { font-size: 16px; color: var(--bg); line-height: 1.55; }

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--bg-alt); }
.testimonials-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.testimonial-featured {
  background: var(--surface); padding: 56px; border-radius: 6px;
  display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line);
}
.testimonial-featured .stars { color: var(--cta); letter-spacing: 3px; font-size: 14px; margin-bottom: 32px; }
.testimonial-featured blockquote,
.testimonial-featured .testimonial-quote {
  /* Kleinerer Clamp als früher: echte Rezensionen sind oft länger als die
     ursprüngliche Platzhalter-Quote — bei 34px wurde die Spalte für lange
     Texte zu schmal (zackiges Wrapping). */
  font-family: var(--font-display); font-size: clamp(20px,1.7vw,27px);
  font-weight: 400; line-height: 1.4; color: var(--text); margin-bottom: 40px; letter-spacing: -0.015em;
}
.testimonial-featured blockquote::before,
.testimonial-featured .testimonial-quote::before {
  content: '\201C'; font-family: var(--font-display); font-size: 60px; color: var(--accent);
  display: block; line-height: 0.5; margin-bottom: 24px;
}
.testimonial-stack  { display: flex; flex-direction: column; gap: 24px; }
.testimonial-small  {
  background: var(--surface); padding: 32px 28px; border-radius: 6px; border: 1px solid var(--line);
  flex: 1; display: flex; flex-direction: column;
}
.testimonial-small .stars { color: var(--cta); letter-spacing: 2px; font-size: 12px; margin-bottom: 16px; }
.testimonial-small .testimonial-quote {
  font-family: var(--font-display); font-size: 18px; line-height: 1.35;
  font-weight: 400; color: var(--text); margin-bottom: 24px; flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-light);
  color: var(--accent-dark); display: flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 13px; flex-shrink: 0;
}
.testimonial-name strong,
.testimonial-name .testimonial-name-main { display: block; font-weight: 500; font-size: 14px; margin: 0; }
.testimonial-name span,
.testimonial-name .testimonial-name-sub  { font-size: 12px; color: var(--text-muted); margin: 0; }
.testimonial-avatar { margin: 0; }
/* Editable core-block variant: neutralize WP flow margins inside testimonial groups */
.testimonials-layout.is-layout-flow > *,
.testimonial-stack.is-layout-flow > *,
.testimonial-featured.is-layout-flow > *,
.testimonial-small.is-layout-flow > *,
.testimonial-author.is-layout-flow > *,
.testimonial-name.is-layout-flow > * { margin-block-start: 0 !important; }
.testimonials-footer { text-align: center; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 13px; letter-spacing: 0.04em; }

/* ============ PRICING ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  padding: 36px 28px; display: flex; flex-direction: column; position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--accent-dark); }
.price-card.featured { background: var(--text); color: var(--bg); border-color: var(--text); }
.price-card.featured h3,
.price-card.featured .price-amount strong { color: var(--bg); }
.price-card.featured p,
.price-card.featured li { color: rgba(244,240,230,0.75); }
.price-card.featured .price-tag { background: var(--cta); color: var(--bg); }
.price-tag {
  position: absolute; top: -12px; left: 28px;
  background: var(--accent-50); color: var(--accent-dark);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; font-weight: 500;
}
.price-card h3          { font-size: 24px; font-weight: 500; margin-bottom: 8px; }
/* min-height reserves 2 lines regardless of actual wrap, so the price
   (below) starts at the same y-position across all three cards. */
.price-card .price-sub  { font-size: 13px; line-height: 1.5; color: var(--text-muted); margin-bottom: 28px; min-height: 39px; }
.price-amount           { margin-bottom: 28px; display: flex; align-items: baseline; gap: 6px; }
.price-amount strong    { font-family: var(--font-display); font-size: 48px; font-weight: 500; line-height: 1; }
.price-amount span      { font-size: 14px; color: var(--text-muted); }
.price-features         { list-style: none; margin-bottom: 32px; flex: 1; }
.price-features li      {
  font-size: 14px; color: var(--text-muted); padding: 10px 0;
  border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; gap: 10px;
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before { content: '+'; color: var(--accent-dark); font-weight: 500; flex-shrink: 0; }
.price-card.featured .price-features li { border-bottom-color: rgba(244,240,230,0.15); }
.price-card.featured .price-features li::before { color: var(--cta-soft); }
.price-cta {
  display: block; text-align: center; padding: 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; border: 1px solid var(--line-strong); transition: all 0.25s ease;
  text-decoration: none;
}
.price-cta:hover          { background: var(--text); color: var(--bg); border-color: var(--text); }
.price-card.featured .price-cta              { background: var(--cta); color: var(--bg); border-color: var(--cta); }
.price-card.featured .price-cta:hover        { background: var(--cta-dark); border-color: var(--cta-dark); }
.pricing-note { text-align: center; font-size: 13px; color: var(--text-muted); }
.price-tag-neutral { background: var(--bg-alt); color: var(--text-muted); }
/* price-amount as editable core blocks (value + unit) — mirrors .price-amount strong/span */
.price-amount-value { font-family: var(--font-display); font-size: 48px; font-weight: 500; line-height: 1; margin: 0; }
.price-amount-unit  { font-size: 14px; color: var(--text-muted); margin: 0; }
.price-card.featured .price-amount-value { color: var(--bg); }
.price-card.featured .price-amount-unit  { color: rgba(244,240,230,0.75); }

/* Sliding-scale rows (Mitgliedschaft) */
.price-scale { flex: 1; margin-bottom: 28px; }
.price-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px solid var(--line); gap: 12px;
}
.price-row:last-child { border-bottom: none; }
.price-row-label strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.price-row-label span   { font-size: 12px; color: var(--text-muted); }
.price-row-amount { font-family: var(--font-display); font-size: 20px; font-weight: 500; white-space: nowrap; padding-top: 1px; }
.price-card.featured .price-row { border-color: rgba(244,240,230,0.15); }
.price-card.featured .price-row-amount { color: var(--bg); }

/* Named tiers (Online-Coaching) */
.price-tiers { flex: 1; margin-bottom: 28px; }
.price-tier-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--line); gap: 12px;
}
.price-tier-row:last-child { border-bottom: none; }
.price-tier-info strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.price-tier-info span   { font-size: 12px; color: var(--text-muted); }
.price-tier-amount { font-family: var(--font-display); font-size: 20px; font-weight: 500; white-space: nowrap; padding-top: 1px; }

/* ============ COURSES ============ */
.courses { background: var(--accent-50); }
.courses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.courses-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cta); color: var(--bg); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; margin-bottom: 24px; font-weight: 500;
}
.courses-badge::before { content: ''; width: 6px; height: 6px; background: var(--bg); border-radius: 50%; }
/* Muted (non-CTA) badge for a not-yet-available state — same shape as .courses-badge, quieter colors */
.courses-soon {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-alt); color: var(--text-muted); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 500;
}
.courses h2            { font-size: clamp(36px,4.5vw,56px); margin-bottom: 24px; font-weight: 400; }
.courses-text,
.courses-grid > .wp-block-group > p { font-size: 17px; color: var(--text-muted); }
.courses-features      { list-style: none; margin-bottom: 40px; }
.courses-features li   { padding: 14px 0; border-bottom: 1px solid rgba(95,110,90,0.2); display: flex; align-items: center; gap: 14px; font-size: 15px; }
.courses-features li::before { content: ''; width: 6px; height: 6px; background: var(--accent-dark); border-radius: 50%; flex-shrink: 0; }
.courses-mockup        { background: var(--paper); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-soft); }
.courses-mockup-header { display: flex; align-items: center; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.courses-mockup-dot    { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-alt); }
.course-video          { aspect-ratio: 16/9; border-radius: 6px; margin-bottom: 16px; position: relative; overflow: hidden; }
.course-play           { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; pointer-events: none; }
.course-play-btn       { width: 64px; height: 64px; border-radius: 50%; background: rgba(251,248,241,0.95); display: flex; align-items: center; justify-content: center; color: var(--text); }
.course-meta           { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 8px; }
.course-title          { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.course-info           { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.course-progress       { width: 100px; height: 4px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.course-progress div   { width: 65%; height: 100%; background: var(--cta); }
.course-upnext         { margin-top: 6px; border-top: 1px solid var(--line); padding: 14px 8px 4px; }
.course-upnext-label   { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.course-upnext-item    { display: flex; gap: 12px; align-items: center; }
.course-upnext-thumb   { width: 104px; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.course-upnext-thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-upnext-info    { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.course-upnext-info .t { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.course-upnext-info .d { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); margin-top: 3px; }

/* ============ FINAL CTA ============ */
.final-cta { background: var(--bg-warm); text-align: center; padding: 140px 0; }
.final-cta h2 { font-size: clamp(40px,6.5vw,92px); margin: 32px auto 28px; font-weight: 400; max-width: 1000px; text-wrap: balance; }
.final-cta p  { font-size: 19px; color: var(--text-muted); max-width: 580px; margin: 0 auto 40px; }

/* ============ FOOTER ============ */
.footer { background: var(--text); color: var(--bg); padding: 80px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(244,240,230,0.15);
}
.footer-brand p   { margin-top: 24px; color: rgba(244,240,230,0.7); font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer-col h4    { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 22px; font-weight: 500; }
.footer-col ul    { list-style: none; }
.footer-col li    { padding: 6px 0; font-size: 14px; color: rgba(244,240,230,0.7); }
.footer-col a     { color: inherit; text-decoration: none; }
.footer-col a:hover { color: var(--bg); }
.newsletter-note  { font-size: 13px; color: rgba(244,240,230,0.6); margin-bottom: 16px; line-height: 1.5; }
.newsletter-form  { display: flex; margin-top: 4px; }
.newsletter-form input {
  flex: 1; background: transparent; border: 1px solid rgba(244,240,230,0.2); border-right: none;
  border-radius: 4px 0 0 4px; padding: 12px 14px; font-size: 14px;
  color: var(--bg); font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: rgba(244,240,230,0.5); }
.newsletter-form button {
  background: var(--cta); color: var(--bg); border: none; padding: 12px 18px;
  border-radius: 0 4px 4px 0; font-size: 14px; font-weight: 500; cursor: pointer; font-family: var(--font-body);
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; color: rgba(244,240,230,0.5); font-size: 13px; flex-wrap: wrap; gap: 16px;
}
.footer-bottom-meta,
.footer-legal-links,
.footer-social-links { display: flex; align-items: center; flex-wrap: wrap; }
.footer-bottom-meta { gap: 24px; }
.footer-legal-links { gap: 20px; }
.footer-social-links { gap: 24px; margin-left: auto; }
.footer-bottom a { color: rgba(244,240,230,0.72); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--bg); }
/* wpautop ergänzt im Shortcode sonst unsichtbare Flex-Kinder und verschiebt Social um 16px. */
.footer-bottom br,
.footer-bottom > p { display: none; }

/* ============ FSE: kein Default-Abstand zwischen Header/Content/Footer-Template-Parts ============ */
.wp-site-blocks > * + * { margin-block-start: 0; }

/* ============ FSE: Container mit eigenem gap/padding-CSS — WP-Auto-Margin (is-layout-flow)
   würde sich mit dem custom Grid/Flex-Spacing doppeln bzw. es verschieben. Reset hier.
   (Generische, klassenlose .wp-block-group-Stacks wie Eyebrow+Headline bleiben unberührt —
   die brauchen den WP-Default-Abstand weiterhin.) ============ */
.entry-content.is-layout-flow > *,
.personas-grid.is-layout-flow > *,
.persona.is-layout-flow > *,
.pillars-editorial.is-layout-flow > *,
.pillar-ed.is-layout-flow > *,
.pillar-ed-body.is-layout-flow > *,
.pillar-ed-title.is-layout-flow > *,
.team-layout.is-layout-flow > *,
.team-members.is-layout-flow > *,
.team-side.is-layout-flow > *,
.studio-mosaic.is-layout-flow > *,
.studio-info.is-layout-flow > *,
.studio-info-item.is-layout-flow > *,
.trainer-grid.is-layout-flow > *,
.trainer-content.is-layout-flow > *,
.trainer-image-wrap.is-layout-flow > *,
.courses-grid.is-layout-flow > *,
.section-header.is-layout-flow > *,
.pricing-grid.is-layout-flow > *,
.price-card.is-layout-flow > *,
.price-amount.is-layout-flow > *,
.booking-grid.is-layout-flow > *,
.summary.is-layout-flow > *,
.pkg-price.is-layout-flow > *,
.contact-grid.is-layout-flow > *,
.contact-info.is-layout-flow > *,
.contact-rows.is-layout-flow > *,
.contact-row.is-layout-flow > *,
.contact-row .val.is-layout-flow > *,
section > .container.is-layout-flow > * {
  margin-block-start: 0 !important;
}

/* ============ WORDPRESS UTILITIES (Journal/Single-Post-Inhalte, nicht Startseite) ============ */
body:not(.home) .entry-content h2 { font-size: clamp(24px,3vw,36px); font-weight: 400; margin: 48px 0 16px; }
body:not(.home) .entry-content h3 { font-size: clamp(20px,2.5vw,28px); font-weight: 500; margin: 36px 0 12px; }
body:not(.home) .entry-content p  { margin-bottom: 20px; }
body:not(.home) .entry-content ul,
body:not(.home) .entry-content ol { padding-left: 24px; margin-bottom: 20px; line-height: 1.7; }
body:not(.home) .entry-content a:not(.btn):not(.btn-outline):not(.btn-primary):not(.btn-secondary):not(.nl-cta):not(.wp-block-button__link)  { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
body:not(.home) .entry-content a:not(.btn):not(.btn-outline):not(.btn-primary):not(.btn-secondary):not(.nl-cta):not(.wp-block-button__link):hover { color: var(--cta); }
/* Core-Button-Links nie unterstreichen — site-weit, damit es nicht je Seite neu auftritt */
.wp-block-button__link { text-decoration: none; }
body:not(.home) .entry-content .btn,
body:not(.home) .entry-content .btn-outline,
body:not(.home) .entry-content .map-card a,
body:not(.home) .entry-content .ph-contact a,
body:not(.home) .entry-content .contact-row .val a,
body:not(.home) .entry-content .nl-cta { text-decoration: none; }
body:not(.home) .entry-content blockquote {
  border-left: 3px solid var(--accent); padding: 16px 24px;
  margin: 32px 0; font-family: var(--font-display); font-size: 20px;
  font-weight: 400; color: var(--text-muted);
}
.wp-caption, figure.wp-block-image { margin: 32px 0; }
.wp-caption img, figure.wp-block-image img { border-radius: 4px; }

/* Rechtstexte: lesbare Zeilenlänge und sichere Umbrüche für technische URLs/IDs. */
.page-id-94 .entry-content,
.page-id-95 .entry-content,
.page-id-96 .entry-content {
  width: min(100%, 980px);
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(44px, 6vw, 80px) var(--gutter) clamp(80px, 9vw, 128px);
}
.page-id-94 .entry-content > *,
.page-id-95 .entry-content > *,
.page-id-96 .entry-content > * {
  min-width: 0;
  max-width: 100%;
}
.page-id-94 .entry-content p,
.page-id-94 .entry-content li,
.page-id-94 .entry-content a,
.page-id-94 .entry-content h1,
.page-id-94 .entry-content h2,
.page-id-94 .entry-content h3,
.page-id-95 .entry-content p,
.page-id-95 .entry-content li,
.page-id-95 .entry-content a,
.page-id-95 .entry-content h1,
.page-id-95 .entry-content h2,
.page-id-95 .entry-content h3,
.page-id-96 .entry-content p,
.page-id-96 .entry-content li,
.page-id-96 .entry-content a,
.page-id-96 .entry-content h1,
.page-id-96 .entry-content h2,
.page-id-96 .entry-content h3 {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.page-id-94 .entry-content h1,
.page-id-94 .entry-content h2,
.page-id-94 .entry-content h3,
.page-id-95 .entry-content h1,
.page-id-95 .entry-content h2,
.page-id-95 .entry-content h3,
.page-id-96 .entry-content h1,
.page-id-96 .entry-content h2,
.page-id-96 .entry-content h3 { hyphens: auto; }
.page-id-94 .entry-content h1,
.page-id-95 .entry-content h1,
.page-id-96 .entry-content h1 {
  font-size: clamp(40px, 4vw, 52px);
  line-height: 1.05;
}
.page-id-94 .entry-content table,
.page-id-95 .entry-content table,
.page-id-96 .entry-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
  .hero-grid,
  .trainer-grid,
  .courses-grid,
  .team-layout,
  .testimonials-layout { grid-template-columns: 1fr; gap: 48px; }
  .section-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 60px !important; }
  #preise .section-header { grid-template-columns: 1fr; }
  .testimonials .section-header h2,
  #preise .section-header h2 em { white-space: normal; }
  .personas-grid,
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .studio-mosaic { grid-template-columns: 1fr 1fr; }
  .studio-mosaic > :nth-child(1),
  .studio-mosaic > :nth-child(2) { grid-column: span 2; }
  .studio-mosaic > :nth-child(n+3) { grid-column: span 1; }
  .studio-info,
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pillar-ed { grid-template-columns: 60px 1fr; }
  .pillar-ed-body { grid-column: 2 / 3; }
  .hero-media .ph-inset { display: none; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 80px 0; }
  .hero { padding: 48px 0 80px; }
  .personas-grid,
  .pricing-grid,
  .studio-mosaic,
  .studio-info,
  .footer-grid { grid-template-columns: 1fr; }
  .header-cta .btn  { display: none; }
  .header-phone     { display: none; }
  .hero-trust       { gap: 24px; }
  .testimonial-featured { padding: 36px 28px; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .footer-bottom-meta,
  .footer-legal-links,
  .footer-social-links { justify-content: center; }
  .footer-social-links { margin-right: auto; }
  .team-members     { grid-template-columns: repeat(2,1fr); }
  .header-inner { gap: 20px; }
  .header-inner .logo { flex: 1 1 auto; min-width: 0; }
  .header .nrpt-logo { width: auto; max-width: 100%; height: auto; max-height: 38px; }
  .section-header,
  .section-header > *,
  .testimonials .section-header,
  #preise .section-header { min-width: 0; width: 100%; }
  .section-header h2 { overflow-wrap: break-word; }
  .page-id-94 .entry-content h1,
  .page-id-95 .entry-content h1,
  .page-id-96 .entry-content h1 {
    font-size: clamp(34px, 9.5vw, 40px);
    line-height: 1.04;
  }
  .testimonials-layout > *,
  .testimonial-stack,
  .testimonial-featured,
  .testimonial-small {
    width: 100%;
    min-width: 0;
  }
  .testimonial-quote,
  .testimonial-featured blockquote {
    overflow-wrap: anywhere;
  }
  .trainer-grid > *,
  .trainer-image-wrap,
  .trainer-content {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 360px) {
  .btn {
    max-width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }
  .trainer-creds { gap: 20px; }
}

/* ============ GUTENBERG BLOCK EDITOR ============ */

/* Section groups: ensure theme padding applies (specificity 11 > WP block specificity 10) */
section.wp-block-group { padding: 120px 0; position: relative; }
section.wp-block-group.hero { padding: 72px 0 96px; overflow: hidden; }
section.wp-block-group.final-cta { padding: 140px 0; text-align: center; }
@media (max-width: 900px) {
  section.wp-block-group { padding: 80px 0; }
  section.wp-block-group.hero { padding: 56px 0 80px; }
}
@media (max-width: 640px) {
  section.wp-block-group { padding: 80px 0; }
  section.wp-block-group.hero { padding: 48px 0 80px; }
}

/* Remove default editor margins between blocks */
.editor-styles-wrapper.is-root-container > .wp-block + .wp-block,
.is-root-container > .wp-block-html + .wp-block-html { margin-top: 0 !important; }

/* Editor body inherits design tokens from :root (sage is the default palette) */
.editor-styles-wrapper { background-color: var(--bg); color: var(--text); font-family: var(--font-body); }

/* ============ SCROLL-REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 0.7, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 0.7, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   JOURNAL — Übersichtsseite
   (portiert aus Journal.html <style>-Block)
   ============================================================ */
.journal-hero { padding: 80px 0 56px; }
.journal-hero .eyebrow { margin-bottom: 24px; }
.journal-hero h1 { font-size: clamp(40px,6vw,82px); line-height: 1.0; max-width: 14ch; margin-bottom: 28px; }
.journal-hero .lead { font-size: clamp(17px,1.5vw,20px); color: var(--text-muted); max-width: 56ch; line-height: 1.65; }

.journal-filter {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 8px 0 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.filter-chip {
  font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text-muted); cursor: pointer;
  white-space: nowrap; transition: all 0.2s ease;
  text-decoration: none; display: inline-block;
}
.filter-chip:hover { border-color: var(--text); color: var(--text); }
.filter-chip[aria-pressed="true"],
.filter-chip.is-active,
body.blog .filter-chip[data-cat="all"],
body.category-training .filter-chip[data-cat="training"],
body.category-beweglichkeit .filter-chip[data-cat="beweglichkeit"],
body.category-regeneration .filter-chip[data-cat="regeneration"],
body.category-ernaehrung .filter-chip[data-cat="ernaehrung"] {
  background: var(--text); border-color: var(--text); color: var(--bg);
}

/* Featured article */
.journal-featured {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px;
  align-items: center; margin-bottom: 80px; padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}
.journal-featured .feat-text,
.journal-featured-query ul.wp-block-post-template > li .feat-text { /* WP query loop adapter */ }
.journal-featured .feat-media,
.journal-featured .feat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.6,.2,1); }
.journal-featured .feat-media { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: var(--accent-50); }
.journal-featured:hover .feat-media img { transform: scale(1.03); }

/* WP Query Loop: featured (1 post) */
.journal-featured-query ul.wp-block-post-template {
  list-style: none; padding: 0; margin: 0 0 80px; padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}
.journal-featured-query ul.wp-block-post-template > li {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center;
}
.journal-featured-query ul.wp-block-post-template > li:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.journal-featured-query .wp-block-post-featured-image {
  aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: var(--accent-50);
}
.journal-featured-query .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.6,.2,1); }

.feat-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.cat-tag,
.wp-block-post-terms.cat-tag .wp-block-post-terms__link {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cta-dark); padding: 5px 12px; border: 1px solid var(--cta-soft); border-radius: 999px;
  text-decoration: none;
}
.wp-block-post-terms.cat-tag { display: inline-block; }
.post-date,
.wp-block-post-date.post-date { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; color: var(--text-muted); }
.journal-featured h2 { font-size: clamp(30px,3.4vw,46px); line-height: 1.08; margin-bottom: 22px; }
.journal-featured:hover h2 a,
.journal-featured-query ul.wp-block-post-template > li:hover .wp-block-post-title a { color: var(--cta); }
.journal-featured p,
.journal-featured .wp-block-post-excerpt p { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; max-width: 50ch; }

.read-link,
a.read-link,
.wp-block-read-more.read-link a {
  display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em; color: var(--text); text-decoration: none;
}
.read-link .arrow,
.wp-block-read-more.read-link .arrow { transition: transform 0.25s ease; }
.journal-featured:hover .read-link .arrow,
.journal-featured-query ul.wp-block-post-template > li:hover .wp-block-read-more.read-link a::after { transform: translateX(4px); }
.post-card:hover .read-link .arrow { transform: translateX(4px); }

/* Post Grid */
.journal-grid,
ul.journal-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 56px 32px;
  list-style: none; padding: 0; margin: 0;
}
.journal-grid-query ul.wp-block-post-template {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 56px 32px;
}
.post-card { display: flex; flex-direction: column; cursor: pointer; padding-bottom: 36px; }
.post-card .card-media { aspect-ratio: 3/2; border-radius: 8px; overflow: hidden; background: var(--accent-50); margin-bottom: 26px; }
.post-card .card-media img,
.journal-grid-query .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.6,.2,1); }
.post-card:hover .card-media img,
.journal-grid-query ul.wp-block-post-template > li:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.journal-grid-query .wp-block-post-featured-image { aspect-ratio: 3/2; border-radius: 8px; overflow: hidden; background: var(--accent-50); margin-bottom: 26px; }
.post-card .card-meta,
.journal-grid-query .card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.post-card h3,
.journal-grid-query .wp-block-post-title { font-size: 22px; line-height: 1.18; margin-bottom: 14px; text-wrap: pretty; }
.post-card:hover h3,
.journal-grid-query ul.wp-block-post-template > li:hover .wp-block-post-title a { color: var(--cta); }
.post-card p,
.post-card .wp-block-post-excerpt p { font-size: 15px; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; flex: 1; }
.post-card .read-link,
.journal-grid-query .wp-block-read-more.read-link a { font-size: 13px; }
.journal-grid-query ul.wp-block-post-template > li { display: flex; flex-direction: column; padding-bottom: 36px; }

/* WP block adapters: fix is-layout-flow on query post templates */
.journal-featured-query ul.wp-block-post-template > li > *,
.journal-grid-query ul.wp-block-post-template > li > *,
.related-grid ul.wp-block-post-template > li > * { margin-block-start: 0 !important; }
.journal-grid-query ul.wp-block-post-template.is-layout-flow > *,
.journal-featured-query ul.wp-block-post-template.is-layout-flow > * { margin-block-start: 0 !important; }

/* Newsletter band */
.journal-news {
  margin-top: 40px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 64px clamp(28px,5vw,72px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
}
.journal-news h2 { font-size: clamp(26px,2.6vw,36px); line-height: 1.1; margin-bottom: 14px; }
.journal-news p { color: var(--text-muted); max-width: 42ch; }
.news-form { display: flex; gap: 10px; }
.news-form input {
  flex: 1; background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 15px 22px; font-family: var(--font-body);
  font-size: 15px; color: var(--text); outline: none;
}
.news-form input:focus { border-color: var(--accent-dark); }
.news-form input::placeholder { color: var(--text-soft); }
.news-form-wrap { display: flex; flex-direction: column; }

/* Honeypot: für Menschen unsichtbar, für Bots ein Köder. Nicht display:none
   (manche Bots meiden versteckte Felder) — stattdessen aus dem Viewport schieben. */
.nrpt-hp {
  position: absolute !important; left: -9999px !important; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
/* Fehlerzustand des Newsletter-Feedbacks (überschreibt Inline-Erfolgsfarbe). */
.newsletter-feedback[data-state="error"] { color: var(--cta) !important; }

/* Journal section wrapper: reset is-layout-flow inter-block margins */
.journal-section.is-layout-flow > * { margin-block-start: 0 !important; }

/* ============================================================
   JOURNAL — Einzelartikel
   (portiert aus Journal-Artikel.html <style>-Block)
   ============================================================ */
.article-wrap { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); }

.article-top { padding: 56px 0 40px; }
.breadcrumb {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em;
  color: var(--text-muted); margin-bottom: 40px;
}
.breadcrumb a:hover { color: var(--cta); }
.breadcrumb span { opacity: 0.5; }

.article-cat,
.wp-block-post-terms.article-cat .wp-block-post-terms__link {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cta-dark);
  padding: 5px 12px; border: 1px solid var(--cta-soft); border-radius: 999px;
  text-decoration: none;
}
.wp-block-post-terms.article-cat { display: inline-block; }
.article-top h1,
.article-top .wp-block-post-title {
  font-size: clamp(34px,4.6vw,60px); line-height: 1.06; margin: 24px 0 28px; text-wrap: balance;
}
.article-lead,
.article-top .wp-block-post-excerpt p {
  font-size: clamp(18px,1.7vw,22px); line-height: 1.6; color: var(--text-muted); max-width: 60ch;
}
.article-byline {
  display: flex; align-items: center; gap: 14px;
  margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line);
}
.byline-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--accent-50); }
.byline-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.byline-text strong { font-weight: 600; font-size: 15px; }
.byline-text span,
.byline-text .wp-block-post-date { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.article-figure { margin: 8px 0 56px; }
.article-figure .fig-img,
.article-figure .wp-block-post-featured-image {
  aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: var(--accent-50);
}
.article-figure img,
.article-figure .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.article-figure figcaption,
.article-figure .wp-block-post-featured-image figcaption {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-top: 12px; text-align: center;
}

/* Prose — article body text */
.prose { font-size: 18px; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 26px; }
body.single .entry-content .prose h2,
.prose h2 { font-size: clamp(26px,2.6vw,34px); line-height: 1.15; margin-top: 52px; margin-bottom: 4px; font-weight: 400; }
body.single .entry-content .prose h3,
.prose h3 { font-family: var(--font-body); font-weight: 600; font-size: 19px; letter-spacing: 0; margin-top: 38px; }
body.single .entry-content .prose h4,
.prose h4 { font-family: var(--font-body); font-weight: 600; font-size: 16px; letter-spacing: 0.01em; margin-top: 28px; color: var(--text); }
.prose p { color: var(--text); }
.prose a { color: var(--cta-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 32px; margin-top: 14px; color: var(--text); }
.prose ul li::before {
  content: ''; position: absolute; left: 4px; top: 13px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.prose ol { counter-reset: step; }
.prose ol li { counter-increment: step; }
.prose ol li::before {
  content: counter(step); position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-50); color: var(--accent-dark);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.prose blockquote {
  margin: 44px 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(22px,2.4vw,30px); line-height: 1.3; color: var(--text);
}
.prose .lead-cap::first-letter {
  initial-letter: 3; -webkit-initial-letter: 3;
  font-family: var(--font-display); font-weight: 500; color: var(--cta); margin-right: 14px;
}

.article-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line);
}
.article-tags a,
.article-tags .t {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
  padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  text-decoration: none; transition: color 0.2s ease, border-color 0.2s ease;
}
.article-tags a:hover { color: var(--text); border-color: var(--text); }
/* Hide the block's whitespace separator — flex gap already spaces the chips */
.article-tags .wp-block-post-terms__separator { display: none; }

.author-card {
  margin: 64px 0 0; padding: 40px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; grid-template-columns: 96px 1fr; gap: 28px; align-items: center;
}
.author-card .au-avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--accent-50); }
.author-card .au-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.author-card .eyebrow { margin-bottom: 12px; }
.author-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 20px; letter-spacing: 0; margin-bottom: 8px; }
.author-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

.related { padding: 96px 0; margin-top: 80px; background: var(--bg-alt); }
.related .section-head { margin-bottom: 40px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.related h2 { font-size: clamp(26px,2.6vw,36px); }
/* .related-grid wraps a single .wp-block-query → the 3-col grid belongs on the
   inner ul.wp-block-post-template (below), not here. Keep this a plain block. */
.related-grid { display: block; }
.related-grid ul.wp-block-post-template {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 32px;
  list-style: none; padding: 0; margin: 0;
}
.related-grid ul.wp-block-post-template > li { display: flex; flex-direction: column; margin-block-start: 0 !important; }
.related-grid ul.wp-block-post-template > li > * { margin-block-start: 0 !important; }
.related-grid .wp-block-post-featured-image { aspect-ratio: 3/2; border-radius: 8px; overflow: hidden; background: var(--accent-50); margin-bottom: 18px; }
.related-grid .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.6,.2,1); }
.related-grid ul.wp-block-post-template > li:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.related-grid .card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.related-grid .wp-block-post-title,
.related-grid h3 { font-size: 19px; line-height: 1.2; }
.related-grid ul.wp-block-post-template > li:hover .wp-block-post-title a { color: var(--cta); }

.article-cta-band { padding: 0 0 110px; }
.article-cta-inner {
  max-width: 760px; margin: 0 auto; padding: 56px clamp(28px,4vw,56px);
  text-align: center; border-radius: 12px; background: var(--text); color: var(--bg);
}
.article-cta-inner h2 { color: var(--bg); font-size: clamp(26px,3vw,40px); margin-bottom: 16px; }
.article-cta-inner h2 em { color: var(--cta-soft); }
.article-cta-inner p { color: rgba(244,240,230,0.7); max-width: 46ch; margin: 0 auto 30px; }

/* Fix entry-content rules bleeding into prose overrides on single posts */
body.single .entry-content { all: unset; display: block; }
body.single .entry-content .prose > * + * { margin-top: 26px; }

/* ============================================================
   TERMIN & KONTAKT-SEITE
   (portiert aus Termin.html <style>-Block)
   ============================================================ */
section.wp-block-group.termin-hero { padding: 76px 0 8px; }
.termin-hero .eyebrow { margin-bottom: 24px; }
.termin-hero h1 { font-size: clamp(38px,5.4vw,76px); line-height: 1.02; max-width: 16ch; margin-bottom: 26px; }
.termin-hero .lead { font-size: clamp(17px,1.5vw,20px); color: var(--text-muted); max-width: 54ch; line-height: 1.65; }

section.wp-block-group.booking { padding: 64px 0 110px; }
.booking-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; column-gap: 40px; row-gap: 0; align-items: start; }

/* Summary card (left, sticky) */
.summary {
  position: sticky; top: 104px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 34px; box-shadow: var(--shadow-soft);
}
.summary .pkg-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cta-dark);
  padding: 5px 12px; border: 1px solid var(--cta-soft); border-radius: 999px;
  display: inline-block; margin-bottom: 20px;
}
.summary h2 { font-size: 28px; line-height: 1.1; margin-bottom: 10px; }
.summary .pkg-sub { color: var(--text-muted); font-size: 15px; margin-bottom: 26px; }
.summary .pkg-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.summary .pkg-price strong,
.summary .pkg-price-value { font-family: var(--font-display); font-weight: 500; font-size: 40px; letter-spacing: -0.02em; margin: 0; }
.summary .pkg-price span,
.summary .pkg-price-unit { color: var(--text-muted); font-size: 14px; margin: 0; }
.pkg-list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 0 0 26px; padding: 0; }
.pkg-list li { position: relative; padding-left: 29px; font-size: 14.5px; color: var(--text); line-height: 1.45; }
.pkg-list svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-dark); }
.pkg-list li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  background-color: var(--accent-dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Booking placeholder (replaces the JS calendar widget) */
.book-placeholder {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 48px clamp(22px,3vw,40px);
  text-align: center;
}
.book-placeholder .ph-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent-50);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 24px; color: var(--accent-dark);
}
.book-placeholder h3 { font-family: var(--font-body); font-weight: 600; font-size: 20px; letter-spacing: 0; margin-bottom: 14px; }
.book-placeholder p { color: var(--text-muted); font-size: 15px; line-height: 1.7; max-width: 42ch; margin: 0 auto 28px; }
.book-placeholder .ph-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.book-placeholder .ph-contact a { font-size: 16px; font-weight: 500; color: var(--text); text-decoration: none; }
.book-placeholder .ph-contact a:hover { color: var(--cta); }
.book-placeholder .ph-note { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); margin-top: 16px; }

/* Live OptiOffice booking widget */
.book-frame {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-soft);
}
.book-frame iframe { display: block; width: 100%; height: 830px; border: 0; }
.book-fallback {
  margin-top: 20px; text-align: center; font-size: 14px; color: var(--text-muted);
}
.booking-grid > .book-fallback {
  grid-column: 2;
  max-width: none;
  margin: 20px 0 0 !important;
  text-align: left;
  line-height: 1.6;
  white-space: nowrap;
}
.book-fallback a { color: var(--text); font-weight: 500; text-decoration: none; }
.book-fallback a:hover { color: var(--cta); }

/* Override entry-content h2 for termin page components */
body.page .entry-content .summary h2 { font-size: 28px; margin: 0 0 10px; font-weight: 500; }
body.page .entry-content .contact-info h2 { font-size: clamp(30px,3.4vw,46px); line-height: 1.06; margin-bottom: 32px; }

/* Contact section */
.contact { padding: 104px 0; background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
.contact-info .eyebrow { margin-bottom: 22px; }
.contact-info h2 { font-size: clamp(30px,3.4vw,46px); line-height: 1.06; margin-bottom: 32px; }
.contact-rows { display: flex; flex-direction: column; gap: 0; margin-bottom: 0; }
.contact-row { display: grid; grid-template-columns: 132px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.contact-row:last-child { border-bottom: 1px solid var(--line); }
.contact-row .lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); margin: 0; }
.contact-row .val { font-size: 16px; line-height: 1.55; display: block; margin: 0; }
.contact-row > .lbl,
.contact-row > .val,
.contact-row .val > p { margin-block: 0 !important; }
.contact-row .val.is-layout-flow > p + p { margin-top: 10px !important; }
.contact-row .val a:hover { color: var(--cta); }
.contact-row .val .muted { color: var(--text-muted); font-size: 14px; margin: 0; }
.contact-info > .contact-rows + .btn-outline { margin-top: clamp(24px, 2vw, 32px) !important; }
.transit { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.transit .line { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-muted); }
.transit .badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 5px; color: #fff; font-size: 11px; font-weight: 700; font-family: var(--font-body); }

/* Stylized map */
.map-panel { position: relative; border-radius: 14px; overflow: hidden; min-height: 460px; border: 1px solid var(--line); background: #E7E3D6; }
.map-panel svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-panel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-panel #nrpt-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; background: #EDEAE3; }
.nrpt-pin-dot {
  display: block; width: 22px; height: 22px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); background: var(--cta);
  border: 3px solid #FBF8F1; box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.map-panel .leaflet-control-attribution { font-size: 10px; background: rgba(251,248,241,0.75); }
.map-panel .leaflet-bar a { border-radius: 0; }
.map-pin { position: absolute; left: 50%; top: 47%; transform: translate(-50%,-100%); display: flex; flex-direction: column; align-items: center; z-index: 3; }
.map-pin .pin-dot { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--cta); box-shadow: 0 6px 16px rgba(0,0,0,0.25); border: 2.5px solid #FBF8F1; }
.map-card {
  position: absolute; left: 22px; bottom: 22px; right: 22px; z-index: 4;
  background: var(--surface); border: 1px solid var(--line); border-radius: 11px;
  padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  box-shadow: 0 8px 24px rgba(31,37,32,0.12);
}
.map-card .ttl { font-weight: 600; font-size: 15px; margin-bottom: 3px; }
.map-card .adr { font-size: 13px; color: var(--text-muted); font-family: var(--font-mono); }
.map-card .btn { padding: 11px 18px; font-size: 13px; }

/* btn-outline (used on termin page) */
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 14px 28px; border-radius: 40px;
  border: 1.5px solid var(--text); background: transparent; color: var(--text);
  text-decoration: none; transition: all 0.2s ease;
}
.btn-outline:hover { background: var(--text); color: var(--bg); }

/* ============================================================
   RESPONSIVE (Journal + Termin)
   ============================================================ */
@media (max-width: 1024px) {
  section.wp-block-group.termin-hero { padding: 56px 0 4px; }
  section.wp-block-group.booking { padding: 40px 0 80px; }
  .journal-featured,
  .journal-featured-query ul.wp-block-post-template > li { grid-template-columns: 1fr; gap: 32px; }
  .journal-featured .feat-media,
  .journal-featured-query .wp-block-post-featured-image { order: -1; }
  .journal-grid,
  ul.journal-grid,
  .journal-grid-query ul.wp-block-post-template { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
  .journal-news { grid-template-columns: 1fr; gap: 28px; padding: 48px 32px; }
  .related-grid,
  .related-grid ul.wp-block-post-template { grid-template-columns: 1fr; }
  .related-grid ul.wp-block-post-template > li:not(:first-child) { display: none; }
  .author-card { grid-template-columns: 1fr; text-align: left; }
  .booking-grid { grid-template-columns: 1fr; gap: 20px; }
  .booking-grid > .book-fallback { grid-column: 1; margin-top: 0 !important; white-space: normal; }
  .summary { position: static; }
  .book-frame iframe { height: 640px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  section.wp-block-group.termin-hero { padding: 48px 0 4px; }
  section.wp-block-group.booking { padding: 32px 0 72px; }
  .journal-grid,
  ul.journal-grid,
  .journal-grid-query ul.wp-block-post-template { grid-template-columns: 1fr; }
  .news-form { flex-direction: column; }
  .news-form button { width: 100%; justify-content: center; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
  .map-card { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   RÜCKENKURS — LANDINGPAGE (Pattern nrpt/rk-landingpage)
   Portiert aus dem Claude-Design; nutzt bestehende Theme-Tokens
   (var(--*)) — kein hartkodiertes Hex. Blöcke tragen die Klassen.
   ============================================================ */

/* WP is-layout-flow-Margins in den RK-Gruppen neutralisieren
   (explizite Design-Margins unten steuern den Rhythmus). */
.rk-hero-grid.is-layout-flow > *,
.rk-hero-copy.is-layout-flow > *,
.rk-hero-ctas.is-layout-flow > * { margin-block-start: 0 !important; }

/* --- Hero --- */
.rk-hero { padding: 72px 0 64px; }
.rk-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px,6vw,88px); align-items: center; }
.rk-hero-copy .eyebrow { margin-bottom: 20px; }
.rk-hero h1 { font-size: clamp(40px,5.4vw,78px); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 20px; max-width: 15ch; }
.rk-hero h1 em { font-style: italic; color: var(--accent-dark); }
.rk-hero .rk-sub { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(19px,2vw,26px); color: var(--text); margin-bottom: 26px; }
.rk-hero .lead { font-size: clamp(16px,1.4vw,18px); color: var(--text-muted); max-width: 52ch; line-height: 1.66; margin-bottom: 34px; }
.rk-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.rk-hero-ctas .wp-block-buttons { margin: 0; gap: 14px; }
.rk-price-note { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em; color: var(--text-muted); margin: 0; }
.rk-price-note strong { color: var(--text); font-weight: 700; }

/* RK core/button — auf den .btn-Look des Themes getrimmt */
.rk-hero-ctas .wp-block-button__link { font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: 0.01em; padding: 16px 28px; border-radius: 999px; border: none; transition: all 0.25s ease; }
.rk-cta-primary .wp-block-button__link { background: var(--cta); color: var(--surface); }
.rk-cta-primary .wp-block-button__link:hover { background: var(--cta-dark); transform: translateY(-1px); }
.rk-cta-primary .wp-block-button__link::after { content: "→"; margin-left: 4px; display: inline-block; transition: transform 0.25s ease; }
.rk-cta-primary .wp-block-button__link:hover::after { transform: translateX(4px); }
.rk-ghost .wp-block-button__link { background: transparent; color: var(--text); padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--text); }
.rk-ghost .wp-block-button__link:hover { color: var(--cta); border-color: var(--cta); background: transparent; }

/* Hero-Vorschau-Karte */
.rk-preview { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow-soft); }
.rk-preview-head { display: flex; align-items: center; gap: 6px; padding: 4px 4px 14px; }
.rk-preview-head i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.rk-preview-head span { margin-left: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--text-muted); }
.rk-preview-video { position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: var(--text); }
.rk-preview-video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.rk-preview-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.rk-preview-play div { width: 60px; height: 60px; border-radius: 50%; background: rgba(250,248,242,0.92); color: var(--cta-dark); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(31,37,32,0.28); }
.rk-preview-meta { display: flex; justify-content: space-between; align-items: center; padding: 14px 6px 4px; }
.rk-preview-meta .t { font-family: var(--font-display); font-size: 17px; }
.rk-preview-meta .d { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.03em; }
.rk-preview-bar { height: 4px; border-radius: 3px; background: var(--line); margin: 12px 6px 4px; overflow: hidden; }
.rk-preview-bar i { display: block; height: 100%; width: 34%; background: var(--cta); }

@media (max-width: 900px) {
  .rk-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .rk-preview { max-width: 460px; }
}

/* Flow-Margin-Resets für die RK-Gruppen (Grids/Flex + Copy-Stacks) */
.rk-strip .container.is-layout-flow > *,
.rk-strip-item.is-layout-flow > *,
.rk-for-grid.is-layout-flow > *,
.rk-for-head.is-layout-flow > *,
.rk-mods.is-layout-flow > *,
.rk-trainer-grid.is-layout-flow > *,
.rk-trainer-copy.is-layout-flow > *,
.rk-curr-head.is-layout-flow > *,
.rk-final .container.is-layout-flow > * { margin-block-start: 0 !important; }

/* --- Trust-Strip --- */
.rk-strip { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.rk-strip .container { display: flex; flex-wrap: wrap; gap: 14px 48px; padding-top: 26px; padding-bottom: 26px; justify-content: space-between; }
.rk-strip-item { display: flex; align-items: center; gap: 12px; }
.rk-strip-item svg { color: var(--accent-dark); flex-shrink: 0; }
.rk-strip-item p { font-size: 14.5px; color: var(--text); line-height: 1.35; margin: 0; }
.rk-strip-item strong { font-weight: 600; }

/* --- Für wen --- */
.rk-for { padding: 104px 0; }
.rk-for-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px,6vw,96px); align-items: start; }
.rk-for-head .eyebrow { margin-bottom: 18px; }
.rk-for-head h2 { margin-bottom: 22px; }
.rk-for h2 { font-size: clamp(34px,4vw,54px); line-height: 1.06; letter-spacing: -0.02em; }
.rk-for h2 em { font-style: italic; color: var(--accent-dark); }
.rk-for-note { margin: 0; font-size: 16px; color: var(--text-muted); line-height: 1.66; max-width: 40ch; }
.rk-checklist { list-style: none; display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; }
.rk-checklist li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--text); }
.rk-checklist li:last-child { border-bottom: none; }
.rk-checklist li::before { content: "✓"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px; background: var(--accent-50); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }

/* --- Lehrplan (core/details) --- */
.rk-curr { padding: 104px 0; background: var(--accent-50); }
.rk-curr-head { max-width: 60ch; margin-bottom: 52px !important; }
.rk-curr-head .eyebrow { margin-bottom: 18px; }
.rk-curr-head h2 { font-size: clamp(34px,4vw,56px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 18px; }
.rk-curr-head p { font-size: 17px; color: var(--text-muted); line-height: 1.65; margin: 0; }
.rk-mods { display: flex; flex-direction: column; gap: 12px; counter-reset: rkmod -1; }
.rk-curr .wp-block-details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; counter-increment: rkmod; padding: 0; transition: border-color 0.2s, box-shadow 0.2s; }
.rk-curr .wp-block-details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.rk-curr .wp-block-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px; padding: 24px clamp(20px,3vw,32px); font-family: var(--font-display); font-weight: 400; font-size: clamp(18px,2vw,23px); line-height: 1.2; letter-spacing: -0.01em; color: var(--text); }
.rk-curr .wp-block-details summary::-webkit-details-marker { display: none; }
.rk-curr .wp-block-details summary::before { content: counter(rkmod, decimal-leading-zero); flex-shrink: 0; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent-dark); width: 34px; height: 34px; border-radius: 8px; background: var(--accent-50); display: flex; align-items: center; justify-content: center; }
.rk-curr .wp-block-details.is-bonus summary::before { background: var(--cta-soft); color: var(--cta-dark); }
.rk-curr .wp-block-details.is-bonus:last-child summary::before { content: "—"; }
.rk-curr .wp-block-details summary::after { content: ""; flex-shrink: 0; margin-left: auto; width: 9px; height: 9px; border-right: 1.8px solid var(--text-muted); border-bottom: 1.8px solid var(--text-muted); transform: rotate(45deg); transition: transform 0.25s ease; }
.rk-curr .wp-block-details[open] summary::after { transform: rotate(-135deg); }
.rk-curr .wp-block-details .rk-lessons { list-style: none; margin: 0; padding: 0 clamp(20px,3vw,32px) 10px calc(clamp(20px,3vw,32px) + 54px); }
.rk-curr .rk-lessons li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--text); margin: 0; }
.rk-curr .rk-lessons li:first-child { border-top: none; }

/* --- Trainer --- */
.rk-trainer { padding: 104px 0; }
.rk-trainer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px,6vw,80px); align-items: center; }
.rk-trainer-portraits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: start; }
.rk-trainer-photo { margin: 0; }
/* Überschreibt die generische figure.wp-block-image-Marge zuverlässig. */
.rk-trainer-portraits figure.rk-trainer-photo { margin: 0; align-self: start; }
.rk-trainer-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 30%; display: block; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.rk-trainer-photo figcaption { margin-top: 10px; font-family: var(--font-display); font-size: 17px; line-height: 1.25; color: var(--text); text-align: left; }
.rk-trainer-copy .eyebrow { margin-bottom: 18px; }
.rk-trainer h2 { font-size: clamp(30px,3.4vw,46px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 22px; }
.rk-trainer h2 em { font-style: italic; color: var(--accent-dark); }
.rk-trainer p { font-size: 16.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; max-width: 52ch; }
.rk-trainer .sig { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--text); margin: 0; }

/* --- Final CTA --- */
.rk-final { padding: 110px 0; background: var(--text); color: var(--bg); text-align: center; }
.rk-final .eyebrow { color: rgba(244,240,230,0.6); justify-content: center; margin-bottom: 18px; }
.rk-final .eyebrow::before { background: rgba(244,240,230,0.4); }
.rk-final h2 { font-size: clamp(36px,5vw,68px); line-height: 1.03; letter-spacing: -0.02em; margin: 0 auto 22px; max-width: 16ch; }
.rk-final h2 em { font-style: italic; color: var(--cta-soft); }
.rk-final p { font-size: 18px; color: rgba(244,240,230,0.72); max-width: 46ch; margin: 0 auto 20px; line-height: 1.6; }
.rk-final-price { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 0 0 34px; }
.rk-final-price strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px,6vw,64px); letter-spacing: -0.02em; }
.rk-final-price span { font-family: var(--font-mono); font-size: 14px; color: rgba(244,240,230,0.6); }
.rk-final .wp-block-buttons { justify-content: center; margin: 0 0 22px; }
.rk-final .wp-block-button__link { font-family: var(--font-body); font-size: 16px; font-weight: 500; padding: 18px 34px; border-radius: 999px; border: none; background: var(--cta); color: var(--surface); transition: all 0.25s ease; }
.rk-final .wp-block-button__link:hover { background: var(--cta-dark); transform: translateY(-1px); }
.rk-final .wp-block-button__link::after { content: "→"; margin-left: 4px; display: inline-block; transition: transform 0.25s ease; }
.rk-final .wp-block-button__link:hover::after { transform: translateX(4px); }
.rk-final-fine { font-family: var(--font-mono); font-size: 12px; color: rgba(244,240,230,0.5); letter-spacing: 0.02em; margin: 22px 0 0; }

@media (max-width: 900px) {
  .rk-for-grid,
  .rk-trainer-grid { grid-template-columns: 1fr; gap: 44px; }
  .rk-trainer-portraits { max-width: 680px; }
}

/* Journal-Prose-Utilities (body:not(.home) .entry-content h2/p/ul …) sind für
   Blog-Artikel gedacht und überschreiben sonst die Landingpage. Hier gezielt mit
   höherer Spezifität zurechtrücken (Headline-Größe/-Farbe/-Ausrichtung, Absatz-Margen). */
body:not(.home) .entry-content .rk-for h2 { font-size: clamp(34px,4vw,54px); font-weight: 400; margin: 0 0 22px; }
body:not(.home) .entry-content .rk-curr-head h2 { font-size: clamp(34px,4vw,56px); font-weight: 400; margin: 0 0 18px; }
body:not(.home) .entry-content .rk-trainer h2 { font-size: clamp(30px,3.4vw,46px); font-weight: 400; margin: 0 0 22px; }
body:not(.home) .entry-content .rk-final h2 { font-size: clamp(36px,5vw,68px); font-weight: 400; color: var(--bg); margin: 0 auto 22px; max-width: 16ch; }
body:not(.home) .entry-content .rk-strip-item p { margin: 0; }
body:not(.home) .entry-content .rk-hero-ctas .rk-price-note { flex-basis: 100%; margin: 6px 0 0; }
body:not(.home) .entry-content .rk-for-note { margin: 0; }
body:not(.home) .entry-content .rk-curr-head p { margin: 0; }
body:not(.home) .entry-content .rk-trainer p { margin: 0 0 16px; }
body:not(.home) .entry-content .rk-final p { margin: 0 auto 20px; }
body:not(.home) .entry-content .rk-final-fine { margin: 22px 0 0; }
body:not(.home) .entry-content .rk-checklist { padding: 0; margin: 0; }

/* section.wp-block-group{padding:120px} (Zeile ~855) hat höhere Spezifität als .rk-* —
   deshalb die RK-Section-Paddings gezielt mit .wp-block-group.rk-* durchsetzen.
   (Sonst bekommt v.a. der Trust-Strip 120px statt 0 → viel zu hohe Band.) */
.wp-block-group.rk-hero { padding: 72px 0 64px; }
.wp-block-group.rk-strip { padding: 0; }
.wp-block-group.rk-for { padding: 104px 0; }
.wp-block-group.rk-curr { padding: 104px 0; }
.wp-block-group.rk-trainer { padding: 104px 0; }
.wp-block-group.rk-final { padding: 110px 0; }
