/* Praxis für Psychotherapie – Mag.a Silke Pfeifer-Mayer
   Bewusst ohne externe Schriften/Dienste (DSGVO-freundlich). */

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-soft: #f1ede5;
  --text: #2e3430;
  --muted: #5f6862;
  --accent: #5d7a68;
  --accent-dark: #455d4f;
  --accent-soft: #e3ebe5;
  --line: #e2ddd3;
  --radius: 14px;
  --maxw: 1040px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent-dark); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; color: #fff; }

/* ---------- Header / Navigation ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}
.brand { text-decoration: none; color: var(--text); display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; }
.brand-sub { font-size: .8rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; font: inherit; font-size: .95rem; color: var(--text); cursor: pointer;
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--text); font-size: .98rem;
}
.site-nav a:hover { background: var(--surface-soft); color: var(--text); }
.site-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 20px 16px; gap: 2px; }
  .site-nav a { border-radius: 10px; padding: 12px 14px; }
  .no-js .site-nav { display: block; position: static; border: 0; }
  .no-js .nav-toggle { display: none; }
  .no-js .header-inner { flex-wrap: wrap; padding: 10px 0; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 400px at 85% -10%, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: .8em; font-weight: 600;
}
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero-name { font-family: var(--serif); font-size: 1.35rem; margin-top: 1.4em; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .98rem;
  border: 1px solid var(--accent); transition: background .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent-dark); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-dark); }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 80px) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 40em; margin-bottom: 2em; }

.page-head { padding: clamp(44px, 7vw, 72px) 0 8px; }
.page-head p { color: var(--muted); max-width: 40em; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.section-alt .card { background: var(--bg); }
.card h3 { margin-bottom: .8em; }

.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding: 6px 0 6px 26px; border-bottom: 1px dashed var(--line); }
.tick-list li:last-child { border-bottom: 0; }
.tick-list li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
}

/* ---------- Timeline / Listen ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--accent-soft); }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--accent);
}
.timeline .meta { display: block; font-size: .88rem; color: var(--muted); }
.timeline strong { font-weight: 600; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Kontakt / Preise ---------- */
.price-table { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
.price-table th, .price-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; padding-left: 16px; }
.price-table th { font-weight: 600; }
.note { font-size: .92rem; color: var(--muted); }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { min-width: 84px; color: var(--muted); font-size: .92rem; padding-top: 1px; }

address { font-style: normal; }

.callout {
  background: var(--accent-soft); border-radius: var(--radius); padding: 22px 26px;
  margin-top: 24px;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #2f3a33; color: #d9dfda; padding: 36px 0; font-size: .93rem; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer-inner p { margin: 0; }
.footer-name { font-family: var(--serif); font-size: 1.05rem; color: #fff; margin-bottom: 4px !important; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Lange Wörter/E-Mail-Adressen auf schmalen Bildschirmen umbrechen */
.contact-list li > *:last-child { min-width: 0; overflow-wrap: anywhere; }
.site-footer a { overflow-wrap: anywhere; }
.price-table th .note { font-weight: 400; }
@media (max-width: 420px) {
  .contact-list li { flex-direction: column; gap: 2px; }
}

/* ---------- Ergänzungen: Profilbild, Band, Impressum ---------- */
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .3em; }
.portrait { margin: 0; justify-self: end; width: 100%; max-width: 360px; }
.portrait img {
  display: block; width: 75%; height: auto; border-radius: 22px;
  box-shadow: 0 18px 40px -18px rgba(46, 52, 48, .35);
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .portrait { order: -1; justify-self: start; max-width: 240px; }
}

.cards-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-intro { font-family: var(--serif); font-size: 1.2rem; margin-bottom: .8em; }
.band {
  margin: 20px 0 0; padding: 22px 28px; border-radius: var(--radius);
  background: var(--accent-soft); color: var(--accent-dark);
  font-family: var(--serif); font-size: 1.35rem;
}

.section-tight { padding-top: 24px; }
.narrow > * { max-width: 760px; }
.h3 { font-size: 1.25rem; }
.card p.last, .card address p:last-child { margin-bottom: 0; }
.prose p { margin-bottom: 1.1em; }
.timeline li { padding-top: 0; }
.footer-links { margin-top: 8px !important; }
address a, .card a { overflow-wrap: anywhere; }
