/* ============================================================
   SOM-Programm — Redesign (Startseite home-neu)
   Zentrale CSS-Datei · scoped unter .som-rd (berührt nur die
   Redesign-Sektionen, NICHT die übrige Live-Seite)
   Palette/Look aus Referenz: Weinrot + Gold-Beige + Creme
   Fonts: Inter (Headlines/UI) + Lato (Fließtext)
   ============================================================ */

:root {
  --som-gold:       #bbac95;
  --som-gold-light: #d5ccbc;
  --som-gold-pale:  #f0ece5;
  --som-wine:       #711521;   /* in Referenz "navy" genannt */
  --som-wine-mid:   #8f1f2c;
  --som-cream:      #faf8f5;
  --som-white:      #fff;
  --som-text:       #2a1a1d;
  --som-muted:      #7a6060;
  --som-border:     #ddd5c8;
  --som-radius-sm: 6px;
  --som-radius-md: 12px;
  --som-radius-lg: 20px;
}

/* ── Fonts NUR in den Redesign-Sektionen ── */
.som-rd, .som-rd * { font-family: 'Lato', sans-serif; }
.som-rd h1, .som-rd h2, .som-rd h3, .som-rd h4,
.som-rd .som-rd-title, .som-rd .amount, .som-rd .val,
.som-rd .som-rd-module-num, .som-rd .date-main, .som-rd blockquote {
  font-family: 'Inter', sans-serif;
}

/* Flatsome-Container in diesen Sektionen etwas breiter + ruhige Gutter */
.som-rd .container { max-width: 1140px; }

/* gemeinsame Sektions-Überschrift */
.som-rd .som-rd-label {
  font-size: 11px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--som-gold);
  margin: 0 0 .5rem;
}
.som-rd .som-rd-title {
  font-size: clamp(24px, 4vw, 34px); font-weight: 300;
  color: var(--som-wine); line-height: 1.25; margin: 0 0 .5rem;
}
.som-rd .som-rd-title em { font-style: italic; }

/* ── HERO (Video-Banner bleibt) ── */
.som-rd-hero .som-rd-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(187,172,149,.18);
  border: 1px solid rgba(187,172,149,.45);
  color: var(--som-gold);
  font-size: 12px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; padding: .4rem 1rem;
  border-radius: 40px; margin-bottom: 1.5rem;
}
.som-rd-hero .som-rd-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--som-gold);
}
.som-rd-hero h1 {
  font-size: clamp(32px, 6vw, 54px); font-weight: 300;
  color: #fff; line-height: 1.18; margin: 0 0 1.1rem;
}
.som-rd-hero h1 em { font-style: italic; color: var(--som-gold); }
.som-rd-hero .som-rd-hero-sub {
  font-size: 16px; color: rgba(255,255,255,.78);
  max-width: 540px; margin: 0 auto 1.6rem; font-weight: 300;
}
.som-rd-hero .som-rd-hero-sub.left { margin-left: 0; }
.som-rd-hero .som-rd-price {
  display: inline-flex; align-items: baseline; gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(187,172,149,.35);
  border-radius: var(--som-radius-md);
  padding: .6rem 1.4rem; margin-bottom: 1.6rem;
}
.som-rd-hero .som-rd-price .amount { font-size: 32px; font-weight: 400; color: #fff; }
.som-rd-hero .som-rd-price .unit { font-size: 14px; color: rgba(255,255,255,.6); font-weight: 300; }

/* CTA-Buttons (Flatsome [button] mit Klasse som-rd-btn / Anker .button) */
.som-rd .som-rd-btn.button,
.som-rd a.som-rd-btn {
  background: var(--som-gold) !important;
  border-color: var(--som-gold) !important;
  color: var(--som-wine) !important;
  font-weight: 600 !important; letter-spacing: .04em;
  border-radius: var(--som-radius-sm) !important;
  text-transform: none;
}
.som-rd .som-rd-btn.button:hover,
.som-rd a.som-rd-btn:hover {
  background: #cdc0ab !important; border-color: #cdc0ab !important;
  transform: translateY(-1px);
}

/* ── FAKTEN-LEISTE ── */
.som-rd-facts { background: var(--som-white); border-bottom: 1px solid var(--som-border); }
.som-rd-facts .col { padding-top: 1.25rem; padding-bottom: 1.25rem; border-right: 1px solid var(--som-border); }
.som-rd-facts .col:last-child { border-right: none; }
.som-rd-facts .val { display: block; font-size: 28px; font-weight: 400; color: var(--som-wine); line-height: 1.1; }
.som-rd-facts .lbl { font-size: 11px; font-weight: 500; color: var(--som-muted); letter-spacing: .08em; text-transform: uppercase; }

/* ── BENEFITS / "Was du lernst" ── */
.som-rd-benefits .som-rd-card > .col-inner {
  background: var(--som-white);
  border: 1px solid var(--som-border);
  border-radius: var(--som-radius-md);
  padding: 1.75rem 1.5rem; height: 100%;
}
.som-rd-benefits .som-rd-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; font-size: 20px;
  background: var(--som-gold-pale); border-radius: 10px; margin-bottom: 1rem;
}
.som-rd-benefits h3 { font-size: 19px; font-weight: 400; color: var(--som-wine); margin: 0 0 .4rem; }
.som-rd-benefits p { font-size: 14px; color: var(--som-muted); line-height: 1.55; font-weight: 300; margin: 0; }

/* ── MODULE (dunkler Wein-Block) ── */
.som-rd-modules { background: var(--som-wine) !important; }
.som-rd-modules .som-rd-label { color: rgba(187,172,149,.85); }
.som-rd-modules .som-rd-title { color: #fff; }
.som-rd-modules .som-rd-module-row {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--som-radius-md);
  margin-bottom: 8px;
}
.som-rd-modules .som-rd-module-row .col { padding-top: 1.05rem; padding-bottom: 1.05rem; }
.som-rd-modules .som-rd-module-num { font-size: 30px; font-weight: 300; color: var(--som-gold); line-height: 1; }
.som-rd-modules .som-rd-module-row h4 { font-size: 16px; font-weight: 400; color: #fff; margin: 0 0 .15rem; }
.som-rd-modules .som-rd-module-row p { font-size: 13px; color: rgba(255,255,255,.55); font-weight: 300; margin: 0; }

/* ── TERMINE ── */
.som-rd-dates { background: var(--som-gold-pale) !important; }
.som-rd-dates .som-rd-date-card > .col-inner {
  background: #fff; border: 1px solid var(--som-border);
  border-radius: var(--som-radius-lg); padding: 1.6rem; height: 100%;
}
.som-rd-dates .badge {
  display: inline-block; background: var(--som-gold-pale); color: #5a3d2b;
  font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px; margin-bottom: .75rem;
}
.som-rd-dates .date-main { font-size: 22px; font-weight: 400; color: var(--som-wine); line-height: 1.2; margin: 0 0 .5rem; }
.som-rd-dates .date-details { font-size: 14px; color: var(--som-muted); font-weight: 300; line-height: 1.6; margin: 0 0 1rem; }
.som-rd-dates .date-details strong { color: var(--som-wine); font-weight: 500; }
.som-rd-dates .som-rd-btn-book.button,
.som-rd-dates a.som-rd-btn-book {
  display: block; width: 100%;
  background: var(--som-wine) !important; border-color: var(--som-wine) !important;
  color: #fff !important; font-weight: 500 !important;
  border-radius: var(--som-radius-sm) !important; text-transform: none;
}
.som-rd-dates .som-rd-btn-book.button:hover,
.som-rd-dates a.som-rd-btn-book:hover { background: var(--som-wine-mid) !important; border-color: var(--som-wine-mid) !important; }
.som-rd-dates .date-note { font-size: 12px; color: var(--som-muted); font-weight: 300; }

/* ── STIMMEN ── */
.som-rd-testimonials .som-rd-tcard > .col-inner {
  background: var(--som-white); border: 1px solid var(--som-border);
  border-radius: var(--som-radius-md); padding: 1.5rem; height: 100%;
}
.som-rd-testimonials .stars { color: var(--som-gold); font-size: 14px; letter-spacing: 2px; margin-bottom: .75rem; }
.som-rd-testimonials blockquote {
  font-size: 16px; font-weight: 300; font-style: italic; color: var(--som-wine);
  line-height: 1.55; margin: 0 0 .75rem; padding: 0; border: none;
}
.som-rd-testimonials cite { font-size: 12px; font-style: normal; color: var(--som-muted); font-weight: 500; letter-spacing: .05em; }

/* ── FAQ (Flatsome-Accordion umgestylt) ── */
.som-rd-faq { background: var(--som-gold-pale) !important; }
.som-rd-faq .accordion-item {
  background: var(--som-white); border: 1px solid var(--som-border);
  border-radius: var(--som-radius-md); margin-bottom: 8px; overflow: hidden;
}
.som-rd-faq .accordion-title {
  padding: 1.1rem 1.25rem !important; font-size: 15px; font-weight: 600;
  color: var(--som-wine); border: none !important; margin: 0;
}
.som-rd-faq .accordion-title.active { color: var(--som-wine-mid); }
.som-rd-faq .accordion-title .toggle { color: var(--som-gold); }
.som-rd-faq .accordion-inner {
  padding: 0 1.25rem 1.1rem !important; font-size: 14px;
  color: var(--som-muted); line-height: 1.65; font-weight: 300;
}

/* ── STICKY-CTA-LEISTE ── */
.som-rd-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99;
  background: var(--som-wine) !important;
  border-top: 1px solid rgba(187,172,149,.25);
  padding: .8rem 2rem !important;
}
.som-rd-sticky .col { padding-top: 0; padding-bottom: 0; }
.som-rd-sticky .price { font-size: 22px; font-weight: 400; color: #fff; }
.som-rd-sticky .price small { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.5); }
.som-rd-sticky .desc { font-size: 12px; color: rgba(255,255,255,.5); font-weight: 300; }
.som-rd-sticky-spacer { height: 64px; }

/* ── Ornament-Trenner ── */
.som-rd-ornament { text-align: center; color: var(--som-gold); font-size: 22px; letter-spacing: 8px; opacity: .5; margin: 0; }

/* ── Mobil ── */
@media (max-width: 600px) {
  .som-rd-facts .col { border-right: none; border-bottom: 1px solid var(--som-border); }
  .som-rd-hero .som-rd-hero-sub { font-size: 15px; }
  .som-rd-sticky { padding: .7rem 1.1rem !important; }
  .som-rd-sticky .price { font-size: 18px; }
}

/* ============================================================
   TUTOR-LMS-KURS-SEITEN (z. B. /gruppen-som-programm-workshop/)
   Markenpolitur — gescoped auf body.tutor-lms (NUR Kurs-Seiten).
   Tutor-Primärfarbe ist serverseitig bereits SOM-Gold #bbac95 /
   Hover Weinrot #711521. Hier: Schriften + Wein-Überschriften +
   Button-/Tab-Feinschliff.
   ============================================================ */
body.tutor-lms, body.tutor-lms .tutor-wrap,
body.tutor-lms .tutor-course-details-page { font-family: 'Lato', sans-serif; }
body.tutor-lms h1, body.tutor-lms h2, body.tutor-lms h3, body.tutor-lms h4,
body.tutor-lms .tutor-course-details-title { font-family: 'Inter', sans-serif; }

/* Kurs-Titel + Abschnitts-Überschriften in Weinrot */
body.tutor-lms h1.tutor-course-details-title { color: #711521; font-weight: 600; }
body.tutor-lms .tutor-course-details-tab h2,
body.tutor-lms h2.tutor-fw-bold { color: #711521; }

/* Einschreibe-Button: Gold-BG (Tutor-Variable) + Wein-Text, Hover Wein/Weiß */
body.tutor-lms .tutor-btn-primary { color: #711521 !important; font-weight: 600; }
body.tutor-lms .tutor-btn-primary:hover,
body.tutor-lms .tutor-btn-primary:focus {
  background: #711521 !important; border-color: #711521 !important; color: #fff !important;
}

/* Tab-Navigation: aktiver/Hover-Akzent in Weinrot */
body.tutor-lms .tutor-nav-link.is-active { color: #711521 !important; box-shadow: inset 0 -2px 0 #711521; }
body.tutor-lms .tutor-nav-link:hover { color: #711521 !important; }

/* Ghost-Buttons (Teilen/Merken) dezent in Markenfarbe */
body.tutor-lms .tutor-btn-ghost:hover { color: #711521 !important; border-color: #bbac95 !important; }

/* ============================================================
   GLOBALE MARKENFARBE — site-weit (ALLE Seiten)
   Setzt Flatsomes Primär-/Sekundärfarbe auf die SOM-Palette:
   Links, Buttons, Akzente, Aktiv-Zustände werden Weinrot/Gold.
   Bewusst KEINE globale Überschriften-Umfärbung (würde dunkle
   Sektionen mit weißen Headlines zerschießen). Plugin-/Formular-
   Funktion bleibt unberührt — nur Farben.
   ============================================================ */
:root {
  --primary-color: #711521;
  --fs-color-primary: #711521;
  --fs-color-secondary: #bbac95;
  --fs-experimental-link-color: #711521;
  --fs-experimental-link-color-hover: #8f1f2c;
}
.button.primary, button.primary, input[type="submit"].primary {
  background-color: #711521; border-color: #711521; color: #fff;
}
.button.primary:hover, button.primary:hover, input[type="submit"].primary:hover {
  background-color: #8f1f2c; border-color: #8f1f2c; color: #fff;
}
.button.secondary { background-color: #bbac95; border-color: #bbac95; color: #711521; }
.button.secondary:hover { background-color: #cdc0ab; border-color: #cdc0ab; color: #711521; }

/* ============================================================
   FIX Flatsome-Accordion (FAQ): Toggle-Pfeil rechts statt über
   dem Text. Das alte Theme-Mod-CSS setzt padding:16px 0 (kein
   Platz links) -> Pfeil überlagert die Überschrift.
   ============================================================ */
.som-rd .accordion .accordion-title {
  position: relative !important;
  padding: 1.1rem 2.6rem 1.1rem 0 !important;
  display: block !important;
}
.som-rd .accordion .accordion-title .toggle {
  position: absolute !important;
  right: .3rem !important; left: auto !important;
  top: 50% !important; transform: translateY(-50%) !important;
  margin: 0 !important; color: #bbac95 !important;
}

/* FIX horizontaler Überlauf auf Mobil (Flatsome .row Negativ-Ränder
   auf Blank-Template ragen ~30px über den Viewport) – Kursseiten */
.page-id-1738, .page-id-1673, .page-id-1702, .page-id-1716 { overflow-x: hidden; }
