/* ==========================================================================
   Selbstbestimmt & Stark — Subseiten (/kuren/, /dana/)
   Ergaenzt landing.css (Header/Footer/Fonts werden dort wiederverwendet).
   Palette: Creme #F6F0E7 · Wein #5A1E28 · Rot #A32438 · Terracotta #C4735E ·
            Gruen #5E7A63 · Text #3A2C2A / #6E5F54. Kein Inline-Style (CSP).
   ========================================================================== */

.sub-main { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 8px 32px 40px; }

/* --- Hero --------------------------------------------------------------- */
.sub-hero { padding: 40px 0 24px; animation: riseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.sub-hero .kicker {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700; color: #C4735E; margin-bottom: 14px;
}
.sub-hero h1 {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(34px, 6vw, 54px);
  line-height: 1.05; color: #3A2C2A; margin-bottom: 16px; letter-spacing: -0.01em;
}
.sub-hero h1 em { font-style: italic; color: #5E7A63; }
.sub-hero .lead { font-size: 17px; line-height: 1.6; color: #6E5F54; max-width: 640px; }
.back-home {
  display: inline-block; margin-top: 22px; font-size: 13px; font-weight: 600; color: #5A1E28;
  transition: transform 0.3s ease;
}
.back-home:hover { transform: translateX(-3px); }

/* --- Abschnitte --------------------------------------------------------- */
.sub-section { padding: 30px 0; border-top: 1px solid #E7DBCC; }
.sub-section > .eyebrow {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
  color: #5E7A63; margin-bottom: 8px;
}
.sub-section > h2 {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(24px, 4vw, 32px);
  color: #3A2C2A; margin-bottom: 10px;
}
.sub-section > .sub-intro { font-size: 15.5px; line-height: 1.6; color: #6E5F54; max-width: 680px; margin-bottom: 22px; }

/* --- Karten (Kuren, Rezepte) -------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.info-card {
  background: #FBF7F0; border: 1px solid #ECE0D1; border-radius: 20px; padding: 26px 24px;
  display: flex; flex-direction: column; box-shadow: 0 18px 44px -30px rgba(90, 30, 40, 0.45);
}
.info-card .badge {
  align-self: flex-start; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: #A32438; background: #F3E3DD; border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
}
.info-card h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px; color: #3A2C2A; margin-bottom: 8px; }
.info-card p { font-size: 14.5px; line-height: 1.6; color: #6E5F54; flex: 1; margin-bottom: 18px; }
.info-card .placeholder-note { font-size: 12px; color: #B69C86; font-style: italic; margin: 0 0 14px; }
.info-card .btn + .btn { margin-top: 10px; }

/* --- Varianten-Selektor (z. B. Stoffwechsel-Geschmack) ------------------ */
.variant-picker { margin: 0 0 14px; }
.variant-label {
  display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 700; color: #A32438; margin-bottom: 6px;
}
.variant-select {
  width: 100%; font-family: inherit; font-size: 15px; color: #3A2C2A;
  background: #FBF6EF; border: 1.5px solid #E3D3C4; border-radius: 12px;
  padding: 11px 14px; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.variant-select:focus { outline: none; border-color: #A32438; }

/* --- Rezept-Download-Popup --------------------------------------------- */
.doc-overlay {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(45, 32, 34, 0.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.doc-overlay[hidden] { display: none; }
.doc-modal {
  position: relative; width: 100%; max-width: 440px; background: #FBF7F0; border-radius: 20px;
  padding: 30px 28px; box-shadow: 0 40px 90px -30px rgba(90, 30, 40, 0.7); text-align: left;
  animation: docIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes docIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.doc-modal .badge { align-self: flex-start; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: #A32438; background: #F3E3DD; border-radius: 999px; padding: 4px 12px; display: inline-block; margin-bottom: 12px; }
.doc-modal h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 24px; color: #3A2C2A; margin-bottom: 8px; }
.doc-note { font-size: 14.5px; line-height: 1.55; color: #6E5F54; margin-bottom: 22px; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.doc-close {
  position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: none; cursor: pointer;
  background: transparent; font-size: 26px; line-height: 1; color: #8a7f6d; border-radius: 50%;
}
.doc-close:hover { background: #EFE6D6; color: #5A1E28; }
@media (prefers-reduced-motion: reduce) { .doc-modal { animation: none; } }

/* --- „Bald mehr"-Teaser (geblurrt) ------------------------------------- */
.info-card.soon { position: relative; overflow: hidden; justify-content: flex-start; }
.soon-ghost { filter: blur(5px); opacity: 0.45; pointer-events: none; user-select: none; display: flex; flex-direction: column; flex: 1; }
.soon-ghost .btn { align-self: flex-start; }
.soon-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 20px; font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px; color: #5A1E28;
  background: rgba(251, 247, 240, 0.35);
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 14px; font-weight: 700; padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-terracotta { background: #C4735E; color: #FBF7F0; box-shadow: 0 10px 26px -12px rgba(196, 115, 94, 0.8); }
.btn-terracotta:hover { background: #b3634f; color: #FBF7F0; }
.btn-wine { background: #5A1E28; color: #F6F0E7; }
.btn-wine:hover { background: #481019; color: #F6F0E7; }
.btn-ghost { background: transparent; border-color: #D9C7B6; color: #5A1E28; }
.btn-ghost:hover { border-color: #5A1E28; color: #5A1E28; }
.btn-arrow { transition: transform 0.3s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* --- Vorteile-Liste ----------------------------------------------------- */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.benefits li {
  position: relative; padding: 4px 4px 4px 38px; font-size: 15px; line-height: 1.55; color: #4a3b36;
}
.benefits li strong { display: block; font-family: 'Fraunces', serif; font-weight: 600; font-size: 17px; color: #3A2C2A; margin-bottom: 2px; }
.benefits li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #E7EDE6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235E7A63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* --- Kurgruppen-Callout ------------------------------------------------- */
.callout {
  margin-top: 8px; background: linear-gradient(135deg, #5A1E28 0%, #7a2a33 100%); color: #F6F0E7;
  border-radius: 22px; padding: 34px 32px; box-shadow: 0 26px 60px -30px rgba(90, 30, 40, 0.8);
}
.callout .eyebrow { color: #E7B7A3; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.callout h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(22px, 4vw, 30px); margin-bottom: 12px; color: #FBF7F0; }
.callout p { font-size: 15.5px; line-height: 1.65; color: #F0DED2; max-width: 640px; margin-bottom: 20px; }
.callout .btn-terracotta { box-shadow: none; }

/* --- Calendly-Streifen --------------------------------------------------- */
.pre-talk { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between; }
.pre-talk .txt h2 { margin-bottom: 6px; }
.pre-talk .txt p { color: #6E5F54; font-size: 15px; max-width: 520px; }

/* ==========================================================================
   /dana/ — Fotoalbum: Text & Bilder gemischt, über die Seite verstreut.
   Polaroid-Optik (weißer Rand + Bildunterschrift), leicht gedreht, wechselnde
   Seiten. Fotos liegen unter /assets/img/dana/<slug>.png. Kein Inline-Style (CSP).
   ========================================================================== */
.album { display: flex; flex-direction: column; gap: clamp(44px, 8vw, 96px); margin-top: 30px; }

.spread { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(22px, 4vw, 52px); }
.spread > .prose, .spread > .photo, .spread > .photo-pair { flex: 1 1 300px; min-width: 0; }
.spread--rev { flex-direction: row-reverse; }
.spread--full { justify-content: center; }
/* Leichter Scrapbook-Versatz je Spread (nach innen begrenzt → kein Overflow). */
.spread:nth-child(odd)  { margin-left: clamp(0px, 2vw, 26px); }
.spread:nth-child(even) { margin-right: clamp(0px, 2vw, 26px); }

/* Textblock */
.prose .kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: #C4735E; margin-bottom: 8px; }
.prose h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(24px, 4.2vw, 36px); line-height: 1.1; color: #3A2C2A; margin-bottom: 14px; }
.prose p { font-size: 16px; line-height: 1.7; color: #4a3b36; margin-bottom: 14px; }
.prose .pull { font-family: 'Fraunces', serif; font-style: italic; font-size: 20px; color: #5A1E28; margin-top: 4px; }

/* Polaroid-Foto */
.photo {
  background: #FBFAF6; padding: 12px 12px 0; border-radius: 6px; align-self: center;
  box-shadow: 0 22px 52px -26px rgba(90, 30, 40, 0.6); border: 1px solid #EFE6D8;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, opacity 0.6s ease;
  max-width: 480px;
}
.photo img { width: 100%; height: auto; display: block; border-radius: 3px; }
.photo-cap { font-family: 'Fraunces', serif; font-style: italic; text-align: center; color: #6E5F54; font-size: 15px; padding: 12px 6px 15px; }
.tilt-l { transform: rotate(-2.4deg); }
.tilt-r { transform: rotate(2deg); }
.photo:hover { transform: rotate(0) scale(1.02); box-shadow: 0 32px 66px -26px rgba(90, 30, 40, 0.68); z-index: 2; }
.photo--small { max-width: 320px; }

/* Großes Bild mit eingelegtem Zitat */
.photo--wide { max-width: 760px; width: 100%; padding: 14px 14px 0; position: relative; }
.photo--wide .photo-quote {
  position: absolute; left: 22px; right: 22px; bottom: 22px; color: #FBF7F0;
  font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(20px, 3.4vw, 30px); line-height: 1.2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5); padding: 40px 16px 8px;
  background: linear-gradient(0deg, rgba(30, 22, 24, 0.55) 0%, rgba(30, 22, 24, 0) 100%);
}
.photo--wide .photo-quote .pk { display: block; font-family: 'Inter', sans-serif; font-style: normal; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: #E7B7A3; margin-bottom: 6px; }

/* Foto-Paar (versetzt/überlappend) */
.photo-pair { position: relative; padding: 8px 0; }
.photo-pair .photo { max-width: 300px; }
.photo-pair .photo:nth-child(1) { margin-right: auto; }
.photo-pair .photo:nth-child(2) { margin-left: auto; margin-top: -34px; position: relative; z-index: 1; }

/* --- Hero-Porträt (/dana/) --------------------------------------------- */
.sub-hero-portrait {
  width: 132px; height: 132px; border-radius: 50%; object-fit: cover;
  border: 4px solid #FBF7F0; box-shadow: 0 18px 44px -18px rgba(90, 30, 40, 0.55);
  margin-bottom: 20px; display: block;
}

/* --- Vertrauens-Siegel /kuren/ (pulsierend) ---------------------------- */
.kur-seal {
  --seal: clamp(100px, 16.5vw, 240px);
  position: fixed; top: clamp(78px, 9vh, 128px); right: clamp(16px, 7vw, 150px); z-index: 50;
  width: var(--seal); height: var(--seal); border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #7a2a33 0%, #5A1E28 72%);
  color: #FBF7F0; border: clamp(2px, 0.4vw, 4px) solid #FBF7F0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 8px; transform: rotate(-8deg);
  box-shadow: 0 18px 44px -16px rgba(90, 30, 40, 0.6);
  animation: sealPulse 2.2s ease-in-out infinite;
}
.kur-seal-top { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(23px, 4.5vw, 58px); line-height: 1; }
.kur-seal-mid { font-size: clamp(11px, 1.6vw, 22px); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-top: 3px; }
.kur-seal-bot { font-size: clamp(9px, 1vw, 14px); font-style: italic; color: #E7B7A3; margin-top: 5px; }
@keyframes sealPulse {
  0%, 100% { transform: rotate(-8deg) scale(1); box-shadow: 0 24px 60px -18px rgba(90, 30, 40, 0.62); }
  50% { transform: rotate(-8deg) scale(1.05); box-shadow: 0 30px 72px -16px rgba(90, 30, 40, 0.8); }
}

/* --- Disclaimer (im Text) + Footer-Hinweis ----------------------------- */
.disclaimer {
  background: #F5EEE2; border: 1px solid #E4D3C4; border-left: 4px solid #C4735E;
  border-radius: 12px; padding: 20px 22px; font-size: 13.5px; line-height: 1.6; color: #6E5F54;
}
.disclaimer strong { color: #5A1E28; }
.footer-note {
  max-width: 1080px; margin: 0 auto; padding: 20px 32px 0;
  font-size: 12px; line-height: 1.55; color: #9C8C7E;
}

/* --- Motto ------------------------------------------------------------- */
.sub-hero .motto {
  margin-top: 18px; font-family: 'Fraunces', serif; font-size: clamp(19px, 3.2vw, 26px);
  line-height: 1.25; color: #5A1E28; font-weight: 600;
}
.sub-hero .motto em { font-style: italic; color: #C4735E; }

/* --- „In Bewegung"-Laufband -------------------------------------------- */
.marquee { overflow: hidden; margin: 22px 0 4px; padding: 12px 0; border-top: 1px solid #E7DBCC; border-bottom: 1px solid #E7DBCC; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span { font-family: 'Fraunces', serif; font-style: italic; font-size: 18px; color: #8A6E62; white-space: nowrap; padding-right: 8px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Scroll-Reveal (nur aktiv, wenn JS + Bewegung erwünscht) ----------- */
.js-reveal .reveal { opacity: 0; }
.js-reveal .dream.reveal { transform: translateY(20px); }
.js-reveal .reveal.in-view { opacity: 1; }
.js-reveal .dream.reveal.in-view { transform: translateY(0); }

/* --- Wünsche · Träume · Ziele ------------------------------------------ */
.dreams { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.dream {
  position: relative; background: #FBF7F0; border: 1px solid #ECE0D1; border-radius: 18px; padding: 24px 22px;
  box-shadow: 0 16px 40px -30px rgba(90, 30, 40, 0.45); transition: transform 0.5s ease, opacity 0.6s ease, box-shadow 0.4s ease;
}
.dream:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -30px rgba(90, 30, 40, 0.6); }
.dream-tag { display: inline-block; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: #A32438; background: #F3E3DD; border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.dream p { font-family: 'Fraunces', serif; font-size: 19px; line-height: 1.35; color: #3A2C2A; }
.placeholder-note { font-size: 12px; color: #B69C86; font-style: italic; margin-top: 14px; }

@media (max-width: 720px) {
  .sub-main { padding: 8px 22px 32px; }
  .spread, .spread--rev { flex-direction: column; }
  .spread:nth-child(odd), .spread:nth-child(even) { margin-left: 0; margin-right: 0; }
  .photo, .photo--wide, .photo--small, .photo-pair .photo { max-width: 100%; }
  .photo-pair .photo:nth-child(2) { margin-top: -18px; }
  .pre-talk { flex-direction: column; align-items: flex-start; }
}

/* Bewegung respektiert Nutzerwunsch: kein Laufband, keine Foto-Drehung/Zoom. */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; transform: none; }
  .kur-seal { animation: none; }
  .photo, .photo:hover, .tilt-l, .tilt-r { transform: none !important; }
  .reveal, .dream.reveal { opacity: 1 !important; transform: none !important; }
}
