/* Psychometric Energetik · Webseite
   Farben nach dem PE-Farbsystem v4. Bewusst nur eine helle Fassung:
   Logo und Schmetterling sind für Weiß gestaltet. */
:root {
  --grund: #FFFFFF;
  --sand: #FDF4FB;
  --text: #1A1A1A;
  --text-mittel: #555555;
  --text-hell: #8A8A8A;
  --linie: #E8E1E6;
  --faden: #D3D1C7;
  --magenta: #B8008A;
  --seafoam: #3A9E6A;
  --gold: #E8920A;
  --gold-text: #C77A00;
  --gold-hell: #FEF3E2;
  --petrol: #138A8E;
  --titel: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", "TeX Gyre Pagella", Georgia, serif;
  --fliess: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("schrift/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("schrift/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("schrift/source-sans-3-latin-600-normal.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text); font-family: var(--fliess); font-size: 18px; line-height: 1.65; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: var(--magenta); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 3px; }

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-block: 18px; }
.marke { display: block; line-height: 0; }
.marke img { height: 58px; width: auto; }
.navi ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 0.98rem; }
.navi a { color: var(--text-mittel); text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; }
.navi a:hover { color: var(--text); }
.navi .extern a { color: var(--magenta); font-weight: 600; white-space: nowrap; }
.navi .extern a::after { content: " ↗"; font-weight: 400; }
.navi a[aria-current="page"] { color: var(--text); border-bottom-color: var(--magenta); }

main .wrap { padding-block: 56px 72px; }
.lese { max-width: 66ch; }
h1, h2, h3 { font-family: var(--titel); font-weight: 400; text-wrap: balance; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); color: var(--magenta); }
h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin: 64px 0 16px; }
p { margin: 0 0 1em; }
.einl { font-size: 1.15rem; }
.augenbraue { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 14px; }
.nach-titel { margin-top: 24px; }

/* Startseite */
.held { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.held .leit { font-family: var(--titel); font-style: italic; font-size: 1.25rem; color: var(--seafoam); margin: 14px 0 22px; }
.chart { width: 100%; max-width: 380px; justify-self: center; margin: 0; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .bogen { fill: none; stroke: var(--sand); stroke-width: 26; }
.chart .bogenlinie { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.chart .strich { stroke: var(--gold); stroke-width: 1.2; }
.chart .zahl { fill: var(--text-mittel); font-family: var(--titel); font-size: 13px; text-anchor: middle; }
.chart .zahl.harmonie { fill: var(--seafoam); font-weight: 700; font-size: 15px; }
.chart .nadel line { stroke: var(--magenta); stroke-width: 1.6; stroke-linecap: round; }
.chart .nadel circle { fill: var(--magenta); }
.chart .achse { fill: var(--text); }
.chart .frage { fill: var(--text); font-family: var(--titel); font-style: italic; font-size: 15px; text-anchor: middle; }
.chart .nadel { transform-box: view-box; transform-origin: 160px 170px; transform: rotate(36deg); animation: pendeln 3.2s cubic-bezier(.3,.1,.3,1) 0.3s both; }
@keyframes pendeln {
  0% { transform: rotate(-62deg); } 22% { transform: rotate(68deg); } 42% { transform: rotate(4deg); }
  60% { transform: rotate(52deg); } 78% { transform: rotate(30deg); } 100% { transform: rotate(36deg); }
}
@media (prefers-reduced-motion: reduce) { .chart .nadel { animation: none; } }

.kernfrage { margin-top: 72px; padding-block: 44px; padding-inline: 16px; background: var(--sand); text-align: center; border-radius: 4px; }
.kernfrage .gross { font-family: var(--titel); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--magenta); margin: 6px 0 18px; line-height: 1.2; }
.kernfrage .klein { max-width: 58ch; margin-inline: auto; margin-bottom: 0; }

/* Nummerierter Weg */
ol.weg { list-style: none; padding: 0; margin: 8px 0 0; counter-reset: schritt; display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); border-top: 2px solid var(--seafoam); }
ol.weg li { counter-increment: schritt; padding: 14px 10px 4px 0; font-weight: 600; font-size: 1rem; }
ol.weg li::before { content: counter(schritt); display: block; font-family: var(--titel); font-weight: 400; font-size: 1.6rem; color: var(--seafoam); line-height: 1; margin-bottom: 6px; font-variant-numeric: tabular-nums; }

/* Nummerierte Listen (in der PE wird auf Zahlen gezeigt) */
ol.zahlen { padding: 0; margin: 18px 0 24px; list-style: none; counter-reset: n; display: grid; gap: 8px; }
ol.zahlen li { counter-increment: n; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); align-items: baseline; }
ol.zahlen li::before { content: counter(n); color: var(--gold-text); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; padding-right: 0.8em; }
ol.zahlen.fragen li { font-family: var(--titel); font-size: 1.2rem; }
ol.zahlen.spalten { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 32px; }

.satz { font-family: var(--titel); font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.35; margin: 36px 0; padding-left: 22px; border-left: 3px solid var(--gold); max-width: 32ch; }
.satz.breit { max-width: none; }
.schluss { font-family: var(--titel); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.6rem); color: var(--seafoam); margin: 40px 0 0; }

.herkunft { margin-top: 56px; padding: 24px 28px; background: var(--gold-hell); border-left: 3px solid var(--gold); font-size: 1rem; }
.herkunft p:last-child { margin-bottom: 0; }
.herkunft .label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 8px; }

.weiter { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 48px; font-weight: 600; }
.weiter a { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.weiter a::after { content: " →"; }

.grundsatz { margin: 40px 0; padding: 26px 28px; border: 1px solid var(--seafoam); border-radius: 4px; }
.grundsatz .titel { font-family: var(--titel); font-size: 1.6rem; color: var(--seafoam); margin-bottom: 10px; }
.grundsatz p:last-child { margin-bottom: 0; }

.kontaktliste { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; margin: 28px 0 36px; }
.kontaktliste dt { color: var(--text-mittel); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 4px; }
.kontaktliste dd { margin: 0; font-size: 1.15rem; }
.kontaktliste a { color: var(--text); }

/* Fuß */
.fuss { background: var(--sand); font-size: 0.92rem; color: var(--text-mittel); }
.fuss .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 26px; }
.fuss .absender { display: flex; align-items: center; gap: 14px; }
.fuss .absender img { width: 44px; height: auto; }
.fuss a { color: var(--text-mittel); }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .marke img { height: 44px; }
  .held { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .chart { max-width: 290px; }
  main .wrap { padding-block: 36px 56px; }
  h2 { margin-top: 48px; }
  .herkunft, .grundsatz { padding: 20px; }
  .kernfrage { margin-top: 52px; padding-block: 32px; }
}

@media (max-width: 560px) {
  ol.weg { grid-template-columns: minmax(0, 1fr); }
  ol.weg li { display: flex; align-items: baseline; gap: 14px; padding: 10px 0 0; }
  ol.weg li::before { width: 1.2em; margin: 0; font-size: 1.4rem; }
}

/* Kosmische Prinzipien: Band in voller Leitfarbe, wie die Trennfolien */
.kp-band { margin-top: 64px; background: var(--magenta); color: #FFFFFF; border-radius: 4px; padding: 48px 44px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; border-left: 6px solid var(--gold); }
.kp-band .augenbraue { color: var(--gold-hell); }
.kp-band h2 { margin: 0 0 18px; color: #FFFFFF; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.kp-band p { max-width: 54ch; }
.kp-band .knopf { display: inline-block; margin-top: 8px; background: #FFFFFF; color: var(--magenta); font-weight: 600; text-decoration: none; padding: 11px 20px; border-radius: 3px; }
.kp-band .knopf::after { content: " →"; }
.kp-band .knopf:hover { background: var(--gold-hell); }
.kp-band .knopf:focus-visible { outline-color: #FFFFFF; }
.kp-ring { margin: 0; justify-self: center; width: 100%; max-width: 280px; }
.kp-ring svg { width: 100%; height: auto; display: block; }
.kp-ring .punkte circle { fill: var(--gold-hell); }
.kp-ring .innen { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.kp-ring .zahl { fill: #FFFFFF; font-family: var(--titel); font-size: 56px; text-anchor: middle; dominant-baseline: middle; }
.kp-ring .plus { fill: var(--gold-hell); font-family: var(--titel); font-style: italic; font-size: 17px; text-anchor: middle; }
@media (max-width: 760px) {
  .kp-band { grid-template-columns: minmax(0, 1fr); padding: 32px 22px; gap: 24px; margin-top: 52px; }
  .kp-ring { max-width: 200px; order: -1; }
}
