/*
Theme Name: Astra Störmer Praxis
Theme URI: https://psychotherapie-stoermer.de
Description: Astra Child-Theme für die Praxis für Psychotherapie von Mag. rer. nat. Jessica Störmer.
Author: Jessica Störmer
Template: astra
Version: 1.0.0
Text Domain: astra-stoermer
*/

:root {
  --ps-bg: #f5f2ec;
  --ps-surface: #fffdf9;
  --ps-text: #24312c;
  --ps-muted: #66716c;
  --ps-sage: #91aa9e;
  --ps-sage-dark: #587469;
  --ps-sage-soft: #dfe8e2;
  --ps-warm: #dbc2ab;
  --ps-line: #dce4df;
  --ps-shadow: 0 20px 55px rgba(36, 49, 44, .11);
  --ps-radius: 26px;
  --ps-max: 1180px;
}

html { scroll-behavior: smooth; }
body.ast-stoermer-home {
  background: var(--ps-bg);
  color: var(--ps-text);
}
.ast-stoermer-home .site-content,
.ast-stoermer-home .ast-container {
  max-width: none;
  padding: 0;
}
.ps-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ps-bg);
  color: var(--ps-text);
  line-height: 1.65;
}
.ps-page * { box-sizing: border-box; }
.ps-wrap {
  width: min(var(--ps-max), calc(100% - 2rem));
  margin-inline: auto;
}
.ps-skip {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 99999;
  background: white;
  padding: .8rem 1rem;
}
.ps-skip:focus { left: 1rem; }
.ps-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 236, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(88, 116, 105, .15);
}
.admin-bar .ps-header { top: 32px; }
.ps-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.ps-brand {
  color: var(--ps-text);
  text-decoration: none;
  font-weight: 750;
  line-height: 1.2;
}
.ps-brand span {
  display: block;
  margin-top: .25rem;
  color: var(--ps-muted);
  font-size: .74rem;
  font-weight: 600;
}
.ps-menu {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}
.ps-menu a {
  color: var(--ps-text);
  text-decoration: none;
  font-size: .95rem;
}
.ps-menu a:hover { color: var(--ps-sage-dark); }
.ps-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ps-text);
  font-size: 1.5rem;
  cursor: pointer;
}
.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .82rem 1.2rem;
  border: 1px solid var(--ps-sage-dark);
  border-radius: 999px;
  background: var(--ps-sage-dark);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ps-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(88, 116, 105, .22);
}
.ps-btn--outline {
  background: transparent;
  color: var(--ps-sage-dark) !important;
}
.ps-hero {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 5rem;
  background:
    radial-gradient(circle at 87% 16%, rgba(219, 194, 171, .38), transparent 29%),
    radial-gradient(circle at 8% 29%, rgba(145, 170, 158, .23), transparent 30%);
}
.ps-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.ps-eyebrow {
  margin-bottom: 1rem;
  color: var(--ps-sage-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ps-page h1,
.ps-page h2 {
  margin: 0 0 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
  color: var(--ps-text);
}
.ps-page h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); }
.ps-page h2 { font-size: clamp(2.15rem, 4vw, 3.6rem); }
.ps-page h3 {
  margin: 0 0 .7rem;
  color: var(--ps-text);
  font-size: 1.15rem;
  line-height: 1.25;
}
.ps-lead {
  max-width: 720px;
  color: var(--ps-muted);
  font-size: clamp(1.05rem, 2vw, 1.23rem);
}
.ps-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}
.ps-small {
  color: var(--ps-muted);
  font-size: .88rem;
}
.ps-visual {
  min-height: 510px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  border-radius: 36px;
  background: var(--ps-sage-soft);
  background-position: center;
  background-size: cover;
  box-shadow: var(--ps-shadow);
}
.ps-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(36, 49, 44, .48));
}
.ps-note {
  position: relative;
  z-index: 2;
  max-width: 345px;
  padding: 1.05rem 1.15rem;
  border-radius: 17px;
  background: rgba(255, 253, 249, .94);
}
.ps-section { padding: clamp(4.2rem, 8vw, 6.5rem) 0; }
.ps-section--white { background: var(--ps-surface); }
.ps-head {
  max-width: 780px;
  margin-bottom: 2.5rem;
}
.ps-muted { color: var(--ps-muted); }
.ps-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.ps-card {
  padding: 1.55rem;
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  background: var(--ps-surface);
  box-shadow: 0 8px 26px rgba(36, 49, 44, .045);
}
.ps-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: rgba(145, 170, 158, .2);
  color: var(--ps-sage-dark);
  font-size: 1.2rem;
}
.ps-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}
.ps-quote {
  padding: clamp(1.8rem, 4vw, 2.7rem);
  border-radius: 32px;
  background: var(--ps-sage-dark);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
}
.ps-badge {
  display: inline-block;
  margin: .2rem .2rem .2rem 0;
  padding: .35rem .72rem;
  border: 1px solid var(--ps-line);
  border-radius: 999px;
  color: var(--ps-muted);
  font-size: .82rem;
}
.ps-steps { counter-reset: ps-step; }
.ps-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--ps-line);
}
.ps-step::before {
  counter-increment: ps-step;
  content: counter(ps-step);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ps-sage);
  color: white;
  font-weight: 800;
}
.ps-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--ps-line);
  border-radius: 34px;
  background: var(--ps-surface);
  box-shadow: var(--ps-shadow);
}
.ps-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.ps-footer {
  padding: 2.4rem 0;
  border-top: 1px solid var(--ps-line);
  background: var(--ps-bg);
}
.ps-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ps-footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.ps-footer a { color: var(--ps-text); }
@media (max-width: 900px) {
  .ps-grid, .ps-split, .ps-contact { grid-template-columns: 1fr; }
  .ps-cards { grid-template-columns: 1fr; }
  .ps-visual { min-height: 390px; }
  .ps-menu-toggle { display: block; }
  .ps-menu {
    position: absolute;
    top: 70px;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--ps-line);
    border-radius: 18px;
    background: var(--ps-surface);
    box-shadow: var(--ps-shadow);
  }
  .ps-menu.is-open { display: flex; }
}
@media (max-width: 782px) {
  .admin-bar .ps-header { top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ps-btn { transition: none; }
}
