/* ============================================================
   Praxis für Psychosynthese – Friederike Erhardt
   Farben aus dem Hung-Symbol und den Praxisräumen
   ============================================================ */

:root {
  --tanne:      #234C43;   /* Grün aus dem Hung-Symbol */
  --tanne-tief: #16332C;
  --tanne-hell: #3C6D62;
  --gold:       #B8842A;   /* Goldring des Symbols */
  --gold-hell:  #E3BC6E;
  --creme:      #FDF3DF;   /* Wandton der Praxisräume */
  --sand:       #F2E6CF;
  --holz:       #C08A4E;
  --tinte:      #2A2520;
  --dunst:      #6B6053;

  --serif: "Petrona", Georgia, serif;
  --sans:  "Karla", system-ui, -apple-system, sans-serif;

  --breite: 1180px;
  --luft:   clamp(3.25rem, 6.75vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: clip;
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  background-color: var(--creme);
  background-image:
    radial-gradient(rgba(42, 37, 32, .05) 1px, transparent 1px),
    radial-gradient(1200px 600px at 78% -8%, rgba(184, 132, 42, .16), transparent 65%);
  background-size: 4px 4px, 100% 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Bausteine ---------- */

.huelle {
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.75rem);
}

.abschnitt { padding-block: var(--luft); position: relative; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .98rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid currentColor;
  flex: none;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.14;
  margin-top: 0;
  color: var(--tanne-tief);
}

h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); margin-bottom: .75rem; }

p { margin: 0 0 1.25rem; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

.knopf {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.7rem;
  border-radius: 999px;
  background: var(--tanne);
  color: var(--creme);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  box-shadow: 0 10px 24px -14px rgba(35, 76, 67, .8);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.knopf:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(184, 132, 42, .9);
}

.knopf--linie {
  background: transparent;
  color: var(--tanne);
  border: 1px solid rgba(35, 76, 67, .35);
  box-shadow: none;
}
.knopf--linie:hover { background: var(--tanne); color: var(--creme); border-color: var(--tanne); }

/* ---------- Navigation ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 243, 223, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184, 132, 42, .28);
}

.kopf__inhalt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.6rem;
}

.marke {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
  text-decoration: none;
}
.marke img { width: 38px; height: auto; flex: none; }
.marke b {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  display: block;
  color: var(--tanne-tief);
}
.marke span {
  display: block;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dunst);
}

.nav ul { display: flex; flex-wrap: wrap; row-gap: .5rem; gap: .5rem .9rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-block;
  text-decoration: none;
  font-size: .9rem;
  white-space: nowrap;
  color: var(--dunst);
  padding-block: .35rem;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav a:hover { color: var(--tanne); border-bottom-color: var(--gold); }

.menue-knopf {
  display: none;
  background: none;
  border: 1px solid rgba(184, 132, 42, .4);
  border-radius: 999px;
  padding: .5rem 1rem;
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
  color: var(--tanne);
}

.kopf__cta { padding: .75rem 1.35rem; font-size: .88rem; flex-shrink: 0; white-space: nowrap; }

@media (max-width: 1240px) {
  .menue-knopf { display: block; }
  .nav {
    position: absolute;
    inset: 100% 0 auto;
    background: var(--creme);
    border-bottom: 1px solid rgba(184, 132, 42, .28);
    display: none;
  }
  .nav[data-offen="true"] { display: block; }
  .nav ul { flex-direction: column; flex-wrap: nowrap; gap: 0; padding: .5rem clamp(1.25rem, 5vw, 2.75rem) 1.5rem; }
  .nav li + li { border-top: 1px solid rgba(42, 37, 32, .1); }
  .nav a { display: block; padding: .85rem 0; font-size: 1rem; }
  .kopf__cta { display: none; }
}

/* ---------- Auftakt ---------- */

.auftakt { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 5rem); }

.auftakt__raster {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.auftakt h1 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); margin-bottom: 1.6rem; white-space: nowrap; }
.auftakt h1 em { font-style: italic; color: var(--gold); }

.auftakt__quelle {
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dunst);
  margin-bottom: 2rem;
}

.auftakt__text { font-size: 1.16rem; color: var(--dunst); max-width: 46ch; }
.auftakt__aktionen { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }

/* Signatur: das Hung-Symbol im Ring */
.emblem {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 440px;
  margin-inline: auto;
}
.emblem::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 188, 110, .45) 0%, rgba(227, 188, 110, .12) 45%, transparent 70%);
}
.emblem__ring {
  position: absolute;
  inset: -2%;
  border-radius: 50%;
  border: 1px solid rgba(184, 132, 42, .45);
}
.emblem__ring--innen { inset: 6%; border-style: dashed; border-color: rgba(35, 76, 67, .28); }
.emblem__ring--aussen { inset: -10%; border-color: rgba(184, 132, 42, .22); }
.emblem img {
  position: relative;
  width: 72%;
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(35, 76, 67, .28));
}

@media (prefers-reduced-motion: no-preference) {
  .emblem__ring--aussen { animation: kreisen 90s linear infinite; }
  .emblem__ring { animation: atmen 9s ease-in-out infinite; }
  .emblem img { animation: auftauchen 1.4s ease-out both; }
  @keyframes kreisen { to { transform: rotate(360deg); } }
  @keyframes atmen { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
  @keyframes auftauchen {
    from { opacity: 0; transform: scale(.86); }
    to   { opacity: 1; transform: scale(1); }
  }
}

@media (max-width: 900px) {
  .auftakt__raster { grid-template-columns: 1fr; }
  .auftakt h1 { font-size: clamp(1.9rem, 6.5vw, 3.4rem); }
  .auftakt__bild { order: -1; }
  .emblem { max-width: 260px; }
}

/* ---------- Flächen ---------- */

.flaeche-sand {
  background: linear-gradient(180deg, var(--sand), #EFE1C6);
  border-block: 1px solid rgba(184, 132, 42, .3);
}

.flaeche-dunkel {
  background: var(--tanne);
  color: rgba(253, 243, 223, .85);
  position: relative;
  overflow: hidden;
}
.flaeche-dunkel h2, .flaeche-dunkel h3 { color: var(--creme); }
.flaeche-dunkel .eyebrow { color: var(--gold-hell); }
.flaeche-dunkel p { color: rgba(253, 243, 223, .82); }

.flaeche-dunkel__foto {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 62%;
  opacity: .16;
  filter: grayscale(.2);
}
.flaeche-dunkel > .abschnitt { position: relative; z-index: 1; }

.wasserzeichen {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(46%, 460px);
  opacity: .1;
  pointer-events: none;
}
@media (max-width: 900px) { .wasserzeichen { right: -22%; width: 70%; opacity: .07; } }
#krystal { overflow-x: clip; }

/* ---------- Zweispalter ---------- */

.zwei {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.zwei--bildlinks .zwei__bild { order: -1; }
@media (max-width: 900px) {
  .zwei { grid-template-columns: 1fr; }
  .zwei--bildlinks .zwei__bild { order: 0; }
}

/* Bildrahmen mit versetzter Goldlinie */
.rahmen__bild { position: relative; }
.rahmen img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 26px 50px -30px rgba(42, 37, 32, .7);
  position: relative;
  z-index: 1;
}
.rahmen__bild::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  z-index: 0;
}
.rahmen--links .rahmen__bild::after { inset: 16px 16px -16px -16px; }

.rahmen figcaption {
  margin-top: 1.4rem;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dunst);
}

/* Bogenrahmen für das Porträt */
.bogen { max-width: 260px; }
#zu-mir .zwei__bild { align-self: start; margin-top: .35rem; }
.bogen img { border-radius: 999px 999px 6px 6px; }
.bogen .rahmen__bild::after { border-radius: 999px 999px 6px 6px; inset: 18px -18px -18px 18px; }

/* ---------- Zitat ---------- */

.zitat {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.9vw, 2.25rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--tanne-tief);
  margin: 0 0 2rem;
  max-width: 22ch;
  position: relative;
  padding-top: 2.5rem;
}
.zitat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--gold);
}
.zitat footer {
  font-family: var(--sans);
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dunst);
  margin-top: 1rem;
}

.buchtitel { font-style: italic; color: var(--tanne); }

.spalten { columns: 2; column-gap: clamp(2rem, 4vw, 3.5rem); }
.spalten p { max-width: none; break-inside: avoid; }
@media (max-width: 780px) { .spalten { columns: 1; } }

/* ---------- Karten ---------- */

.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 1.5rem;
  margin-top: 2.75rem;
}

.karte {
  background: var(--creme);
  border: 1px solid rgba(184, 132, 42, .3);
  border-radius: 4px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 18px 34px -28px rgba(42, 37, 32, .8);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.karte::before {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(1.75rem, 3vw, 2.5rem);
  width: 48px;
  height: 3px;
  background: var(--gold);
}
.karte:hover { transform: translateY(-4px); box-shadow: 0 26px 42px -30px rgba(42, 37, 32, .9); }
.karte p { color: var(--dunst); }
.flaeche-dunkel .karte h3 { color: var(--tanne); }

/* ---------- Wege ---------- */

.wege { list-style: none; margin: 2.5rem 0 0; padding: 0; max-width: 58ch; }
.wege li {
  padding: 1.15rem 0 1.15rem 2.4rem;
  border-top: 1px solid rgba(184, 132, 42, .35);
  position: relative;
  font-size: 1.09rem;
}
.wege li:last-child { border-bottom: 1px solid rgba(184, 132, 42, .35); }
.wege li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.7rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

/* ---------- Termine ---------- */

.termine { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.termine li {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(184, 132, 42, .35);
}
.termine li:last-child { border-bottom: 1px solid rgba(184, 132, 42, .35); }
.termine .zeit { font-weight: 600; font-size: .98rem; color: var(--tanne); }
.termine .zeit span { display: block; font-weight: 400; color: var(--dunst); font-size: .95rem; }
.termine p { color: var(--dunst); margin: 0; }
@media (max-width: 720px) { .termine li { grid-template-columns: 1fr; gap: .4rem; } }

.gruppen { list-style: none; padding: 0; margin: 0; }
.gruppen li { padding: .6rem 0 .6rem 1.5rem; position: relative; break-inside: avoid; }
.gruppen li::before { content: "◦"; position: absolute; left: 0; color: var(--gold); font-size: 1.2rem; }

/* ---------- Werdegang ---------- */

.werdegang { margin: 2.5rem 0 0; }
.werdegang div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(184, 132, 42, .3);
}
.werdegang div:last-of-type { border-bottom: 1px solid rgba(184, 132, 42, .3); }
.werdegang dt {
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .08em;
  color: var(--gold);
  text-transform: uppercase;
  padding-top: .25rem;
}
.werdegang dd { margin: 0; color: var(--dunst); }
@media (max-width: 720px) { .werdegang div { grid-template-columns: 1fr; gap: .25rem; } }

/* ---------- Kontakt ---------- */

.kontakt__raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 900px) { .kontakt__raster { grid-template-columns: 1fr; } }

.kontaktliste { list-style: none; margin: 0; padding: 0; }
.kontaktliste li { padding: .95rem 0; border-top: 1px solid rgba(184, 132, 42, .3); }
.kontaktliste li:last-child { border-bottom: 1px solid rgba(184, 132, 42, .3); }
.kontaktliste b {
  display: block;
  font-size: .84rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .2rem;
}
.kontaktliste a { text-decoration: none; border-bottom: 1px solid rgba(184, 132, 42, .45); }
.kontaktliste a:hover { border-bottom-color: var(--tanne); }

/* ---------- Verweise ---------- */

.verweise { list-style: none; padding: 0; margin: 2rem 0 0; }
.verweise li { border-top: 1px solid rgba(184, 132, 42, .3); }
.verweise li:last-child { border-bottom: 1px solid rgba(184, 132, 42, .3); }
.verweise a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.3rem 0;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--tanne-tief);
  transition: padding-left .25s ease, color .25s ease;
}
.verweise a:hover { padding-left: .7rem; color: var(--gold); }
.verweise small { font-family: var(--sans); font-size: .92rem; color: var(--dunst); }

/* ---------- Fuß ---------- */

.fuss {
  background: var(--tanne-tief);
  color: rgba(253, 243, 223, .72);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem;
  font-size: .95rem;
}
.fuss h2 { color: var(--creme); font-size: 1.6rem; }
.fuss h3 {
  color: var(--gold-hell);
  font-family: var(--sans);
  font-size: .86rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .75rem;
}
.fuss a { color: var(--creme); }
.fuss__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; }
.fuss p { max-width: 46ch; }
.fuss__marke { width: 60px; margin-bottom: 1.25rem; }
.fuss__schluss {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(253, 243, 223, .16);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: .85rem;
}
.fuss .fuss__hinweis { margin: .9rem 0 0; max-width: none; font-size: .78rem; color: rgba(253, 243, 223, .6); }

/* ---------- Rechtstexte ---------- */

.rechtstext { max-width: 76ch; }
.rechtstext h2 { margin-top: 3rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.rechtstext h3 { font-size: 1.1rem; margin-top: 2rem; }
.rechtstext p, .rechtstext li { max-width: none; color: var(--dunst); }
.rechtstext ul { padding-left: 1.2rem; }

/* ---------- Einblenden ---------- */

@media (prefers-reduced-motion: no-preference) {
  .zeigen { opacity: 0; transform: translateY(26px); }
  .zeigen.sichtbar {
    opacity: 1;
    transform: none;
    transition: opacity .8s ease, transform .8s ease;
  }
}

.bild-fehlt {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: var(--sand);
  color: var(--dunst);
  font-size: .82rem;
  letter-spacing: .08em;
  text-align: center;
  padding: 1rem;
}

/* Wege-Liste auf dunklem Grund */
.flaeche-dunkel .wege li { border-top-color: rgba(253, 243, 223, .2); }
.flaeche-dunkel .wege li:last-child { border-bottom-color: rgba(253, 243, 223, .2); }
.flaeche-dunkel .wege li::before { border-color: var(--gold-hell); }
.flaeche-dunkel .kontaktliste li { border-color: rgba(253, 243, 223, .22); }
.flaeche-dunkel .kontaktliste b { color: var(--gold-hell); }
.flaeche-dunkel .kontaktliste a { border-bottom-color: rgba(253, 243, 223, .4); }
