:root {
  --green: #808e59;
  --green-dark: #6b7a45;
  --green-brand: #6f8040;
  --green-heading: #758352;
  --green-soft: #c5cbb0;
  --text: #5a5a5a;
  --text-dark: #444;
  --nav: #4e4e4e;
  --muted: #7a7a7a;
  --white: #ffffff;
  --bg: #f4f3ef;
  --quote: #e2e1d9;
  --sig: #e0e0d8;
  --footer: #5d5e62;
  --line: #e4e3de;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Header ── */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-size: 1.42rem;
  font-weight: 400;
  color: var(--green-brand);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nav);
  text-decoration: none;
  padding: 6px 0 8px;
  position: relative;
}

.main-nav a:hover {
  color: var(--green-dark);
  text-decoration: none;
}

.main-nav a.is-active {
  color: var(--green-brand);
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 3px;
  background: var(--green);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--nav);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero + Welle ── */
.hero {
  position: relative;
  line-height: 0;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: clamp(240px, 38vw, 460px);
  object-fit: cover;
  object-position: center 42%;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(84px, 12vw, 132px);
  display: block;
  pointer-events: none;
}

.wave-fill-green {
  fill: var(--green);
}

.wave-fill-sage {
  fill: #b4be91;
}

.wave-fill-white {
  fill: var(--bg);
}

/* ── Welcome ── */
.welcome {
  background: var(--bg);
  padding: 12px 28px 0;
  position: relative;
  overflow: hidden;
}

.welcome-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.welcome-copy {
  position: relative;
  padding-bottom: 12px;
}

.welcome-copy h1 {
  font-size: clamp(1.7rem, 3vw, 2.28rem);
  font-weight: 400;
  color: var(--green-heading);
  line-height: 1.28;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.welcome-copy > p {
  color: var(--text);
  margin-bottom: 22px;
  max-width: 26rem;
}

.quote {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--quote);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 0 0 22px;
  border: none;
  max-width: 27rem;
}

.quote-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  font-style: normal;
  font-weight: 400;
  line-height: 0.7;
  color: var(--green);
  transform: translateY(30%);
}

.quote p {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  color: var(--green-dark);
  line-height: 1.45;
}

/* Info list */
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-list li:first-child {
  padding-top: 0;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  object-fit: contain;
  margin-top: 2px;
}

.info-list p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  padding-top: 4px;
}

.info-list a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Terminbuchung ── */
.booking {
  max-width: var(--max);
  margin: 36px auto 0;
  position: relative;
  z-index: 1;
  scroll-margin-top: 96px;
}

.booking-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 12px 32px rgba(80, 90, 50, 0.07);
}

.booking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.booking-copy h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
  color: var(--green-heading);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 8px;
}

.booking-copy p {
  margin: 0;
  max-width: 34rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.55;
}

.booking-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.booking-btn {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--white);
  background-color: var(--green-dark);
  padding: 13px 22px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.booking-btn:hover {
  background-color: #5f6c3c;
}

.booking-btn:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 3px;
}

.booking-panel {
  height: 0;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .booking-panel {
    transition: none;
  }
}

/* ── Signature ── */
#ueber-mich.band {
  position: relative;
  padding-bottom: 20px;
  overflow: hidden;
}

@media (min-width: 901px) {
  #ueber-mich .band-inner {
    padding-right: min(28vw, 350px);
  }
}

#ueber-mich .band-inner > p:last-of-type {
  margin-bottom: 8px;
}

.foldouts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 26px;
  max-width: 40rem;
}

.foldout {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.foldout-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-heading);
  text-align: left;
  cursor: pointer;
}

.foldout-toggle:hover {
  color: var(--green-dark);
}

.foldout-toggle:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: -3px;
  border-radius: 12px;
}

.foldout-icon {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.foldout-toggle[aria-expanded="true"] .foldout-icon {
  transform: rotate(225deg) translateY(-2px);
}

.foldout-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.foldout.is-open .foldout-panel {
  grid-template-rows: 1fr;
}

.foldout-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.foldout-panel ul {
  list-style: none;
  margin: 0;
  padding: 2px 18px 16px;
}

.foldout-panel li {
  position: relative;
  padding: 5px 0 5px 16px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text);
}

.foldout-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-soft);
}

@media (prefers-reduced-motion: reduce) {
  .foldout-panel,
  .foldout-icon {
    transition: none;
  }
}

.signature-inner {
  text-align: left;
}

.sig-line {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.sig-img {
  display: block;
  width: min(380px, 100%);
  height: auto;
}

.stones-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(32vw, 364px);
  height: auto;
  display: block;
  pointer-events: none;
}

/* ── Footer ── */
.site-footer {
  background: var(--footer);
  color: var(--white);
  padding: 32px 28px 40px;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-item img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-item p {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.footer-item a {
  color: var(--white);
  text-decoration: none;
}

.footer-item a:hover {
  text-decoration: underline;
}

.footer-item .hours {
  font-size: 0.82rem;
  opacity: 0.88;
}

.welcome-route {
  max-width: var(--max);
  margin: 18px auto 0;
  padding-bottom: 56px;
  position: relative;
  z-index: 1;
}

.route-btn {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--white);
  background-color: var(--green-dark);
  padding: 13px 22px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.route-btn:hover {
  background-color: #5f6c3c;
}

.route-btn:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 3px;
}

.route-panel {
  height: 0;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.route-panel iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .route-panel {
    transition: none;
  }
}

/* ── Onepager sections ── */
#home {
  scroll-margin-top: 0;
}

#therapiekonzepte,
#ueber-mich,
#kontakt {
  scroll-margin-top: 96px;
}

.band {
  background: var(--white);
  padding: 64px 28px 72px;
}

.band-alt {
  background: var(--bg);
}

.band-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.band-narrow {
  max-width: 760px;
}

.band h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--green-heading);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.band h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin: 22px 0 8px;
}

.band p {
  margin-bottom: 14px;
}

.band-lead {
  max-width: 40rem;
}

.card-row {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

@media (min-width: 720px) {
  .card-row {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--bg);
  border-radius: 12px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
}

.band-alt .card {
  background: var(--white);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.card p:last-child {
  margin-bottom: 0;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .nav-toggle {
    display: flex;
    order: -1;
  }

  .brand {
    flex: 1;
    justify-content: center;
    margin-right: 42px;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-sub {
    font-size: 0.78rem;
  }

  .main-nav {
    display: none;
    order: 3;
    width: 100%;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid var(--line);
  }

  .main-nav a {
    display: block;
    padding: 12px 4px;
    font-size: 0.95rem;
  }

  .welcome {
    padding: 4px 18px 0;
  }

  .band {
    padding: 48px 18px 56px;
  }

  #ueber-mich.band {
    padding-bottom: 12px;
  }

  .signature-inner {
    text-align: left;
  }

  .stones-img {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(154px, 38vw);
    margin: 12px 0 0 auto;
  }

  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .booking {
    margin-top: 8px;
  }

  .welcome-route {
    padding-bottom: 40px;
  }

  .booking-card {
    padding: 22px 20px;
  }

  .booking-head {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .booking-action {
    align-self: flex-end;
  }

  .welcome-copy > p,
  .quote {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }

  .hero-image {
    height: 220px;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-item {
    justify-content: flex-start;
  }

  .hero-image {
    height: 190px;
  }

  .brand {
    margin-right: 0;
    gap: 10px;
  }
}
