/*
Theme Name: Rachlinger Walk & Talk
Theme URI: https://rachlinger.at
Author: Michaela Rachlinger
Description: Individuelles One-Page-Theme für psychologische Beratung im Gehen. Ersetzt das bisherige Nicepage-Theme.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rwt
*/

:root {
  --stone: #E4D3AE;
  --paper: #F7F1E4;
  --forest: #4A3826;
  --forest-soft: #6E5B42;
  --moss: #7A6440;
  --river: #7E3F4C;
  --river-dark: #602E38;
  --rust: #A3762F;
  --line: rgba(74, 56, 38, 0.16);
  --max: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--stone);
  color: var(--forest);
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  color: var(--forest);
}

p { margin: 0; }

a { color: inherit; }

.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--river);
  font-weight: 600;
  margin: 0 0 12px;
  display: inline-block;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand .mark {
  width: 22px;
  height: 22px;
  color: var(--river);
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; }

.brand-name {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--moss);
}

nav { display: flex; gap: 28px; }

nav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--forest-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.2s ease;
}

nav a:hover { border-color: var(--river); }

@media (max-width: 640px) {
  nav { display: none; }
}

/* ---------- section bands ---------- */

section { padding: 76px 0; }

@media (max-width: 640px) {
  section { padding: 52px 0; }
}

section.bg-stone { background: var(--stone); }

section.bg-paper { background: var(--paper); }

section.bg-forest { background: var(--forest); }

section.bg-forest .eyebrow { color: #E3C9A0; }

section.bg-forest h2, section.bg-forest h3 { color: var(--paper); }

section.bg-forest p { color: #D9C7B0; }

section.bg-forest .icon { color: var(--paper); }

section.bg-paper .route-card,
section.bg-paper .quals,
section.bg-paper .price-row { background: var(--stone); }

section.bg-stone .route-card,
section.bg-stone .quals,
section.bg-stone .price-row { background: var(--paper); }

.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- hero ---------- */

.hero {
  padding-top: 88px !important;
  padding-bottom: 88px !important;
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 54px);
  max-width: 15ch;
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  max-width: 46ch;
  margin: 22px 0 34px;
  color: var(--forest-soft);
  font-size: 17px;
}

.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--forest);
  color: var(--paper);
  border: none;
  padding: 13px 24px;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: var(--river-dark); }

.link-quiet {
  font-size: 14.5px;
  text-decoration: none;
  color: var(--forest-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.hero-figure {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.hero-figure div {
  aspect-ratio: 4/3;
  background: var(--moss);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
}
.hero-figure div:nth-child(1) { background: #C9A66B; }
.hero-figure div:nth-child(2) { background: #B98C7A; }
.hero-figure div:nth-child(3) { background: #9C6F30; }
.hero-figure div span {
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-figure div:nth-child(1) { background: #C9A66B; }
.hero-figure div:nth-child(2) { background: #B98C7A; }
.hero-figure div:nth-child(3) { background: #9C6F30; }
.hero-figure div span {
  opacity: 1;
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ---------- section heads ---------- */

.section-head { max-width: 56ch; margin-bottom: 44px; }

.section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 500; }

.section-head p { margin-top: 14px; color: var(--forest-soft); font-size: 15.5px; }

/* ---------- values ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 720px) {
  .values-grid { grid-template-columns: 1fr; }
}

.value-item .icon { color: var(--river); margin-bottom: 16px; }

.value-item h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }

.value-item p { font-size: 14.5px; color: var(--forest-soft); }

/* ---------- ablauf ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
}

.step .num {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  color: var(--river);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 10px;
  display: block;
}

.step h3 { font-size: 16.5px; font-weight: 500; margin-bottom: 8px; }

.step p { font-size: 14.5px; color: var(--forest-soft); }

/* ---------- routen ---------- */

.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 720px) {
  .routes-grid { grid-template-columns: 1fr; }
}

.route-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 24px;
}

.route-card .icon { color: var(--rust); margin-bottom: 14px; }

.route-card h3 { font-size: 17px; font-weight: 500; margin-bottom: 6px; }

.route-card .meta {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 12px;
}

.route-card p { font-size: 14px; color: var(--forest-soft); }

.routes-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--moss);
  font-style: italic;
}

/* ---------- confidentiality row ---------- */

.confidential {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 640px) {
  .confidential { grid-template-columns: 1fr; }
}

.confidential .icon { width: 30px; height: 30px; }

.confidential h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }

.confidential p { font-size: 14.5px; max-width: 60ch; }

/* ---------- über mich ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 780px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

.about-text p { font-size: 15.5px; color: var(--forest-soft); margin-bottom: 18px; }

blockquote {
  margin: 26px 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--rust);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--forest);
  line-height: 1.5;
}

blockquote cite {
  display: block;
  margin-top: 10px;
  font-family: 'Work Sans', sans-serif;
  font-style: normal;
  font-size: 13px;
  color: var(--moss);
}

.quals {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px;
}

.quals h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--river);
  font-weight: 600;
  margin-bottom: 16px;
}

.quals ul { list-style: none; margin: 0; padding: 0; }

.quals li {
  font-size: 14px;
  color: var(--forest-soft);
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.quals li:first-child { border-top: none; padding-top: 0; }

/* ---------- preise ---------- */

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 34px;
}

.price-amount {
  font-family: 'Fraunces', serif;
  font-size: 42px;
  font-weight: 400;
}

.price-amount span { font-size: 16px; color: var(--moss); font-family: 'Work Sans', sans-serif; }

.price-note { max-width: 40ch; font-size: 14px; color: var(--forest-soft); }

/* ---------- faq ---------- */

.faq-item { border-top: 1px solid var(--line); }

.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15.5px;
  font-weight: 500;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .plus {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--river);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary .plus { transform: rotate(45deg); }

.faq-item .faq-a {
  padding: 0 4px 22px;
  font-size: 14.5px;
  color: var(--forest-soft);
  max-width: 68ch;
}

/* ---------- kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

.contact-info .row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-info .icon { color: var(--river); flex-shrink: 0; margin-top: 2px; }

.contact-info .label { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--moss); margin-bottom: 3px; }

.contact-info .value { font-size: 15px; }

form { display: flex; flex-direction: column; gap: 16px; }

.field label {
  display: block;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--moss);
  margin-bottom: 6px;
}

.field input, .field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 11px 12px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14.5px;
  color: var(--forest);
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--river);
}

.field textarea { resize: vertical; min-height: 100px; }

.form-notice {
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 3px;
  background: var(--paper);
  border: 1px solid var(--line);
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--moss);
}

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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