/* ==========================================================================
   Hypnobirthing & Achtsamkeit – Grundlayout
   Seitenspezifische Gestaltung (Schriftgrößen, Abstände, Hintergründe)
   steht in content.css und wird aus den Seiteninhalten erzeugt.
   ========================================================================== */

:root {
  --f-inter: Inter, Arial, Helvetica, sans-serif;
  --f-manrope: Manrope, Arial, Helvetica, sans-serif;
  --f-open: "Open Sans", Arial, Helvetica, sans-serif;
  --f-source: Inter, Arial, Helvetica, sans-serif;
  --f-lato: Inter, Arial, Helvetica, sans-serif;
  --text: #2f2f2f;
  --container: 1170px;
  --whatsapp: #25d366;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-inter);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, figure, ul { margin: 0; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .85; }
strong, b { font-weight: 700; }
hr { border: 0; margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- Raster: Abschnitt > Zeile > Spalte ---------- */
/* flow-root: Abstände der Inhalte bleiben innerhalb des (farbigen) Abschnitts */
.sec { position: relative; display: flow-root; width: 100%; margin-left: auto; margin-right: auto; scroll-margin-top: 16px; }
.wrap { width: 100%; margin: 0 auto; }
.row { display: flex; flex-wrap: wrap; width: 100%; max-width: var(--container); margin-left: auto; margin-right: auto; }
.col { min-width: 0; }
.col-1 { width: 8.3333%; } .col-2 { width: 16.6667%; } .col-3 { width: 25%; } .col-4 { width: 33.3333%; }
.col-5 { width: 41.6667%; } .col-6 { width: 50%; } .col-7 { width: 58.3333%; } .col-8 { width: 66.6667%; }
.col-9 { width: 75%; } .col-10 { width: 83.3333%; } .col-11 { width: 91.6667%; } .col-12 { width: 100%; }

.tc { text-align: center; }
.tr { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }

figure.img { line-height: 0; }
figure.img img { display: inline-block; }
.w-full { width: 100%; }
.ico-pre { margin-right: .35em; }
.icon { line-height: 1; }

/* ---------- Aufzählungen ---------- */
.bl { list-style: none; padding: 0; }
.bl li { display: flex; align-items: flex-start; gap: .6em; margin-bottom: var(--bl-gap, 8px); text-align: left; }
.bl li:last-child { margin-bottom: 0; }
.bl li > i { flex: 0 0 auto; width: 1.2em; margin-top: .2em; text-align: center; }
.bl.tc { display: table; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn-wrap .btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; line-height: 1.25; cursor: pointer;
  transition: filter .2s, transform .2s, opacity .2s;
}
.btn:hover { opacity: 1; filter: brightness(1.06); transform: translateY(-1px); }
.btn-block { display: flex !important; width: 100%; }
.btn-sub { font-size: .7em; opacity: .9; margin-top: 4px; font-weight: 400; }

/* ---------- Videos (erst nach Klick laden) ---------- */
.video, .embed { position: relative; width: 100%; overflow: hidden; background: #1f2a2e; border-radius: inherit; }
.video { aspect-ratio: 16 / 9; }
.video iframe, .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 16px; color: #fff; text-align: center; font-size: 13px; line-height: 1.4;
  background: rgba(17, 25, 28, .45) center / cover no-repeat;
}
.consent::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.consent > * { position: relative; }
.consent button {
  display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 6px; cursor: pointer;
  padding: 10px 22px; background: #fff; color: #2f2f2f; font: 600 16px var(--f-inter);
}
.consent small { max-width: 420px; opacity: .9; }
.consent a { text-decoration: underline; }

/* ---------- WhatsApp-Button (ohne externes Skript) ---------- */
.wa-button {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--whatsapp); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  font: 600 15px/1.2 var(--f-inter);
}
.wa-button:hover { opacity: 1; filter: brightness(1.05); }
.wa-button i { font-size: 26px; }

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
  .col { width: 100% !important; }
  .row-grid > .col-1 { width: 25% !important; }
  .row-grid > .col-2 { width: 33.3333% !important; }
  .row-grid > .col-3 { width: 50% !important; }
  .row:not(.row-grid) > .col + .col { margin-top: 24px; }
  .row { max-width: 100% !important; }
  .sec, .wrap { max-width: 100% !important; }
  [class*="mt--"] { margin-top: 0 !important; }
  img.img-lg { width: 100% !important; }
  .wa-button span { display: none; }
  .wa-button { padding: 14px; }
}
