/* PsyKoLogical — bright, warm, editorial-premium */

:root {
  --bg: #F8F4EC;
  --bg-2: #EFE7D7;
  --bg-card: #FBF8F1;
  --text: #1F1A14;
  --text-2: #5C5347;
  --line: rgba(31,26,20,0.12);
  --line-2: rgba(176,138,62,0.35);
  --gold: #B08A3E;
  --gold-2: #C9A35A;
  --petrol: #2F5D54;
  --petrol-2: #244840;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(31,26,20,0.05);
  --shadow-md: 0 8px 30px rgba(31,26,20,0.07);
  --shadow-lg: 0 20px 60px rgba(31,26,20,0.10);

  --container: 1320px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--petrol-2); }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--bg); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

h1 em, h2 em, h3 em, h4 em, .quote em, .italic-gold {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

p { margin: 0 0 1em; color: var(--text-2); }
p.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text);
  line-height: 1.55;
  max-width: 56ch;
}

.muted { color: var(--text-2); }
.divider {
  width: 100%;
  height: 1px;
  background: var(--line-2);
  border: 0;
  margin: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(248,244,236,0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(248,244,236,0.95);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}
.brand-mark { width: 60px; height: 40px; flex: 0 0 60px; }
.brand-wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand-wordmark .accent { color: var(--gold); font-style: italic; font-weight: 500; }
.brand-tag {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  gap: 1.8rem;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  position: relative;
  padding-block: 4px;
}
.nav a:hover { color: var(--gold); }
.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 18px; height: 1px;
  background: var(--gold);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: var(--radius-xs);
  transition: all .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.cta-primary {
  background: var(--petrol);
  color: #F8F4EC;
  border-color: var(--petrol);
}
.cta-primary:hover { background: var(--petrol-2); color: #F8F4EC; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cta-gold {
  background: var(--gold);
  color: #1F1A14;
  border-color: var(--gold);
}
.cta-gold:hover { background: var(--gold-2); color: #1F1A14; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cta-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.cta-outline:hover { background: var(--text); color: var(--bg); }
.cta-arrow::after {
  content: "→";
  font-size: 14px;
  transform: translateX(0);
  transition: transform .2s ease;
}
.cta:hover .cta-arrow::after,
.cta-arrow:hover::after { transform: translateX(4px); }

.mobile-menu { display: none; }

.burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.burger span {
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform .25s ease, opacity .2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-cta-desktop { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--bg);
    z-index: 70;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(0.16,1,0.3,1);
    padding: 2rem var(--gutter);
    overflow-y: auto;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu ul { list-style: none; padding: 0; margin: 0; }
  .mobile-menu li { border-bottom: 1px solid var(--line); }
  .mobile-menu a {
    display: block;
    padding: 1rem 0;
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--text);
  }
  .mobile-menu .cta { margin-top: 2rem; width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding-block: clamp(5rem, 10vw, 9rem);
  background-color: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248,244,236,0.92) 0%, rgba(248,244,236,0.7) 38%, rgba(248,244,236,0.15) 70%, rgba(248,244,236,0) 100%),
    linear-gradient(180deg, rgba(248,244,236,0.4), rgba(248,244,236,0.6));
}

/* Hero video (desktop) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(248,244,236,0.88) 0%, rgba(248,244,236,0.62) 38%, rgba(248,244,236,0.25) 72%, rgba(248,244,236,0.10) 100%),
    linear-gradient(180deg, rgba(248,244,236,0.20) 0%, rgba(248,244,236,0.45) 100%);
}

/* Mobile: hide video, use poster image */
@media (max-width: 767px) {
  .hero-video { display: none; }
  .hero {
    background-image: url('../images/hero-poster.jpg');
    background-size: cover;
    background-position: center;
  }
}

/* Reduced motion: hide video, fall back to poster */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero {
    background-image: url('../images/hero-poster.jpg');
    background-size: cover;
    background-position: center;
  }
}
.hero-content { max-width: 880px; position: relative; z-index: 1; }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.02;
}
.hero p.lead { margin-top: 1.6rem; max-width: 52ch; }
.hero-ctas {
  margin-top: 2.6rem;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Stat bar ---------- */
.statbar {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--bg);
}
.statbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 2.4rem var(--gutter);
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--text);
}
.stat-num em { color: var(--gold); font-style: italic; }
.stat-label {
  margin-top: 12px;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
}
@media (max-width: 720px) {
  .statbar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
  max-width: 880px;
}
@media (min-width: 900px) {
  .section-head.split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
    max-width: none;
  }
}
.section-head h2 { margin-top: .6rem; }

.bg-cream { background: var(--bg-2); }
.bg-card  { background: var(--bg-card); }

/* ---------- 3-Card Leistungen ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.cards-3 .card {
  background: var(--bg);
  padding: 2.4rem clamp(1.5rem, 2.4vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 320px;
}
.card-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--gold);
}
.card h3 { margin-top: 1rem; }
.card-arrow {
  margin-top: auto;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--petrol);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.card-arrow::after { content: "→"; transition: transform .2s ease; }
.card:hover .card-arrow::after { transform: translateX(5px); }
@media (max-width: 900px) {
  .cards-3 { grid-template-columns: 1fr; }
}

/* ---------- Quote section ---------- */
.quote-section {
  background: var(--bg-2);
  text-align: center;
  padding-block: clamp(5rem, 10vw, 8rem);
}
.quote {
  max-width: 960px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.32;
  color: var(--text);
}
.quote .italic-gold { font-style: italic; }
.quote-mark {
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.5;
  display: block;
  margin-bottom: 1.2rem;
}
.quote-attrib {
  margin-top: 2rem;
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ---------- Editorial 2-col ---------- */
.editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .editorial { grid-template-columns: 1.05fr 1fr; }
  .editorial.reverse > :first-child { order: 2; }
}
.editorial img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-sm);
}
.editorial img.portrait {
  aspect-ratio: 4/5;
  object-position: center 18%;
}
.editorial-text h2 { margin-top: .8rem; }
.editorial-text ul.tick {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
}
.editorial-text ul.tick li {
  position: relative;
  padding-left: 26px;
  margin-bottom: .85rem;
  color: var(--text);
}
.editorial-text ul.tick li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 14px; height: 1px;
  background: var(--gold);
}

/* ---------- Leistungen full list ---------- */
.leistungen-list {
  border-top: 1px solid var(--line-2);
}
.leistung-row {
  display: grid;
  grid-template-columns: 80px 1fr 220px;
  gap: 2rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.leistung-row .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.2rem;
}
.leistung-row h3 { margin-bottom: .5rem; }
.leistung-row .descr { color: var(--text-2); max-width: 60ch; }
.leistung-row .tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
  text-align: right;
}
@media (max-width: 900px) {
  .leistung-row { grid-template-columns: 1fr; gap: .75rem; }
  .leistung-row .tag { text-align: left; }
}

/* ---------- Methods ---------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.method {
  background: var(--bg);
  padding: 2.4rem;
}
.method .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.method h3 { margin-bottom: .8rem; }
@media (max-width: 720px) {
  .method-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 1.6rem 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  cursor: pointer;
  font-weight: 500;
}
.faq-q:hover { color: var(--gold); }
.faq-q .icon {
  width: 22px; height: 22px;
  flex: 0 0 22px;
  position: relative;
}
.faq-q .icon::before, .faq-q .icon::after {
  content: ""; position: absolute;
  background: var(--gold);
  transition: transform .25s ease;
}
.faq-q .icon::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq-q .icon::after  { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.faq-item.open .faq-q .icon::after { transform: translateX(-50%) rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 0 0 1.6rem 0;
  max-width: 70ch;
  color: var(--text-2);
}
.faq-item.open .faq-a { max-height: 800px; }

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-section .bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.cta-section .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(248,244,236,0.85), rgba(239,231,215,0.9));
}
.cta-section .inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-section h2 { margin: 1rem 0 1rem; }
.cta-section .cta { margin-top: 1.8rem; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}
.contact-info dl {
  margin: 1.5rem 0 0;
}
.contact-info dt {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.4rem;
}
.contact-info dd {
  margin: .35rem 0 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--text);
}

.form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 600;
}
.field input, .field textarea, .field select {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-bottom: 1px solid rgba(31,26,20,0.25);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}
.check input { margin-top: 4px; }
.honeypot { position: absolute; left: -9999px; }
.form-status {
  font-size: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.success { display: block; background: rgba(47,93,84,0.08); color: var(--petrol); border: 1px solid rgba(47,93,84,0.2); }
.form-status.error { display: block; background: rgba(180,40,40,0.05); color: #913030; border: 1px solid rgba(180,40,40,0.25); }

/* ---------- Legal pages ---------- */
.legal {
  max-width: 780px;
  margin: 0 auto;
}
.legal h2 { margin-top: 2.5rem; }
.legal h3 { margin-top: 2rem; font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); }
.legal p { color: var(--text); }
.legal .notice {
  border-left: 2px solid var(--gold);
  padding: .9rem 1.1rem;
  background: var(--bg-2);
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line-2);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  color: var(--text-2);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-grid h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55rem; }
.footer-grid a { color: var(--text); }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-2);
}
.disclaimer {
  margin-top: 1.5rem;
  font-size: 12.5px;
  color: var(--text-2);
  max-width: 60ch;
  font-style: italic;
}

/* ---------- Reveal animation ----------
   Use a soft slide-up only. Elements stay visible (opacity 1) even when JS is
   delayed or screenshots are stitched, so content never "disappears". */
.reveal {
  opacity: 1;
  transform: translateY(0);
}
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(0.16,1,0.3,1);
}
.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Page intro (interior) ---------- */
.page-intro {
  padding-block: clamp(5rem, 9vw, 8rem);
  border-bottom: 1px solid var(--line-2);
  background: var(--bg);
}
.page-intro h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-top: 22px;
  max-width: 18ch;
}
.page-intro .lead { margin-top: 1.4rem; max-width: 60ch; }
