/* ── FONTS ──────────────────────────────────────────────────────────────── */
@font-face { font-family: 'Urbanist'; font-style: normal;  font-weight: 300; font-display: swap; src: url('../assets/fonts/urbanist-300.woff2') format('woff2'); }
@font-face { font-family: 'Urbanist'; font-style: normal;  font-weight: 400; font-display: swap; src: url('../assets/fonts/urbanist-400.woff2') format('woff2'); }
@font-face { font-family: 'Urbanist'; font-style: normal;  font-weight: 500; font-display: swap; src: url('../assets/fonts/urbanist-500.woff2') format('woff2'); }
@font-face { font-family: 'Urbanist'; font-style: normal;  font-weight: 600; font-display: swap; src: url('../assets/fonts/urbanist-600.woff2') format('woff2'); }
@font-face { font-family: 'Urbanist'; font-style: normal;  font-weight: 700; font-display: swap; src: url('../assets/fonts/urbanist-700.woff2') format('woff2'); }
@font-face { font-family: 'Urbanist'; font-style: italic;  font-weight: 300; font-display: swap; src: url('../assets/fonts/urbanist-300-italic.woff2') format('woff2'); }
@font-face { font-family: 'Urbanist'; font-style: italic;  font-weight: 400; font-display: swap; src: url('../assets/fonts/urbanist-400-italic.woff2') format('woff2'); }

/* ── DESIGN SYSTEM ───────────────────────────────────────────────────────── */
:root {
  --cream:          #faf6f0;
  --cream-mid:      #ede8d8;
  --coral:          #de6e4f;
  --coral-hover:    #c95e3c;
  --lavender:       #9471B8;
  --gold:           #f9e4aa;
  --sage:           #7b9e87;
  --sage-light:     #b8d4a8;
  --dark:           #252831;
  --dark-mid:       #5a5c68;
  --blue:           #2a25dd;
  --white:          #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

.br-mobile { display: none; }
@media (max-width: 768px) {
  .br-desktop { display: none; }
  .br-mobile  { display: inline; }
}

.site-wrapper {
  max-width: 1440px;
  margin: 0 auto;
}

body {
  background-color: var(--cream);
  color: var(--dark);
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPE SCALE ──────────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: 'Urbanist', sans-serif;
}

h1 {
  font-size: clamp(1.8rem, calc(1.8rem + 1.6 * ((100vw - 375px) / 1065)), 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.75rem, calc(1.75rem + 1.25 * ((100vw - 375px) / 1065)), 3rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(1.05rem, calc(1.05rem + 0.15 * ((100vw - 375px) / 1065)), 1.2rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark);
  margin-bottom: 14px;
}

h4 {
  font-size: clamp(1.1rem, calc(1.1rem + 0.2 * ((100vw - 375px) / 1065)), 1.3rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 10px;
}

p {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--dark);
}

/* ── SHARED UTILITY CLASSES ──────────────────────────────────────────────── */

/* Eyebrow / label above heading or content block */
.eyebrow {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin-bottom: 14px;
  display: block;
  line-height: 1.4;
}

/* Color modifiers */
.section-heading { color: var(--coral); }
.qual-heading    { color: var(--lavender); }
.lavender        { color: var(--lavender); }

/* Intro paragraph directly under a section heading */
.section-intro {
  max-width: 560px;
  margin-bottom: 40px;
}

/* Emphasis sentence — coral, slightly larger than body. One per section max. */
.text-emphasis {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--coral);
  line-height: 1.6;
  max-width: 640px;
}
.text-emphasis.lavender { color: var(--lavender); }
.text-emphasis.dark { color: var(--dark); }

/* Big text emphasis — large body-scale <p>, not a heading. Color is context-dependent. */
.text-emphasis-dark {
  font-size: clamp(1.4rem, 2.6vw, 2.125rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
}

/* Named exception: large emotional hero text (a <p>, not a heading) */
.hero-display {
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 32px;
  max-width: 700px;
}

/* Named exception: pricing number */
.preise-price {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Fine print / legal */
.legal {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--dark-mid);
}

/* Coral divider line */
.divider {
  width: 40px;
  height: 1.5px;
  background: var(--coral);
  margin-bottom: 24px;
}

/* ── NAV ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid color-mix(in srgb, var(--dark) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 70px;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav--transparent {
  background: transparent;
  border-bottom-color: transparent;
}
.nav--transparent .nav-logo,
.nav--transparent .nav-links a {
  color: var(--white);
}
.nav--transparent .nav-links a.nav-active {
  color: var(--white);
  border-bottom-color: var(--white);
}
.nav--transparent .nav-toggle span {
  background: var(--white);
}
/* data-nav-light on <body>: transparent nav starts with dark text instead of white */
body[data-nav-light] .nav--transparent .nav-logo,
body[data-nav-light] .nav--transparent .nav-links a:not(.btn-coral) {
  color: var(--dark);
}
body[data-nav-light] .nav--transparent .nav-links a.nav-active {
  color: var(--coral);
  border-bottom-color: var(--coral);
}
body[data-nav-light] .nav--transparent .nav-toggle span {
  background: var(--dark);
}
.nav-logo {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 25px;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.6; }
.nav-links a.btn-coral { color: var(--white); }
.nav-links a.nav-active {
  color: var(--coral);
  font-weight: 500;
  border-bottom: 1.5px solid var(--coral);
  padding-bottom: 2px;
}

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn-coral {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-coral:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
}
.btn-coral:active { transform: translateY(0); }

.btn-outline {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--coral);
  color: var(--coral);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: var(--coral);
  color: var(--white);
}

.btn-text {
  display: inline-block;
  background: transparent;
  border: none;
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-text:hover { opacity: 0.55; }
.btn-text:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}
.btn-text:active { opacity: 0.35; }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  margin-top: -70px;
  height: 100vh;
  min-height: 640px;
  max-height: 860px;
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
}
.hero-box {
  margin-left: 80px;
  margin-top: 70px;
  background: var(--cream);
  padding: clamp(28px, 3.5vw, 48px) clamp(24px, 4vw, 52px);
  max-width: clamp(480px, 58vw, 780px);
  width: 100%;
}
.hero-eyebrow {
  color: var(--coral);
  margin-bottom: 20px;
  /* Intentional: hero subtitle is a descriptive sentence, not a label — all-caps would hurt readability */
  text-transform: none;
}
.hero-coral {
  color: var(--coral);
}
.hero-box .hero-display {
  margin-bottom: 24px;
}
.hero-box .text-emphasis {
  max-width: none;
}
.hero-box p + p {
  margin-top: 14px;
}
.hero-box p:last-child {
  margin-bottom: 0;
}

/* ── SECTIONS ─────────────────────────────────────────────────────────────── */
.section {
  padding: 96px 80px;
}
.section-sm {
  padding: 72px 80px;
}
.section-white {
  background: var(--white);
}
.section-cream {
  background: var(--cream);
}

/* ── PROBLEM INTRO ───────────────────────────────────────────────────────── */
.problem-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem-intro-text h2 {
  margin-bottom: 28px;
}

/* ── STATES ──────────────────────────────────────────────────────────────── */
.states-section {
  padding: 80px;
}
.states-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
}
.state-item h3 {
  margin-bottom: 18px;
}

/* ── DECORATIVE BLOB ─────────────────────────────────────────────────────── */
.blob {
  display: inline-block;
  pointer-events: none;
}
.blob img {
  width: 80px;
  height: auto;
  opacity: 0.85;
}
.blob-lg img { width: 110px; }
.blob-sm img { width: 50px; }

/* ── ABOUT ───────────────────────────────────────────────────────────────── */
.about-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  justify-content: center;
  gap: 80px;
  align-items: stretch;
  position: relative;
  overflow-x: clip;
  z-index: 0;
}
.about-text p {
  margin-bottom: 18px;
}
/* Big personal greeting — text-emphasis-dark scale, coral on light bg */
.about-hej {
  font-size: clamp(1.8rem, calc(1.8rem + 0.7 * ((100vw - 375px) / 1065)), 2.5rem);
  font-weight: 300;
  color: var(--coral);
  line-height: 1.15;
  margin-bottom: 16px;
}
.about-image-outer {
  position: relative;
}
.about-image-outer > .about-image {
  height: 100%;
}
.about-image {
  position: relative;
  overflow: hidden;
}
.about-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.about-image--erwachsene img {
  position: absolute;
  inset: 96px 0;
  width: 100%;
  height: calc(100% - 192px);
  object-fit: cover;
  object-position: right 70%;
  display: block;
}
.about-image--kinder img {
  position: absolute;
  inset: 96px 0;
  width: 100%;
  height: calc(100% - 192px);
  object-fit: cover;
  object-position: center;
  display: block;
}
.qual-chair-img--erwachsene { object-position: 80% center; }
.qual-chair-img--kinder { object-position: right center; }

/* ── SERVICES ─────────────────────────────────────────────────────────────── */
.services-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  position: relative;
}
/* Intentional exception — large dark display headline */
.services-headline {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 900px;
}
.services-blob {
  position: absolute;
  bottom: 8px;
  right: -39px;
}
.services-blob img {
  width: clamp(220px, 28vw, 460px);
  height: auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.service-card {
  padding: 32px 28px;
}
.service-card-blob {
  display: block;
  width: 64px;
  height: auto;
  margin: 0 auto 16px;
}

/* Emphasis spans within service card text */
.card-accent { color: var(--coral); }

.service-card p + p {
  margin-top: 12px;
}
.service-card .site-list li {
  padding-top: 1px;
  padding-bottom: 1px;
}

/* js-highlight underline anchor — SVG is injected by drawServiceUnderlines() in main.js */
.service-card h3 {
  position: relative;
}


/* ── OUTCOMES LIST ───────────────────────────────────────────────────────── */
.outcomes-section { overflow-x: clip; }
.outcomes-inner {
  display: block;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  z-index: 0;
}
.outcomes-giraf {
  width: 220px;
  height: auto;
}
/* Kinder outcomes: giraf floats decoratively to the left of the text block */
.outcomes-inner--text .outcomes-giraf {
  position: absolute;
  right: calc(100% + 32px);
  top: 69px;
  width: 220px;
}
@media (max-width: 1280px) {
  .outcomes-inner--text .outcomes-giraf {
    width: 160px;
    right: calc(100% + 16px);
  }
}
@media (max-width: 1024px) {
  .outcomes-inner--text .outcomes-giraf {
    display: none;
  }
}
.outcomes-heading {
  margin-bottom: 36px;
}
.outcomes-right {
  position: relative;
}
.blob-moeglich {
  position: absolute;
  width: 260px;
  height: auto;
  bottom: -20px;
  right: -40px;
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}
.site-list {
  list-style: none;
  padding: 0;
}
.site-list li {
  padding: 6px 0 6px 14px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}
.site-list li::before {
  content: '_';
  position: absolute;
  left: 0;
}

/* ── QUALIFICATIONS ──────────────────────────────────────────────────────── */
.qual-inner {
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  overflow-x: clip;
  z-index: 0;
}
.qual-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0 64px;
}
/* h2 and qual-footer span col 1 only; image is pinned to row 2 */
.qual-content > .qual-heading { grid-column: 1; }
.qual-text { grid-column: 1; }
.qual-image-wrap { grid-column: 2; grid-row: 2; }
.qual-footer { grid-column: 1; }
.qual-text > p {
  margin-top: 14px;
}
.qual-text > p + p {
  margin-top: 10px;
}
.qual-text .text-emphasis {
  margin-top: 28px;
  max-width: none;
}
.qual-text .text-emphasis + p {
  margin-top: 10px;
}
.qual-footer {
  margin-top: 28px;
}
.qual-image-wrap {
  align-self: stretch;
  position: relative;
}
.qual-chair-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qual-chair-img--mobile { display: none; }
@media (max-width: 1024px) {
  .qual-content {
    grid-template-columns: 1fr;
  }
  .qual-image-wrap {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 3/2;
    height: auto;
    align-self: auto;
  }
  .qual-image-wrap--kinder {
    aspect-ratio: 1/1;
  }
}

/* ── ACCORDION ───────────────────────────────────────────────────────────── */
.accordion details {
  border-top: 1px solid color-mix(in srgb, var(--dark) 15%, transparent);
}
.accordion details:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--dark) 15%, transparent);
}
.accordion summary {
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  scroll-margin-top: 86px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary h3,
.concerns-acc summary h3 {
  margin-bottom: 0;
  flex: 1;
}
/* Shared accordion icon */
.accordion summary::after,
.concerns-acc summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--dark);
  flex-shrink: 0;
  margin-left: 24px;
}
.accordion details[open] summary::after {
  content: '−';
  color: var(--coral);
}
.concerns-acc details[open] summary::after {
  content: '−';
  color: var(--coral);
}
.accordion .acc-body {
  padding: 0 0 28px 0;
  line-height: 1.6;
}
.accordion .acc-body p + p { margin-top: 12px; }
.acc-body .site-list {
  margin-top: 8px;
}
.qual-label {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.qual-footer .qual-accordion {
  margin-top: 40px;
}
.qual-accordion .site-list strong {
  display: block;
  text-transform: uppercase;
}
.acc-exception {
  text-transform: none;
  font-weight: 400;
}

/* ── CONCERNS SECTION ───────────────────────────────────────────────────── */
.concerns-section {
  background: var(--cream);
  padding: 80px 80px 72px;
  position: relative;
  overflow-x: clip;
}
.concerns-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 0;
}
.concerns-blob {
  position: absolute;
  top: -10px;
  right: -100px;
  width: 240px;
  height: auto;
  pointer-events: none;
  z-index: -1;
}
.concerns-kiwi {
  width: 403px;
  height: auto;
  top: 141px;
  right: -143px;
}
.concerns-section h2 {
  margin-bottom: 20px;
}
.concerns-intro {
  line-height: 1.6;
  margin-bottom: 8px;
}
.concerns-divider {
  border: none;
  border-top: 1px solid color-mix(in srgb, var(--dark) 15%, transparent);
  margin: 28px 0 0;
}
.concerns-acc details {
  border-bottom: 1px solid color-mix(in srgb, var(--dark) 15%, transparent);
}
.concerns-acc summary {
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  scroll-margin-top: 86px;
}
.concerns-acc summary::-webkit-details-marker { display: none; }
.concerns-acc .acc-body {
  padding: 0 0 20px;
  line-height: 1.6;
}
.concerns-acc .acc-body p + p { margin-top: 12px; }
.concerns-static {
  padding: 18px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--dark) 15%, transparent);
}
.concerns-section .site-list li {
  padding-top: 1px;
  padding-bottom: 1px;
  line-height: 1.5;
}
.concerns-inner .text-emphasis { margin-bottom: 1.5em; }
.concerns-inner .site-list { margin-bottom: 1.5em; }
.concerns-conclusion {
  margin-top: 40px;
  max-width: none;
}
.concerns-cta {
  margin-top: 40px;
  text-align: center;
}

/* ── STATEMENT BANNER ───────────────────────────────────────────────── */
.statement-banner {
  position: relative;
  background-image: url('../assets/images/himmel-hintergrund-soma-raum.webp');
  background-size: cover;
  background-position: center center;
  min-height: 350px;
  display: flex;
  align-items: center;
}
.statement-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,25,45,0.58) 0%, rgba(20,25,45,0.12) 65%, transparent 100%);
  pointer-events: none;
}
.statement-text {
  position: relative;
  z-index: 1;
  padding: 60px 80px;
  width: 100%;
}
.statement-text .statement-caption {
  color: var(--cream);
  margin-bottom: 20px;
}

/* ── TAGLINE BANNER ──────────────────────────────────────────────────────── */
/* Intentional: gradient background banner with large display text. */
.tagline-banner {
  background-color: hsla(45,36%,88%,1);
  background-image:
    radial-gradient(at 98% 43%, hsla(43,86%,82%,0.85) 0px, transparent 50%),
    radial-gradient(at 10% 18%, hsla(268,31%,56%,0.58) 0px, transparent 50%),
    radial-gradient(at 52% 100%, hsla(240,73%,50%,0.24) 0px, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 156px 40px;
}
@media (max-width: 1024px) { .tagline-banner { padding: 80px 24px; } }
.tagline-banner .text-emphasis-dark {
  color: var(--dark);
  text-align: center;
  max-width: 900px;
}

/* ── CTA PROCESS ─────────────────────────────────────────────────────────── */
/* Intentional: process steps use smaller, lavender-colored h3 to de-emphasise
   hierarchy — these headings are step labels, not section headings. */
.process-section {
  background: var(--cream);
  position: relative;
  z-index: 1;
}
.process-overlay {
  padding: 96px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.process-turtle {
  display: block;
  width: 280px;
  height: auto;
  margin: 0 auto 48px;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
  width: 100%;
  margin-top: 48px;
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.process-step-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.process-step .step-num {
  font-size: 1rem;
  font-weight: 600;
  color: var(--lavender);
  flex-shrink: 0;
}
.process-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--lavender);
  margin-bottom: 0;
}
.process-step p {
  line-height: 1.6;
  padding-left: 30px;
}

/* ── PRAXISRAUM ──────────────────────────────────────────────────────────── */
.praxisraum-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr;
  gap: 64px;
  align-items: start;
}
.praxisraum-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.praxisraum-text p  { margin-bottom: 12px; }
.praxisraum-text h3 { margin-top: 20px; }
.praxisraum-images {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}
.praxisraum-images img {
  height: auto;
  border-radius: 2px;
  display: block;
}
.praxisraum-images img:first-child {
  width: 59%;
  align-self: flex-start;
  position: relative;
  z-index: 1;
  order: 2;
  margin-top: -26px;
}
.praxisraum-images img:last-child {
  width: 90%;
  align-self: flex-end;
  order: 1;
}

/* ── REUSABLE TWO-COLUMN GRIDS ───────────────────────────────────────────── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.two-col-grid-sm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

/* ── ABOUT TEXT padding ──────────────────────────────────────────────────── */
.about-text {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: 96px;
}


/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}
.faq-heading-col {
  position: relative;
  z-index: 0;
}
.faq-deer {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-top: 64px;
  display: block;
}
.faq-accordion {
  width: 100%;
}

/* ── CTA ─────────────────────────────────────────────────────────────────── */
/* Intentional: .cta-text is an h3 used as a large display CTA line —
   size and coral color make it act as a section-closing statement, not a
   structural heading. */
.cta-section {
  padding: 72px 40px;
  background: var(--cream);
}
.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-text {
  font-size: clamp(1.4rem, calc(1.4rem + 0.725 * ((100vw - 375px) / 1065)), 2.125rem);
  font-weight: 300;
  color: var(--coral);
  line-height: 1.3;
  margin-bottom: 0;
}
.cta-btn {
  flex-shrink: 0;
  text-align: center;
  line-height: 1.3;
  padding: 16px 32px;
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
footer {
  background: var(--coral);
  color: var(--white);
  padding: 64px 80px 48px;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 64px;
}
footer .footer-logo {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
}
footer p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--white) 75%, transparent);
}
footer h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
footer ul {
  list-style: none;
}
footer ul li {
  margin-bottom: 10px;
}
footer ul li a {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--white) 75%, transparent);
  text-decoration: none;
  transition: color 0.2s;
}
footer ul li a:hover {
  color: var(--white);
}

/* ── SYMPTOM TAGS ────────────────────────────────────────────────────────── */
/* Intentional: tags use 0.88rem italic — slightly smaller than body to read
   as compact pill labels, not body copy. */
.symptom-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.symptom-tag {
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--dark) 15%, transparent);
  padding: 10px 20px;
  font-size: 0.88rem;
  font-style: italic;
}

/* ── PREISE SECTION ──────────────────────────────────────────────────────── */
.preise-section {
  padding-top: 240px;
  padding-bottom: 80px;
  position: relative;
  overflow-x: clip;
  z-index: 2;
}
.preise-section--kinder { padding-top: 80px; }
/* ── ERWACHSENE BLOB DECORATIONS ────────────────────────────────────────── */
.blob-concerns-sm {
  position: absolute;
  top: -20px;
  left: -100px;
  width: 85px;
  height: auto;
  pointer-events: none;
  z-index: -1;
}
.blob-concerns-lg {
  position: absolute;
  top: 359px;
  right: -279px;
  width: 210px;
  height: auto;
  pointer-events: none;
  z-index: -1;
}
.blob-outcomes {
  position: absolute;
  top: 330px;
  right: -210px;
  width: 240px;
  height: auto;
  pointer-events: none;
  z-index: -1;
}
.blob-about {
  position: absolute;
  bottom: 120px;
  right: -44px;
  width: 88px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}
.blob-qual {
  position: absolute;
  top: 158px;
  left: -40px;
  width: 91px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}
.blob-process {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 185px;
  height: auto;
  pointer-events: none;
  z-index: 2;
}
.process-turtle--between {
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: auto;
  margin: 0;
  pointer-events: none;
  z-index: 1;
}
.blob-preise {
  position: absolute;
  right: calc(50% - 510px);
  top: 50%;
  transform: translateY(calc(-50% + 50px));
  width: 290px;
  height: auto;
  pointer-events: none;
  z-index: -1;
}
.blob-faq {
  position: absolute;
  top: 195px;
  left: 0;
  width: 210px;
  height: auto;
  pointer-events: none;
  z-index: -1;
}

.preise-inner {
  position: relative;
}
.preise-content {
  position: relative;
  z-index: 1;
}
.preise-bird {
  position: absolute;
  left: -73px;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  height: auto;
}
.preise-heading {
  text-align: center;
  margin-bottom: 56px;
}
.preise-grid {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  margin: 0 auto;
}
.preise-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 20px 0;
  align-items: baseline;
}
.preise-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.preise-time {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.preise-name {
  margin-bottom: 6px;
}
.preise-footnote {
  line-height: 1.6;
  max-width: 560px;
  margin: 48px auto 0;
}
.preise-footnote + .preise-footnote {
  margin-top: 16px;
}


/* ── MOBILE NAV TOGGLE ───────────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: transform 0.2s, opacity 0.2s;
}

/* ── RESPONSIVE BREAKPOINTS ──────────────────────────────────────────────── */

/* Tablet — ≤ 1024px */
@media (max-width: 1024px) {
  .nav { padding: 0 32px; position: sticky; top: 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid color-mix(in srgb, var(--dark) 12%, transparent);
    padding: 24px 32px;
    gap: 18px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  /* Larger, easier-to-tap links in the mobile dropdown */
  .nav-links a { font-size: 1rem; }
  /* Mobile dropdown always uses dark text regardless of nav--transparent / nav-light state */
  .nav-links a,
  .nav--transparent .nav-links a,
  body[data-nav-light] .nav--transparent .nav-links a {
    color: var(--dark);
  }
  /* ...except the CTA button, which always keeps its white text */
  .nav-links a.btn-coral,
  .nav--transparent .nav-links a.btn-coral,
  body[data-nav-light] .nav--transparent .nav-links a.btn-coral {
    color: var(--white);
  }
  .nav-links a.nav-active,
  .nav--transparent .nav-links a.nav-active,
  body[data-nav-light] .nav--transparent .nav-links a.nav-active {
    color: var(--coral);
    border-bottom-color: var(--coral);
  }

  .hero { align-items: flex-end; padding-bottom: 40px; height: auto; min-height: 0; max-height: none; padding-top: 180px; }
  .hero-box { margin-left: 24px; margin-right: 24px; margin-top: 0; padding: 32px 28px; max-width: calc(100% - 48px); }

  .section, .section-sm { padding: 64px 40px; }
  .concerns-section { padding: 64px 40px 56px; }
  .concerns-blob { width: 160px; right: -40px; top: -10px; }
  .concerns-kiwi { width: 220px; right: -30px; top: 40px; }
  .concerns-inner { max-width: 100%; }
  .blob-moeglich { width: 200px; right: -20px; }
  .outcomes-giraf { width: 160px; }

  .about-section { grid-template-columns: 1fr; gap: 0; }
  .about-text { padding: 8px 40px 64px; }
  .about-image { aspect-ratio: 3/2; margin: 24px 40px 0; }
  .about-image--kinder { aspect-ratio: 1/1; }
  .about-image img { width: 100%; height: 100%; object-fit: contain; }
  .about-image--erwachsene img, .about-image--kinder img { inset: 0; object-fit: cover; }
  .about-image--erwachsene img { object-position: center 50%; }

  .services-blob img { width: 300px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .two-col-grid { gap: 48px; }
  .two-col-grid-sm { grid-template-columns: 1fr; gap: 28px; }
  .praxisraum-grid { grid-template-columns: 1fr; gap: 32px; }
  /* Drop the desktop staggered-overlap collage — stack both photos full width */
  .praxisraum-images { gap: 16px; }
  .praxisraum-images img:first-child,
  .praxisraum-images img:last-child {
    width: 100%;
    align-self: stretch;
    margin-top: 0;
  }
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-heading-col { display: flex; flex-direction: column; }
  .faq-deer { max-width: 200px; order: -1; margin: 0 auto 16px; }
  .testimonials-4-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .testimonials-3-grid { grid-template-columns: 1fr; gap: 28px; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }

  .process-turtle { width: 200px; }
  .process-overlay { padding: 64px 40px; }
  footer { padding: 64px 40px 40px; }
  footer .footer-grid { grid-template-columns: 1fr; gap: 40px; }

  .blob-concerns-lg { width: 160px; right: -60px; top: 220px; }
  .blob-about { display: block; width: 72px; right: -18px; left: auto; top: auto; bottom: -20px; }
  .blob-qual { width: 100px; right: -20px; }
  .blob-preise { width: 220px; right: -20px; }

}

/* CTA / decorative blob cleanup — tablet */
@media (max-width: 1024px) {
  .cta-section {
    padding: 48px 24px;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .statement-text { padding: 40px 40px; }
  .blob-concerns-sm, .blob-concerns-lg, .blob-qual, .blob-process, .blob-preise, .blob-faq, .process-turtle--between { display: none; }
}

/* Mobile — ≤ 768px */
@media (max-width: 768px) {
  #faq { padding-top: 8px; overflow: hidden; }
  #preise { padding-bottom: 0; }
  .nav { padding: 0 20px; }
  .nav-links { padding: 20px; gap: 14px; top: 70px; }

  .hero-box { margin-left: 16px; margin-right: 16px; padding: 28px 20px; max-width: calc(100% - 32px); }
  .hero-display { max-width: 100%; }

  .section, .section-sm { padding: 48px 20px; }
  .concerns-section { padding: 48px 20px 44px; }
  .concerns-blob { width: 100px; right: -10px; top: -10px; }
  .concerns-kiwi { width: 130px; right: -8px; top: 141px; }
  .blob-moeglich { width: 160px; right: -6px; bottom: -50px; }
  .outcomes-section { padding-top: 100px; }
  .outcomes-giraf { width: 140px; }

  .about-text { padding: 8px 20px 48px; }
  .about-image { aspect-ratio: 3/2; margin: 20px 20px 0; }
  .about-image-outer { margin: 20px 20px 0; }
  .about-image-outer > .about-image { margin: 0; height: auto; }
  .about-image--kinder { aspect-ratio: 1/1; }
  .about-image img { width: 100%; height: 100%; object-fit: contain; }
  .about-image--erwachsene img, .about-image--kinder img { inset: 0; object-fit: cover; }

  #angebot { padding-top: 24px; }
  .services-header { position: static; }
  .services-blob { position: static; align-self: center; }
  .services-blob img { width: 160px; transform: none !important; }
  .services-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 0; }
  .service-card { padding-top: 16px; padding-bottom: 16px; }
  .service-card h3 { text-align: center; }
  .two-col-grid { grid-template-columns: 1fr; gap: 32px; }
  .two-col-grid-sm { grid-template-columns: 1fr; gap: 20px; }
  .praxisraum-grid { gap: 24px; }
  .praxisraum-images img:first-child { width: 59%; align-self: flex-start; margin-top: -26px; }
  .praxisraum-images img:last-child { width: 90%; align-self: flex-end; }

  .testimonials-4-grid { grid-template-columns: 1fr; gap: 24px; }

  .process-turtle { position: absolute; width: 135px; right: -14px; top: 43px; }
  .process-overlay { position: relative; padding: 70px 20px; }
  .process-steps { gap: 20px; }
  .preise-item { grid-template-columns: 110px 1fr; gap: 20px; }
  .preise-section { padding-top: 66px; z-index: 4; }
  .preise-heading { margin-bottom: 36px; }
  .preise-bird { right: auto; left: 21px; top: -65px; transform: none; width: 114px; z-index: 3; }
  footer { padding: 48px 20px 32px; }
  footer .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .statement-text { padding: 32px 20px; }

  .btn-coral, .btn-outline {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    padding: 12px 20px;
  }
  .concerns-cta .btn-coral {
    width: 100%;
    max-width: 360px;
  }

  /* Re-enable blobs/animals hidden at tablet, and fix blob-outcomes which is off-screen due to desktop right offset */
  .outcomes-inner--text .outcomes-giraf { display: block; position: absolute; left: -143px; top: -81px; width: 186px; }
  .blob-concerns-sm { display: block; width: 60px; left: -15px; top: -48px; }
  .blob-concerns-lg { display: block; width: 90px; right: -44px; top: 162px; }
  .blob-about { display: block; width: 72px; right: -12px; left: auto; top: auto; bottom: -36px; }
  .blob-qual { display: block; width: 59px; left: 38px; right: auto; top: 35px; bottom: auto; transform: translateY(-50%); }
  .qual-image-wrap { margin-top: 28px; }
  .process-section { z-index: 3; }
  .blob-process { display: block; width: 110px; top: -53px; }
  .process-turtle--between { display: block; width: 150px; top: -28px; }
  .blob-preise { display: block; width: 125px; right: -10px; top: 565px; transform: none; }
  .blob-faq { display: block; width: 100px; left: 300px; top: -8px; }
  .blob-outcomes { width: 120px; left: 298px; top: -69px; }

}

/* ── MOBILE TEXT LEGIBILITY + WRAPPING — ≤ 768px ────────────────────────────
   Phone-only: nudge sub-1rem text up a notch for readability, and let long
   German compound words break/hyphenate instead of overflowing narrow screens.
   Must follow the 768px block above so the button size override wins. */
@media (max-width: 768px) {
  /* Prevent long words from overflowing on narrow viewports */
  h1, h2, h3, h4 { overflow-wrap: break-word; }
  p, li { overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 9 4 4; hyphenate-limit-lines: 2; }
  .hero-display, .text-emphasis-dark, .cta-text, .about-hej { hyphens: none; }

  /* Small text, a little bigger */
  .legal { font-size: 0.85rem; }
  footer p, footer ul li a { font-size: 0.92rem; }
  footer h4 { font-size: 0.75rem; }
  .symptom-tag { font-size: 0.95rem; }
  .ctest-card span { font-size: 0.95rem; }
  .preise-time { font-size: 0.82rem; }
  .cta-note { font-size: 1rem; }
  .impressum-section p,
  .impressum-section ul li,
  .impressum-section strong { font-size: 1rem; }
  .btn-coral, .btn-outline { font-size: 0.82rem; }
}

/* ── DIAGONAL SECTION TRANSITIONS ───────────────────────────────────────────
   Infrastructure only — not yet applied to any section.

   How to use:
   1. Add .diag-bottom or .diag-top (or both) to a section element.
   2. Set --diag-color on that element to the background colour of the
      adjacent section (i.e. where the angled edge points toward).
   3. Optionally set --diag-size (default 56px) to control angle depth.

   Variants:
     .diag-bottom          — angled bottom edge (right side drops)
     .diag-bottom.diag-left — angled bottom edge (left side drops)
     .diag-top             — angled top edge (right side rises)
     .diag-top.diag-left   — angled top edge (left side rises)

   Example:
     <section class="section section-cream diag-bottom" style="--diag-color:var(--white);">
──────────────────────────────────────────────────────────────────────────── */

.diag-bottom,
.diag-top {
  position: relative;
  isolation: isolate;
}

/* Bottom diagonal pseudo-element */
.diag-bottom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--diag-size, 56px);
  background: var(--diag-color, var(--cream));
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
  z-index: 1;
}
.diag-bottom.diag-left::after {
  clip-path: polygon(0 100%, 0 0, 100% 100%);
}

/* Top diagonal pseudo-element */
.diag-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--diag-size, 56px);
  background: var(--diag-color, var(--cream));
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  pointer-events: none;
  z-index: 1;
}
.diag-top.diag-left::before {
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* ── WAVE DIVIDER ─────────────────────────────────────────────────────────── */
/* Curved cream-to-coral transition between last section and footer.
   SVG wave fills this div; background is the target (next) section color. */
.wave-divider {
  background: var(--coral);
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}
.wave-divider path { fill: var(--wave-fill, var(--cream)); }

@media (max-width: 768px) {
  .wave-divider svg { height: 52px; }
}

/* ── WAVE TOP ─────────────────────────────────────────────────────────────── */
/* SVG wave placed immediately before a section to create a curved transition
   from the element above (e.g. a hero with a photo background). Fills from
   the bottom; the transparent top shows whatever is behind (e.g. hero photo).
   Mirror counterpart to .wave-divider.
   Place <div class="wave-top" aria-hidden="true"> immediately before the
   target section. Uses margin-top: -80px to overlap the section above. */
.wave-top {
  position: relative;
  height: 80px;
  margin-top: -80px;
  z-index: 1;
  line-height: 0;
}
.wave-top svg {
  display: block;
  width: 100%;
  height: 100%;
}
.wave-top path { fill: var(--wave-top-fill, var(--cream)); }

@media (max-width: 768px) {
  .wave-top { height: 52px; margin-top: -52px; }
}

/* ── SECTION DARK ────────────────────────────────────────────────────────── */
.section-dark { background: var(--dark); }

/* ── TEXT-EMPHASIS-DARK COLOR OVERRIDE ───────────────────────────────────── */
.text-emphasis-dark.lavender { color: var(--lavender); }

/* ── TESTIMONIALS BANNER ─────────────────────────────────────────────────── */
.testimonials-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.testimonials-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.testimonial-quote {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Responsive overrides — must come after base rules above */
@media (max-width: 1024px) {
  .testimonials-4-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .testimonials-3-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .testimonials-4-grid { grid-template-columns: 1fr; gap: 24px; }
}



/* ── CONTACT CTA SECTION ─────────────────────────────────────────────────── */
.contact-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}
.contact-cta-inner .text-emphasis-dark {
  max-width: 800px;
}
.contact-cta-inner > p {
  margin-top: -18px;
}

/* ── HOME ABOUT ───────────────────────────────────────────────────────────── */
.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 760px;
  gap: 80px;
  align-items: stretch;
}
.home-about-image {
  position: relative;
}
.home-about-image img {
  position: absolute;
  inset: 8px 0;
  width: 100%;
  height: calc(100% - 16px);
  object-fit: cover;
  object-position: top center;
  display: block;
}
.home-about-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;
}
.home-about-text .about-hej { margin-bottom: 0; }
.home-about-text h2 { margin-bottom: 0; }
.home-about-text .text-emphasis { max-width: none; }
.home-about-text .btn-outline {
  align-self: flex-start;
  margin-top: 8px;
}

@media (max-width: 1200px) {
  .home-about-grid { grid-template-columns: 1fr; }
  .home-about-image { aspect-ratio: 3/2; }
}
@media (max-width: 1024px) {
  .home-about-grid { gap: 40px; }
  .home-about-image { max-height: 420px; }
  .home-about-image img { object-position: center 25%; }
}
@media (max-width: 768px) {
  .home-about-grid { gap: 24px; }
  .home-about-image { aspect-ratio: 10/9; max-height: none; }
  .home-about-image img { object-position: center 40%; }
}

/* ── IMPRESSUM / DATENSCHUTZ ─────────────────────────────────────────────── */
.impressum-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 48px 120px;
}

.impressum-section h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--coral);
  margin-bottom: 48px;
}

.impressum-section h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 56px;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--coral);
  display: inline-block;
}

.impressum-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.impressum-section strong {
  font-weight: 600;
  display: block;
  margin-top: 28px;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.impressum-section a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.impressum-section a:hover {
  opacity: 0.7;
}

.impressum-section ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.impressum-section ul li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .impressum-section {
    padding: 48px 24px 80px;
  }
}

/* ── SERVICE PAGE — SHARED ───────────────────────────────────────────────── */
/* Used by /somatic-experiencing, /systemische-beratung, /heilpaedagogik */

.se-hero {
  padding: 150px 80px 100px;
  margin-top: -70px;
  background: var(--lavender);
}
.se-hero p {
  margin-top: 20px;
  line-height: 1.6;
  max-width: 560px;
}

/* Article-style header — plain cream, used on /somatic-experiencing */
.se-article-header {
  padding: 80px 80px 0;
}
.se-article-header .se-prose {
  border-bottom: 1px solid var(--cream-mid);
  padding-bottom: 64px;
}
.se-article-header h1 {
  margin-top: 16px;
}
.se-article-header .se-article-lead {
  line-height: 1.7;
  margin-top: 20px;
  color: var(--dark-mid);
}

/* Constrained reading-width prose column, centred inside a full-width section */
.se-prose {
  max-width: 780px;
  margin: 0 auto;
}
.se-prose p + p { margin-top: 14px; }
.se-prose .text-emphasis { max-width: none; }

/* Large coral number above each nervous-system state */
.state-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-right: 8px;
}

/* Audience cards (Erwachsene / Kinder) — framed variant of the service card */
.audience-card {
  padding: 32px 28px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.audience-card a {
  margin-top: auto;
}
.audience-card p + p { margin-top: 12px; }

/* Centred CTA variant used on service pages (multiple links, no single button) */
.cta-centered {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.cta-centered .cta-text {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  margin-bottom: 32px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-note {
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--dark-mid);
}

@media (max-width: 1024px) {
  .se-hero { padding: 134px 40px 80px; }
  .se-article-header { padding: 120px 40px 0; }
  .states-section { padding: 64px 40px; }
}
@media (max-width: 768px) {
  .se-hero { padding: 118px 20px 72px; }
  .se-article-header { padding: 104px 20px 0; }
  .se-article-header .se-prose { padding-bottom: 48px; }
  .states-section { padding: 48px 20px; }
  .states-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── ERWACHSENE — adults page hero ──────────────────────────────────────── */
.hero#erwachsene {
  background-image: url('../assets/images/heroerwachsenen.webp');
  background-position: right center;
}

/* ── KINDER — children page hero ────────────────────────────────────────── */
@media (min-width: 769px) { .hero-img-mobile { display: none; } }

.hero#kinder {
  background-image: url('../assets/images/kinder-hero-soma-raum-stuttgart.webp');
  background-position: 100% center;
}

@media (max-width: 768px) {
  .hero-img-mobile { display: block; width: 100%; height: auto; }
  .hero#kinder { display: block; min-height: unset; padding: 0 0 60px; background-image: none; }
  .hero#kinder .hero-box { margin: -510px 16px 0; background: var(--cream); position: relative; z-index: 1; }
  .qual-chair-img--desktop { display: none; }
  .qual-chair-img--mobile { display: block; }
  .hero#erwachsene { display: block; min-height: unset; padding: 0 0 60px; background-image: none; }
  .hero#erwachsene .hero-box { margin: -515px 16px 0; background: var(--cream); position: relative; z-index: 1; }
}

/* ── HOME — landing page hero ────────────────────────────────────────────── */
.hero#home {
  background-image: url('../assets/images/soma-raum-praxisraum-stuttgart.webp');
  background-position: center center;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: 140px 80px 80px;
}
.hero#home .home-hero-text { margin-top: 3cm; }
.hero#home .home-hero-text h1 { margin: 0 0 20px; }
.hero#home .hero-eyebrow { color: var(--white); }
/* Intentional: home hero display text styled to match h1 weight/size */
.hero#home .hero-display {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  white-space: nowrap;
}

.home-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hero#home .home-paths { padding: 0; }

.path-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 56px 48px;
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--dark) 10%, transparent);
  border-radius: 2px;
  text-decoration: none;
  color: var(--dark);
  box-shadow: 0 2px 12px 0 color-mix(in srgb, var(--dark) 5%, transparent), 0 0 0 0 transparent;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s ease;
}
.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px 0 color-mix(in srgb, var(--dark) 10%, transparent), 0 0 0 1.5px color-mix(in srgb, var(--coral) 18%, transparent);
}
.path-card:active { transform: translateY(-1px); }
.path-card h2 { margin-bottom: 0; text-transform: uppercase; }
.path-card p { color: var(--dark-mid); }
.path-card .text-emphasis { color: var(--coral); }
.path-card .btn-outline { margin-top: auto; align-self: flex-start; }
.path-card-arrow {
  margin-top: auto;
  padding-top: 24px;
  font-size: 1.1rem;
  color: var(--coral);
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}
.path-card:hover .path-card-arrow { gap: 14px; }

@media (max-width: 1024px) {
  .home-paths { grid-template-columns: 1fr; }
  .hero#home { padding: 120px 40px 60px; }
  .hero#home .hero-display { white-space: normal; }
}
@media (max-width: 768px) {
  .hero#home { padding: 60px 24px 48px; }
  .home-paths { gap: 16px; }
  .path-card { padding: 40px 32px; }
}

/* ── TESTIMONIALS CAROUSEL ───────────────────────────────────────────────── */
.ctest-section { padding: 72px 80px; background: var(--cream); }
/* Intentional: 32px gives more breathing room than h2 default 24px in this dense section */
.ctest-section h2 { margin-bottom: 32px; }
.ctest-outer {
  position: relative;
  overflow: hidden;
  width: 100%;
  cursor: grab;
}
.ctest-outer.ctest-grabbing { cursor: grabbing; }
.ctest-inner {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}
.ctest-card {
  flex-shrink: 0;
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid color-mix(in srgb, var(--dark) 7%, transparent);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ctest-card p { line-height: 1.6; }
.ctest-card span { font-size: 0.9rem; color: var(--dark-mid); margin-top: auto; }
.ctest-dots { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 32px; }
.ctest-dot {
  width: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  padding: 8px 0;
  transition: width 0.3s ease;
}
.ctest-dot::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: var(--cream-mid);
  border-radius: 2px;
  transition: background 0.3s;
}
.ctest-dot.active { width: 44px; }
.ctest-dot.active::after { background: var(--coral); }
@media (max-width: 1024px) { .ctest-section { padding: 64px 40px; } }
@media (max-width: 768px) { .ctest-section { padding: 48px 20px; } }

/* ── CONTACT PAGE ─────────────────────────────────────────────────────────── */
/* Intentional: contact page h1 uses coral for a warm, welcoming tone */
.kontakt-h1 {
  color: var(--coral);
  margin-bottom: 24px;
}
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  grid-template-rows: auto auto;
  column-gap: 64px;
  row-gap: 0;
}
.kontakt-left {
  grid-column: 1;
  grid-row: 1;
}
.kontakt-booking {
  grid-column: 2;
  grid-row: 1 / 3;
}
.kontakt-info-card {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  padding: 36px 0 0;
  border-top: 1.5px solid var(--cream-mid);
  margin-top: 48px;
}
.kontakt-left p + p {
  margin-top: 16px;
}
.kontakt-booking-widget {
  background: var(--cream);
  overflow: hidden;
}
.kontakt-detail {
  margin-top: 28px;
}
.kontakt-detail .eyebrow {
  margin-bottom: 6px;
  color: var(--dark-mid);
}
.kontakt-link {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.kontakt-link:hover { color: var(--coral); }
.kontakt-link:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .kontakt-layout { grid-template-columns: 1fr; grid-template-rows: auto; gap: 48px; }
  .kontakt-left   { grid-column: 1; grid-row: auto; order: 1; }
  .kontakt-booking { grid-column: 1; grid-row: auto; order: 2; }
  .kontakt-info-card { grid-column: 1; grid-row: auto; order: 3; margin-top: 0; }
}
@media (max-width: 768px) {
  .kontakt-info-card { padding: 28px 0; }
  .kontakt-booking-widget { min-height: 560px; }
}
