/*
Theme Name:   die Seelmeisterin
Theme URI:    https://dieseelmeisterin.at
Author:       Steky Studio
Author URI:   https://milosevic.at
Description:  Custom one-pager theme for die Seelmeisterin — Seelengespräche, Energiearbeit & energetische Begleitung in Wien & online. Playfair Display + Nunito, pastel surfaces, blob portraits, ✦ sparkles, GSAP + three.js Seelenlicht.
Version:      1.0.0
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  seelmeisterin
*/

/* ═══════════════════════════════════════════════════════════
   1 · TOKENS
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Pastels — surfaces & backgrounds */
  --blush:        #F5BDC8;
  --powder-blue:  #BACDDC;
  --sage:         #D1E3D6;
  --cream:        #F7EFE9;

  /* Accents & text */
  --mauve:        #9D6679;  /* decorative only: pattern, sparkles, glow */
  --mauve-deep:   #8F5A6B;  /* readable accent: >=4.5:1 on white, cream, blush-wash */
  --burgundy:     #8A4F62;
  --plum-ink:     #3A2A33;

  /* Washes */
  --blush-wash:   #FBE6EB;
  --powder-wash:  #E6EEF4;
  --sage-wash:    #EAF3ED;
  --cream-deep:   #EFE3D8;

  /* Warm neutrals — never pure grey */
  --white:        #FFFDFB;
  --ink-70:       #6A5A62;
  --ink-45:       #9A8B92;
  --hairline:     #E7D9D0;

  /* Semantic */
  --surface-page:   var(--cream);
  --surface-card:   var(--white);
  --text-heading:   var(--plum-ink);
  --text-body:      var(--plum-ink);
  --text-muted:     var(--ink-70);
  --text-faint:     var(--ink-45);
  --accent:         var(--mauve-deep);
  --accent-strong:  var(--burgundy);
  --accent-soft:    var(--blush);
  --border-soft:    var(--hairline);
  --link:           var(--burgundy);
  --link-hover:     var(--mauve);

  /* Type */
  --font-display: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --font-body:    'Nunito', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --fs-display:  clamp(2.75rem, 6vw, 4.5rem);
  --fs-h1:       clamp(2.25rem, 4.5vw, 3.25rem);
  --fs-h2:       clamp(1.75rem, 3vw, 2.25rem);
  --fs-h3:       1.5rem;
  --fs-quote:    clamp(1.5rem, 2.6vw, 2rem);
  --fs-lead:     1.1875rem;
  --fs-body:     1.0625rem;
  --fs-small:    0.9375rem;
  --fs-caption:  0.8125rem;
  --fs-label:    0.75rem;
  --lh-heading:  1.2;
  --lh-body:     1.7;
  --ls-label:    0.16em;

  /* Space & shape */
  --gutter:      clamp(20px, 5vw, 48px);
  --section-y:   clamp(64px, 10vw, 128px);
  --max-content: 1120px;
  --max-prose:   640px;
  --radius-sm:   12px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --radius-xl:   40px;
  --radius-pill: 999px;
  --radius-blob:   62% 38% 55% 45% / 55% 48% 52% 45%;
  --radius-blob-2: 42% 58% 43% 57% / 56% 42% 58% 44%;

  /* Depth — warm, feather-soft */
  --shadow-xs:  0 1px 2px rgba(58, 42, 51, .05);
  --shadow-sm:  0 4px 16px rgba(58, 42, 51, .06);
  --shadow-md:  0 10px 30px rgba(58, 42, 51, .08);
  --shadow-lg:  0 24px 60px rgba(58, 42, 51, .10);
  --shadow-glow: 0 0 40px rgba(245, 189, 200, .45);

  /* Motion — gentle, no bounce */
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
  --dur-fast:  160ms;
  --dur-base:  280ms;
  --dur-slow:  520ms;
}

/* ═══════════════════════════════════════════════════════════
   2 · BASE
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-heading);
  line-height: var(--lh-heading);
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1em; text-wrap: pretty; }

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft);
}
a:hover { color: var(--link-hover); }

img { max-width: 100%; height: auto; }

figure, blockquote { margin: 0; }

::selection { background: var(--blush); color: var(--plum-ink); }

:focus-visible {
  outline: 2px solid var(--mauve);
  outline-offset: 3px;
  border-radius: 4px;
}

.screen-reader-text {
  position: absolute !important;
  clip-path: inset(50%);
  width: 1px; height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--plum-ink);
  color: var(--cream);
  border-radius: var(--radius-sm);
  transition: top var(--dur-fast) var(--ease-soft);
}
.skip-link:focus { top: 12px; color: var(--cream); }

/* ═══════════════════════════════════════════════════════════
   3 · PRIMITIVES
   ═══════════════════════════════════════════════════════════ */

.sm-container {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sm-eyebrow {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.sm-lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 520px;
}

.sm-intro--center { text-align: center; }
.sm-intro--center .sm-lead { margin-inline: auto; }

/* Buttons — pill, mauve → burgundy */
.sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition:
    background-color var(--dur-base) var(--ease-soft),
    color var(--dur-base) var(--ease-soft),
    border-color var(--dur-base) var(--ease-soft),
    box-shadow var(--dur-base) var(--ease-soft),
    transform var(--dur-base) var(--ease-soft);
  font-size: 15px;
  padding: 12px 26px;
}
.sm-btn:active { transform: scale(.99); }
.sm-btn--lg { font-size: 16px; padding: 16px 34px; }
.sm-btn--sm { font-size: 14px; padding: 9px 20px; }

.sm-btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.sm-btn--primary:hover {
  background: var(--burgundy);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sm-btn--secondary {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}
.sm-btn--secondary:hover {
  background: var(--blush-wash);
  color: var(--burgundy);
  transform: translateY(-2px);
}

.sm-btn--ghost {
  background: transparent;
  color: var(--burgundy);
  padding-inline: 14px;
}
.sm-btn--ghost:hover { color: var(--mauve); }

/* Pills */
.sm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--plum-ink);
}
.sm-pill--blush  { background: var(--blush-wash);  }
.sm-pill--powder { background: var(--powder-wash); }
.sm-pill--sage   { background: var(--sage-wash);   }
.sm-pill--cream  { background: var(--cream-deep);  }

/* Blob — the defining device */
.sm-blob {
  position: relative;
  display: grid;
  place-items: center;
}
.sm-blob__aura {
  position: absolute;
  inset: -7%;
  border-radius: 50%;
  filter: blur(34px);
  opacity: .55;
  pointer-events: none;
}
.sm-blob__aura--blush  { background: var(--blush); }
.sm-blob__aura--powder { background: var(--powder-blue); }
.sm-blob__aura--sage   { background: var(--sage); }
.sm-blob__frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-blob);
  box-shadow: var(--shadow-lg);
}
.sm-blob--alt .sm-blob__frame { border-radius: var(--radius-blob-2); }
.sm-blob__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sm-blob--float .sm-blob__frame { animation: sm-float 7s ease-in-out infinite; }
.sm-blob--float .sm-blob__aura  { animation: sm-float 7s ease-in-out infinite; }

/* The hero blob breathes: a slow, barely-there morph between the two
   brand blob shapes, so the signature form never reads as a circle. */
.sm-blob--breathe .sm-blob__frame {
  animation:
    sm-float 7s ease-in-out infinite,
    sm-breathe 16s ease-in-out infinite;
}

@keyframes sm-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

@keyframes sm-breathe {
  0%, 100% { border-radius: 62% 38% 55% 45% / 55% 48% 52% 45%; }
  33%      { border-radius: 51% 49% 39% 61% / 60% 40% 60% 40%; }
  66%      { border-radius: 42% 58% 43% 57% / 56% 42% 58% 44%; }
}

/* ✦ sparkles */
.sm-star {
  position: absolute;
  pointer-events: none;
  line-height: 1;
}

/* Logo (inline SVG recolored via currentColor) */
.sm-logo-icon { display: inline-flex; }
.sm-logo-icon svg { display: block; height: 100%; width: auto; }
.sm-logo-word { display: inline-flex; }
.sm-logo-word svg { display: block; height: 100%; width: auto; }

/* ═══════════════════════════════════════════════════════════
   4 · HEADER / NAV
   ═══════════════════════════════════════════════════════════ */

.sm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 239, 233, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow var(--dur-base) var(--ease-soft);
}
.sm-header.is-scrolled { box-shadow: var(--shadow-sm); }

.sm-nav {
  max-width: var(--max-content);
  margin-inline: auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sm-nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--accent);
  transition: color var(--dur-base) var(--ease-soft);
}
.sm-nav__brand:hover { color: var(--burgundy); }
.sm-nav__brand .sm-logo-word { height: 58px; }

.sm-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sm-nav__links a:not(.sm-btn) {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
}
.sm-nav__links a:not(.sm-btn):hover { color: var(--burgundy); }

.sm-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-soft);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--plum-ink);
  font-size: 20px;
  line-height: 1;
}

.sm-nav__panel {
  display: none;
  border-top: 1px solid var(--border-soft);
  padding: 8px var(--gutter) 18px;
  flex-direction: column;
  gap: 2px;
  background: rgba(247, 239, 233, .96);
}
.sm-nav__panel a:not(.sm-btn) {
  padding: 12px 4px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-soft);
}
.sm-nav__panel .sm-btn { margin-top: 12px; }
.sm-nav__panel.is-open { display: flex; }

@media (max-width: 759px) {
  .sm-nav__links { display: none; }
  .sm-nav__toggle { display: inline-flex; }
}

/* ═══════════════════════════════════════════════════════════
   5 · HERO
   ═══════════════════════════════════════════════════════════ */

.sm-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Seelenlicht: one fixed star layer under the whole page. It shows in
   the cream "sky" sections and disappears behind white "rooms", so the
   journey alternates between open sky and interiors. */
.sm-seelenlicht {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.sm-seelenlicht canvas { display: block; width: 100%; height: 100%; }

main { position: relative; z-index: 1; }
.sm-footer { position: relative; z-index: 1; }

.sm-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-content);
  margin-inline: auto;
  padding: var(--section-y) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
  width: 100%;
}
.sm-hero__copy { flex: 1 1 340px; min-width: min(100%, 300px); }
.sm-hero__pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.sm-hero__title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 20px;
}
.sm-hero__title .sm-line { display: block; overflow: hidden; }
.sm-hero__title .sm-line > span { display: inline-block; }
.sm-hero__lead { max-width: 460px; margin-bottom: 30px; }
.sm-hero__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.sm-hero__note { margin-top: 18px; font-size: 14px; color: var(--text-muted); }

.sm-hero__media {
  flex: 1 1 320px;
  display: grid;
  place-items: center;
  position: relative;
  /* Reserved sky beneath the portrait: the Sterne-sortieren stage
     lands its star into the Bildmarke down here. */
  padding-bottom: 175px;
}
.sm-hero__media .sm-blob { width: min(80vw, 380px); aspect-ratio: 1; }

/* ── „Sterne sortieren sich" ─────────────────────────────────
   13 stars: scattered → row → gathered → one settles into the
   hands mark. JS (GSAP) adds .is-live and drives x/y transforms;
   without JS or with reduced motion the static state below shows
   the stars gently gathered and the mark complete. */
.sm-sortieren {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sm-sortieren__star {
  position: absolute;
  left: var(--sx, 50%);
  top: var(--sy, 50%);
  transform: translate(-50%, -50%);
  aspect-ratio: 230 / 228;
  opacity: .55;
}
.sm-sortieren.is-live .sm-sortieren__star {
  left: 0;
  top: 0;
  transform: none;
  opacity: 0;
}
.sm-sortieren__star svg { display: block; width: 100%; height: 100%; }

.sm-sortieren__hands {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  width: clamp(120px, 38%, 170px);
  color: var(--accent);
}
.sm-sortieren__handsmark { display: block; }
.sm-sortieren__handsmark svg { display: block; width: 100%; height: auto; }

/* The slot star: the exact Bildmarke position, same coordinate space
   as the hands. The traveling star lands here and crossfades in. */
.sm-sortieren__slot {
  position: absolute;
  left: 50%;
  top: 26%;
  transform: translate(-50%, -50%);
  width: 29%;
  aspect-ratio: 230 / 228;
  color: var(--accent);
}
.sm-sortieren__slot svg { display: block; width: 100%; height: 100%; }

.sm-sortieren__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* Live default: mark and caption hidden until the story earns them. */
.sm-sortieren.is-live .sm-sortieren__hands,
.sm-sortieren.is-live .sm-sortieren__slot,
.sm-sortieren.is-live .sm-sortieren__caption {
  opacity: 0;
}

/* cutout portrait sits on a pastel gradient inside the blob */
.sm-hero__media .sm-blob__frame {
  background: linear-gradient(150deg, var(--blush-wash), var(--powder-wash));
}
.sm-hero__media .sm-blob__frame img {
  object-fit: contain;
  object-position: bottom center;
  transform: scale(1.04);
}

/* ═══════════════════════════════════════════════════════════
   6 · VERSE BAND
   ═══════════════════════════════════════════════════════════ */

.sm-verse {
  padding: calc(var(--section-y) * .8) var(--gutter);
  text-align: center;
}
.sm-verse__text {
  font-family: var(--font-display);
  font-size: var(--fs-quote);
  line-height: 1.45;
  color: var(--plum-ink);
  max-width: 720px;
  margin-inline: auto;
}
.sm-verse__text .sm-line { display: block; }
.sm-verse__text em {
  font-style: italic;
  color: var(--accent-strong);
}
.sm-verse__star {
  display: block;
  color: var(--blush);
  font-size: 22px;
  margin-bottom: 18px;
}

/* ═══════════════════════════════════════════════════════════
   7 · SECTIONS (shared)
   ═══════════════════════════════════════════════════════════ */

.sm-section { padding-block: var(--section-y); }
.sm-section--white { background: var(--white); }
.sm-section--blush { background: var(--blush-wash); }

/* Über mich */
.sm-ueber__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}
.sm-ueber__media {
  flex: 1 1 300px;
  display: grid;
  place-items: center;
  position: sticky;
  top: 120px;
}
.sm-ueber__media .sm-blob { width: min(80vw, 340px); aspect-ratio: 1; }
.sm-ueber__body { flex: 1.15 1 360px; min-width: min(100%, 300px); }
.sm-ueber__text { max-width: 540px; }

.sm-chapters {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  max-width: 540px;
}
.sm-chapter__label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.sm-chapter p { margin: 0; line-height: 1.75; color: var(--text-muted); }

.sm-ueber__closing { margin-top: 28px; max-width: 540px; color: var(--text-muted); line-height: 1.75; }
.sm-ueber__pills { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .sm-ueber__media { position: static; }
}

/* Angebote */
/* Two secondary offers share the row below the full-width lead card;
   auto-fit would leave a dead third column on wide screens. */
.sm-offers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 44px;
}
@media (max-width: 640px) {
  .sm-offers { grid-template-columns: 1fr; }
}
.sm-offer {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
}
.sm-offer:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.sm-offer__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-blob);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--plum-ink);
  flex-shrink: 0;
  transition: border-radius var(--dur-slow) var(--ease-soft);
}
.sm-offer:hover .sm-offer__icon { border-radius: var(--radius-blob-2); }
.sm-offer__icon svg { width: 38px; height: auto; }
.sm-offer__icon svg path { fill: currentColor; }
.sm-offer__icon--star { font-size: 30px; line-height: 1; }
.sm-offer__icon--blush  { background: var(--blush); }
.sm-offer__icon--powder { background: var(--powder-blue); }
.sm-offer__icon--sage   { background: var(--sage); }
.sm-offer h3 { margin-bottom: 8px; }
.sm-offer p { color: var(--text-muted); margin: 0; flex: 1; }
.sm-offer__meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent-strong);
}

/* Lead offer: Seelengespräch is the core of the practice and reads
   like it, full width, horizontal, on a blush wash. */
.sm-offer--lead {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  background: var(--blush-wash);
  border-color: transparent;
  padding: clamp(28px, 4vw, 44px);
}
.sm-offer--lead .sm-offer__icon {
  width: 96px;
  height: 96px;
  margin-bottom: 0;
}
.sm-offer--lead .sm-offer__icon svg { width: 56px; }
.sm-offer--lead .sm-offer__body { flex: 1 1 320px; min-width: min(100%, 280px); }
.sm-offer--lead h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.sm-offer--lead p { max-width: 56ch; }
.sm-offer--lead .sm-offer__meta { border-top: 0; padding-top: 0; margin-top: 12px; }

.sm-energie {
  margin-top: 36px;
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-small);
  max-width: 62ch;
  margin-inline: auto;
}
.sm-energie strong { color: var(--accent-strong); font-weight: 700; }

.sm-offers-cta { text-align: center; margin-top: 40px; }

/* Quote band */
.sm-quoteband {
  position: relative;
  overflow: hidden;
  background: var(--blush-wash);
  padding: calc(var(--section-y) * .9) var(--gutter);
}
.sm-quoteband__pattern {
  position: absolute;
  inset: -10% 0;
  background-color: var(--mauve);
  opacity: .035;
  pointer-events: none;
  -webkit-mask-image: url("assets/img/pattern.svg");
  -webkit-mask-size: 480px;
  mask-image: url("assets/img/pattern.svg");
  mask-size: 480px;
}
.sm-quoteband__inner {
  position: relative;
  max-width: var(--max-content);
  margin-inline: auto;
  display: flex;
  justify-content: center;
}
.sm-quote {
  max-width: 680px;
  text-align: center;
  margin: 0;
  border: 0;
}
.sm-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-quote);
  line-height: 1.45;
  color: var(--accent-strong);
  margin: 0 0 18px;
}
.sm-quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Ablauf */
.sm-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.sm-step {
  border-radius: var(--radius-lg);
  padding: 32px;
}
.sm-step--blush  { background: var(--blush-wash); }
.sm-step--powder { background: var(--powder-wash); }
.sm-step--sage   { background: var(--sage-wash); }
.sm-step__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--accent-strong);
  line-height: 1;
  margin-bottom: 12px;
}
.sm-step h3 { font-size: 1.4rem; margin-bottom: 8px; }
.sm-step p { margin: 0; font-size: var(--fs-small); line-height: 1.7; color: var(--text-muted); }

/* Stimmen */
.sm-voices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.sm-voice {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.sm-voice__star { color: var(--accent-soft); font-size: 1.3rem; margin-bottom: 10px; }
.sm-voice p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--accent-strong);
  margin: 0;
  flex: 1;
}
.sm-voice cite {
  margin-top: 20px;
  font-style: normal;
  font-size: var(--fs-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   8 · KONTAKT
   ═══════════════════════════════════════════════════════════ */

.sm-kontakt__wrap { max-width: 960px; margin-inline: auto; padding-inline: var(--gutter); }
.sm-kontakt__panel {
  position: relative;
  overflow: hidden;
  background: var(--plum-ink);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 64px);
}
.sm-kontakt__grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  align-items: flex-start;
}
.sm-kontakt__intro { flex: 1 1 280px; min-width: min(100%, 260px); }
.sm-kontakt__intro .sm-logo-icon { height: 56px; color: var(--cream); margin-bottom: 20px; }
.sm-kontakt__title {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}
.sm-kontakt__lead {
  color: rgba(247, 239, 233, .78);
  font-size: var(--fs-lead);
  line-height: 1.65;
  max-width: 360px;
  margin-bottom: 24px;
}
.sm-kontakt__facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(247, 239, 233, .65);
  font-size: 14px;
}
.sm-kontakt__facts a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sm-kontakt__facts a:hover { color: var(--cream); }

.sm-kontakt__formcol { flex: 1 1 300px; min-width: min(100%, 280px); }

.sm-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sm-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.sm-form input[type="text"],
.sm-form input[type="email"],
.sm-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--plum-ink);
  transition: border-color var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
}
.sm-form input:focus,
.sm-form textarea:focus {
  border-color: var(--mauve);
  outline: none;
  box-shadow: 0 0 0 3px var(--blush-wash);
}
.sm-form textarea { resize: vertical; line-height: 1.6; }
.sm-form__note { margin: 0; font-size: 13px; color: var(--text-muted); text-align: center; }
.sm-form__note a { text-decoration: underline; text-underline-offset: 2px; }
.sm-form .sm-btn { width: 100%; }
.sm-form .sm-btn[disabled] {
  opacity: .7;
  cursor: wait;
  transform: none;
}

/* Inline validation: warm, specific, never clears the form */
.sm-field-error {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--burgundy);
}
.sm-form input[aria-invalid="true"],
.sm-form textarea[aria-invalid="true"] {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px var(--blush-wash);
}
.sm-form__alert {
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--blush-wash);
  border: 1px solid var(--blush);
  font-size: 14px;
  font-weight: 600;
  color: var(--plum-ink);
}

/* honeypot */
.sm-form__hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.sm-form-done {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: sm-rise .6s var(--ease-soft) both;
}

@keyframes sm-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.sm-form-done__heart {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-blob);
  background: var(--blush);
  display: grid;
  place-items: center;
  font-size: 32px;
}
.sm-form-done h3 { font-size: 1.7rem; margin: 0; }
.sm-form-done p { color: var(--text-muted); margin: 0; max-width: 320px; }

/* ═══════════════════════════════════════════════════════════
   9 · FOOTER
   ═══════════════════════════════════════════════════════════ */

.sm-footer {
  background: var(--white);
  border-top: 1px solid var(--border-soft);
}
.sm-footer__grid {
  max-width: var(--max-content);
  margin-inline: auto;
  padding: 56px var(--gutter) 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
.sm-footer__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  color: var(--plum-ink);
}
.sm-footer__brand .sm-logo-icon { height: 26px; }
.sm-footer__brand-name { font-family: var(--font-display); font-size: 19px; }
.sm-footer__tagline {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.7;
  margin: 0;
}
.sm-footer__head {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.sm-footer__grid a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 8px;
}
.sm-footer__grid a:hover { color: var(--burgundy); }
.sm-footer__bar {
  border-top: 1px solid var(--border-soft);
  padding: 18px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  font-size: 13px;
  color: var(--text-muted);
}
.sm-footer__bar a { color: var(--text-muted); }
.sm-footer__bar a:hover { color: var(--burgundy); }

/* ═══════════════════════════════════════════════════════════
   10 · GENERIC PAGES (page.php, 404)
   ═══════════════════════════════════════════════════════════ */

.sm-page {
  max-width: var(--max-prose);
  margin-inline: auto;
  padding: var(--section-y) var(--gutter);
}
.sm-404 { text-align: center; padding: var(--section-y) var(--gutter); }
.sm-404 h1 { font-size: var(--fs-display); }

/* ═══════════════════════════════════════════════════════════
   11 · CURSOR GLOW (Seelenlicht)
   ═══════════════════════════════════════════════════════════ */

.sm-glow {
  position: fixed;
  z-index: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(245, 189, 200, .22), transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
}

/* ═══════════════════════════════════════════════════════════
   12 · MOTION GUARDS
   ═══════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .sm-blob--float .sm-blob__frame,
  .sm-blob--float .sm-blob__aura { animation: none; }
  .sm-glow { display: none; }
}
