/* ============================================================
   CoLe's Heart — home.css
   Page-Composition-Stile für die STARTSEITE (über die brand.css-Atome
   hinaus). Lädt via assets/css-Auto-Loader.
   Quelle: Claude-Design-Export „Finale Startseite" (S1 Hero …).
   Deko (Blobs/Punktraster) als Pseudo-Elemente — keine Leer-Module.
   ============================================================ */

/* ===================== S1 · Hero (.imm-hero) ===================== */
/* Flat cream base (no gradient). S1 + S2 share the cream base → one canvas. */
.imm-hero {
  position: relative; overflow: hidden; padding-block: 60px 96px;
  background: var(--ch-cream);
}

/* keep content above deco; try to vertically center the 2 columns */
.imm-hero .module_row_inner,
.imm-hero [class*="_count_"] { position: relative; z-index: 1; align-items: center; }
/* etwas mehr Abstand zwischen Text- und Bild-Bereich */
.imm-hero [class*="_count_"] { column-gap: 64px; }

/* left: copy column */
.imm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ch-gold-600); }
.imm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ch-gold-400); display: inline-block; }
.imm-hero h1.imm-hero__title { font-family: var(--ch-font-display) !important; font-weight: 600 !important;
  font-size: clamp(46px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -0.01em;
  color: var(--ch-ink); margin: 14px 0 28px; }
/* highlighted part: italic + gold + BOLD (real Cormorant 700) */
.imm-hero h1.imm-hero__title em { font-style: italic; font-weight: 700 !important; color: var(--ch-gold-500); }
.imm-lead { font-size: 20px; line-height: 1.55; color: var(--ch-ink-soft); max-width: 480px; margin: 0 0 28px; }

/* buttons: slightly lighter label, larger heart in the primary */
.imm-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.imm-actions .ch-btn, .mag-donate .ch-btn { font-weight: 500; }
.imm-btn-heart { color: #fff; font-size: 22px; line-height: 1; }

/* right: art column — wider & rounder image, dot-grid + floating glass badge */
.imm-hero__art { position: relative; }
.imm-hero__art::before { content: ""; position: absolute; width: 150px; height: 150px; top: -20px; left: 432px; z-index: 0;
  background-image: radial-gradient(var(--ch-gold-300) 2.2px, transparent 2.2px); background-size: 18px 18px; opacity: .5; }
.imm-hero__art img { position: relative; z-index: 1; display: block; width: 100%; max-width: 520px; margin-right: auto;
  aspect-ratio: 1/1; object-fit: cover; border-radius: 0 !important; box-shadow: var(--ch-shadow-lg);
  animation: imm-float-img 7.5s ease-in-out infinite; }

/* gentle vertical bob (no tilt, square corners) */
@keyframes imm-float-img { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ===================== S2 · Wer wir sind (Split) ===================== */
/* same cream base as S1 → the seam between S1 and S2 is invisible (one canvas) */
.ch-story { background: var(--ch-cream); }
/* layout via Themify columns (.split is the design's grid — not needed here) */
.ch-story .module_row_inner, .ch-story [class*="_count_"] { align-items: center; }
.split__copy .ch-h2 { margin: 14px 0 22px; }
/* extra breathing room between the image (left) and the copy (right) */
.split__media { position: relative; padding-right: 30px; }
.split__copy { padding-left: 30px; }
.split__media::before { content: ""; position: absolute; z-index: 0; width: 150px; height: 150px;
  background-image: radial-gradient(var(--ch-gold-300) 2.2px, transparent 2.2px); background-size: 18px 18px;
  opacity: .5; bottom: -22px; left: -22px; }
.split__media img { position: relative; z-index: 1; width: 100%; border-radius: 0 !important;
  box-shadow: var(--ch-shadow-md); object-fit: cover; aspect-ratio: 4 / 3.3;
  animation: imm-float-soft 8s ease-in-out infinite; }
@keyframes imm-float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
/* 2nd text passage: no card — plain continuation of the copy */
.story-callout { margin-top: 14px; }
.text-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px;
  color: var(--ch-gold-600); font-weight: 600; font-size: 15px; text-decoration: none; }
.text-link:hover { color: var(--ch-gold-500); }

/* ===================== S3 · Unsere Mission (Kicker + Untertext) ===================== */
/* Headline + 3 chips removed → slim flat-cream band with just eyebrow + lead */
.ch-mission-head { background: var(--ch-cream); padding: 80px 0; text-align: center; }
.ch-mission-head .ch-eyebrow { margin-bottom: 16px; }
.ch-mission-head .ch-lead { max-width: 640px; margin: 0 auto; }

/* ===================== S4 · Was wir tun (5 Säulen) ===================== */
.ch-pillars-head  { background: var(--ch-cream); padding: 88px 0 0; }
.ch-pillars       { background: var(--ch-cream); padding: 40px 0 92px; }
.ch-pillars-head .ch-h2 { margin-top: 14px; }
/* 5 cards as 3 + 2 (centered) via flex-wrap + justify-center (robust, always centered) */
.ch-pillars [class*="_count_"] { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 24px; }
.ch-pillars [class*="_count_"] > .module_column { flex: 0 0 calc(33.333% - 16px); max-width: calc(33.333% - 16px); width: auto !important; margin: 0 !important; float: none !important; box-sizing: border-box; }
/* pillar card */
.pill-card.ch-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 22px; cursor: pointer; }
/* ganze Karte klickbar → /was-wir-tun/ (unsichtbarer Stretched-Link) */
.pill-card .pill-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.pill-card .module { margin: 0; width: 100%; }
.pill-card .ch-icon-bubble { width: 64px; height: 64px; display: inline-flex !important; align-items: center; justify-content: center; }
.pill-card .ch-icon-bubble .module-icon-item { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; }
.pill-card .ch-icon-bubble em { display: inline-flex; align-items: center; justify-content: center; line-height: 1; font-size: 28px; }
.pill-card .ch-icon-bubble svg { width: 1em !important; height: 1em !important; display: block; }
.pill-card .ch-h3 { font-size: 1.375rem; margin: 14px 0 8px; }
.pill-card .ch-body { font-size: 14.5px; line-height: 1.5; }
@media (max-width: 900px) {
  .ch-pillars [class*="_count_"] > .module_column { flex-basis: calc(50% - 12px); max-width: calc(50% - 12px); }
}
@media (max-width: 560px) {
  .ch-pillars [class*="_count_"] > .module_column { flex-basis: 100%; max-width: 100%; }
}

/* ===================== S5 · So können Sie helfen (Glas-Karten) ===================== */
.imm-help-head  { background: var(--ch-cream); padding: 88px 0 0; }
.imm-help-cards { background: var(--ch-cream); padding: 0 0 96px; }
.imm-head-block { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.imm-kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ch-gold-600); display: block; margin-bottom: 14px; }
.imm-h2 { font-family: var(--ch-font-display) !important; font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; color: var(--ch-ink); margin: 0; letter-spacing: -0.01em; }
.imm-h2 em { font-style: italic; color: var(--ch-gold-500); }
/* 3 glass cards, centered */
.imm-help-cards [class*="_count_"] { display: flex !important; justify-content: center; align-items: stretch; gap: 24px; flex-wrap: wrap; }
.imm-help-cards [class*="_count_"] > .module_column { flex: 1 1 280px; max-width: 360px; width: auto !important; margin: 0 !important; float: none !important; }
.imm-hcard { position: relative; border-radius: var(--ch-radius-lg); padding: 32px 26px; text-align: center; display: flex !important; flex-direction: column !important; align-items: center !important; background: var(--ch-surface-card); border: var(--ch-border-card); box-shadow: var(--ch-shadow-sm); transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s; cursor: pointer; }
.imm-hcard:hover { transform: translateY(-6px); box-shadow: var(--ch-shadow-lg); }
/* whole card clickable (stretched link over the „Mehr erfahren"-Link) */
.imm-hcard .imm-hlink::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.imm-hcard .module { margin: 0; width: 100%; }
.imm-hcard .ch-icon-bubble { width: 64px; height: 64px; display: inline-flex !important; align-items: center; justify-content: center; margin-bottom: 6px; }
.imm-hcard .ch-icon-bubble .module-icon-item { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; }
.imm-hcard .ch-icon-bubble em { display: inline-flex; align-items: center; justify-content: center; line-height: 1; font-size: 28px; }
.imm-hcard .ch-icon-bubble svg { width: 1em !important; height: 1em !important; display: block; }
.imm-h4 { font-family: var(--ch-font-display) !important; font-weight: 600; font-size: var(--ch-text-2xl); line-height: var(--ch-leading-snug); color: var(--ch-ink); margin: 16px 0 8px; }
.imm-body { font-size: var(--ch-text-base); line-height: var(--ch-leading-normal); color: var(--ch-ink-soft); margin: 0; }
.imm-hlink { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; color: var(--ch-gold-600); font-weight: 600; font-size: 14px; text-decoration: none; }
.imm-hlink:hover { color: var(--ch-gold-500); }
@media (max-width: 620px) { .imm-help-cards [class*="_count_"] > .module_column { flex-basis: 100%; max-width: 100%; } }

/* ===================== S6 · Spenden-Band ===================== */
.mag-donate { padding-block: 94px; text-align: center; background: var(--ch-white); }
.mag-donate__script { font-family: var(--ch-font-display) !important; font-style: italic; font-size: 30px; color: var(--ch-gold-500); display: block; }
.mag-donate__title { font-family: var(--ch-font-display) !important; font-weight: 600; font-size: clamp(40px, 5.5vw, 74px); line-height: 1.02; color: var(--ch-ink); margin: 26px 0 18px; }
.mag-donate__title em { font-style: italic; color: var(--ch-gold-500); }
.mag-donate__text { font-size: 15px; letter-spacing: .02em; text-transform: uppercase; color: var(--ch-ink-soft); margin: 0 0 28px; }
.mag-donate__note { margin-top: 16px; font-size: 13px; color: var(--ch-ink-mute); }

/* ===================== Section heights (~80vh, content vertically centered) ===================== */
.imm-hero, .ch-story, .mag-donate { min-height: 80vh; display: flex !important; align-items: center !important; }
.imm-hero > *, .ch-story > *, .mag-donate > * { width: 100%; }
.ch-pillars, .imm-help-cards { min-height: 56vh; display: flex !important; align-items: center !important; }
.ch-pillars > *, .imm-help-cards > * { width: 100%; }

/* mobile */
@media (max-width: 768px) {
  .imm-hero, .ch-story, .mag-donate, .ch-pillars, .imm-help-cards { min-height: auto; display: block; }
  .imm-hero { padding-block: 32px 56px; }
  .imm-hero h1.imm-hero__title { font-size: 40px; }
  .imm-hero__art { margin-top: 40px; }
  .imm-hero__art img { margin-inline: auto; }
  .imm-hero__art::before { left: auto; right: 6px; }
  .split__media { margin-bottom: 36px; padding-right: 0; }
  .split__copy { padding-left: 0; }
}
