/* ============================================================
   Christine Ebner-Ehrenreich — Psychotherapie · Salzburg
   Überarbeitetes Stylesheet — natürlich, einladend, schlicht
   ============================================================ */

/* TOKENS */
:root {
  --cream:      #F4F3EE;
  --cream-soft: #E8E7DF;
  --leaf:       #3D5244;
  --leaf-light: #5C7A67;
  --leaf-pale:  #DDE6DF;
  --ink:        #22201C;
  --ink-mid:    #55564E;
  --ink-faint:  #96998F;
  --terra:      #607B69;
  --terra-dk:   #3D5244;
  --terra-lt:   #C8D9CC;
  --line:       rgba(34,32,28,.12);
  --f-serif:    "Fraunces", serif;
  --f-sans:     "Figtree", sans-serif;
  --max:        900px;
  --shadow:     0 4px 24px -6px rgba(34,32,28,.14);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* FOCUS */
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* SKIP */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--cream); padding: .8rem 1.2rem; font-weight: 600; z-index: 999; }
.skip:focus { left: 0; }

/* ============ LAYOUT ============ */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.3rem, 5vw, 2.4rem); }

/* ============ HEADER ============ */
header {
  background: rgba(246,240,232,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 200;
  transition: border-color .3s;
}
header.scrolled { border-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}
.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.brand-name {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.brand-tag {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2.5vw, 1.8rem);
}
nav a {
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-mid);
  transition: color .2s;
}
nav a:hover, nav a.active { color: var(--ink); }
.nav-cta {
  background: var(--leaf);
  color: #EEF3EF !important;
  padding: .48rem 1.15rem;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--leaf-light) !important; }

/* Burger */
.burger {
  display: none;
  background: none;
  border: none;
  width: 34px;
  height: 28px;
  position: relative;
  z-index: 210;
}
.burger span {
  position: absolute;
  left: 3px; right: 3px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .28s, opacity .28s;
}
.burger span:nth-child(1) { top: 7px; }
.burger span:nth-child(2) { top: 14px; }
.burger span:nth-child(3) { top: 21px; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .burger { display: block; }
  nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.8rem;
    padding: 2.5rem clamp(1.4rem, 6vw, 2.8rem);
    z-index: 199;
  }
  nav.open { display: flex; }
  nav a { font-size: 1.15rem; }
}

/* ============ PAGE HERO ============ */
.page-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3rem);
}
.page-hero .eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .6em;
}
.page-hero .eyebrow::before {
  content: "";
  width: 1.5em;
  height: 1px;
  background: var(--leaf-light);
  flex-shrink: 0;
}
.page-hero h1 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.16;
  color: var(--ink);
  max-width: 26rem;
  letter-spacing: -.01em;
}
.page-hero p {
  margin-top: 1.1rem;
  color: var(--ink-mid);
  font-size: 1.04rem;
  max-width: 34rem;
}

/* ============ SECTIONS ============ */
.section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section + .section { border-top: 1px solid var(--line); }

/* Section header */
.section-head { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head .eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--leaf);
  display: flex;
  align-items: center;
  gap: .6em;
  margin-bottom: .8rem;
}
.section-head .eyebrow::before {
  content: "";
  width: 1.5em;
  height: 1px;
  background: var(--leaf-light);
  flex-shrink: 0;
}
.section-head h2 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  line-height: 1.22;
  color: var(--ink);
  letter-spacing: -.01em;
  max-width: 30rem;
}
.section-head p {
  margin-top: .9rem;
  color: var(--ink-mid);
  font-size: 1rem;
  max-width: 34rem;
}

/* Prose */
.prose p { color: var(--ink-mid); margin-bottom: 1.1rem; max-width: 42rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

/* Sublabel */
.slabel {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: .75rem;
}

/* ============ HERO (Startseite) ============ */
.hero {
  padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -5%;
  width: 600px;
  height: 600px;
  max-width: 80vw;
  background: radial-gradient(circle, rgba(61,82,68,.1) 0%, rgba(61,82,68,.04) 50%, transparent 72%);
  pointer-events: none;
  border-radius: 50%;
}
.hero-inner { position: relative; max-width: 36rem; }
.hero h1 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.3;
  margin-top: 1rem;
  color: var(--ink);
  transition: opacity .22s;
}
.hero h1 .attrib {
  display: block;
  font-style: normal;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra-dk);
  margin-top: 1rem;
}
.quote-dots { display: flex; gap: .5rem; margin-top: 1.2rem; }
.quote-dots button { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--ink-faint); background: transparent; padding: 0; transition: background .2s; }
.quote-dots button.active { background: var(--terra); border-color: var(--terra); }
.hero-lede { margin-top: 1.6rem; font-size: 1.04rem; color: var(--ink-mid); max-width: 30rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; margin-top: 1.9rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  padding: .72rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--leaf); color: #EEF3EF; border-color: var(--leaf); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--leaf-light); border-color: var(--leaf-light); }
.btn-light { background: var(--leaf-pale); color: var(--leaf); border-color: var(--leaf-pale); }
.btn-light:hover { background: var(--terra-lt); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink-faint); }
.link-arrow { font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.link-arrow:hover { border-color: var(--terra); color: var(--terra-dk); }

/* ============ INTRO GRID (Startseite) ============ */
.intro-grid { display: grid; gap: 1.2rem; max-width: 38rem; font-size: 1.03rem; color: var(--ink-mid); }
.intro-grid strong { color: var(--ink); font-weight: 600; }
.intro-sign { font-family: var(--f-serif); font-style: italic; font-size: 1.18rem; color: var(--ink); margin-top: .4rem; }

/* ============ OFFER LIST (Startseite) ============ */
.offer-list { border-top: 1px solid var(--line); }
.offer-item {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left .2s;
}
.offer-item:hover { padding-left: .4rem; }
.offer-item .num { font-family: var(--f-serif); font-size: .9rem; color: var(--terra); }
.offer-item h3 { font-family: var(--f-serif); font-weight: 400; font-size: 1.35rem; color: var(--ink); }
.offer-item p { margin-top: .4rem; color: var(--ink-mid); font-size: .95rem; max-width: 32rem; }
.offer-item .arr { font-size: 1.25rem; color: var(--ink-faint); transition: transform .2s, color .2s; }
.offer-item:hover .arr { transform: translateX(4px); color: var(--terra); }
@media (max-width: 580px) {
  .offer-item { grid-template-columns: 1fr auto; }
  .offer-item .num { display: none; }
}

/* ============ CTA BLOCK ============ */
.cta-block {
  background: var(--leaf);
  border-radius: 16px;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.cta-block strong {
  display: block;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 1.3rem;
  color: #EDF3EE;
  margin-bottom: .3rem;
}
.cta-block p { color: rgba(237,243,238,.75); font-size: .97rem; max-width: 28rem; }

/* ============ TWO COL ============ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }

/* ============ PORTRAIT GRID ============ */
.portrait-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }

/* ============ LANDSCAPE GRID (Querformat) ============ */
.landscape-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.landscape-grid .ph { aspect-ratio: 4/3; }
.landscape-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
@media (max-width: 500px) {
  .landscape-grid { grid-template-columns: 1fr; }
}

/* ============ GALLERY GRID ============ */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.gallery-grid img, .gallery-grid .ph { border-radius: 12px; }
.gallery-grid img { width: 100%; object-fit: cover; display: block; }
.gallery-grid img:first-child,
.gallery-grid .ph:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-grid img:not(:first-child) { aspect-ratio: 4/3; }
.gallery-grid .ph:not(:first-child) { aspect-ratio: 4/3; }

/* ============ PHOTO PLACEHOLDER ============ */
.ph {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--cream-soft) 0%, var(--leaf-pale) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-align: center;
  padding: 1.2rem;
}
.ph svg { width: 18px; height: 18px; color: var(--leaf-light); opacity: .7; }
.ph span { font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-faint); }
.ph.p34 { aspect-ratio: 3/4; }
.ph.sq  { aspect-ratio: 1/1; }
.ph.wide { aspect-ratio: 16/9; }
.ph.p43 { aspect-ratio: 4/3; }

/* ============ ACCORDION / DROPDOWN ============ */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
.accordion-trigger:hover .acc-label { color: var(--leaf); }
.acc-label {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink);
  transition: color .2s;
  flex: 1;
}
.acc-sub {
  font-size: .78rem;
  color: var(--ink-faint);
  font-family: var(--f-sans);
  font-weight: 500;
  margin-top: .15rem;
  display: block;
}
.acc-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
  color: var(--ink-mid);
}
.acc-icon svg { width: 12px; height: 12px; transition: transform .3s; }
.accordion-trigger[aria-expanded="true"] .acc-icon { background: var(--leaf); border-color: var(--leaf); color: white; }
.accordion-trigger[aria-expanded="true"] .acc-icon svg { transform: rotate(180deg); }
.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .38s ease, padding .3s ease;
}
.accordion-body.open { max-height: 2000px; }
.accordion-body-inner { padding-bottom: 1.8rem; }

/* Accordion content blocks */
.acc-section { margin-bottom: 1.8rem; }
.acc-section:last-child { margin-bottom: 0; }
.acc-section .slabel { margin-bottom: .6rem; }
.acc-section .prose p { font-size: .97rem; }

/* Inline tag list */
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.tag { display: inline-block; padding: .3rem .75rem; background: var(--leaf-pale); color: var(--leaf); border-radius: 999px; font-size: .78rem; font-weight: 600; }

/* V-list */
.v-list { display: grid; gap: 0; }
.v-list li { padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--ink-mid); font-size: .95rem; line-height: 1.55; }
.v-list li:first-child { border-top: 1px solid var(--line); }

/* Cost strip */
.cost-row { display: flex; gap: 2rem; flex-wrap: wrap; padding: 1.1rem 0; border-top: 1px solid var(--line); margin-top: 1.2rem; }
.cost-row .c-num { font-family: var(--f-serif); font-size: 1.5rem; color: var(--terra-dk); display: block; line-height: 1; }
.cost-row .c-lab { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-top: .3rem; display: block; }

/* Note boxes */
.note-pair { display: grid; gap: 1.2rem; margin-top: 1.4rem; }
@media (min-width: 560px) { .note-pair { grid-template-columns: 1fr 1fr; } }
.note-box { border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.3rem; background: var(--cream-soft); }
.note-box h4 { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--leaf); margin-bottom: .5rem; }
.note-box p { font-size: .92rem; color: var(--ink-mid); }

/* Blockquote */
.quote-block { border-left: 2px solid var(--leaf-light); padding-left: 1.3rem; margin-top: 1.2rem; }
.quote-block .who { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--leaf); margin-bottom: .6rem; }
.quote-block p { font-size: .96rem; color: var(--ink-mid); }

/* ============ OFFER SUB-NAV (Angebote sidebar) ============ */
.offers-layout { display: grid; grid-template-columns: 12rem 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 640px) { .offers-layout { grid-template-columns: 1fr; } }

.offer-nav { display: flex; flex-direction: column; gap: 0; position: sticky; top: 5rem; }
.offer-nav a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-mid);
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.offer-nav a::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--leaf-light); flex-shrink: 0; opacity: 0; transition: opacity .2s; }
.offer-nav a:first-child { border-top: 1px solid var(--line); }
.offer-nav a.active, .offer-nav a:hover { color: var(--leaf); }
.offer-nav a.active { font-weight: 700; }
.offer-nav a.active::before, .offer-nav a:hover::before { opacity: 1; }

@media (max-width: 640px) {
  .offer-nav { flex-direction: row; flex-wrap: wrap; gap: .4rem; position: static; border-top: 1px solid var(--line); padding-top: .8rem; }
  .offer-nav a { border: none; border-bottom: none; border-radius: 999px; padding: .35rem .85rem; background: var(--cream-soft); font-size: .82rem; }
  .offer-nav a::before { display: none; }
  .offer-nav a:first-child { border-top: none; }
  .offer-nav a.active { background: var(--leaf); color: #EDF3EE; }
}

/* ============ CONTACT ============ */
.contact-info { display: grid; gap: 0; }
.contact-info .row { display: flex; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-info .row:first-child { border-top: 1px solid var(--line); }
.c-label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); width: 5rem; flex-shrink: 0; padding-top: .25rem; }
.c-val { font-size: 1rem; color: var(--ink); font-weight: 500; line-height: 1.5; }
.contact-info a { text-decoration: none; }
.contact-info a:hover { text-decoration: underline; color: var(--terra-dk); }

.map-wrap { margin-top: 1.5rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-wrap { padding: clamp(1.5rem, 4vw, 2.2rem); border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.f-row { margin-bottom: 1.1rem; }
.f-row label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-mid); margin-bottom: .4rem; }
.f-row input, .f-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  padding: .7rem .9rem;
  font-family: var(--f-sans);
  font-size: .96rem;
  color: var(--ink);
  resize: vertical;
  transition: border-color .2s;
}
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--leaf); }
.f-note { font-size: .78rem; color: var(--ink-faint); margin-bottom: 1.2rem; }
.f-req { color: var(--terra-dk); }
.f-status { display: none; font-size: .86rem; color: var(--ink-mid); margin-top: .8rem; }
.f-status.show { display: block; }

/* ============ FOOTER ============ */
footer {
  background: var(--leaf);
  color: rgba(237,243,238,.7);
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.8rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(237,243,238,.18);
}
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
footer .brand-name { font-size: .97rem; color: #EDF3EE; }
footer .brand-tag { color: rgba(237,243,238,.5); }
.f-brand p { margin-top: .8rem; font-size: .88rem; color: rgba(237,243,238,.6); max-width: 22rem; }
.f-col h4 { font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: rgba(237,243,238,.5); margin-bottom: .9rem; }
.f-col ul { display: grid; gap: .5rem; }
.f-col a, .f-col span { font-size: .9rem; color: rgba(237,243,238,.78); text-decoration: none; }
.f-col a:hover { color: var(--terra-lt); text-decoration: underline; }
.footer-bottom { margin-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .78rem; color: rgba(237,243,238,.4); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--terra-lt); }

/* ============ LEGAL PROSE ============ */
.legal-block { margin-bottom: 2rem; }
.legal-block .slabel { margin-bottom: .75rem; }
.legal-block p { color: var(--ink-mid); font-size: .97rem; }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
