:root {
  --brown: #705e54;
  --brown-deep: #4b3d38;
  --brown-ink: #2d2623;
  --lilac: #ab93b3;
  --lilac-deep: #80688a;
  --lilac-soft: #eee8f0;
  --cream: #f8f5f3;
  --paper: #fffefd;
  --line: rgba(75, 61, 56, .18);
  --shadow: 0 22px 55px rgba(64, 49, 44, .13);
  --radius: 1.15rem;
  --shell: min(1160px, calc(100% - 2.25rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body {
  margin: 0;
  color: var(--brown-ink);
  background: var(--paper);
  font-family: "Trebuchet MS", Trebuchet, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.09; letter-spacing: -.035em; }
h1 { font-size: clamp(2.9rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.75rem); }
h3 { font-size: 1.45rem; }
p:last-child { margin-bottom: 0; }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(5rem, 9vw, 8.25rem) 0; }
.section-tint { background: var(--cream); }
.section-dark { color: white; background: var(--brown-deep); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 200; transform: translateY(-180%);
  background: var(--brown-ink); color: white; padding: .75rem 1rem; border-radius: .4rem;
}
.skip-link:focus { transform: none; }
.eyebrow {
  margin-bottom: 1rem; color: var(--lilac-deep); font-size: .8rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.section-dark .eyebrow { color: #d9c9df; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { background: rgba(255, 254, 253, .95); border-color: var(--line); box-shadow: 0 8px 30px rgba(54, 42, 37, .07); backdrop-filter: blur(12px); }
.header-inner { min-height: 6.35rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { width: 4.25rem; height: 5.15rem; flex: 0 0 auto; overflow: visible; background: transparent; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); font-size: .94rem; font-weight: 700; }
.main-nav a { text-decoration: none; padding: .5rem .1rem; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--lilac-deep); }
.main-nav .nav-contact { padding: .72rem 1.2rem; color: white; background: var(--brown-deep); border-radius: 999px; }
.main-nav .nav-contact:hover, .main-nav .nav-contact:focus-visible { color: white; background: var(--lilac-deep); }
.menu-toggle { display: none; width: 3rem; height: 3rem; border: 0; background: white; border-radius: 50%; box-shadow: 0 7px 24px rgba(45, 38, 35, .12); }
.menu-toggle span:not(.sr-only) { display: block; width: 1.25rem; height: 2px; margin: 4px auto; background: var(--brown-deep); }

.hero { position: relative; min-height: 780px; height: min(92svh, 920px); display: grid; align-items: center; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background: url("therapie-kinder.jpg") center / cover no-repeat; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(253,251,249,.98) 0%, rgba(253,251,249,.9) 35%, rgba(253,251,249,.34) 67%, rgba(253,251,249,.05) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 6rem; }
.hero-content > * { max-width: 680px; }
.hero h1 { margin-bottom: 1.3rem; color: var(--brown-deep); }
.hero h1 span { color: var(--lilac-deep); }
.hero-copy { max-width: 600px; font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1rem; }
.hero-note { font-size: .9rem; font-weight: 700; }
.hero-seeds { position: absolute; right: -3%; bottom: 0; width: min(42vw, 530px); mix-blend-mode: multiply; opacity: .63; pointer-events: none; }

.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; padding: .75rem 1.35rem;
  border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 800; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--brown-deep); }
.button-primary:hover, .button-primary:focus-visible { background: var(--lilac-deep); }
.button-light { background: rgba(255,255,255,.76); border-color: rgba(75,61,56,.3); }
.button-light:hover, .button-light:focus-visible { border-color: var(--lilac-deep); color: var(--lilac-deep); }
.button-secondary { color: white; background: var(--lilac-deep); }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--brown-deep); }
.text-link { display: inline-flex; gap: .55rem; align-items: center; color: var(--lilac-deep); font-weight: 800; text-underline-offset: .25rem; }

.welcome-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.welcome-grid h2 { margin-bottom: 0; }
.welcome-text { padding-top: 2rem; font-size: 1.14rem; }

.section-heading { max-width: 770px; margin-bottom: 3rem; }
.section-heading > p:last-child { max-width: 650px; font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service-card { position: relative; min-height: 260px; padding: clamp(1.6rem, 3vw, 2.6rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-card::after { content: ""; position: absolute; right: -40px; bottom: -48px; width: 145px; height: 145px; border: 1px solid rgba(171,147,179,.36); border-radius: 50%; }
.service-number { display: block; margin-bottom: 2.6rem; color: var(--lilac-deep); font-size: .8rem; font-weight: 800; letter-spacing: .14em; }
.service-card h3 { color: var(--brown-deep); }
.service-note { max-width: 740px; margin: 2rem 0 0; padding-left: 1.25rem; border-left: 3px solid var(--lilac); }

.process-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 8vw, 8rem); }
.process-intro { position: sticky; top: 9rem; align-self: start; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.25rem; padding: 0 0 2.1rem; margin-bottom: 2.1rem; border-bottom: 1px solid var(--line); }
.steps li:last-child { margin-bottom: 0; }
.steps li > span { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; color: white; background: var(--lilac-deep); border-radius: 50%; font-weight: 800; }
.steps h3 { margin-bottom: .55rem; color: var(--brown-deep); }

.practice { padding-top: 2rem; }
.practice-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.practice-heading p:last-child { font-size: 1.08rem; }
.gallery { display: grid; grid-template-columns: 1.55fr .72fr .72fr; grid-template-rows: repeat(2, 245px); gap: .8rem; }
.gallery-item { padding: 0; border: 0; border-radius: .9rem; overflow: hidden; background: var(--lilac-soft); cursor: zoom-in; }
.gallery-main { grid-row: 1 / 3; }
.gallery-item:last-child { grid-column: 2 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.025); }
.gallery-item:focus-visible { outline: 3px solid var(--lilac-deep); outline-offset: 3px; }

.about { position: relative; overflow: hidden; }
.about-dandelion { position: absolute; left: -2rem; bottom: -16rem; height: 110%; width: auto; opacity: .17; mix-blend-mode: screen; }
.about-grid { position: relative; display: grid; grid-template-columns: .2fr .8fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.quote-mark { align-self: start; color: var(--lilac); font-size: 10rem; line-height: .65; font-family: Georgia, serif; }
.about blockquote { margin: 0; font-family: Georgia, serif; }
.about blockquote p { font-size: clamp(1.75rem, 3vw, 2.85rem); line-height: 1.23; }
.about cite { color: #d9c9df; font-size: .9rem; font-family: "Trebuchet MS", sans-serif; font-style: normal; }
.about-copy { padding-left: clamp(1rem, 4vw, 4rem); border-left: 1px solid rgba(255,255,255,.22); }
.about-copy p { color: rgba(255,255,255,.87); }

.guide-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.guide-grid > div:first-child > p:not(.eyebrow) { max-width: 580px; font-size: 1.08rem; }
.topic-list { border-top: 1px solid var(--line); }
.topic-list div { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.35rem .25rem; border-bottom: 1px solid var(--line); }
.topic-list span { color: var(--lilac-deep); font-size: .8rem; font-weight: 800; }
.topic-list p { margin: 0; font-size: 1.12rem; font-weight: 800; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.contact-info > p:not(.eyebrow) { font-size: 1.08rem; }
.contact-info address { margin: 2rem 0; font-style: normal; }
.contact-links { display: grid; gap: .65rem; margin-bottom: 1.7rem; }
.contact-links a { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: 1.06rem; font-weight: 800; }
.contact-links span { width: 4.2rem; color: var(--lilac-deep); font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; }
.contact-form { padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form h3 { margin-bottom: .65rem; font-size: 1.8rem; }
.form-hint { margin-bottom: 1.7rem; color: #655b56; font-size: .9rem; }
.contact-form > label:not(.check-label), .form-row label { display: block; margin: 1rem 0 .35rem; font-size: .88rem; font-weight: 800; }
.contact-form input:not([type="checkbox"]), .contact-form textarea {
  width: 100%; padding: .85rem .95rem; color: var(--brown-ink); background: white; border: 1px solid rgba(75,61,56,.3); border-radius: .45rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(171,147,179,.28); border-color: var(--lilac-deep); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check-label { display: grid; grid-template-columns: 1.2rem 1fr; gap: .7rem; align-items: start; margin: 1.25rem 0; font-size: .82rem; }
.check-label input { margin-top: .25rem; }
.form-status { min-height: 1.6em; margin-top: 1rem; font-weight: 700; }
.form-status.success { color: #27643b; }
.form-status.error { color: #a02c2c; }
.honeypot { position: absolute; left: -9999px; }

.lightbox { max-width: min(1100px, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: .5rem; border: 0; border-radius: 1rem; background: white; box-shadow: var(--shadow); }
.lightbox::backdrop { background: rgba(28,22,20,.83); }
.lightbox img { max-height: calc(100vh - 4rem); margin: auto; border-radius: .65rem; }
.lightbox-close { position: absolute; right: .9rem; top: .9rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border: 0; border-radius: 50%; background: white; box-shadow: 0 4px 18px rgba(0,0,0,.2); font-size: 1.8rem; cursor: pointer; }

.site-footer { color: rgba(255,255,255,.86); background: var(--brown-ink); }
.footer-main { display: grid; grid-template-columns: auto 1fr 1fr; gap: 2rem; align-items: center; padding: 3.5rem 0; }
.footer-brand { width: 4.2rem; height: 5.1rem; overflow: visible; background: transparent; }
.footer-brand img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand img { filter: brightness(1.42) saturate(.78); }
.footer-main p { margin: .2rem 0 0; }
.footer-main > div:last-child { display: grid; justify-items: end; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 1.2rem; }

.legal-hero, .guide-hero { padding: 10rem 0 4rem; background: var(--cream); }
.legal-hero h1, .guide-hero h1 { max-width: 850px; margin-bottom: .8rem; font-size: clamp(2.5rem, 6vw, 4.6rem); color: var(--brown-deep); }
.content-page { max-width: 820px; padding: 4rem 0 7rem; }
.content-page h2 { margin-top: 2.8rem; font-size: 1.8rem; color: var(--brown-deep); }
.content-page h3 { margin-top: 2rem; font-size: 1.25rem; }
.content-page a { color: var(--lilac-deep); }
.guide-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.guide-card { padding: 1.5rem; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.guide-card span { color: var(--lilac-deep); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.guide-card h2 { margin: .8rem 0; font-size: 1.45rem; }
.not-found { min-height: 80vh; display: grid; place-items: center; padding: 8rem 0 4rem; text-align: center; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 5.55rem; left: 1.125rem; right: 1.125rem; display: none; align-items: stretch; padding: 1rem; background: white; border: 1px solid var(--line); border-radius: .8rem; box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: .75rem; }
  .main-nav .nav-contact { text-align: center; }
  .hero { min-height: 760px; height: 92svh; align-items: end; }
  .hero-photo { background-position: 64% center; }
  .hero-wash { background: linear-gradient(0deg, rgba(253,251,249,.98) 0%, rgba(253,251,249,.9) 43%, rgba(253,251,249,.2) 100%); }
  .hero-content { padding-bottom: 5rem; }
  .hero-content > * { max-width: 620px; }
  .hero-seeds { width: 60vw; opacity: .45; }
  .welcome-grid, .process-grid, .practice-heading, .about-grid, .guide-grid, .contact-grid { grid-template-columns: 1fr; }
  .welcome-text { padding-top: 0; }
  .process-intro { position: static; }
  .about-grid { gap: 2rem; }
  .quote-mark { display: none; }
  .about-copy { padding: 2rem 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .gallery { grid-template-columns: 1.2fr .8fr; grid-template-rows: 250px 190px 220px; }
  .gallery-main { grid-row: 1 / 3; }
  .gallery-item:last-child { grid-column: 1 / 3; }
  .guide-topics { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 1.35rem, 1160px); }
  .section { padding: 4.2rem 0; }
  .header-inner { min-height: 5.5rem; }
  .brand { width: 3.55rem; height: 4.35rem; }
  .hero { min-height: 700px; }
  .hero-content { padding-bottom: 3.4rem; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions { display: grid; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-number { margin-bottom: 1.6rem; }
  .gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 260px 170px 170px; }
  .gallery-main { grid-column: 1 / 3; grid-row: 1; }
  .gallery-item:last-child { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: auto 1fr; }
  .footer-main > div:last-child { grid-column: 1 / 3; justify-items: start; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
