/* Samira Huber · The Inner Compass (WordPress)
   Aufbau: ruhige, linksbündige Lesespalten wie im Journal; Petrol-Abschnitte mit Doppelrahmen als Kapitelöffner.
   Schriften werden über theme.json eingebunden (lokal, ohne Google). */

:root {
  --petrol: #0F3D45;
  --petrol-zeichen: #19525C;
  --rose: #E2B3AD;
  --mauve: #B4757A;
  --mauve-text: #8E4F58;
  --creme: #FBF6F1;
  --puder: #F3E1DD;
  --puder-hell: #FBF1EE;
  --tinte: #23373B;
  --tinte-leise: #51666A;
  --linie: #D3BDB7;
  --auf-petrol: #F4E6E2;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --label: "Carlito", "Lato", Calibri, "Segoe UI", Arial, sans-serif;

  --spalte: 68rem;
  --lesen: 40rem;
  --abstand: clamp(4rem, 9vw, 7rem);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--petrol); text-decoration-color: var(--mauve); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; }
strong { font-weight: 600; }

/* WordPress setzt Abstände über Außenränder; in unseren Rastern regelt das „gap“. */
.wp-site-blocks > *,
.wp-block-post-content > .alignfull,
:is(.stapel, .zwei, .etappen, .etappe, .schritte, .schritt, .richtungen, .richtung, .kasten, .daten, .reihe, .frage, .rahmen, .fragen, .wp-block-details) > * { margin-block: 0; }
.wp-block-post-content > .alignfull + :not(.alignfull) { margin-block-start: var(--abstand); }
/* Spalten in einer Reihe beginnen immer auf derselben Höhe (Website und Editor). */
:is(.etappen, .schritte, .pakete, .mythen, .richtungen, .zwei, .kasten, .daten, .reihe, .fuss-zeile) > * { margin-block: 0 !important; }

/* ---------- Bausteine ---------- */
.rahmen { width: min(100% - 2.5rem, var(--spalte)); margin-inline: auto; }
.abschnitt { padding-block: var(--abstand); }
.abschnitt + .abschnitt.gleich { padding-top: 0; }
.stapel { display: flex; flex-direction: column; gap: 1.15rem; }
.stapel > * { min-width: 0; }
.lesen { max-width: var(--lesen); }
.mittig { margin-inline: auto; }
.luft { gap: 2.25rem; }
.luft-gross { gap: 3rem; }
.luft-klein { gap: 2rem; }
.senkrecht-mitte { justify-content: center; }

.marke {
  font-family: var(--label); font-weight: 700; font-size: 0.75rem; line-height: 1.4;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--mauve-text);
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.18; color: var(--petrol); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); letter-spacing: -0.005em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.45rem); }
h3 { font-size: 1.35rem; line-height: 1.3; }
p { margin: 0; }
.einleitung { font-style: italic; font-size: 1.2rem; line-height: 1.55; color: var(--tinte-leise); }
.wp-block-separator.strich { width: 6.5rem; max-width: 6.5rem; height: 0; border: 0; border-top: 1px solid currentColor; margin: 0.35rem 0 !important; opacity: 0.85; }

/* Aufzählungen: runde Mauve-Punkte */
ul.wp-block-list { display: flex; flex-direction: column; gap: 0.6rem; padding: 0; list-style: none; margin: 0; }
ul.wp-block-list > li { position: relative; padding-left: 1.4rem; margin: 0; }
ul.wp-block-list > li::before { content: ""; position: absolute; left: 0.15rem; top: 0.72em; width: 0.38rem; height: 0.38rem; border-radius: 50%; background: var(--mauve); }
ol.wp-block-list { padding-left: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; margin: 0; }
ol.wp-block-list > li::marker { color: var(--mauve-text); }

/* Knöpfe */
.wp-site-blocks .wp-block-button__link, .knopf, .editor-styles-wrapper .wp-block-button__link {
  display: inline-block; padding: 0.95rem 1.6rem; border: 1px solid var(--petrol); border-radius: 2px;
  background: var(--petrol); color: var(--creme);
  font-family: var(--label); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; line-height: 1.3;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.wp-site-blocks .wp-block-button__link:hover, .knopf:hover { background: var(--creme); color: var(--petrol); }
.reihe { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.6rem; margin-top: 0.4rem; }

/* Platzhalter: alles, was du noch ersetzen musst */
.ph { background: var(--puder); box-shadow: inset 0 -1px 0 var(--mauve); padding: 0.05em 0.3em; border-radius: 2px; font-style: normal; }
.petrol .ph { background: rgba(226, 179, 173, 0.2); box-shadow: inset 0 -1px 0 var(--rose); }

/* ---------- Kopfzeile ---------- */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf .rahmen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 2rem; padding-block: 1rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--petrol); }
.logo img { width: 2.4rem; height: 2.4rem; display: block; }
.logo span { display: flex; flex-direction: column; line-height: 1.2; }
.logo b { font-weight: 500; font-size: 1.2rem; }
.logo small { font-family: var(--label); font-weight: 700; font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mauve-text); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.7rem; }
.nav a:not(.knopf) { font-family: var(--label); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--petrol); padding-block: 0.45rem; border-bottom: 1px solid transparent; }
.nav a:not(.knopf):hover,
.seite-startseite .nav .nav-startseite,
.seite-ueber-mich .nav .nav-ueber-mich,
.seite-hypnose .nav .nav-hypnose { border-bottom-color: var(--mauve); }
.kopf .knopf { padding: 0.65rem 1.1rem; font-size: 0.75rem; }

/* ---------- Petrol-Abschnitte (Kapitelöffner) ---------- */
.petrol { position: relative; background: var(--petrol); color: var(--auf-petrol); --kompass-grund: var(--petrol); }
.petrol h1, .petrol h2, .petrol h3 { color: var(--rose); }
.petrol .marke { color: var(--rose); }
.petrol a { color: var(--rose); text-decoration-color: currentColor; }
.petrol .einleitung { color: var(--auf-petrol); }
.wp-site-blocks .petrol .wp-block-button__link, .editor-styles-wrapper .petrol .wp-block-button__link { background: var(--rose); border-color: var(--rose); color: var(--petrol); }
.wp-site-blocks .petrol .wp-block-button__link:hover { background: transparent; color: var(--rose); }
.petrol :focus-visible { outline-color: var(--rose); }
.doppelrahmen::before, .doppelrahmen::after { content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(226, 179, 173, 0.5); }
.doppelrahmen::before { inset: 0.75rem; }
.doppelrahmen::after { inset: 1.05rem; }
.doppelrahmen { padding-inline: 1.05rem; }

.auftakt .rahmen { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 2.5rem 4rem; }
.auftakt { padding-block: clamp(4rem, 9vw, 6.5rem); }
.auftakt .kompass { display: block; width: min(100%, 27rem); margin-inline: auto; color: var(--rose); }
.auftakt .kompass-buchstaben { font-family: var(--serif); }
.kompass-rose { transform-origin: 100px 100px; animation: einpendeln 2.2s cubic-bezier(0.25, 0.9, 0.3, 1) both; }
@keyframes einpendeln { 0% { transform: rotate(-38deg); } 55% { transform: rotate(7deg); } 78% { transform: rotate(-2.5deg); } 100% { transform: rotate(0); } }
.hinweiszeile { font-family: var(--label); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; }
.hinweis-klein { font-size: 0.875rem; opacity: 0.85; }
.kompass-bild { margin: 0 auto; width: min(60%, 15rem); }
.kompass-bild img { display: block; width: 100%; }

/* ---------- Frage-Kasten (wie die Tagesfrage im Journal) ---------- */
.frage { background: var(--petrol); color: #fff; border-left: 6px solid var(--rose); padding: 1.6rem clamp(1.25rem, 4vw, 2rem) 1.8rem; display: flex; flex-direction: column; gap: 0.5rem; margin-block: 0.75rem; }
.frage .marke { color: var(--rose); font-size: 0.6875rem; }
.frage p:last-child { font-size: clamp(1.25rem, 2.6vw, 1.55rem); line-height: 1.4; }

/* ---------- Drei Etappen ---------- */
.etappen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2.5rem; }
.etappe { position: relative; border-top: 1px solid rgba(226, 179, 173, 0.6); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.etappe svg { position: absolute; right: 0; top: 1rem; width: 5.5rem; height: 5.5rem; fill: var(--petrol-zeichen); }
.etappe h3 { font-size: 2.5rem; line-height: 1; }
.etappe > * { position: relative; }
.etappe .unter { font-style: italic; font-size: 1.15rem; color: #fff; }

/* ---------- Angebot (Puder-Kasten mit Trennlinie) ---------- */
.kasten { background: var(--puder); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem clamp(1.5rem, 4vw, 3rem); }
.kasten > * + * { border-left: 1px solid var(--mauve); padding-left: clamp(1.5rem, 4vw, 3rem); }
.daten { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.7rem 1.25rem; align-items: baseline; }
.daten .dt { font-family: var(--label); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mauve-text); }

/* ---------- Ablauf ---------- */
.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; counter-reset: schritt; }
.schritt { counter-increment: schritt; border-top: 1px solid var(--petrol); padding-top: 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.schritt::before { content: "Schritt " counter(schritt); font-family: var(--label); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mauve-text); }

/* ---------- Zwei Spalten, Foto ---------- */
.zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem clamp(2rem, 6vw, 5rem); }
.zwei.mitte { align-items: center; }
.wp-block-image.foto { width: min(100%, 24rem); margin: 0; }
.wp-block-image.foto img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1.5rem; }
.wp-block-image.foto.rechts { justify-self: end; }
.hell { background: var(--puder-hell); }

/* ---------- Himmelsrichtungen (Werte) ---------- */
.richtungen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.richtung { border-top: 1px solid var(--petrol); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.richtung .buchstabe { font-size: 2rem; line-height: 1; color: var(--mauve); }

/* ---------- Fragen ---------- */
.fragen { border-top: 1px solid var(--linie); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; padding: 1.1rem 2.25rem 1.1rem 0; position: relative; font-size: 1.15rem; color: var(--petrol); list-style: none; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.85rem; font-size: 1.5rem; line-height: 1; color: var(--mauve); }
.fragen details[open] summary::after { content: "–"; }
.fragen details > :not(summary) { padding: 0 0 1.4rem; max-width: var(--lesen); }

/* ---------- Fußzeile ---------- */
.fuss { border-top: 1px solid var(--linie); padding-block: 2.75rem 3rem; font-size: 0.9375rem; color: var(--tinte-leise); }
.fuss .rahmen { display: flex; flex-direction: column; gap: 1.6rem; }
.fuss-zeile { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.fuss-zeile img { width: 2.25rem; display: block; }
.fuss-zeile ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.3rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.fuss a { color: var(--tinte-leise); }
.fuss .klein { font-size: 0.8125rem; line-height: 1.6; max-width: 46rem; border-top: 1px solid var(--linie); padding-top: 1.2rem; }

/* ---------- Rechtstexte ---------- */
.recht { max-width: 44rem; }
.recht h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
.recht h2 { font-size: 1.45rem; margin-top: 1.9rem; }
.recht h3 { font-size: 1.1rem; font-weight: 600; margin-top: 0.7rem; }
.recht ul.wp-block-list { gap: 0.35rem; }
.recht .stand { color: var(--tinte-leise); font-size: 0.9375rem; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 56rem) {
  .auftakt .rahmen { grid-template-columns: minmax(0, 1fr); }
  .auftakt .kompass { order: -1; width: min(72%, 19rem); }
  .etappen, .schritte { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .kasten, .zwei { grid-template-columns: minmax(0, 1fr); }
  .kasten > * + * { border-left: 0; padding-left: 0; border-top: 1px solid var(--mauve); padding-top: 2rem; }
  .wp-block-image.foto.rechts { justify-self: start; }
  .richtungen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss-zeile { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .fuss-zeile ul { justify-content: flex-start; }
}
@media (max-width: 30rem) {
  .kopf .knopf { display: none; }
  .nav { gap: 0.2rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kompass-rose { animation: none; }
  .knopf, .wp-block-button__link { transition: none; }
}

/* ---------- Hypnose: Mythen und Pakete ---------- */
.mythen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 4rem); }
.mythos { border-top: 1px solid var(--petrol); padding-top: 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.mythos h3 { font-style: italic; }
.pakete { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.paket { background: var(--puder); padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 0.9rem; }
.paket ul.wp-block-list { gap: 0.45rem; }
.paket .preis { font-size: 1.5rem; color: var(--petrol); margin-top: auto; padding-top: 0.6rem; border-top: 1px solid var(--mauve); }
:is(.mythen, .mythos, .pakete, .paket) > * { margin-block: 0; }
@media (max-width: 56rem) {
  .mythen, .pakete { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Baustellenseite ---------- */
.baustellenseite .baustelle { min-height: 100vh; display: flex; align-items: center; }
.baustellenseite .baustelle .rahmen { width: min(100% - 2.5rem, var(--spalte)); }
