/* ==========================================================================
   janinaheyn.de – Contao 5 Theme
   Farben, Schriften und Abstände nach dem bisherigen Divi-Design.
   Bausteine (CSS-Klassen im Backend):
     Artikel:   sec, sec--cream, sec--tight, center, hero, hero--home,
                hero--psycho, hero--kontakt, hero--warum, hero--coaching,
                fade--walking, fade--coaching, image--angebot, contact-band
     Gruppen:   grid-2, grid-3, grid-4, split (Text | Bild), cards
     Elemente:  btn, btn--outline, icon, icon--lg, line, script, lead,
                small, narrow
   ========================================================================== */

/* ---------- Schriften (lokal, keine externen Dienste) ---------- */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/playfair-display-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
/* Schreibschrift: Ephesis (SIL Open Font License, Robert Leuschke) */
@font-face { font-family: "Ephesis"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ephesis-latin-400-normal.woff2") format("woff2");
  size-adjust: 150%; }

/* ---------- Variablen ---------- */
:root {
  --rose: #cc9f91;
  --rose-dark: #b5877a;
  --cream: #fdf8f5;
  --blush: #ffe3e7;
  --brown: #381b0f;
  --head: #333;
  --text: #666;
  --white: #fff;
  --max: 1080px;
  --gutter: clamp(20px, 5vw, 60px);
  --sec-y: clamp(56px, 7vw, 96px);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --script: "Ephesis", "Playfair Display", cursive;
  --header-h: 108px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.9 var(--sans);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--rose); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rose-dark); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .3em; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--head);
  line-height: 1.4;
  margin: 0 0 .5em;
}
h1, h2 { font-size: 46px; }
@media (max-width: 980px) { h1, h2 { font-size: 40px; } }
h4 { font-size: clamp(20px, 2.2vw, 26px); }
h5 { font-size: 18px; }

.invisible, .sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

/* ==========================================================================
   Header
   ========================================================================== */
#header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(56, 27, 15, .06);
}
#header > .inside {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  column-gap: 30px;
  padding: 0 max(var(--gutter), calc((100% - var(--max)) / 2)) ;
}

/* obere Leiste (Mein Warum, Podcast, Kontakt) – volle Breite */
.topbar {
  grid-column: 1 / -1;
  background: var(--rose);
  box-shadow: 0 0 0 100vmax var(--rose);
  clip-path: inset(0 -100vmax);
}
.topbar ul {
  margin: 0; padding: 0;
  list-style: none; display: flex; justify-content: flex-end; gap: 22px;
}
.topbar li { margin: 0; }
.topbar a, .topbar strong {
  font: 600 12px/1.6 var(--serif); letter-spacing: 1px;
  color: var(--white); display: block; padding: 5px 0;
}
.topbar a:hover, .topbar strong, .topbar .active { color: var(--brown); }

/* Logo + Hauptnavigation */
#header .logo { display: block; padding: 6px 0; justify-self: start; }
#header .logo img { width: 260px; height: auto; }

.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.mainnav li { margin: 0; }
.mainnav a, .mainnav strong {
  font: 600 16px/1.4 var(--serif); letter-spacing: 1px;
  color: rgba(0, 0, 0, .6); display: block; padding: 8px 0;
}
.mainnav a:hover, .mainnav strong, .mainnav .active, .mainnav .trail { color: var(--rose); }

/* Mobile-Menü (codefog/contao-mobile_menu) */
.mod_mobile_menu, .mobile_menu_trigger { display: none; }
.mobile-contact { margin-top: 24px; font-size: 15px; }
@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .topbar, .mainnav { display: none !important; }
  #header > .inside { grid-template-columns: 1fr auto; }
  #header .logo { padding: 10px 0; }
  #header .logo img { width: min(240px, 62vw); }
  .mod_mobile_menu, .mobile_menu_trigger { display: block; }
  .mobile_menu_trigger {
    background: none; border: 0; padding: 8px; cursor: pointer; color: var(--brown);
    font-size: 0; line-height: 0;
  }
  .mobile_menu_trigger .burger {
    display: block; width: 26px; height: 16px;
    background:
      linear-gradient(var(--rose), var(--rose)) 0 0 / 100% 1.5px no-repeat,
      linear-gradient(var(--rose), var(--rose)) 0 50% / 100% 1.5px no-repeat,
      linear-gradient(var(--rose), var(--rose)) 0 100% / 100% 1.5px no-repeat;
  }
}
.mobile_menu, .mobile_menu .inner { background: var(--cream) !important; color: var(--head); }
.mobile_menu .mobile-contact a { font: 400 15px/1.8 var(--sans) !important; padding: 0 !important; display: inline !important; color: var(--rose) !important; }
.mobile_menu .mobile-contact { border: 0; }
.mobile_menu .inner { padding: 70px 28px 28px; }
.mobile_menu ul { list-style: none; margin: 0; padding: 0; }
.mobile_menu li { margin: 0; border-bottom: 1px solid rgba(204, 159, 145, .35); }
.mobile_menu a, .mobile_menu strong {
  display: block; padding: 12px 0;
  font: 400 20px/1.4 var(--serif); color: var(--head);
}
.mobile_menu strong, .mobile_menu .active, .mobile_menu a:hover { color: var(--rose); }

/* ==========================================================================
   Sektionen (= Artikel)
   ========================================================================== */
#main > .inside { max-width: none; padding: 0; }
.mod_article {
  position: relative;
  padding: var(--sec-y) max(var(--gutter), calc((100% - var(--max)) / 2));
}
.mod_article > * + * { margin-top: 1.6rem; }
.content-element-group > * + * { margin-top: 1rem; }
.grid-2 > * + *, .grid-3 > * + *, .grid-4 > * + *, .split > * + * { margin-top: 0; }
.h-sm { font-size: clamp(22px, 2.4vw, 26px) !important; }
.content-headline { margin-bottom: 0; }
h3 { font-size: clamp(20px, 2vw, 24px); }

.sec--cream { background-color: var(--cream); }
.sec--tight { padding-block: calc(var(--sec-y) * .55); }
.center { text-align: center; }
.center .icon img, .center .content-image img { margin-inline: auto; }

/* Hero mit Foto rechts, Verlauf von links */
.hero {
  min-height: clamp(460px, 46vw, 660px);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--cream) no-repeat 70% 30% / cover;
  padding-block: 70px;
}
.hero > * { max-width: 500px; }
.hero h1 { margin-bottom: .35em; }
.hero h4, .hero .lead { font-size: 18px; line-height: 1.45; color: var(--head); font-family: var(--serif); }
.hero--home     { background-image: linear-gradient(44deg, var(--cream) 25%, rgba(255,255,255,0) 69%), url("../img/fotos/janina-heyn-psychotherapie-bremen-home.webp"); }
.hero--kontakt  { background-image: linear-gradient(44deg, var(--cream) 25%, rgba(255,255,255,0) 69%), url("../img/fotos/janina-heyn-psychotherapie-bremen-home.webp"); }
.hero--psycho   { background-image: linear-gradient(90deg, var(--cream) 18%, rgba(253,248,245,.6) 40%, rgba(255,255,255,0) 62%), url("../img/fotos/janina-heyn-psychotherapie-bremen.webp"); }
.hero--warum    { background-image: linear-gradient(90deg, var(--cream) 18%, rgba(253,248,245,.6) 40%, rgba(255,255,255,0) 62%), url("../img/fotos/janina-heyn-mein-warum.webp"); }
.hero--coaching { background-image: linear-gradient(90deg, var(--cream) 18%, rgba(253,248,245,.6) 40%, rgba(255,255,255,0) 62%), url("../img/fotos/janina-heyn-podcast.webp"); }
.hero--podcast  { background-image: linear-gradient(90deg, var(--cream) 18%, rgba(253,248,245,.6) 40%, rgba(255,255,255,0) 62%), url("../img/fotos/janina-heyn-podcast.webp"); }
/* weiche Welle am unteren Rand */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px;
  background: var(--white);
  clip-path: ellipse(75% 100% at 50% 100%);
}

/* Text links, Foto rechts – weiß ausgeblendet */
.fade--walking, .fade--coaching {
  background-repeat: no-repeat; background-position: 100% 0; background-size: 62% auto;
}
.fade--walking  { background-image: linear-gradient(90deg, #fff 38%, rgba(255,255,255,.55) 52%, rgba(255,255,255,0) 72%), url("../img/fotos/janina-heyn-walking-therapy.webp"); }
.fade--coaching { background-image: linear-gradient(90deg, #fff 38%, rgba(255,255,255,.55) 52%, rgba(255,255,255,0) 72%), url("../img/fotos/janina-heyn-coaching-fuer-frauen.webp"); }
.fade--walking > *, .fade--coaching > * { max-width: 560px; }

/* Bild-Hintergrund mit weißer Schrift (Mein Angebot) */
.image--angebot {
  background: var(--brown) url("../img/fotos/janina-heyn-mood-angebot.webp") no-repeat 50% 50% / cover;
  color: var(--white);
  padding-bottom: calc(var(--sec-y) * 2);
}
.image--angebot::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 50px;
  background: var(--white); clip-path: ellipse(75% 100% at 50% 100%);
}
.image--angebot h2, .image--angebot h3, .image--angebot h4 { color: var(--white); }
.image--angebot .line::before { background: var(--white); }

/* Kontakt-Band „Ich glaube an dich.“ (auf allen Seiten über dem Footer) */
.contact-band {
  padding-block: 10vw;
  background: var(--blush) url("../img/fotos/janina-heyn-podcast.webp") no-repeat 50% 50% / cover;
}
.contact-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.85) 30%, rgba(255,255,255,0) 75%);
}
.contact-band > * { position: relative; max-width: 420px; text-align: center; }
.contact-band h2 { margin-bottom: 0; }
.contact-band .script { margin-top: .1em; line-height: 1.5; color: var(--head); font-weight: 900; }
.center .narrow .rte, .center .narrow.content-text .rte { text-align: left; }
.contact-band > * + * { margin-top: .6rem; }

/* ==========================================================================
   Raster (Elementgruppen)
   ========================================================================== */
.grid-2, .grid-3, .grid-4, .split {
  display: grid; gap: clamp(28px, 4vw, 60px); align-items: start;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split  { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.grid-2 > *, .grid-3 > *, .grid-4 > *, .split > * { margin: 0 !important; }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4, .split { grid-template-columns: 1fr; }
}

/* Spalteninhalt mittig (Angebots-Karten, Schritte) */
.grid-center > * { text-align: center; }
.grid-center img { margin-inline: auto; }

/* rosa Karten (Mein Angebot) */
.cards { gap: 0; margin-top: 2rem; }
.cards > * {
  background: rgba(204, 159, 145, .9);
  padding: 46px 30px 40px; text-align: center; color: var(--white);
}
.cards > *:nth-child(2) { background: rgba(204, 159, 145, .72); }
.cards h3, .cards h4 { color: var(--white); }
.cards > *::after {
  content: ""; display: block; width: 60px; height: 2px; margin: 22px auto 0; background: var(--cream);
}

/* Stimmen der Klientinnen */
.quotes { text-align: left; margin-top: 2.5rem; }
.quotes .icon img { margin: 0 auto 6px; }
.quotes + .small { margin-top: 2rem; }

/* ==========================================================================
   Elemente
   ========================================================================== */
/* Buttons: Hyperlink-Element mit Klasse btn bzw. btn--outline */
.btn a, a.btn, .btn--outline a, a.btn--outline {
  display: inline-block;
  font: 400 18px/1.5 var(--sans);
  padding: 8px 28px; border-radius: 22px;
  background: var(--rose); color: var(--white);
  border: 2px solid var(--rose);
  transition: background .2s, color .2s, border-color .2s;
  text-align: center;
}
.btn a:hover, a.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); color: var(--white); }
.btn--outline a, a.btn--outline { background: transparent; color: var(--rose); }
.btn--outline a:hover, a.btn--outline:hover { background: var(--rose); color: var(--white); }
.btn--small a { font-size: 15px; padding: 4px 18px; }
.center .btn, .center .btn--outline, .btn.center, .btn--outline.center { text-align: center; }

/* „mehr dazu“-Links */
a.more, .more a { font-size: 14px; }

/* Icons & Monogramme */
.icon figure img, .icon img { width: 90px !important; height: auto; }
.icon--sm figure img, .icon--sm img { width: 60px !important; }
.icon--lg figure img { width: 120px !important; }
.icon--round figure img {
  width: 120px !important; border-radius: 50%; background: var(--blush); padding: 0;
}

/* rosa Linie über einer Überschrift */
.line::before {
  content: ""; display: block; width: 100px; height: 2px;
  background: var(--rose); margin-bottom: 26px;
}
.center .line::before, .line.center::before { margin-inline: auto; }

/* Schreibschrift „Let's go!“ / „Yes to yourself“ */
.script, .script h2, .script h3, .script p {
  font-family: var(--script); font-weight: 400; color: var(--rose);
  font-size: clamp(30px, 3.5vw, 44px); line-height: 1.3;
}
.subtitle, .subtitle h2, .subtitle h3, h2.subtitle {
  font-family: var(--script); font-weight: 400; color: var(--head);
  font-size: clamp(34px, 4vw, 48px); line-height: 1.2; margin: .2em 0 .3em;
}

.lead { font-size: 18px; }
.small, .small p { font-size: 14px; line-height: 1.7; }
.narrow { max-width: 760px; margin-inline: auto; }

/* Bilder */
.content-image figure img, .content-text figure img { width: 100%; }
.content-image figcaption { font-size: 13px; color: #999; margin-top: .4em; }

/* Podcast / externe Inhalte: Klick zum Laden */
.consent-embed {
  background: var(--cream); border: 1px solid var(--blush); border-radius: 8px;
  padding: 32px; text-align: center;
}
.consent-embed iframe { width: 100%; border: 0; border-radius: 12px; }


/* Unterseiten */
.eyebrow p { font: 400 clamp(18px, 2vw, 22px)/1.4 var(--serif); color: var(--head); margin: 0; }
.eyebrow::after { content: ""; display: block; width: 100px; height: 2px; background: var(--rose); margin-top: 18px; }
.pad-top { padding-top: clamp(0px, 8vw, 110px); }
.image--quote {
  background: var(--rose) url("../img/fotos/janina-heyn-mood6.webp") no-repeat 50% 50% / cover;
  padding-block: 10vw; text-align: center; color: var(--white);
}
.image--quote::before { content: ""; position: absolute; inset: 0; background: rgba(56, 27, 15, .25); }
.image--quote > * { position: relative; max-width: 860px; margin-inline: auto; }
.image--quote h2 { color: var(--white); }
.image--quote p { font-family: var(--serif); font-size: 18px; }
.consent-embed .btn-load { font: 400 18px/1.5 var(--sans); cursor: pointer; padding: 8px 28px; border-radius: 22px; border: 2px solid var(--rose); background: var(--rose); color: var(--white); margin-top: 12px; }
.consent-embed .btn-load:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
.consent-embed.is-loaded { padding: 0; background: none; border: 0; }
.consent-embed p { font-size: 14px; max-width: 560px; margin-inline: auto; }
.narrow ul, .content-text ul { padding-left: 1.2em; }
.content-text li::marker { color: var(--rose); }

/* ==========================================================================
   Formulare (Kontaktformular)
   ========================================================================== */
.mod_form, .ce_form { max-width: 720px; }
.widget { margin-bottom: 18px; }
.widget label { display: block; font-size: 14px; color: var(--head); margin-bottom: 4px; }
.widget input[type="text"], .widget input[type="email"], .widget input[type="tel"],
.widget textarea, .widget select {
  width: 100%; font: 400 16px/1.5 var(--sans); color: var(--head);
  padding: 10px 14px; border: 1px solid #e3d6d1; border-radius: 6px; background: var(--white);
}
.widget textarea { min-height: 160px; resize: vertical; }
.widget input:focus, .widget textarea:focus { border-color: var(--rose); outline: none; box-shadow: 0 0 0 3px rgba(204,159,145,.25); }
.widget-checkbox label, .widget-checkbox span { display: inline; font-size: 14px; }
.widget-submit button, button.submit {
  font: 400 18px/1.5 var(--sans); cursor: pointer;
  padding: 8px 30px; border-radius: 22px; border: 2px solid var(--rose);
  background: var(--rose); color: var(--white);
}
.widget-submit button:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
p.error, .widget .error { color: #b3261e; font-size: 14px; }

/* ==========================================================================
   Footer
   ========================================================================== */
#footer { background: var(--rose); color: var(--white); }
#footer > .inside {
  max-width: var(--max); margin: 0 auto; padding: 60px var(--gutter) 40px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: center;
}
#footer h3, #footer h4 { color: var(--white); font-size: 20px; margin-bottom: .3em; }
#footer a { color: var(--white); }
#footer a:hover { color: var(--brown); }
#footer p { font-weight: 300; }
#footer .footer-logo img { width: 300px; max-width: 100%; }
#footer .footer-links { text-align: center; }
#footer .footer-social { display: flex; justify-content: center; gap: 12px; }
#footer .footer-social a {
  display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--cream); color: var(--brown); border-radius: 4px;
}
#footer .footer-social a:hover { background: var(--brown); color: var(--white); }
#footer .footer-social a::before {
  content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
#footer .footer-social a.ig { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2c3.2 0 3.6 0 4.8.1 3.3.1 4.8 1.7 4.9 4.9.1 1.3.1 1.6.1 4.8s0 3.6-.1 4.8c-.1 3.2-1.7 4.8-4.9 4.9-1.3.1-1.6.1-4.8.1s-3.6 0-4.8-.1c-3.3-.1-4.8-1.7-4.9-4.9C2.2 15.6 2.2 15.2 2.2 12s0-3.6.1-4.8C2.4 3.9 3.9 2.4 7.2 2.3 8.4 2.2 8.8 2.2 12 2.2zM12 0C8.7 0 8.3 0 7.1.1 2.7.3.3 2.7.1 7.1 0 8.3 0 8.7 0 12s0 3.7.1 4.9c.2 4.4 2.6 6.8 7 7 1.2.1 1.6.1 4.9.1s3.7 0 4.9-.1c4.4-.2 6.8-2.6 7-7 .1-1.2.1-1.6.1-4.9s0-3.7-.1-4.9c-.2-4.4-2.6-6.8-7-7C15.7 0 15.3 0 12 0zm0 5.8a6.2 6.2 0 1 0 0 12.4 6.2 6.2 0 0 0 0-12.4zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.4-11.8a1.4 1.4 0 1 0 0 2.9 1.4 1.4 0 0 0 0-2.9z'/%3E%3C/svg%3E"); }
#footer .footer-social a.li { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.98 3.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5zM3 9.5h4V21H3V9.5zm6.5 0h3.8v1.6h.1c.5-1 1.8-2 3.7-2 4 0 4.7 2.6 4.7 6V21h-4v-5.2c0-1.2 0-2.8-1.7-2.8s-2 1.3-2 2.7V21h-4V9.5z'/%3E%3C/svg%3E"); }
#footer .footer-disclaimer {
  grid-column: 1 / -1; text-align: center; font-size: 14px; line-height: 1.8;
  max-width: 900px; margin: 10px auto 0;
}
@media (max-width: 780px) {
  #footer > .inside { grid-template-columns: 1fr; text-align: center; }
  #footer .footer-logo img { margin-inline: auto; width: min(340px, 82vw); }
}

/* ==========================================================================
   Kleinkram
   ========================================================================== */
@media (max-width: 680px) {
  :root { --gutter: clamp(28px, 10vw, 44px); }
  .contact-band { padding-block: 70px; }
  .contact-band::before { background: rgba(255,255,255,.78) !important; }
  .contact-band .script { font-size: 40px; }
  .contact-band h2 { font-size: 26px; }
  .split .content-image img, .content-image img { border-radius: 6px; }
  .hero { min-height: 0; padding-top: 58vw; padding-bottom: 60px; }
  .hero--home, .hero--kontakt, .hero--psycho, .hero--warum, .hero--coaching, .hero--podcast {
    background-size: 0 0, cover; background-position: 0 0, 72% 15%; background-color: var(--cream);
  }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(253,248,245,0) 0%, rgba(253,248,245,.25) 25%, rgba(253,248,245,.85) 45%, rgba(253,248,245,.96) 60%, var(--cream) 100%); }
  .hero > * { position: relative; }
  .fade--walking, .fade--coaching { background-size: 0 0, 100% auto; background-position: 0 0, 50% 0; padding-top: 62vw; }
  .fade--walking::before, .fade--coaching::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 68vw; background: linear-gradient(180deg, rgba(255,255,255,0) 40%, #fff 100%); }
  .fade--walking > *, .fade--coaching > * { position: relative; }
  h1 { font-size: 38px; line-height: 1.25; }
  h2 { font-size: 30px; line-height: 1.3; }
  .btn a, .btn--outline a { font-size: 16px; }
  .contact-band { background-size: cover; }
  .contact-band::before { background: rgba(255,255,255,.82); }
  .contact-band > * { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Podcast-Folgen (Contao-Player, eigene Dateien) ---------- */
.content-player.episode {
  max-width: 760px; margin: 0 auto 24px; padding: 26px 30px;
  background: rgba(204, 159, 145, .12); border-radius: 12px; text-align: left;
}
.content-player.episode h3 { font: 500 22px/1.35 var(--serif); color: var(--head); margin: 0 0 6px; }
.content-player.episode figure { margin: 0; display: flex; flex-direction: column-reverse; }
.content-player.episode figcaption { font-size: 15px; line-height: 1.6; color: var(--text); white-space: pre-line; }
.content-player.episode figcaption::first-line { font-size: 13px; letter-spacing: .5px; color: var(--rose-dark); }
.content-player.episode audio { display: block; width: 100%; margin-top: 16px; }
.podcast-cover { margin: 0 auto 36px; }
.podcast-cover img { width: min(340px, 78vw) !important; height: auto; border-radius: 14px; box-shadow: 0 18px 40px rgba(56, 27, 15, .14); }
.podcast-subscribe { max-width: 760px; margin: 8px auto 0; }
.episodes-intro { max-width: 760px; margin: 0 auto 32px; }
@media (max-width: 680px) {
  .content-player.episode { padding: 22px 20px; }
  .content-player.episode h3 { font-size: 19px; }
}

/* ---------- Blog ---------- */
.post-meta { font-size: 14px; letter-spacing: .5px; color: var(--rose-dark); margin: -.3em 0 1.4em; }
.post-teaser { margin-top: 40px; padding: 32px 34px; background: rgba(204, 159, 145, .12); border-radius: 12px; }
.post-teaser h2 { font-size: clamp(26px, 3vw, 34px); }
.quote-card { margin: 8px 0 40px; padding: clamp(36px, 6vw, 64px) 28px; background: var(--blush); border-radius: 12px; text-align: center; }
.quote-card p { margin: 0; font: 400 clamp(22px, 2.6vw, 28px)/1.5 var(--serif); color: var(--brown); }
.post h2 { font-size: clamp(28px, 3.2vw, 36px); margin-top: 1.2em; }
.post h3 { font-size: clamp(21px, 2.2vw, 24px); margin-top: 1.6em; }
.post ol { padding-left: 1.4em; }
.post ol li { margin-bottom: .4em; }
.post-signature { font: 400 clamp(34px, 4vw, 44px)/1.3 var(--script); color: var(--head); margin-top: 1.2em; }
.post-back { margin-top: 2.5em; }

/* ---------- Podcast-Karten mit Bild + Shownotes ---------- */
.episode-card {
  max-width: 900px; margin: 0 auto 28px; padding: 24px; text-align: left;
  background: rgba(204, 159, 145, .12); border-radius: 14px;
  display: grid; grid-template-columns: 240px 1fr; column-gap: 28px; align-items: start;
}
.episode-card > .episode-img { grid-row: 1 / span 2; margin: 0; }
.episode-card > .episode-img img { width: 100% !important; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; display: block; }
.episode-card .episode-player h3 { font: 500 22px/1.35 var(--serif); color: var(--head); margin: 0 0 6px; }
.episode-card .episode-player figure { margin: 0; display: flex; flex-direction: column-reverse; }
.episode-card .episode-player figcaption { font-size: 15px; line-height: 1.6; color: var(--text); white-space: pre-line; }
.episode-card .episode-player figcaption::first-line { font-size: 13px; letter-spacing: .5px; color: var(--rose-dark); }
.episode-card .episode-player audio { display: block; width: 100%; margin-top: 14px; }
.episode-notes { margin-top: 12px; }
.episode-notes details summary { cursor: pointer; color: var(--rose-dark); font-weight: 600; font-size: 14px; letter-spacing: .3px; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.episode-notes details summary::-webkit-details-marker { display: none; }
.episode-notes details summary::after { content: "+"; font-size: 18px; line-height: 1; }
.episode-notes details[open] summary::after { content: "–"; }
.episode-notes details[open] summary { margin-bottom: 10px; }
.episode-notes details p, .episode-notes details li { font-size: 15px; line-height: 1.7; }
@media (max-width: 680px) {
  .episode-card { grid-template-columns: 1fr; padding: 18px; }
  .episode-card > .episode-img { grid-row: auto; margin-bottom: 16px; }
  .episode-card .episode-player h3 { font-size: 19px; }
}

/* Telefonnummern nie umbrechen */
a[href^="tel:"] { white-space: nowrap; }

/* Kein seitliches Verschieben durch das ausgeblendete Mobilmenü */
html, body { overflow-x: clip; }

/* Checkbox Datenschutz im Formular */
.checkbox_container { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.checkbox_container > span { display: flex; align-items: flex-start; gap: 12px; }
.checkbox_container input[type="checkbox"] { flex: 0 0 auto; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--rose-dark); }
.checkbox_container label { font-size: 15px; line-height: 1.6; }

/* Lange Wörter und Links auf schmalen Handys umbrechen */
h1, h2, h3 { overflow-wrap: break-word; }
.rte a, .content-text a { overflow-wrap: anywhere; }

/* Startseite Handy: Kopf rechts, Überschrift vierzeilig links (Wunsch Janina 20.11.) */
@media (max-width: 680px) {
  .hero--home { padding-top: 30px; min-height: 0; background-size: 0 0, auto 430px; background-position: 0 0, 12% 0; }
  .hero--home::before {
    background:
      linear-gradient(180deg, rgba(253,248,245,0) 0, rgba(253,248,245,0) 300px, rgba(253,248,245,.92) 400px, var(--cream) 430px),
      linear-gradient(90deg, rgba(253,248,245,.92) 0%, rgba(253,248,245,.7) 38%, rgba(253,248,245,0) 62%);
  }
  .hero--home h1 { max-width: 7.4em; margin-bottom: 150px; }

  /* Foto hinter dem Text, „vernebelt“ wie auf der alten Seite */
  .fade--walking, .fade--coaching { padding-top: var(--sec-y); background-size: cover, cover; background-position: 0 0, 50% 0; }
  .fade--walking  { background-image: linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)), url("../img/fotos/janina-heyn-walking-therapy.webp"); }
  .fade--coaching { background-image: linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)), url("../img/fotos/janina-heyn-coaching-fuer-frauen.webp"); }
  .fade--walking::before, .fade--coaching::before { display: none; }
}

/* Feinschliff Desktop 2026-11 */
@media (min-width: 681px) {
  .split:has(.line) { align-items: start; }
  /* Startseite: Karten Psychotherapie / Coaching – Icons gleich hoch, damit Überschrift und Text auf einer Linie beginnen */
  .grid-2.grid-center > .content-element-group > .icon { height: 200px; display: flex; align-items: center; justify-content: center; }
  .grid-2.grid-center > .content-element-group > .icon figure { margin: 0; }
  .grid-2.grid-center > .content-element-group > .icon img { max-height: 190px; width: auto; max-width: 100%; }
}

/* Foto ganzflächig Desktop */
@media (min-width: 681px) {
  .fade--walking, .fade--coaching { background-size: 100% 100%, cover; background-position: 0 0, 50% 0; }
  .fade--walking > *, .fade--coaching > * { max-width: 560px; }
}
