/* Eva Widmann – Psychotherapie | statische Version */

@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --rosa: #F7C3CD;
  --mint: #C9DED2;
  --pfirsich: #F8CD9F;
  --creme: #FDF3EA;
  --gruen: #86B897;      /* Links, Zitat-Autor, aktive Navigation */
  --text: #1a1a1a;
  --text-leise: #555;
  --linie: #e6e6e6;
  --breite: 1100px;
  --schrift: "Figtree", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 112.5%; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 400; line-height: 1.2; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
h3 { font-size: 1.45rem; }
strong { font-weight: 500; }
.blocksatz { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; }

.container { width: min(var(--breite), 100% - 3rem); margin-inline: auto; position: relative; }
.schmal { width: min(860px, 100% - 3rem); margin-inline: auto; position: relative; }

/* ---------- Navigation ---------- */
.kopf { position: relative; z-index: 20; }
.kopf--ueberlagert { position: absolute; inset: 0 0 auto; }
.nav ul { list-style: none; margin: 0; padding: 2rem 0; display: flex; justify-content: space-between; align-items: center; width: min(1300px, 100% - 6rem); margin-inline: auto; }
.nav li { display: flex; align-items: center; flex: 1; }
.nav li:last-child { flex: 0 0 auto; }
.nav li:not(:last-child)::after { content: "·"; margin: 0 auto; padding: 0 .5rem; }
.nav a { text-decoration: none; font-size: 1rem; font-weight: 400; transition: color .2s; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gruen); }
.menue-knopf { display: none; }
.kopf__logo { display: none; }
@media (max-width: 900px) {
  .kopf__logo { display: block; position: absolute; top: .7rem; left: 1rem; z-index: 30; width: 46px; }
  .kopf__logo img { width: 100%; }
}

@media (max-width: 900px) {
  .menue-knopf {
    display: block; position: absolute; top: .85rem; right: 1rem; z-index: 30;
    background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--gruen);
  }
  .menue-knopf svg { width: 28px; height: 28px; }
  .nav { display: none; position: absolute; top: 0; left: 0; right: 0; background: #fff; padding-top: 4.5rem; box-shadow: 0 6px 16px rgba(0,0,0,.06); }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; padding: 0 0 1rem; width: 100%; }
  .nav li { flex: none; }
  .nav li::after { display: none; }
  .nav a { display: block; padding: .45rem 1rem; font-size: 1.35rem; font-weight: 300; text-align: center; }
  .kopf:not(.kopf--ueberlagert) { min-height: 4.2rem; }
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; min-height: clamp(620px, 92vh, 980px);
  background: #dedad7 url("../img/eva-widmann-hero.jpg") center top / cover no-repeat;
  display: flex; align-items: center;
}
.hero__inhalt { width: min(1100px, 100% - 3rem); margin-inline: auto; }
.hero__marke { width: min(460px, 100%); text-align: center; position: relative; padding-top: 2rem; }
.hero__logo { width: 100%; margin: 0 auto; }
.hero h1 { margin: 0; font-size: inherit; }
.hero__sub { display: block; font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 400; margin: 1.2rem 0 0; }
.hero__pfeil { display: inline-block; margin-top: 2.5rem; }
.hero__pfeil svg { width: 38px; height: 38px; }

.farbstreifen { display: grid; grid-template-columns: repeat(4, 1fr); height: 38px; }
.farbstreifen span:nth-child(1) { background: var(--rosa); }
.farbstreifen span:nth-child(2) { background: var(--mint); }
.farbstreifen span:nth-child(3) { background: var(--pfirsich); }
.farbstreifen span:nth-child(4) { background: #FDFBF6; }

@media (max-width: 700px) {
  .hero { min-height: 560px; align-items: flex-end; background-position: 72% center; }
  .hero__marke { display: none; }
  .hero__inhalt { padding-bottom: 2rem; }
  .farbstreifen { height: 30px; }
}
.hero__pfeil--mobil { display: none; }
@media (max-width: 700px) { .hero__pfeil--mobil { display: inline-block; } }

/* ---------- Zitat ---------- */
.zitat { text-align: center; padding: 3.5rem 1.5rem 3rem; }
.zitat__zeichen { font-size: 4.5rem; line-height: 1; color: #e4e1e1; font-weight: 500; height: 2.6rem; display: block; }
.zitat blockquote { margin: 0; }
.zitat p { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 300; line-height: 1.5; margin: 0 0 .7rem; color: #3a3a3a; }
.zitat cite { color: var(--gruen); font-style: italic; font-size: .95rem; }

/* ---------- Bausteine ---------- */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.abschnitt { padding: 4rem 0; position: relative; }
.textlink {
  display: inline-flex; gap: 1.2rem; align-items: center; text-decoration: none;
  padding: .3rem .5rem .5rem; border-bottom: 1.5px solid var(--text); font-weight: 400; font-size: .95rem; margin-top: .6rem;
}
.textlink::after { content: ""; width: 14px; height: 10px; background: currentColor; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 10"><path d="M0 4h10V0l4 5-4 5V6H0z"/></svg>') center / contain no-repeat; -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 10"><path d="M0 4h10V0l4 5-4 5V6H0z"/></svg>') center / contain no-repeat; flex: none; }
.textlink:hover { color: var(--gruen); border-color: var(--gruen); }

.einstieg .zweispaltig { gap: 0; }
.einstieg__text { position: relative; z-index: 1; margin-right: -4rem; }
.angebot-teaser { padding: 6rem 0; }

.form { position: absolute; pointer-events: none; z-index: 0; opacity: .5; }
.form + *, .vorne, .ueber-oben .zweispaltig { position: relative; z-index: 1; }

@media (max-width: 800px) {
  .zweispaltig { grid-template-columns: 1fr; gap: 2rem; }
  .einstieg__text { margin-right: 0; }
  .abschnitt, .angebot-teaser { padding: 2.5rem 0; }
  .form { opacity: .35; }
}

/* ---------- Kontakt-Band ---------- */
.kontaktband { display: grid; grid-template-columns: 1fr 2fr 1fr; }
.kontaktband__rosa { background: var(--rosa); }
.kontaktband__creme { background: var(--creme); }
.kontaktband__mitte { background: var(--mint); text-align: center; padding: 3rem 1.5rem; }
.kontaktband h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .5rem; }
.kontaktband p { margin-bottom: 1.4rem; }
.kontaktband .textlink { padding-inline: 1.5rem; }
.kontaktband .textlink::after { display: none; }
@media (max-width: 800px) {
  .kontaktband { grid-template-columns: 1fr; }
  .kontaktband__rosa { height: 14px; }
  .kontaktband__creme { display: none; }
}

/* ---------- Footer ---------- */
.fuss { background: var(--creme); padding: 2.2rem 0 1.6rem; position: relative; overflow: hidden; }
.fuss__raster { display: grid; grid-template-columns: 1fr 2fr; align-items: end; gap: 2rem; position: relative; z-index: 1; }
.fuss address { font-style: normal; line-height: 1.6; }
.fuss address p { margin-bottom: 1.6rem; }
.fuss address p:last-child { margin-bottom: 0; }
.fuss address a { text-decoration: none; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-around; }
.fuss ul a { text-decoration: none; padding: .3rem 2rem; border-bottom: 1.5px solid transparent; }
.fuss ul a:hover, .fuss ul a[aria-current="page"] { border-color: var(--text); }
.fuss__logo { position: absolute; right: max(1.5rem, calc((100% - var(--breite)) / 2)); top: 50%; transform: translateY(-50%); width: 240px; z-index: 0; opacity: .5; }
@media (max-width: 800px) {
  .fuss__raster { grid-template-columns: 1fr; }
  .fuss ul { justify-content: space-between; font-size: .85rem; }
  .fuss ul a { padding: .3rem .2rem; }
  .fuss__logo { width: 220px; right: 1rem; opacity: .9; }
}

/* ---------- Seitenkopf Unterseiten ---------- */
.seite { padding: 3rem 0 4rem; overflow-x: clip; }
.seite h1 { margin-bottom: 1.2rem; }

/* Über mich */
.ueber-oben { position: relative; }
.ueber-oben .form { position: absolute; width: 640px; right: -150px; top: -70px; }
@media (max-width: 800px) { .ueber-oben .form { width: 420px; right: -160px; top: auto; bottom: 0; } }
.ueber-oben h1 { margin-top: 1rem; }
.ueber-oben h3 { margin-top: 1.6rem; }
.erfahrungen { list-style: none; padding: 0; margin: 0; }
.erfahrungen li { position: relative; padding-left: 2rem; margin-bottom: .9rem; line-height: 1.6; }
.erfahrungen li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--gruen); }
.werdegang { padding-top: 4rem; align-items: start; }
.werdegang h2 { font-size: 1.75rem; }

/* Psychotherapie */
.therapie .form--dreieck { width: 420px; right: -40px; top: -40px; }
.therapie .form--kreis { width: 400px; left: -380px; top: 0; }
.therapie__eins { max-width: 640px; }
.therapie__zwei { max-width: 640px; margin-left: auto; margin-top: 4rem; position: relative; }
@media (max-width: 800px) {
  .therapie .form--dreieck { width: 260px; right: -90px; }
  .therapie .form--kreis { display: none; }
}

/* Angebot */
.preise { position: relative; margin-top: 2rem; }
.preise .form { width: 680px; right: -200px; top: -60px; opacity: .3; }
.leistung { display: grid; grid-template-columns: 3fr 1.1fr; border-bottom: 1px dotted #777; }
.leistung > div { padding: 1.8rem 1.4rem; }
.leistung > div:first-child { border-right: 1px dotted #777; }
.leistung__preis { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; text-align: right; font-style: italic; }
.leistung__betrag { font-style: normal; font-size: 2.2rem; font-weight: 300; margin-bottom: .3rem; }
.refundierung { margin-top: 1.5rem; }
.refundierung p { margin-bottom: .6rem; }
.akkordeon { margin-top: 3rem; border: 1px solid var(--linie); }
.akkordeon details { border-top: 1px solid var(--linie); }
.akkordeon details:first-child { border-top: 0; }
.akkordeon summary { list-style: none; cursor: pointer; padding: .9rem 1.4rem; color: var(--gruen); font-size: 1.3rem; font-weight: 400; display: flex; gap: 1rem; align-items: center; }
.akkordeon summary::-webkit-details-marker { display: none; }
.akkordeon summary::before { content: "+"; font-size: 1.5rem; width: 1rem; line-height: 1; }
.akkordeon details[open] summary::before { content: "–"; }
.akkordeon details > div { overflow: hidden; }
.akkordeon details > div > p { margin: 0; padding: 1rem 1.4rem 1.2rem; border-top: 1px solid var(--linie); }
@media (max-width: 700px) {
  .leistung { grid-template-columns: 1fr; }
  .leistung > div:first-child { border-right: 0; padding-bottom: .5rem; }
  .leistung > div { padding-inline: 0; }
  .leistung__preis { align-items: flex-start; text-align: left; padding-top: 0; }
  .preise .form { width: 380px; right: -160px; }
}

/* Kontakt */
.kontakt .form { width: 820px; left: -120px; top: -40px; }
.kontakt .zweispaltig { align-items: start; }
.kontakt h1 { margin-bottom: .2rem; }
.kontakt__untertitel { font-size: 1.3rem; font-weight: 400; margin-bottom: 2rem; }
.kontakt h2 { font-size: 1.85rem; margin-top: 2rem; }
.kontakt ul { padding-left: 1.2rem; }
.karte { margin: 6.5rem 0 0; }
.karte__link { display: block; position: relative; }
.karte__link img { width: 100%; transition: filter .3s; }
.karte__link:hover img { filter: brightness(.96); }
.karte figcaption { margin-top: 1rem; }
@media (max-width: 800px) {
  .kontakt .form { width: 520px; left: -200px; }
  .karte { margin-top: 1rem; }
}

/* Rechtstexte */
.recht h2 { font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; margin: 2rem 0 .8rem; }
.recht h3 { font-size: 1.05rem; font-weight: 500; margin: 1.8rem 0 .7rem; }
.recht a { color: var(--gruen); text-decoration: none; }
.recht a:hover { text-decoration: underline; }
.impressum-kopf { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
@media (max-width: 700px) { .impressum-kopf { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.blocksatz h1, .blocksatz h2, .blocksatz h3 { text-align: left; hyphens: manual; }

/* Einblenden beim Scrollen (nur mit JavaScript aktiv) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
