/* =====================================================================
   Privatpraxis für Psychotherapie – Dr. Olivia Manz
   Gemeinsames Stylesheet · responsiv
   Farbwelt: ruhige Grau-/Weißflächen, Magenta für Überschriften & Akzente
   ===================================================================== */

:root {
  --magenta:       #c631c4;   /* Leitfarbe – Überschriften & Akzente */
  --magenta-dark:  #a3269f;   /* Hover */
  --ink:           #2f2b34;   /* Fließtext */
  --muted:         #6c6672;   /* Sekundärtext */
  --page:          #e8e8ea;   /* Seitenhintergrund (Grauton) */
  --surface:       #ffffff;   /* weiße Flächen / Karten */
  --tint:          #eceaee;   /* leicht abgesetzter Grauton */
  --line:          #e3e2e6;   /* Linien / Rahmen */
  --footer-bg:     #4c3568;   /* dunkles Lila – Fußzeile */
  --footer-text:   #d8d7dc;

  --maxw: 1100px;
  --navw: 1300px;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(40, 38, 44, 0.08);
  --font-head: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); line-height: 1.7; background: var(--page); font-size: 18px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta); }
a:hover { color: var(--magenta-dark); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section.block { padding: 56px 0; }
section.block.block-tight { padding: 30px 0; }
section.block.block-tight .container > :first-child { margin-top: 0; }
section.block.block-tight .container > :last-child { margin-bottom: 0; }
section.block.tint { background: var(--surface); }

/* ---------- Header / Navigation (hell) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 1px 6px rgba(40,38,44,0.05); }
.nav-inner { max-width: var(--navw); margin: 0 auto; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 24px; }
.brand { text-decoration: none; font-family: var(--font-head); line-height: 1.15; white-space: nowrap; }
.brand strong { display: block; font-size: 1.15rem; font-weight: 600; letter-spacing: .2px; color: var(--magenta); }
.brand span { display: block; font-size: .74rem; color: var(--muted); font-family: var(--font-body); }

.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

.nav-links { display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: .9rem; white-space: nowrap; padding: 8px 11px; border-radius: 6px; display: block; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--magenta); background: var(--tint); }
.nav-links a.active { color: var(--magenta); border-bottom-color: var(--magenta); }

/* ---------- Hero ---------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 30px 0; }
.hero-grid { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero-text { padding: 0; }
.hero-text h1 { font-family: var(--font-head); color: var(--magenta); font-size: 2.1rem; line-height: 1.25; margin: 0 0 18px; }
.hero-text p { font-size: 1.08rem; color: #45414c; }
.hero-text .hero-welcome { color: var(--magenta); font-weight: 500; font-size: 1.2rem; }
.hero-img img { border-radius: var(--radius); box-shadow: var(--shadow); max-width: 360px; margin: 0 auto; }

/* ---------- Überschriften (Magenta) ---------- */
h1, h2, h3 { font-family: var(--font-head); color: var(--magenta); line-height: 1.3; }
h2.section-title { font-size: 1.75rem; margin: 0 0 6px; }
.section-title-wrap { margin-bottom: 26px; }
.section-title-wrap .rule { width: 64px; height: 3px; background: var(--magenta); border: 0; margin: 10px 0 0; }
.lead { font-size: 1.1rem; color: #45414c; }

/* ---------- Text + Bild ---------- */
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.split.reverse { grid-template-columns: .8fr 1.2fr; }
.split.reverse .split-img { order: -1; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split-img.portrait img { max-width: 360px; margin: 0 auto; }

/* ---------- Karten / Listen ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 6px 0 6px 30px; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); }
.two-col { columns: 2; column-gap: 40px; }
@media (max-width: 640px){ .two-col { columns: 1; } }

/* ---------- Zitat ---------- */
.quote { font-family: var(--font-head); font-style: italic; font-size: 1.35rem; color: var(--magenta); text-align: center; max-width: 760px; margin: 10px auto; padding: 26px 20px; border-top: 2px solid var(--magenta); border-bottom: 2px solid var(--magenta); }
.quote cite { display: block; font-style: normal; font-size: .95rem; color: var(--muted); margin-top: 10px; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 240px; object-fit: cover; }
@media (max-width: 720px){ .gallery { grid-template-columns: 1fr; } .gallery img { height: auto; } }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 18px 0 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 4px 0 22px 26px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--magenta); border: 2px solid var(--surface); }
.timeline .yr { font-weight: 700; color: var(--magenta); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-card p { margin: 8px 0; }
.contact-card .label { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }

/* ---------- Rechtstexte ---------- */
.legal h3 { margin: 30px 0 6px; font-size: 1.15rem; }
.legal p { margin: 6px 0; }
.legal .addr { line-height: 1.5; }
.legal small, .legal .muted { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); margin-top: 0; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 34px 22px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #ffffff; font-family: var(--font-head); margin: 0 0 12px; font-size: 1.05rem; }
.site-footer a { color: var(--footer-text); text-decoration: none; }
.site-footer a:hover { color: #ffffff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); text-align: center; padding: 16px; font-size: .85rem; color: #b7b6bd; }

/* ---------- Responsiv: Hamburger unter 1100px ---------- */
@media (max-width: 1100px){
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--surface); border-top: 1px solid var(--line); padding: 8px 14px 16px; box-shadow: 0 8px 16px rgba(40,38,44,.12); gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-links a.active { border-bottom-color: var(--magenta); background: var(--tint); }
}

@media (max-width: 860px){
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-img { padding-bottom: 10px; }
  .hero-text { padding: 0 0 10px; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-img { order: 0; }
  .split-img.portrait img { max-width: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 420px){
  body { font-size: 17px; }
  .hero-text h1 { font-size: 1.7rem; }
  h2.section-title { font-size: 1.5rem; }
}
