/* =========================================================
   Systemische Therapie Augsburg – Elisabeth Puusep
   Stylesheet
   ========================================================= */

/* ---- Self-hosted fonts (kein Google-Fonts-Tracking) ---- */
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-display-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-display-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-display-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-display-latin-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---- */
:root {
  --forest:      #4C6350;
  --forest-dark: #384B3D;
  --sage:        #9FB59E;
  --sage-light:  #E4EBDE;
  --gold:        #C6A83D;
  --gold-light:  #EFE3B8;
  --ink:         #262523;
  --ink-soft:    #56534D;
  --paper:       #FBF9F5;
  --paper-deep:  #F2EDE3;
  --white:       #FFFFFF;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, "Segoe UI", sans-serif;

  --radius: 12px;
  --radius-lg: 22px;
  --shadow-soft: 0 2px 14px rgba(56,75,61,.07);
  --shadow-lift: 0 10px 28px rgba(56,75,61,.12);
  --max-width: 1120px;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 3rem;
  --space-5: 5rem;
}

/* ---- Reset & base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  margin: 0 0 var(--space-2);
  color: var(--forest-dark);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 var(--space-2); }
ul { margin: 0 0 var(--space-2); padding-left: 1.1rem; }
li { margin-bottom: .4rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---- Skip link (Barrierefreiheit) ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: .6rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

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

/* ---- Eyebrow label ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  background: rgba(251,249,245,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(56,75,61,.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem var(--space-3);
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { height: 42px; width: auto; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.15;
  color: var(--forest-dark);
}
.brand-text strong { display: block; font-weight: 600; font-size: 1.02rem; }
.brand-text span { font-style: italic; font-weight: 500; color: var(--ink-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(38,37,35,.2);
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { content:""; position:absolute; top:-6px; }
.nav-toggle span::after { content:""; position:absolute; top:6px; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink-soft);
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--forest-dark);
  border-color: var(--gold);
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid rgba(38,37,35,.08);
    box-shadow: 0 8px 20px rgba(38,37,35,.06);
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: var(--space-2) var(--space-3) var(--space-3);
  }
  .main-nav a { display: block; padding: .9rem 0; min-height: 44px; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: var(--space-5) 0 var(--space-4);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--space-4);
  align-items: center;
}
.hero h1 { margin-bottom: var(--space-2); }
.hero .lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: var(--space-3);
}
.hero-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* Signature element: overlapping "systemic circles" motif — echoes the
   logo's three dots and the idea of a person embedded in relational systems. */
.circle-motif {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  margin: 0 auto;
}
.circle-motif span {
  position: absolute;
  border-radius: 50%;
  opacity: .85;
}
.circle-motif .c1 { width: 62%; height: 62%; background: var(--sage-light); top: 4%; left: 6%; }
.circle-motif .c2 { width: 46%; height: 46%; background: var(--gold-light); bottom: 6%; right: 4%; }
.circle-motif .c3 { width: 34%; height: 34%; border: 2px solid var(--forest); background: transparent; top: 30%; right: 10%; }
.circle-motif .c4 { width: 16%; height: 16%; background: var(--gold); top: 12%; right: 22%; }
.circle-motif .c5 { width: 20%; height: 20%; background: var(--forest); bottom: 14%; left: 18%; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .circle-motif { max-width: 280px; }
}

/* Hero photo: organic blob shape (biophilic) */
.hero-photo {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 58% 42% 46% 54% / 48% 54% 46% 52%;
  box-shadow: var(--shadow-lift);
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -7%;
  border-radius: 46% 54% 58% 42% / 54% 46% 52% 48%;
  background: var(--sage-light);
  z-index: -1;
}
.hero-photo .accent-dot {
  position: absolute;
  border-radius: 50%;
}
.hero-photo .accent-dot.gold { width: 42px; height: 42px; background: var(--gold); top: 4%; right: 2%; }
.hero-photo .accent-dot.forest { width: 26px; height: 26px; background: var(--forest); bottom: 8%; left: -2%; }
@media (max-width: 900px) {
  .hero-photo { max-width: 300px; }
}

/* Divider dots — small callback to the motif, used between sections */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin: 0;
  padding: var(--space-2) 0;
}
.section-divider span { width: 7px; height: 7px; border-radius: 50%; }
.section-divider span:nth-child(1) { background: var(--forest); }
.section-divider span:nth-child(2) { background: var(--sage); }
.section-divider span:nth-child(3) { background: var(--gold); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .96rem;
  text-decoration: none;
  padding: .9rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-dark); box-shadow: var(--shadow-lift); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--forest-dark); border-color: var(--forest); }
.btn-secondary:hover { background: var(--sage-light); }

/* =========================================================
   Sections / cards
   ========================================================= */
section { padding: var(--space-5) 0; }
.section-alt { background: var(--paper-deep); }

.intro-block { max-width: 68ch; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.card {
  background: var(--white);
  border: 1px solid rgba(56,75,61,.07);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.card .dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
  color: transparent;
  position: relative;
}
.card .dot::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--forest);
}
.card h3 { margin-bottom: .4rem; }
.card p { margin-bottom: 0; color: var(--ink-soft); font-size: .96rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: center;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

.portrait-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-frame .placeholder-note {
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--forest-dark);
  text-align: center;
  padding: var(--space-2);
}

.quote-block {
  border-left: 3px solid var(--gold);
  padding-left: var(--space-3);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--forest-dark);
  margin: var(--space-3) 0;
}

/* Qualifications list */
.quali-list { list-style: none; padding: 0; margin: var(--space-2) 0 0; }
.quali-list li {
  display: flex;
  gap: .8rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(38,37,35,.08);
}
.quali-list li::before {
  content: "";
  flex-shrink: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  margin-top: .5rem;
  background: var(--gold);
}

/* Pricing table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-3) 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.price-table th, .price-table td {
  text-align: left;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(38,37,35,.08);
}
.price-table th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest-dark);
  background: var(--sage-light);
}
.price-table tr:last-child td { border-bottom: none; }
.price-note {
  background: var(--gold-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  padding: var(--space-2) var(--space-3);
  font-size: .95rem;
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: var(--space-4);
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-list { list-style: none; padding: 0; margin: var(--space-2) 0; }
.contact-info-list li { margin-bottom: var(--space-2); }
.contact-info-list .label {
  display: block;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .2rem;
}
.contact-info-list a { text-decoration: none; font-weight: 600; color: var(--forest-dark); }
.contact-info-list a:hover { text-decoration: underline; }

.map-embed {
  margin-top: var(--space-3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(38,37,35,.08);
}
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

form.contact-form {
  background: var(--white);
  border: 1px solid rgba(56,75,61,.07);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-soft);
}
.form-row { margin-bottom: var(--space-2); }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .35rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid rgba(38,37,35,.22);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--paper);
  color: var(--ink);
}
.form-row input:focus,
.form-row textarea:focus { border-color: var(--forest); }
.form-row.checkbox { display: flex; gap: .6rem; align-items: flex-start; }
.form-row.checkbox input { width: auto; margin-top: .3rem; }
.form-row.checkbox label { font-weight: 400; font-size: .88rem; }
.required-note { font-size: .82rem; color: var(--ink-soft); margin-top: -.3rem; margin-bottom: var(--space-2); }

.form-status {
  padding: .9rem 1rem;
  border-radius: var(--radius);
  margin-bottom: var(--space-2);
  font-size: .95rem;
  display: none;
}
.form-status.success { display: block; background: var(--sage-light); color: var(--forest-dark); }
.form-status.error { display: block; background: #F4DCD4; color: #7A3324; }

/* Honeypot field – hidden from real visitors, catches simple spam bots */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band { background: transparent; padding-top: 0; }
.cta-card {
  background: var(--forest);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-card::before {
  width: 260px; height: 260px;
  background: rgba(255,255,255,.05);
  top: -110px; right: -70px;
}
.cta-card::after {
  width: 160px; height: 160px;
  background: rgba(198,168,61,.16);
  bottom: -70px; left: -40px;
}
.cta-card h2 { color: var(--white); }
.cta-card p { color: rgba(255,255,255,.88); max-width: 52ch; margin: 0 auto var(--space-3); }
.cta-card .btn-primary { background: var(--gold); color: var(--ink); }
.cta-card .btn-primary:hover { background: var(--gold-light); box-shadow: none; }
.cta-card .btn-secondary { border-color: rgba(255,255,255,.6); color: var(--white); }
.cta-card .btn-secondary:hover { background: rgba(255,255,255,.1); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,.82);
  padding: var(--space-4) 0 var(--space-3);
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-3); }
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: var(--space-2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
}

/* =========================================================
   Page hero (Unterseiten)
   ========================================================= */
.page-hero {
  padding: var(--space-4) 0 var(--space-3);
  border-bottom: 1px solid rgba(38,37,35,.08);
}
.page-hero .lead { color: var(--ink-soft); max-width: 60ch; font-size: 1.08rem; }

/* Kompakte Zielgruppen-Liste (Startseite) */
.audience-list {
  list-style: none;
  padding: 0;
  margin: var(--space-2) 0 0;
  max-width: 46ch;
}
.audience-list li {
  display: flex;
  gap: .8rem;
  align-items: baseline;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(56,75,61,.1);
  font-size: 1.05rem;
}
.audience-list li::before {
  content: "";
  flex-shrink: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
  top: -1px;
}
.audience-list li:last-child { border-bottom: none; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
