/* Bewegung, Tiefe und Scroll-Effekte. Alles unter .js ist bei "Bewegung reduzieren" aus. */

:root { --ease: cubic-bezier(0.2, 0.7, 0.2, 1); }
html { -moz-osx-font-smoothing: grayscale; }
p, li { text-wrap: pretty; }

/* Logo: Originalbild, darueber ein Augenlid (SVG), das sich innerhalb der Augenform schliesst. */
.siu-logo { position: relative; display: block; aspect-ratio: 960 / 496; }
.siu-logo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; outline: 0; border-radius: 0; }
.l-lid { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.l-lid-move { transform: translateY(-160px); }
.l-glow, .l-spark { position: absolute; border-radius: 50%; pointer-events: none; translate: -50% -50%; opacity: 0; }
.l-glow { left: 49.7%; top: 33%; width: 9%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 246, 225, 0.95), rgba(255, 236, 200, 0) 70%); }
.l-spark { left: var(--x); top: var(--y); width: 5%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 244, 214, 1), rgba(240, 214, 166, 0) 65%); }
.app-header [data-logo] { display: block; width: 130px; }

@media (prefers-reduced-motion: no-preference) {
  .l-lid-move { animation: blink 5.4s 2s infinite; }
  .l-glow { animation: glow 5s ease-in-out 2s infinite; }
  .l-spark { animation: twinkle 3.4s ease-in-out infinite; }
  .l-spark:nth-of-type(3) { animation-delay: -1.2s; }
  .l-spark:nth-of-type(4) { animation-delay: -2.3s; }

  .site-header .l-base { -webkit-mask: linear-gradient(90deg, #000 40%, transparent 60%) 100% 0 / 280% 100% no-repeat; mask: linear-gradient(90deg, #000 40%, transparent 60%) 100% 0 / 280% 100% no-repeat; animation: wipe 1.8s var(--ease) 0.15s forwards; }
}
@keyframes wipe { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes logo-in { from { transform: scale(0.92); filter: blur(6px); } }
@keyframes blink {
  0%, 91%, 100% { transform: translateY(-160px); animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.5); }
  93.6% { transform: translateY(0); animation-timing-function: cubic-bezier(0.1, 0.6, 0.3, 1); }
  94.6% { transform: translateY(0); animation-timing-function: cubic-bezier(0.1, 0.6, 0.3, 1); }
}
@keyframes twinkle { 0%, 100% { opacity: 0; scale: 0.6; } 50% { opacity: 0.9; scale: 1.25; } }
@keyframes glow { 0%, 100% { opacity: 0; } 50% { opacity: 0.75; } }

/* Kopfzeile und Fortschritt */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--lilac-dark), var(--pink), var(--gold-dark)); transform: scaleX(0); transform-origin: left; }
.site-header { transition: box-shadow 0.3s ease; }
.site-header .wrap { transition: min-height 0.3s var(--ease); }
.site-header.scrolled .wrap { min-height: 56px; }
.nav a:not(.nav-login) { text-decoration: none; background: linear-gradient(currentColor, currentColor) left calc(100% - 6px) / 0 1.5px no-repeat; transition: background-size 0.3s var(--ease); }
.nav a:not(.nav-login):hover { text-decoration: none; background-size: 100% 1.5px; }
.nav a.nav-login { transition: background-color 0.2s ease, color 0.2s ease; }
.nav a.nav-login:hover { background: var(--ink); color: var(--white); }

/* Buttons */
.btn { position: relative; overflow: hidden; transition-property: transform, box-shadow, background-color; transition-duration: 0.2s; transition-timing-function: ease-out; }
.btn:active { transform: scale(0.97); }
.btn:not(.btn-ghost)::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.btn:not(.btn-ghost):hover::before { transform: translateX(120%); transition: transform 0.8s ease; }

/* Hero */
.hero { position: relative; overflow: hidden; background: none; perspective: 1100px; }
.hero-bg { position: absolute; inset: -14% 0; background: url("../img/hero.jpg") center/cover no-repeat; transform: translate3d(0, var(--p, 0px), 0) scale(1.06); }
.hero .wrap { position: relative; z-index: 2; }
.feathers { position: absolute; inset: 0; z-index: 1; pointer-events: none; transform-style: preserve-3d; transform: rotateX(calc(var(--my, 0) * -5deg)) rotateY(calc(var(--mx, 0) * 7deg)); transition: transform 0.6s ease-out; }
.feather { position: absolute; left: var(--x); top: var(--y); width: var(--w); transform: translateZ(var(--z)); rotate: var(--r); filter: blur(var(--b, 0px)) drop-shadow(0 12px 14px rgba(168, 133, 61, 0.3)); }
.feather { aspect-ratio: 2; overflow: visible; }
@media (max-width: 760px) { .feather.far { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  .feather { animation: drift var(--d, 9s) ease-in-out infinite alternate; }
  .hero-seq > * { animation: rise 1s var(--ease) backwards; }
  .hero-seq > :nth-child(1) { animation-delay: 0.55s; }
  .hero-seq > :nth-child(2) { animation-delay: 0.7s; }
  .hero-seq > :nth-child(3) { animation-delay: 0.85s; }
  .hero-seq > :nth-child(4) { animation-delay: 1s; }
  .hero-seq > :nth-child(5) { animation-delay: 1.15s; }
}
@keyframes drift { to { translate: 18px -30px; rotate: calc(var(--r) + 16deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes card-in { from { opacity: 0; transform: translateY(40px) rotateX(14deg) scale(0.96); } }

/* Einblenden beim Scrollen */
.js [data-reveal] { opacity: 0; transition: opacity 0.9s var(--ease), transform 1s var(--ease), filter 0.9s ease, clip-path 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal="left"] { transform: perspective(900px) translateX(-56px) rotateY(14deg); }
.js [data-reveal="right"] { transform: perspective(900px) translateX(56px) rotateY(-14deg); }
.js [data-reveal="zoom"] { transform: scale(0.9); }
.js [data-reveal="clip"] { clip-path: inset(18% 18% 18% 18% round 60px); transform: scale(1.05); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="clip"].in { clip-path: inset(0 0 0 0 round 60px); }

/* Baender: Woerter leuchten beim Scrollen auf */
.band { position: relative; overflow: hidden; background: linear-gradient(100deg, #cfae6c, var(--gold) 30%, #e6cd97 50%, var(--gold) 70%, #cfae6c); }
.js [data-scrub] span { opacity: 0.3; transition: opacity 0.35s ease; }
.js [data-scrub] span.on { opacity: 1; }

/* Bildrahmen mit Parallax */
.frame { overflow: hidden; border-radius: 60px; border: 2px solid var(--gold); box-shadow: var(--shadow); max-width: 460px; margin-inline: auto; aspect-ratio: 9/10; }
.frame img { width: 100%; height: 120%; object-fit: cover; transform: translate3d(0, calc(var(--p, 0px) - 8%), 0); }
.about img { outline: 1px solid rgba(0, 0, 0, 0.1); outline-offset: -1px; }

/* 3D-Neigung */
.tilt-stage { perspective: 1200px; }
[data-tilt] { position: relative; rotate: var(--ax, 0) var(--ay, 0) 0 var(--ang, 0deg); transition: rotate 0.5s ease-out, translate 0.3s ease-out, box-shadow 0.3s ease-out; }
[data-tilt].tilting { transition: rotate 0.1s linear, translate 0.3s ease-out, box-shadow 0.3s ease-out; translate: 0 -6px; box-shadow: 0 2px 4px rgba(42, 20, 64, 0.06), 0 24px 48px rgba(107, 82, 150, 0.22); }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.55), transparent 55%); }
[data-tilt].tilting::after { opacity: 1; }

/* Ansatz: Tiefe im Hintergrund */
.approach { position: relative; overflow: hidden; background: #1b022f; }
.approach-bg { position: absolute; inset: -18% 0; background: linear-gradient(rgba(27, 2, 47, 0.35), rgba(27, 2, 47, 0.55)), url("../img/bg-bokeh.jpg") center/cover no-repeat; transform: translate3d(0, var(--p, 0px), 0); }
.approach .wrap { position: relative; z-index: 2; }
.bokeh { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bokeh span { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(240, 214, 166, 0.5), rgba(240, 214, 166, 0) 70%); animation: float 12s ease-in-out infinite alternate; }
@keyframes float { from { transform: translate(0, 20px) scale(0.8); opacity: 0.2; } to { transform: translate(30px, -40px) scale(1.15); opacity: 0.9; } }


/* Ablauf */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: var(--gold-dark); transform: scaleX(var(--t, 1)); transform-origin: left; }
.steps li { position: relative; text-align: center; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--cream); border: 2px solid var(--gold-dark); font-family: var(--caps); font-size: 1.5rem; color: var(--gold-dark); position: relative; z-index: 1; }
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 0; bottom: 0; left: 50%; right: auto; width: 2px; height: auto; transform: scaleY(var(--t, 1)); transform-origin: top; opacity: 0.35; }
  .steps li { background: var(--cream); padding: 6px 0; }
}

/* Angebote, Kontakt */
.offer { transition-property: opacity, transform, filter, rotate, translate, box-shadow; }
.offer.featured { border-width: 2.5px; background: linear-gradient(var(--white), #fbf5e8); }

/* Formularfelder */
.field input, .field textarea { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.field input:focus, .field textarea:focus { box-shadow: 0 6px 18px rgba(151, 128, 190, 0.25); }

/* Konto-Seiten */
@media (prefers-reduced-motion: no-preference) {
  .auth-card, .dash > * { animation: card-in 0.9s var(--ease) backwards; transform-origin: center top; }
  .app-main { perspective: 1200px; }
  .dash > :nth-child(2) { animation-delay: 0.12s; }
  .dash > :nth-child(3) { animation-delay: 0.24s; }
  .dash > :nth-child(4) { animation-delay: 0.36s; }
  .dash > :nth-child(5) { animation-delay: 0.48s; }
  .step-in { animation: step 0.5s var(--ease); }
  .step-in .option { animation: rise 0.5s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms + 80ms); }
  .option input:checked + span { animation: pop 0.3s ease; }
  .dash .reco { background-image: linear-gradient(110deg, transparent 40%, rgba(240, 214, 166, 0.45) 50%, transparent 60%); background-size: 250% 100%; animation: card-in 0.9s var(--ease) 0.12s backwards, sheen 5s ease-in-out 1.2s infinite; }
}
@keyframes step { from { opacity: 0; transform: translateX(24px); } }
@keyframes pop { 50% { transform: scale(1.02); } }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.option span { transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease; }
.option:active span { transform: scale(0.985); }

/* Effekte duerfen die Seite nicht seitlich aufschieben */
html, body { overflow-x: clip; }
.about img { max-width: 420px; margin-inline: auto; }

/* Kopfzeile: dunkles Glas, damit das helle Logo traegt */
.logo { display: block; width: 168px; transition: width 0.35s var(--ease); }
.site-header.scrolled .logo { width: 124px; }
.site-header { background: rgba(42, 20, 64, 0.9); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(215, 183, 119, 0.55), 0 10px 30px rgba(42, 20, 64, 0.18); }
.home .site-header { position: fixed; left: 0; right: 0; }
.site-header .wrap { min-height: 88px; }
.site-header.scrolled .wrap { min-height: 62px; }
.nav a, .nav-toggle { color: #fbf3e6; }
.nav a.nav-login { border-color: var(--gold); color: var(--gold); }
.nav a.nav-login:hover { background: var(--gold); color: var(--ink); }
.scroll-progress { background: linear-gradient(90deg, var(--gold), #f3e0b0, var(--pink)); }
@media (max-width: 860px) {
  .nav { background: rgba(42, 20, 64, 0.98); }
  .nav a { border-bottom-color: rgba(251, 243, 230, 0.16); }
  .nav a.nav-login { border-bottom: 1.5px solid var(--gold); }
  .logo { width: 132px; }
  .site-header .wrap { min-height: 72px; }
}

/* Hero: Text links, Spiegel rechts */
.hero { min-height: min(100svh, 940px); display: grid; align-items: center; padding: 136px 0 100px; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(252, 247, 251, 0.82), rgba(252, 247, 251, 0.45) 48%, rgba(252, 247, 251, 0) 78%); }
.aurora { position: absolute; inset: 0; opacity: 0.7; }
.aurora i { position: absolute; width: 62vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--c), transparent 68%); }
.aurora i:nth-child(1) { left: -16%; top: -30%; --c: #d9c2f2; }
.aurora i:nth-child(2) { right: -14%; top: -4%; --c: #f3d9a4; }
.aurora i:nth-child(3) { left: 22%; bottom: -44%; --c: #f1c6dd; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-copy .eyebrow { color: var(--lilac-dark); font-weight: 700; font-size: 1.2rem; max-width: 30em; margin-bottom: 1.1em; }
.hero-copy h1 { font-size: clamp(2.5rem, 4.6vw, 3.8rem); line-height: 1.04; margin-bottom: 0.35em; color: var(--gold-dark); }
.hero-copy h1 span { display: block; width: fit-content; background: linear-gradient(100deg, #8a6a2c, #c79a4b 35%, #b0679a 60%, #8a6a2c) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em; }
.hero-copy .sub { font-family: var(--caps); font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--ink-soft); margin-bottom: 1.5em; }
.hero-copy .btn-row { justify-content: flex-start; }
.hero-copy .btn { font-size: 1.35rem; padding: 14px 38px; }
.hero-copy .hero-note { margin-top: 14px; }

.feather-anchor { position: absolute; left: 39%; bottom: -78px; width: 200px; aspect-ratio: 315 / 325; pointer-events: none; }
.dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 30; pointer-events: none; }


@media (max-width: 900px) {
  .hero { padding: 112px 0 64px; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero::after { background: rgba(252, 247, 251, 0.6); }
  .feather-anchor { position: static; width: 150px; margin: 0 auto -34px; }
}

@media (prefers-reduced-motion: no-preference) {
  .aurora i { animation: aurora 16s ease-in-out infinite alternate; }
  .aurora i:nth-child(2) { animation-duration: 21s; animation-delay: -6s; }
  .aurora i:nth-child(3) { animation-duration: 26s; animation-delay: -11s; }
  .hero-copy h1 span { animation: rise 1s var(--ease) backwards; }
  .hero-copy h1 span:nth-child(1) { animation-delay: 0.3s; }
  .hero-copy h1 span:nth-child(2) { animation-delay: 0.45s; }
  .hero-copy h1 span:nth-child(3) { animation-delay: 0.6s; }
  .hero-seq > :nth-child(1) { animation-delay: 0.15s; }
  .hero-seq > h1 { animation: none; }
  .hero-seq > :nth-child(3) { animation-delay: 0.75s; }
  .hero-seq > :nth-child(4) { animation-delay: 0.9s; }
  .hero-seq > :nth-child(5) { animation-delay: 1.05s; }
}
@keyframes aurora { to { transform: translate(8vw, 6vh) scale(1.25); } }
@keyframes bob { from { translate: 0 -6px; } to { translate: 0 8px; } }

/* Konto-Seiten: gleiche dunkle Kopfzeile */
.app-header { background: rgba(42, 20, 64, 0.9); box-shadow: 0 1px 0 rgba(215, 183, 119, 0.55); padding: 10px 0; margin-bottom: 28px; }
.app-header a { color: #fbf3e6; }

/* Kontakt: kompakt */
.contact { padding: 56px 0 60px; }
.contact h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 0.3em; }
.contact p { margin: 0 auto; max-width: 34em; color: rgba(255, 255, 255, 0.88); }
.contact-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.contact-item { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 12px; border-radius: 100px; text-align: left; line-height: 1.25; font-size: 1.05rem; background: rgba(255, 255, 255, 0.94); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); transition: opacity 0.9s var(--ease), transform 0.3s var(--ease), filter 0.9s ease, box-shadow 0.3s ease, background-color 0.2s ease; }
.contact-item:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35); }
.contact-item svg { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--gold); fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-item strong { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 560px) {
  .contact-grid { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
}

/* Abschluss: Logo gross, Fusszeile im Ton der Kopfzeile */
.site-footer { background: #2a1440; color: #e9dff2; padding: 0 0 22px; }
.site-footer a { color: #e9dff2; text-underline-offset: 4px; }
.site-footer a:hover { color: var(--gold); }
.site-footer .wrap { justify-content: center; gap: 8px 28px; }
.finale { padding: 64px 16px 30px; text-align: center; background: radial-gradient(ellipse 60% 70% at 50% 45%, rgba(151, 128, 190, 0.28), rgba(42, 20, 64, 0) 70%); }
.finale-logo { width: min(560px, 86vw); margin: 0 auto; }
.finale p { margin: 6px 0 0; font-family: var(--caps); font-size: 1.3rem; letter-spacing: 0.14em; color: var(--gold); }
.finale .l-spark { width: 7%; }
.site-footer:not(:has(.finale)) { padding-top: 22px; }

/* Feinschliff */
::selection { background: var(--gold); color: var(--ink); }
.price, .reco .price { font-variant-numeric: tabular-nums; }
.site-header :focus-visible, .contact :focus-visible, .site-footer :focus-visible, .app-header :focus-visible { outline-color: var(--gold); }
.card { transition: border-color 0.25s ease; }
.offer:hover { border-color: var(--gold-dark); }
.check input { cursor: pointer; }
.frame, .about img { -webkit-user-select: none; user-select: none; }
.band p { max-width: 46em; margin-inline: auto; }
.sticky-cta { box-shadow: 0 -8px 24px rgba(42, 20, 64, 0.1); }

/* Buchungsfenster */
.booking { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: clamp(22px, 4vw, 34px); border: 1.5px solid var(--gold); border-radius: var(--radius); background: var(--cream); color: var(--ink); box-shadow: 0 30px 80px rgba(27, 2, 47, 0.45); }
.booking::backdrop { background: rgba(27, 2, 47, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.booking h2 { font-size: 1.6rem; padding-right: 40px; margin-bottom: 0.3em; }
.booking-lead { color: var(--ink-soft); margin-bottom: 16px; }
.booking-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background-color 0.2s ease; }
.booking-close:hover { background: rgba(42, 20, 64, 0.08); }
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .booking-row { grid-template-columns: 1fr; } }
.booking fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.booking legend { padding: 0; font-weight: 500; font-size: 1.05rem; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span { display: block; min-height: 44px; padding: 9px 16px; border: 1.5px solid #b9a9cc; border-radius: 100px; background: var(--white); font-size: 1.02rem; font-variant-numeric: tabular-nums; transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease; }
.chip:hover span { border-color: var(--lilac-dark); }
.chip input:checked + span { border-color: var(--gold-dark); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold-dark); }
.chip input:focus-visible + span { outline: 3px solid var(--lilac-dark); outline-offset: 2px; }
.chip:active span { transform: scale(0.96); }
.booking .btn + .btn { margin-top: 10px; }
.booking-done { text-align: center; padding: 20px 0 8px; }
.booking-cal p { color: var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .booking[open] { animation: card-in 0.5s var(--ease); }
  .booking[open]::backdrop { animation: fade 0.4s ease; }
}

[hidden] { display: none !important; }

/* Fuenf Fragen auf der Startseite */
.quiz-section { padding-top: 0; }
.quiz { background: linear-gradient(var(--white), #fbf5e8); border-width: 2px; }
.quiz h2 { text-align: center; margin-bottom: 0.2em; }
.quiz-intro { text-align: center; color: var(--ink-soft); margin-bottom: 20px; }
.quiz fieldset { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.quiz legend { padding: 0; }
.quiz h3 { font-size: 1.45rem; margin-bottom: 0.7em; }
.quiz h3:focus { outline: 0; }
.quiz .hint { color: var(--ink-soft); font-size: 1rem; margin: -6px 0 14px; }
.quiz form { min-height: 300px; }
.quiz-result { text-align: center; padding-top: 6px; }
.quiz-offer { font-family: var(--caps); font-size: 1.7rem; line-height: 1.2; color: var(--lilac-dark); margin-bottom: 0.3em; }
.quiz-result .price { font-family: var(--caps); font-size: 1.6rem; color: var(--gold-dark); }
.quiz-result .demo-note { text-align: left; }
.quiz-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 18px 0 0; font-size: 1rem; }
.quiz-more button { border: 0; background: none; padding: 0; font: inherit; color: var(--lilac-dark); text-decoration: underline; cursor: pointer; }
.hero-quiz { margin: 14px 0 0; font-size: 1.08rem; }
.hero-quiz a { color: var(--lilac-dark); text-underline-offset: 4px; }

/* Mitgliederbereich: Tagesimpuls */
.dash-head .progress { margin: 6px 0 0; height: 10px; }
.dash-head p { color: var(--ink-soft); }
.dash .today { border-width: 2px; background: linear-gradient(rgba(255, 255, 255, 0.97), rgba(251, 245, 232, 0.97)); }
.day-label { font-size: 1rem; color: var(--gold-dark); font-weight: 700; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.today h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 0.4em; }
.today h2:focus { outline: 0; }
.today-question { font-family: var(--caps); font-size: clamp(1.3rem, 3vw, 1.6rem); line-height: 1.3; color: var(--ink); padding: 14px 0 14px 18px; border-left: 3px solid var(--gold); margin: 18px 0 22px; text-wrap: balance; }
.today .btn[disabled] { background: var(--gold-soft); box-shadow: none; opacity: 1; color: var(--ink-soft); }
.nudge { margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: var(--ink); color: #f3ebf8; }
.nudge p { margin-bottom: 14px; }
.nudge .btn-dark { background: var(--gold); color: var(--ink); box-shadow: none; }
.nudge .btn-dark:hover { background: #dfc38a; }
.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border: 1.5px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.94); font: inherit; color: var(--ink); text-align: center; transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease; }
button.day { cursor: pointer; }
button.day:hover { border-color: var(--lilac-dark); transform: translateY(-2px); }
.day-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--gold-dark); font-family: var(--caps); font-size: 1.15rem; color: var(--gold-dark); font-variant-numeric: tabular-nums; }
.day-name { font-size: 0.88rem; line-height: 1.2; overflow-wrap: anywhere; }
.day.is-done .day-num { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.day.is-current { border-color: var(--gold-dark); box-shadow: inset 0 0 0 1px var(--gold-dark); background: #fff; }
.day.is-locked { background: rgba(255, 255, 255, 0.55); color: var(--ink-soft); }
.day.is-locked .day-num { border-style: dashed; color: var(--ink-soft); border-color: #b9a9cc; }
@media (max-width: 640px) {
  .days { grid-template-columns: repeat(4, 1fr); }
}
.answers summary { cursor: pointer; font-family: var(--caps); font-size: 1.3rem; color: var(--lilac-dark); }
.answers[open] summary { margin-bottom: 16px; }
.answers p { margin: 16px 0 0; }

/* Kundenstimmen und FAQ (erscheinen erst mit Inhalten aus inhalte.js) */
.voice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 26px; }
.voice { margin: 0; }
.voice blockquote { margin: 0 0 14px; font-size: 1.2rem; line-height: 1.5; }
.voice figcaption { color: var(--gold-dark); font-weight: 500; }
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
.faq-item { padding: 16px 22px; }
.faq-item summary { cursor: pointer; font-weight: 500; font-size: 1.2rem; }
.faq-item p { margin: 12px 0 0; color: var(--ink-soft); }

/* ---------- Feinschliff 24.11.: Zitat-Zeilen, Bogenbilder, Ornamente, Laufband ---------- */
:root { --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c4914f' d='M12 0l2.2 9.8L24 12l-9.8 2.2L12 24l-2.2-9.8L0 12l9.8-2.2z'/%3E%3C/svg%3E"); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.card h2, .quiz h2, .booking h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }

/* Zitat-Zeilen statt Goldbalken */
.band { background: linear-gradient(180deg, rgba(252, 247, 251, 0), #f7ecd6 45%, #f7ecd6 55%, rgba(252, 247, 251, 0)); padding: clamp(54px, 9vw, 104px) 0; }
.band .wrap { display: grid; justify-items: center; gap: clamp(18px, 3vw, 30px); }
.band .wrap::before, .band .wrap::after { content: ""; width: min(320px, 70%); height: 18px; background: var(--star) center / 18px no-repeat, linear-gradient(90deg, transparent, var(--gold-dark) 30%, transparent 46%, transparent 54%, var(--gold-dark) 70%, transparent) center / 100% 1px no-repeat; }
.band p { font-size: clamp(1.45rem, 3.3vw, 2.35rem); line-height: 1.32; letter-spacing: 0.02em; max-width: 24em; color: var(--ink); }
.band.plain p { font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.45; max-width: 30em; }
.js [data-scrub] span { opacity: 0.6; }

/* Abschnittsueberschriften mit Stern */
.section h2.center::before, .about-text h2::before, .contact h2::before { content: ""; display: block; width: 22px; height: 22px; margin: 0 auto 14px; background: var(--star) center / contain no-repeat; }
.about-text h2::before { margin-left: 0; }

/* Bogenbilder */
.frame { border-radius: 999px 999px 28px 28px; max-width: 440px; aspect-ratio: 4 / 5; border-width: 1.5px; box-shadow: 0 2px 4px rgba(42, 20, 64, 0.06), 0 30px 60px rgba(107, 82, 150, 0.22); }
.js [data-reveal="clip"] { clip-path: inset(14% 14% 14% 14% round 999px 999px 28px 28px); }
.js [data-reveal="clip"].in { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); }
@media (min-width: 801px) {
  .overlap { grid-template-columns: 0.9fr 1.1fr; gap: 0; }
  .overlap .card { margin-left: -64px; position: relative; z-index: 1; padding: clamp(28px, 4vw, 48px); }
}

/* Ueber mich */
.section.about { background: linear-gradient(180deg, rgba(243, 231, 204, 0), rgba(243, 231, 204, 0.55) 30%, rgba(243, 231, 204, 0.55) 70%, rgba(243, 231, 204, 0)); border: 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.arch { margin: 0; overflow: hidden; border-radius: 999px 999px 28px 28px; aspect-ratio: 4 / 5; max-width: 440px; width: 100%; justify-self: center; border: 1.5px solid var(--gold); box-shadow: 0 2px 4px rgba(42, 20, 64, 0.06), 0 30px 60px rgba(107, 82, 150, 0.22); }
.about .arch img { width: 100%; height: 116%; max-width: none; object-fit: cover; aspect-ratio: auto; border-radius: 0; box-shadow: none; outline: 0; transform: translate3d(0, calc(var(--p, 0px) - 7%), 0); }
.about-text { max-width: 30em; }
.about-text p { font-size: 1.3rem; line-height: 1.55; }
.about-text .btn { margin-top: 10px; }
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-text { margin-inline: auto; }
  .about-text h2::before { margin-left: auto; }
  .arch, .frame { max-width: 320px; }
}

/* Ansatz-Karten: Button unten buendig */
.approach .card { display: flex; flex-direction: column; }
.approach .card .btn { margin-top: auto; align-self: flex-start; }

/* Angebote */
.offer .price { font-size: clamp(2rem, 3.4vw, 2.5rem); }
.offer.featured { box-shadow: 0 2px 4px rgba(42, 20, 64, 0.06), 0 24px 50px rgba(168, 133, 61, 0.28); }
@media (min-width: 901px) { .offer.featured { margin-block: -14px; padding-block: calc(clamp(22px, 4vw, 38px) + 14px); } }

/* Laufband */
.marquee { overflow: hidden; padding: clamp(20px, 4vw, 40px) 0; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); width: max-content; font-family: var(--caps); font-size: clamp(2.6rem, 8vw, 6rem); line-height: 1; white-space: nowrap; }
.marquee span { color: transparent; -webkit-text-stroke: 1.2px var(--gold-dark); }
.marquee i { font-style: normal; font-size: 0.4em; color: var(--pink); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 38s linear infinite; }
}
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(12px, 2vw, 28px))); } }

/* Lichtpunkt auf Buttons */
.btn:not(.btn-ghost)::after { content: ""; position: absolute; left: var(--bx, 50%); top: var(--by, 50%); width: 180px; height: 180px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 62%); opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
.btn:not(.btn-ghost):hover::after { opacity: 1; }
.btn > * { position: relative; z-index: 1; }

@keyframes fade { from { opacity: 0; } }

/* ---------- Befunde aus dem Audit vom 24.11. ---------- */
:root { --gold-text: #7d5f22; --control: #8a78a6; }
/* Nach der Einblendung: schnelle Uebergaenge fuer Hover und Neigung */
.js [data-reveal].done { transition: transform 0.3s var(--ease), rotate 0.5s ease-out, translate 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.25s ease, background-color 0.2s ease; transition-delay: 0s; }
.js [data-tilt].done.tilting { transition: rotate 0.1s linear, translate 0.3s ease-out, box-shadow 0.3s ease-out; }
@media (forced-colors: active) { .hero-copy h1 span { background: none; color: CanvasText; } }

/* Kontraste */
.day-label, .day-num, .voice figcaption { color: var(--gold-text); }
.day-num { border-color: var(--gold-text); }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field textarea, .option span, .chip span { border-color: var(--control); }
.day.is-locked .day-num { border-color: var(--control); }

/* Unsichtbarer Handy-Button darf nicht fokussierbar sein */
@media (max-width: 760px) {
  .sticky-cta:not(.show) { visibility: hidden; transition: transform 0.25s ease, visibility 0s 0.25s; }
}
/* Meldungen sind von Anfang an im Dokument, damit Screenreader sie beim Befuellen vorlesen */
.form-msg:not(.show) { display: block; height: 0; margin: 0; padding: 0; border: 0; overflow: hidden; }
/* Rechtsseiten: einzelner Link statt Aufklappmenue */
@media (max-width: 860px) {
  .nav.nav-solo { display: flex; position: static; padding: 0; background: none; box-shadow: none; }
  .nav.nav-solo a { width: auto; border: 0; }
}
/* Trefferflaechen kleiner Links */
.quiz-more a, .quiz-more button, .site-footer a, .app-header a:not([data-logo]), .hero-quiz a { display: inline-block; padding: 10px 4px; }
/* Auf Touch-Geraeten bleibt kein Hover-Zustand haengen */
@media (hover: none) {
  .btn:hover, button.day:hover, .contact-item:hover { transform: none; }
  .btn:not(.btn-ghost):hover::before { transform: translateX(-120%); transition: none; }
  .btn:not(.btn-ghost):hover::after { opacity: 0; }
}
/* Konto-Seiten: Hintergrund als feste Ebene (iOS ignoriert background-attachment: fixed) */
.app-body { min-height: 100dvh; background: var(--cream); position: relative; isolation: isolate; }
.app-body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: url("../img/hero.jpg") center top / cover no-repeat; }

.field input[aria-invalid="true"] { border-color: var(--error); }

/* Erwartung und Ziel, Platzhalter fuer Sinas Angaben */
.expect .grid-2 { align-items: stretch; }
.expect h3, .not-for h3 { margin-top: 1.4em; font-size: 1.15rem; }
.session-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.session-steps li { position: relative; padding-left: 46px; counter-increment: s; }
.session-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--gold-dark); font-family: var(--caps); color: var(--gold-text); }
.session-steps strong { display: block; }
.session-steps span { color: var(--ink-soft); }
#geschichte p:last-child, #qualifikation { margin-bottom: 1.2em; }
.checks.minus li::before { background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1440' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center/14px no-repeat; box-shadow: inset 0 0 0 1.5px var(--gold-dark); }

/* Mitgliederbereich: Selbsttest und Mini-Kurs */
.dash h2 { margin-bottom: 0.4em; }
.dash .meta { color: var(--gold-text); font-weight: 700; }
.dash .read { margin: 14px 0; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.7); }
.dash .read summary { cursor: pointer; font-weight: 700; color: var(--lilac-dark); }
.dash .read[open] summary { margin-bottom: 10px; }
.dash .read > :last-child { margin-bottom: 0; }
.days.lessons { grid-template-columns: 1fr 1fr; margin: 18px 0; }
.days.lessons .day { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; }
.days.lessons .day-num { flex: none; }
.days.lessons .day-name { font-size: 1rem; }
@media (max-width: 640px) { .days.lessons { grid-template-columns: 1fr; } }
.block { padding-top: 22px; margin-top: 22px; border-top: 1.5px solid var(--line); }
.block .label { font-family: var(--caps); font-size: 1.05rem; letter-spacing: 0.04em; color: var(--gold-text); margin-bottom: 10px; }
.block h4, .sp-details h4 { font-size: 1.2rem; margin: 0 0 0.5em; color: var(--lilac-dark); }
.block .chips { margin: 10px 0 6px; }
.block .check { margin-top: 14px; }
#lesson > .btn { margin-top: 26px; }
.guided { display: grid; justify-items: center; gap: 10px; padding: 22px 18px; border-radius: 18px; background: var(--cream); text-align: center; }
.orb { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--gold-soft) 60%, var(--gold)); font-family: var(--caps); font-size: 1.8rem; color: var(--ink); font-variant-numeric: tabular-nums; margin: 8px 0 14px; }
.g-text { margin: 0; max-width: 46ch; min-height: 3.2em; }
.g-sub { margin: 0; font-size: 0.95rem; color: var(--ink-soft); min-height: 1.4em; }
.say { margin: 10px 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.say li { padding: 10px 14px; border-left: 3px solid var(--gold-dark); background: var(--cream); border-radius: 0 12px 12px 0; }
.nudge-title { font-family: var(--caps); font-size: 1.3rem; }
.spiegel-form .how { padding: 12px 16px; border-left: 3px solid var(--gold-dark); background: var(--cream); border-radius: 0 12px 12px 0; }
.sp-q { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.sp-q legend { display: flex; gap: 12px; align-items: flex-start; padding: 0; margin-bottom: 12px; font-size: 1.2rem; font-weight: 700; color: var(--lilac-dark); }
.sp-num { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 1rem; font-variant-numeric: tabular-nums; }
.sp-title { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 0 0 0.4em; color: var(--lilac-dark); }
.sp-title:focus, #lesson h2:focus { outline: 0; }
#lesson, #spiegel { scroll-margin-top: 8px; }
.sp-details summary { cursor: pointer; font-weight: 700; color: var(--lilac-dark); margin-bottom: 12px; }
.sp-focus { padding: 14px 18px 2px; margin: 18px 0; border-radius: 14px; background: var(--cream); }
.sp-cat { padding-top: 18px; margin-top: 18px; border-top: 1.5px solid var(--line); }
.sp-cat h4 { margin-bottom: 2px; }
.sp-stage { margin: 0; font-style: italic; color: var(--gold-text); }
.sp-dots { display: flex; gap: 8px; margin: 10px 0 14px; }
.sp-dots span { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--control); background: var(--white); }
.sp-dots .on { background: var(--gold); border-color: var(--gold-dark); }
.sp-impulse { color: var(--ink-soft); }
.sp-details h4 { margin-top: 22px; }
.sp-details .btn { margin-top: 8px; }

/* Selbsttest auf der Startseite */
.quiz-result { text-align: left; }
.quiz-result .nudge { text-align: center; }
.quiz .sp-details h4 { font-size: 1.2rem; }

/* ---------- 24.11.: Spiegel-Moment als Einstieg, 8-Wochen-Programm ---------- */
.kicker { font-weight: 700; color: var(--gold-text); font-size: 1.05rem; letter-spacing: 0.03em; margin-bottom: 0.6em; text-wrap: balance; }
.kicker.center { max-width: 34em; margin-inline: auto; }

/* Hero: Spiegel */
.hero-mirror { justify-self: end; display: block; width: min(340px, 100%); color: var(--ink); text-decoration: none; }
.hm-frame { position: relative; display: grid; align-items: center; aspect-ratio: 4 / 5.3; padding: 14px; border-radius: 999px 999px 26px 26px; background: linear-gradient(150deg, #f0d9a3, #b98f45 38%, #f3e0b0 60%, #a8853d); box-shadow: 0 2px 4px rgba(42, 20, 64, 0.1), 0 34px 70px rgba(42, 20, 64, 0.3); transform: rotateY(calc(-7deg + var(--mx, 0) * 5deg)) rotateX(calc(2deg + var(--my, 0) * -3deg)); transition: transform 0.6s ease-out; }
.hm-glass { position: absolute; inset: 14px; overflow: hidden; border-radius: 999px 999px 16px 16px; background: linear-gradient(165deg, #fffdf8, #f4ecf8 45%, #efe4d0); box-shadow: inset 0 0 0 1px rgba(168, 133, 61, 0.6), inset 0 18px 40px rgba(107, 82, 150, 0.18); }
.hm-glass::after { content: ""; position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.8) 50%, transparent 58%); transform: translateX(-70%); }
.hm-body { position: relative; display: grid; justify-items: center; gap: 14px; padding: 18% 30px 8%; text-align: center; }
.hm-star { width: 22px; height: 22px; background: var(--star) center / contain no-repeat; }
.hm-title { font-family: var(--caps); font-size: 1.75rem; line-height: 1.15; color: var(--lilac-dark); }
.hm-quote { font-size: 1.2rem; line-height: 1.4; text-wrap: balance; }
.hm-meta { font-size: 0.95rem; color: var(--gold-text); font-weight: 700; }
@media (max-width: 900px) {
  .hero-mirror { justify-self: center; width: min(290px, 100%); margin-top: 18px; }
  .hm-frame { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-mirror { animation: card-in 1.2s var(--ease) 0.35s backwards; }
  .hm-glass::after { animation: mirror-sheen 8s ease-in-out 2s infinite; }
}
@keyframes mirror-sheen { 0%, 60% { transform: translateX(-70%); } 100% { transform: translateX(70%); } }

/* Startseite: Spiegel-Moment und Programm */
.expect-grid { list-style: none; margin: 34px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.expect-grid li { padding: 22px 20px; border-top: 2px solid var(--gold); background: rgba(255, 255, 255, 0.7); border-radius: 0 0 var(--radius) var(--radius); }
.expect-grid h3 { font-size: 1.2rem; }
.expect-grid p { margin: 0; color: var(--ink-soft); }
.for-you, .why { align-items: stretch; }
.for-you h3, .why h3, .goal h3 { font-size: 1.4rem; }
.mirror-sec { padding-bottom: clamp(28px, 5vw, 48px); }
.path-head { margin-top: clamp(40px, 7vw, 72px); font-size: 1.6rem; }
.path-lead { color: var(--ink-soft); }
.path { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.path > li { display: grid; gap: 12px; align-content: start; }
.path-stage { margin: 0; padding-bottom: 8px; border-bottom: 2px solid var(--gold); font-family: var(--caps); font-size: 1.25rem; color: var(--lilac-dark); }
.path-week { position: relative; padding: 16px 16px 16px 58px; background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; }
.path-week span { position: absolute; left: 12px; top: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold-text); font-family: var(--caps); color: var(--gold-text); font-variant-numeric: tabular-nums; }
.path-week h4 { margin: 0 0 4px; font-size: 1.1rem; line-height: 1.25; }
.path-week p { margin: 0; font-size: 1rem; color: var(--ink-soft); }
.goal { width: min(760px, 100%); margin: clamp(36px, 6vw, 64px) auto 0; border-width: 2px; background: linear-gradient(var(--white), #fbf5e8); }
.goal .btn-row { margin-top: 22px; }
@media (max-width: 900px) { .expect-grid, .path { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .expect-grid, .path { grid-template-columns: 1fr; } }
.quiz-more { display: block; text-align: center; }

/* Mitgliederbereich: 8 Wochen */
.dash .progress div { width: 100%; transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.dash-head { display: flex; gap: clamp(16px, 4vw, 32px); align-items: center; }
.dash-day { flex: none; display: grid; justify-items: center; width: 118px; aspect-ratio: 1; align-content: center; border-radius: 50%; border: 2px solid var(--gold); background: radial-gradient(circle at 35% 30%, #fff, var(--gold-soft)); font-size: 0.95rem; color: var(--gold-text); line-height: 1.1; }
.dash-day strong { font-family: var(--caps); font-weight: 400; font-size: 2.6rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.dash-hello { flex: 1; min-width: 0; }
.week-now { font-weight: 700; color: var(--lilac-dark) !important; margin-bottom: 10px; }
.dash-head #status { margin: 8px 0 0; font-size: 1rem; }
@media (max-width: 560px) { .dash-head { flex-direction: column; text-align: center; } }
.weeks { list-style: none; margin: 20px 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.week { width: 100%; display: grid; justify-items: center; gap: 2px; padding: 10px 4px 12px; border: 1.5px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.94); font: inherit; color: var(--ink); cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease; }
.week:hover { border-color: var(--lilac-dark); }
.week-kicker { font-size: 0.8rem; color: var(--ink-soft); }
.week-num { font-family: var(--caps); font-size: 1.5rem; line-height: 1; color: var(--gold-text); }
.week-bar { width: 70%; height: 5px; margin-top: 6px; border-radius: 100px; background: var(--line); overflow: hidden; }
.week-bar i { display: block; height: 100%; background: var(--gold-dark); transform-origin: left; }
.week.is-current { border-color: var(--gold-dark); box-shadow: inset 0 0 0 1px var(--gold-dark); }
.week.is-ahead { background: rgba(255, 255, 255, 0.55); }
.week.is-done .week-num::after { content: " ✦"; font-size: 0.6em; color: var(--pink); }
.week.is-focus { background: var(--gold-soft); }
@media (max-width: 640px) { .weeks { grid-template-columns: repeat(4, 1fr); } }
.week-panel { padding: 20px 0 4px; border-top: 1.5px solid var(--line); }
.week-title { font-size: 1.6rem; margin-bottom: 0.3em; }
.week-focus { padding: 12px 16px; border-left: 3px solid var(--gold-dark); background: var(--gold-soft); border-radius: 0 12px 12px 0; }
.week-count { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
.day-name small { display: block; font-size: 0.88rem; color: var(--ink-soft); }
.draft-tag { margin-left: 10px; padding: 2px 10px; border: 1px dashed var(--lilac); border-radius: 100px; font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); }
.review { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.review li { padding: 10px 14px; border-left: 3px solid var(--line); background: var(--cream); border-radius: 0 12px 12px 0; }
.review li.is-done { border-left-color: var(--gold-dark); }
.review strong { display: block; font-size: 1rem; color: var(--lilac-dark); }
.review span { white-space: pre-wrap; overflow-wrap: anywhere; }
.after { margin: 16px 0 0; color: var(--ink-soft); }
.lesson-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 14px; border-top: 1.5px solid var(--line); }
.link-btn { min-height: 44px; padding: 8px 6px; border: 0; background: none; font: inherit; color: var(--lilac-dark); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-variant-numeric: tabular-nums; }
.notebook summary { cursor: pointer; font-family: var(--caps); font-size: 1.5rem; color: var(--lilac-dark); }
.notebook summary small { display: block; font-family: var(--sans); font-size: 1rem; color: var(--ink-soft); }
.notebook h3 { margin: 26px 0 8px; font-size: 1.25rem; }
.nb-entry { padding: 12px 0; border-top: 1.5px solid var(--line); }
.nb-q { margin: 0 0 2px; font-size: 1rem; color: var(--ink-soft); }
.nb-a { margin: 0 0 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.dash-contact { margin: 0; text-align: center; color: var(--ink-soft); }

/* ---------- Glas: Kopfzeile als schwebende Leiste, Karten halbtransparent mit Unschaerfe dahinter ---------- */
:root { --glass: rgba(255, 255, 255, 0.56); --glass-strong: rgba(255, 255, 255, 0.74); --glass-line: rgba(255, 255, 255, 0.8); --glass-blur: blur(18px) saturate(1.5); --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(42, 20, 64, 0.05), 0 24px 60px rgba(107, 82, 150, 0.16); }
.site-header, .app-header { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 12px 0 0; pointer-events: none; }
.app-header { position: sticky; top: 0; z-index: 50; margin-bottom: 20px; }
.site-header .wrap, .app-header .wrap { pointer-events: auto; padding: 0 12px 0 22px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, 0.85); outline: 1px solid rgba(215, 183, 119, 0.55); outline-offset: -1px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(253, 249, 244, 0.5)); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 14px 36px rgba(42, 20, 64, 0.14); }
.site-header .wrap { min-height: 70px; }
.site-header.scrolled .wrap { min-height: 58px; }
.app-header .wrap { min-height: 62px; padding-right: 22px; }
.logo { width: 132px; }
.site-header.scrolled .logo { width: 112px; }
.nav { gap: 20px; }
.nav a { white-space: nowrap; }
.nav a, .nav-toggle, .app-header a { color: var(--lilac-dark); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); }
.nav a.nav-login { border-color: var(--gold-dark); color: var(--gold-text); background: rgba(255, 255, 255, 0.5); }
.nav a.nav-login:hover { background: var(--gold); color: var(--ink); }
.site-header :focus-visible, .site-footer :focus-visible, .app-header :focus-visible { outline-color: var(--lilac-dark); }
@media (max-width: 1100px) and (min-width: 861px) { .nav { gap: 14px; } .nav a { font-size: 0.98rem; } }
@media (max-width: 860px) {
  .site-header .wrap { min-height: 60px; padding-right: 8px; }
  .logo { width: 112px; }
  .nav { top: calc(100% + 8px); left: 16px; right: 16px; border-radius: 24px; border: 1px solid rgba(215, 183, 119, 0.6); background: rgba(253, 249, 244, 0.98); box-shadow: inset 0 1px 0 #fff, 0 20px 50px rgba(42, 20, 64, 0.22); pointer-events: auto; }
  .nav a { border-bottom-color: rgba(42, 20, 64, 0.1); }
  .nav a.nav-login { border-bottom: 1.5px solid var(--gold-dark); }
  .nav.nav-solo { border: 0; background: none; box-shadow: none; }
}
.hero { padding-top: 150px; }

/* Farbfelder hinter den Abschnitten, damit das Glas etwas zu brechen hat */
.mirror-sec, .programm-sec, .expect, .offers-sec, #ablauf { position: relative; }
.mirror-sec, .quiz-section { background: radial-gradient(ellipse 46% 60% at 12% 30%, rgba(217, 194, 242, 0.55), transparent 70%), radial-gradient(ellipse 40% 55% at 90% 70%, rgba(243, 217, 164, 0.5), transparent 70%); }
.programm-sec { background: radial-gradient(ellipse 44% 34% at 88% 12%, rgba(241, 198, 221, 0.5), transparent 70%), radial-gradient(ellipse 50% 36% at 8% 52%, rgba(243, 217, 164, 0.5), transparent 70%), radial-gradient(ellipse 46% 30% at 86% 88%, rgba(217, 194, 242, 0.55), transparent 70%); }
.expect, .offers-sec { background: radial-gradient(ellipse 44% 70% at 10% 40%, rgba(243, 217, 164, 0.45), transparent 70%), radial-gradient(ellipse 44% 70% at 92% 60%, rgba(217, 194, 242, 0.5), transparent 70%); }

.card, .expect-grid li, .path-week, .sticky-cta, .week, .day { background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); }
.card { background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42) 45%, rgba(255, 255, 255, 0.6)); box-shadow: inset 0 1px 0 #fff, inset 1px 0 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(215, 183, 119, 0.3), 0 1px 2px rgba(42, 20, 64, 0.05), 0 26px 64px rgba(107, 82, 150, 0.18); }
/* Echte Unschaerfe nur dort, wo etwas hinter dem Glas vorbeizieht oder ein Foto liegt: jede weitere Flaeche kostet beim
   Scrollen Rechenzeit. Die uebrigen Karten liegen auf weichen Farbfeldern und wirken ohne Unschaerfe gleich. */
.sticky-cta, .approach .card, .hero-copy { -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.card { outline: 1px solid rgba(215, 183, 119, 0.45); outline-offset: -1px; }
.expect-grid li { border-top: 2px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 16px 40px rgba(107, 82, 150, 0.1); }
.path-week, .week, .day { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 22px rgba(107, 82, 150, 0.1); }
.dash .card, .auth-card { background: var(--glass-strong); }
.approach .card { background: rgba(255, 255, 255, 0.86); }
.quiz, .goal, .offer.featured, .dash .today { background: linear-gradient(rgba(255, 255, 255, 0.72), rgba(251, 245, 232, 0.62)); outline-color: rgba(168, 133, 61, 0.7); }
.dash .reco { background-image: none; }
.day.is-current, .week.is-current { background: rgba(255, 255, 255, 0.9); border-color: var(--gold-dark); box-shadow: inset 0 0 0 1px var(--gold-dark), 0 8px 22px rgba(107, 82, 150, 0.14); }
.day.is-locked, .week.is-ahead { background: rgba(255, 255, 255, 0.3); }
.week.is-focus { background: rgba(243, 231, 204, 0.8); }
.btn-ghost { background: rgba(255, 255, 255, 0.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.booking { background: rgba(252, 247, 251, 0.82); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); border: 1px solid var(--glass-line); outline: 1px solid rgba(215, 183, 119, 0.5); outline-offset: -1px; }
.contact-item { background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.7); }
.hm-glass { background: linear-gradient(165deg, rgba(255, 253, 248, 0.82), rgba(244, 236, 248, 0.6) 45%, rgba(239, 228, 208, 0.72)); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
@media (prefers-reduced-transparency: reduce) {
  .card, .sticky-cta, .booking, .expect-grid li, .path-week, .week, .day { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header .wrap, .app-header .wrap, .nav { background: #fdf9f4; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Aus Lovable uebernommen (24.11.): helle Fusszeile, Unterseiten, Pop-up */
.site-footer { background: linear-gradient(180deg, #fdf9f4, #f6ecf3); color: var(--ink-soft); box-shadow: 0 -1px 0 rgba(215, 183, 119, 0.7); }
.site-footer a { color: var(--lilac-dark); }
.site-footer a:hover { color: var(--gold-dark); }
.finale { background: radial-gradient(ellipse 60% 70% at 50% 45%, rgba(217, 194, 242, 0.45), rgba(253, 249, 244, 0) 70%); }
.finale p { color: var(--gold-dark); }
.page-title { padding: 48px 0 8px; text-align: center; }
.page-title h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--lilac-dark); margin: 0; }
.popup { width: min(520px, calc(100% - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 1px solid var(--glass-line); outline: 1px solid rgba(215, 183, 119, 0.6); outline-offset: -1px; border-radius: var(--radius); background: rgba(255, 253, 248, 0.86); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); color: var(--ink); box-shadow: 0 30px 80px rgba(42, 20, 64, 0.35); overflow: auto; text-align: center; }
.popup::backdrop { background: rgba(42, 20, 64, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.popup > div { padding: 40px 30px 26px; }
.popup h2 { color: var(--lilac-dark); margin-bottom: 0.4em; }
.popup-close { position: absolute; top: 8px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 253, 248, 0.9); font-size: 1.8rem; line-height: 1; color: var(--lilac-dark); cursor: pointer; }
@media (prefers-reduced-motion: no-preference) { .popup[open] { animation: card-in 0.5s var(--ease); } }

/* Mitgliederbereich: Dein Profil (Human Design und Numerologie) */
.pf-grid { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(18px, 4vw, 36px); align-items: start; }
@media (max-width: 640px) { .pf-grid { grid-template-columns: 1fr; } .pf-graph { max-width: 230px; margin-inline: auto; } }
.bodygraph { display: block; width: 100%; height: auto; }
.bg-channel { stroke: #d9cfe3; stroke-width: 4; stroke-linecap: round; }
.bg-channel.on { stroke: var(--gold-dark); }
.bg-center { fill: rgba(255, 255, 255, 0.85); stroke: var(--control); stroke-width: 1.5; stroke-linejoin: round; }
.bg-center.on { fill: var(--gold); stroke: var(--gold-dark); }
.dash .pf-facts { grid-template-columns: 1fr; gap: 2px; margin: 16px 0; }
.pf-facts dt { margin-top: 12px; font-size: 0.95rem; font-weight: 700; color: var(--gold-text); }
.pf-facts dd strong { display: block; font-weight: 500; }
.pf-facts dd span { color: var(--ink-soft); }
.pf-warn, .week-design { padding: 12px 16px; border-left: 3px solid var(--lilac); background: rgba(241, 236, 248, 0.8); border-radius: 0 12px 12px 0; }
.pf-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 10px 0; }
.pf-table th, .pf-table td { padding: 6px 8px; text-align: left; border-bottom: 1px solid var(--line); font-size: 1rem; }
.pf-table thead th { font-size: 0.9rem; color: var(--ink-soft); }
.pf-num-label { margin-top: 26px; padding-top: 22px; border-top: 1.5px solid var(--line); }
.pf-nums { list-style: none; margin: 12px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.pf-nums li { position: relative; padding: 14px 14px 14px 68px; min-height: 76px; border: 1px solid var(--glass-line); border-radius: 16px; background: rgba(255, 255, 255, 0.6); }
.pf-num { position: absolute; left: 12px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--gold-soft) 60%, var(--gold)); font-family: var(--caps); font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.pf-nums strong, .pf-nums small { display: block; }
.pf-nums small { color: var(--ink-soft); font-size: 0.88rem; }
.pf-nums p { margin: 6px 0 0; font-size: 1rem; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 480px) { .pf-row { grid-template-columns: 1fr; } }
.field input[type="date"], .field input[type="time"], .field select { width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--control); border-radius: 10px; }
.field input:disabled { opacity: 0.5; }
#profil { scroll-margin-top: 8px; }

/* ---------- Startseite: ruhiger Lauf und mehr Glas (24.11.) ---------- */
/* Hero-Text auf einer Glasflaeche: lesbar auf jedem Bildschirm, auch ueber dem Foto */
.hero-copy { padding: clamp(20px, 3vw, 34px); border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.85); background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.3)); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(215, 183, 119, 0.35), 0 26px 64px rgba(107, 82, 150, 0.16); }
.hero::after { background: linear-gradient(100deg, rgba(252, 247, 251, 0.5), rgba(252, 247, 251, 0.2) 55%, rgba(252, 247, 251, 0)); }
.hero { min-height: min(100svh, 900px); padding: 130px 0 90px; }
@media (max-width: 900px) {
  .hero { min-height: 0; padding: 104px 0 56px; }
  .hero::after { background: rgba(252, 247, 251, 0.35); }
  .hero-copy h1 { font-size: clamp(2rem, 9.5vw, 3rem); }
  .hero-copy .btn { width: 100%; font-size: 1.2rem; padding: 14px 18px; }
}
@media (max-width: 360px) { .hero-copy { padding: 16px; } .hero-copy .eyebrow { font-size: 1.05rem; } }
/* Farbfelder kraeftiger, damit das Glas sichtbar bricht */
.section { position: relative; }
.mirror-sec, .quiz-section { background: radial-gradient(ellipse 46% 60% at 10% 30%, rgba(203, 174, 240, 0.6), transparent 70%), radial-gradient(ellipse 40% 55% at 92% 70%, rgba(243, 210, 140, 0.55), transparent 70%); }
.programm-sec { background: radial-gradient(ellipse 44% 34% at 90% 10%, rgba(238, 180, 212, 0.55), transparent 70%), radial-gradient(ellipse 50% 36% at 6% 50%, rgba(243, 210, 140, 0.55), transparent 70%), radial-gradient(ellipse 46% 30% at 88% 90%, rgba(203, 174, 240, 0.6), transparent 70%); }
#ablauf { background: radial-gradient(ellipse 50% 70% at 50% 40%, rgba(203, 174, 240, 0.35), transparent 70%); }
.steps li::before { background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6)); box-shadow: inset 0 1px 0 #fff, 0 10px 24px rgba(107, 82, 150, 0.18); }
.band { background: linear-gradient(180deg, rgba(252, 247, 251, 0), rgba(247, 236, 214, 0.75) 45%, rgba(247, 236, 214, 0.75) 55%, rgba(252, 247, 251, 0)); }
/* Mitgliederbereich: Hintergrund einmal weichzeichnen statt hinter jeder Karte neu */
.app-body::before { inset: -40px; filter: blur(22px) saturate(1.2); }
.dash .card, .auth-card { background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62)); }
/* Kleine Bildschirme: grosse Daueranimationen aus, sie kosten dort am meisten */
@media (max-width: 760px) {
  .aurora i, .hm-glass::after, .bokeh span { animation: none; }
  .feathers { display: none; }
  .btn-ghost, .contact-item { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* Nichts darf seitlich ueberstehen oder abgeschnitten sein */
h1, h2, h3, h4 { overflow-wrap: break-word; }
@media (max-width: 400px) {
  .card { padding: 20px 16px; }
  .btn { padding-inline: 20px; }
  .path-week { padding-left: 54px; }
}
@media (min-width: 1500px) { .wrap { width: min(1240px, 100% - 64px); } }
/* Hero erscheint zuegig: nichts bleibt laenger als eine halbe Sekunde verborgen */
@media (prefers-reduced-motion: no-preference) {
  .hero-seq > *, .hero-copy h1 span { animation-duration: 0.7s; }
  .hero-seq > :nth-child(n) { animation-delay: 0.1s; }
  .hero-copy h1 span:nth-child(n) { animation-delay: 0.15s; }
  .hero-seq > :nth-child(n + 3) { animation-delay: 0.3s; }
  .hero-mirror { animation-duration: 0.8s; animation-delay: 0.2s; }
}

/* ---------- Spiegel mit Kamera ---------- */
.hero-mirror p { margin: 0; }
.hm-video { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: cover; border-radius: 999px 999px 16px 16px; transform: scaleX(-1); background: #2a1440; }
.hm-body { z-index: 1; }
.hm-actions { display: grid; justify-items: center; gap: 8px; margin-top: 4px; }
.hm-btn { display: inline-block; min-height: 46px; padding: 11px 22px; border: 0; border-radius: 100px 100px 6px 100px; background: var(--gold); color: var(--ink); font: 500 1.08rem/1.2 var(--sans); text-decoration: none; cursor: pointer; box-shadow: 0 6px 16px rgba(168, 133, 61, 0.35); transition: transform 0.15s ease, background-color 0.15s ease; }
.hm-btn:hover { background: #dfc38a; transform: translateY(-2px); }
.hm-btn:active { transform: scale(0.97); }
.hm-quiet, .hm-link { min-height: 44px; padding: 10px 8px; border: 0; background: none; font: inherit; font-size: 1rem; color: var(--lilac-dark); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
[data-state="ask"] .hm-meta, [data-state="wait"] .hm-meta, [data-state="error"] .hm-meta { font-weight: 400; color: var(--ink-soft); }
[data-state="live"] .hm-body { align-self: end; padding: 0 22px 26px; }
[data-state="live"] .hm-star, [data-state="live"] .hm-title, [data-state="live"] .hm-meta { display: none; }
[data-state="live"] .hm-quote { padding: 8px 14px; border-radius: 100px; background: rgba(42, 20, 64, 0.55); color: #fff; font-size: 1.05rem; }
[data-state="live"] .hm-quiet { color: #fff; text-shadow: 0 1px 6px rgba(42, 20, 64, 0.9); }
[data-state="live"] .hm-glass { opacity: 0; }

/* ---------- Buch im Programm-Abschnitt ---------- */
.book { perspective: 1800px; display: flex; justify-content: center; align-self: center; }
.hb { position: relative; width: min(340px, 100%); transform-style: preserve-3d; transform: rotateY(-8deg) rotateX(2deg); }
.hb-page { min-height: 480px; padding: 28px 26px 22px; border-radius: 4px 14px 14px 4px; background: linear-gradient(90deg, #efe6d6, #fffdf8 9%, #fffdf8); box-shadow: 1px 1px 0 #efe3c8, 3px 3px 0 #e6d6b3, 5px 5px 0 #efe3c8, 7px 7px 0 #e0cfa8, 24px 34px 60px rgba(42, 20, 64, 0.28); }
.hb-page h3 { font-size: 1.4rem; }
.hb-page p { font-size: 1.05rem; }
.hb-cover { position: absolute; inset: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; transform-origin: left center; transform-style: preserve-3d; transform: translateZ(1px) rotateY(-128deg); transition: transform 1.5s cubic-bezier(0.3, 0.1, 0.2, 1); }
.hb-front, .hb-inside { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 16px; padding: 30px; text-align: center; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.hb-front { border-radius: 4px 14px 14px 4px; background: radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255, 255, 255, 0.22), transparent 70%), linear-gradient(150deg, #6b5296, #3b2058 70%, #2a1440); box-shadow: inset 0 0 0 2px var(--gold), inset 0 0 0 10px rgba(42, 20, 64, 0.35), inset 0 0 0 11px rgba(215, 183, 119, 0.6); color: #fbf3e6; }
.hb-star { width: 26px; height: 26px; background: var(--star) center / contain no-repeat; }
.hb-title { font-family: var(--caps); font-size: 2rem; line-height: 1.15; color: #f3e0b0; }
.hb-sub { font-size: 1.05rem; }
.hb-mark { margin-top: 22px; font-family: var(--caps); letter-spacing: 0.3em; color: var(--gold); }
.hb-inside { transform: rotateY(180deg); border-radius: 14px 4px 4px 14px; background: linear-gradient(270deg, #e9dfcd, #fbf6ec 10%, #f7efe0); box-shadow: -18px 30px 50px rgba(42, 20, 64, 0.18); }
.hb-inside span { font-family: var(--caps); font-size: 1.7rem; line-height: 1.25; color: var(--lilac-dark); }
.hb-inside small { font-size: 0.98rem; color: var(--gold-text); }
.js .hb:not(.open) .hb-cover { transform: translateZ(1px) rotateY(0deg); }
.hb-cover:focus-visible { outline: 3px solid var(--lilac-dark); outline-offset: 4px; }
@media (max-width: 1099px) {
  .book { perspective: 1400px; }
  .hb { transform: none; }
  /* Auf schmalen Bildschirmen ist links kein Platz fuer den Deckel: Er klappt auf und blendet dann aus */
  .hb-cover { opacity: 0; pointer-events: none; transform: translateZ(1px) rotateY(-150deg); transition: transform 1.6s cubic-bezier(0.3, 0.1, 0.2, 1), opacity 0.5s ease 1.1s; }
  .js .hb:not(.open) .hb-cover { opacity: 1; pointer-events: auto; transition: transform 1.6s cubic-bezier(0.3, 0.1, 0.2, 1), opacity 0.2s ease; }
}
/* Breite Bildschirme: links neben dem Buch bleibt Platz fuer den aufgeklappten Deckel */
@media (min-width: 1100px) { .why { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } .book { justify-content: flex-end; padding-left: 250px; } }
.price-line { margin: 18px 0 0; text-align: center; font-size: 1.15rem; }
.price-line .price { font-family: var(--caps); font-size: 1.5rem; color: var(--gold-text); }
.nudge a:not(.btn) { color: var(--gold); }
/* Kamera an: Text und Knoepfe kompakt am unteren Rand, damit das Gesicht frei bleibt */
[data-state="live"] .hm-body { gap: 8px; padding: 0 18px 16px; }
[data-state="live"] .hm-quote { font-size: 0.95rem; padding: 5px 12px; }
[data-state="live"] .hm-actions { gap: 0; }
[data-state="live"] .hm-btn { min-height: 42px; padding: 9px 18px; font-size: 1rem; }
.nudge-note { font-size: 0.92rem; opacity: 0.85; }

/* ---------- Spiegel als Geheimnis: beschlagenes Glas, Lichtschein, Enthuellung ---------- */
.hm-frame { isolation: isolate; }
.hm-frame::before { content: ""; position: absolute; inset: -22px; z-index: -1; border-radius: 999px 999px 40px 40px; background: radial-gradient(ellipse at 50% 45%, rgba(243, 214, 150, 0.95), rgba(203, 174, 240, 0.55) 55%, transparent 72%); opacity: 0; transition: opacity 0.5s ease; }
[data-state="idle"] .hm-frame { cursor: pointer; }
[data-state="idle"] .hm-frame::before, [data-state="ask"] .hm-frame::before { opacity: 0.75; }
[data-state="idle"] .hm-glass { background: radial-gradient(ellipse 70% 45% at 50% 38%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%), radial-gradient(ellipse 60% 40% at 30% 75%, rgba(217, 194, 242, 0.75), rgba(217, 194, 242, 0) 70%), radial-gradient(ellipse 60% 40% at 75% 70%, rgba(243, 217, 164, 0.7), rgba(243, 217, 164, 0) 70%), linear-gradient(165deg, rgba(255, 253, 248, 0.88), rgba(239, 228, 208, 0.8)); }
[data-state="idle"] .hm-quote { font-family: var(--caps); font-size: 1.45rem; line-height: 1.25; color: var(--ink); }
[data-state="idle"] .hm-meta { order: 5; font-weight: 400; color: var(--ink-soft); }
[data-state="idle"] .hm-btn { position: relative; padding: 13px 28px; font-size: 1.2rem; }
[data-state="idle"] .hm-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--gold-dark); opacity: 0; pointer-events: none; }
.hm-video { opacity: 1; }
.hm-frame::after { content: ""; position: absolute; inset: 14px; z-index: 2; border-radius: 999px 999px 16px 16px; background: radial-gradient(circle at 50% 40%, #fff, rgba(255, 244, 214, 0.9) 45%, rgba(255, 255, 255, 0) 75%); opacity: 0; pointer-events: none; }
.hm-body { z-index: 3; }
@media (prefers-reduced-motion: no-preference) {
  [data-state="idle"] .hm-frame { transition: transform 0.6s ease-out, scale 0.4s var(--ease); }
  [data-state="idle"] .hm-frame:hover { scale: 1.025; }
  [data-state="idle"] .hm-frame::before { animation: mirror-halo 3.2s ease-in-out infinite alternate; }
  [data-state="idle"] .hm-glass::after { animation: mirror-sheen 4.5s ease-in-out 0.6s infinite; }
  [data-state="idle"] .hm-btn::after { animation: mirror-ring 2.4s ease-out infinite; }
  [data-state="idle"] .hm-star { animation: twinkle-star 2.8s ease-in-out infinite; }
  .revealed .hm-video { animation: mirror-reveal 1.6s var(--ease) backwards; }
  .revealed .hm-frame::after { animation: mirror-flash 1.2s ease-out; }
  .revealed .hm-body { animation: rise 0.9s var(--ease) 0.9s backwards; }
}
@keyframes mirror-halo { from { opacity: 0.45; transform: scale(0.97); } to { opacity: 0.95; transform: scale(1.04); } }
@keyframes mirror-ring { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35, 1.7); } }
@keyframes twinkle-star { 0%, 100% { opacity: 0.6; transform: scale(0.85) rotate(0deg); } 50% { opacity: 1; transform: scale(1.25) rotate(45deg); } }
@keyframes mirror-reveal { from { opacity: 0; transform: scaleX(-1) scale(1.25); } to { opacity: 1; transform: scaleX(-1) scale(1); } }
@keyframes mirror-flash { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
/* Der Schein darf auch auf dem Handy laufen: klein und nur Deckkraft und Groesse */
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) { [data-state="idle"] .hm-glass::after { animation: mirror-sheen 4.5s ease-in-out 0.6s infinite; } }

/* ---------- Spiegel: goldener Rahmen (Wunsch Sina, 27.11.2026), groesser ---------- */
.hero-mirror { --rim: 24px; width: min(410px, 100%); }
.hm-frame { padding: var(--rim); border-radius: 999px 999px 30px 30px;
  background: linear-gradient(150deg, #f6e3b2, #c79a4b 22%, #f3dfa8 40%, #b98f45 58%, #ecd296 76%, #a8853d);
  box-shadow: inset 0 0 0 1.5px #8a6a2c, inset 0 2px 3px 1px rgba(255, 244, 214, 0.9), inset 0 -3px 5px 1px rgba(122, 90, 34, 0.55), inset 0 0 0 7px rgba(255, 240, 200, 0.22), 0 3px 6px rgba(42, 20, 64, 0.22), 0 40px 80px rgba(42, 20, 64, 0.34); }
.hm-glass, .hm-video, .hm-frame::after { inset: var(--rim); border-radius: 999px 999px 10px 10px; }
.hm-video { width: calc(100% - 2 * var(--rim)); height: calc(100% - 2 * var(--rim)); }
/* Innenkante: Blattgold, dahinter der Schatten des Rahmens auf dem Glas */
.hm-glass { box-shadow: 0 0 0 2px #f0d594, 0 0 0 4px #8a6427, 0 0 0 5px rgba(255, 236, 190, 0.6), inset 0 14px 34px rgba(42, 20, 64, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
/* Altes Spiegelglas: kuehles Silber, Lichtreflexe, an den Raendern leicht blind */
.hm-glass, [data-state="idle"] .hm-glass { background:
  linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.55) 38%, rgba(255, 255, 255, 0) 46%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 0.3) 63%, rgba(255, 255, 255, 0) 68%),
  radial-gradient(ellipse 34% 20% at 8% 96%, rgba(120, 100, 70, 0.28), transparent 70%), radial-gradient(ellipse 30% 18% at 94% 90%, rgba(120, 100, 70, 0.22), transparent 70%), radial-gradient(ellipse 26% 12% at 50% 2%, rgba(120, 100, 70, 0.16), transparent 70%),
  radial-gradient(ellipse 75% 55% at 50% 40%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 72%),
  linear-gradient(165deg, #f4f1f6, #dcd6e6 45%, #cfc6d6 70%, #e6dccb); }
.hm-video { box-shadow: 0 0 0 2px #f0d594, 0 0 0 4px #8a6427; }
.hm-body { padding: 20% 34px 10%; }
[data-state="idle"] .hm-quote { font-size: 1.6rem; }
[data-state="answer"] .hm-quote { font-family: var(--caps); font-size: 1.55rem; line-height: 1.25; color: var(--ink); }
[data-state="answer"] .hm-meta { font-weight: 400; color: var(--ink-soft); }
[data-state="answer"] .hm-frame::before { opacity: 0.6; }
.hm-frame::before { inset: -28px; }
@media (max-width: 900px) {
  /* Auf dem Handy fast bildschirmbreit, damit man sich wirklich sieht */
  .hero-mirror { --rim: 20px; width: min(400px, 92vw); margin-top: 26px; }
}
@media (prefers-reduced-motion: no-preference) { [data-state="answer"] .hm-body { animation: rise 0.8s var(--ease) backwards; } }

@media (max-width: 380px) { [data-state="idle"] .hm-quote { font-size: 1.35rem; } .hm-title { font-size: 1.45rem; } }

/* ---------- Aenderungswuensche Sina (27.11.2026) ---------- */
/* Hero: Text der linken Seite mittig */
.hero-copy { text-align: center; }
.hero-copy .eyebrow { margin-inline: auto; }
.hero-copy h1 span { margin-inline: auto; }
.hero-copy .btn-row { justify-content: center; }
/* Bild und Textfeld nebeneinander statt ueberlappend */
@media (min-width: 801px) { .overlap { gap: clamp(24px, 4vw, 48px); } .overlap .card { margin-left: 0; } }
/* Zeigerhand auf dem ganzen Antwortfeld */
.option input, .option span { cursor: pointer; }
/* Fusszeile: alles auf einer Hoehe */
.site-footer .wrap { align-items: center; }
.site-footer .wrap span { display: inline-block; padding: 10px 4px; }
/* Angebote mit Unterpunkten */
.nav-group { position: relative; display: flex; align-items: center; }
.nav-sub { position: absolute; top: 100%; left: -14px; z-index: 5; display: grid; min-width: 190px; padding: 8px 14px; border-radius: 16px; border: 1px solid var(--glass-line); background: rgba(255, 253, 248, 0.97); box-shadow: 0 18px 40px rgba(42, 20, 64, 0.18); visibility: hidden; opacity: 0; transition: opacity 0.2s ease, visibility 0.2s; }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { visibility: visible; opacity: 1; }
@media (max-width: 860px) {
  .nav-group { display: block; width: 100%; }
  .nav-sub { position: static; display: block; min-width: 0; padding: 0 0 0 18px; border: 0; border-radius: 0; background: none; box-shadow: none; visibility: visible; opacity: 1; }
  .nav-sub a { display: block; font-size: 0.98rem; }
}
/* Beliebtestes Paket */
.offer .badge { align-self: center; margin: 0 0 10px; padding: 4px 14px; border-radius: 100px; background: var(--gold); color: var(--ink); font-size: 0.92rem; font-weight: 700; letter-spacing: 0.03em; }
/* Angebote: zwei Wege */
.ways { align-items: stretch; }
.way { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.way h2 { margin-bottom: 0.3em; }
.way .btn { align-self: flex-start; margin-top: auto; }
.way:hover { border-color: var(--gold-dark); }
/* Pop-up und Test: Eintragen */
.popup .field { margin-bottom: 12px; }
.popup .check { margin-bottom: 14px; font-size: 0.98rem; }
.popup .form-msg { margin-bottom: 12px; }
.quiz .micro { margin-top: 14px; }
.home .programm-sec .goal { margin-top: 0; text-align: center; }
.programm-sec .goal h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
/* Unterseiten Mein Ansatz und Ueber mich */
.page-title .kicker { max-width: 40em; }
.page-title .btn-row { margin-top: 22px; }
.page-lead { font-family: var(--caps); font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--ink-soft); margin: 0.5em auto 0; max-width: 34em; }
.grid-2.stretch { align-items: stretch; }
.tools { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.tool-sub { font-family: var(--caps); color: var(--gold-text); margin-bottom: 0.8em; }
@media (max-width: 900px) { .tools { grid-template-columns: 1fr; } }
.page-cta { margin: 34px 0; }
.card.note { width: min(760px, 100%); margin-inline: auto; }
.band .band-lead { font-family: inherit; font-size: 1.15rem; letter-spacing: 0; color: var(--ink-soft); }
.tools p + p { margin-top: 0.7em; }
.band .btn-row { margin-top: 20px; }
.sub-page .about-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.sub-page .narrow > p { font-size: 1.1rem; }

/* ---------- 01.12.: weitere Aenderungswuensche von Sina ---------- */
.ob-nav.solo { justify-content: center; }
.ob-nav.solo .btn-ghost { display: none; }
/* "Beliebtestes Paket" steht ueber dem Kasten */
.offer.featured { position: relative; }
.offer .badge { position: absolute; bottom: 100%; left: 50%; translate: -50% 0; margin: 0 0 12px; white-space: nowrap; }
@media (min-width: 901px) { .offers { margin-top: 44px; } }
@media (max-width: 900px) { .offer.featured { margin-top: 44px; } }
.offer .price abbr { text-decoration: none; font-size: 0.6em; vertical-align: super; margin-left: 2px; }
.micro.tax-note { text-align: right; margin-top: 36px; }
.centered-heads h3, .centered-heads .tool-sub { text-align: center; }
.narrow.center > p { text-wrap: balance; }
