/* --------------------------------------------------
   Viola Wagner — ADHS Coaching
   Ruhiges, reizarmes Design. Viel Weißraum.
-------------------------------------------------- */

:root {
  /* Palette */
  --c-bg:        #F6F5F2;   /* sehr helles off-white */
  --c-bg-soft:   #EDEBE6;
  --c-ink:       #2B2A28;   /* warmes fast-schwarz */
  --c-ink-soft:  #5A5955;
  --c-line:      #E3DFD8;

  --c-blue:      #5D718A;
  --c-blue-soft: #B4BFC5;
  --c-sage:      #95AA99;
  --c-rose:      #E6C5BE;
  --c-ochre:     #E0A45C;
  --c-terra:     #CF7040;   /* CTA */
  --c-terra-dk:  #B65C30;

  /* Type */
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rhythmus */
  --r-1: .25rem;
  --r-2: .5rem;
  --r-3: 1rem;
  --r-4: 1.5rem;
  --r-5: 2.5rem;
  --r-6: 4rem;
  --r-7: 6rem;
  --r-8: 9rem;

  --container: 1160px;

  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------
   Reset & base
-------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--c-terra); color: #fff; }

/* --------------------------------------------------
   Decorative background blobs (parallax)
-------------------------------------------------- */
.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  width: 62vmax;
  height: 62vmax;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.blob--sage { top: -22vmax; left: -18vmax; fill: var(--c-sage); }
.blob--rose { top: 60vh;   right: -22vmax; fill: var(--c-rose); opacity: .5; }
.blob--blue { top: 160vh;  left: -14vmax;  fill: var(--c-blue-soft); opacity: .45; }

/* --------------------------------------------------
   Header
-------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  background: color-mix(in srgb, var(--c-bg) 75%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--c-line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-terra) 0%, var(--c-rose) 70%);
  box-shadow: 0 0 0 3px var(--c-bg), 0 0 0 4px var(--c-line);
}
.brand-name { font-size: .98rem; }
.site-nav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  font-size: .95rem;
  color: var(--c-ink-soft);
}
.site-nav a {
  position: relative;
  padding: .25rem 0;
  transition: color .2s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transition: right .3s var(--ease);
}
.site-nav a:hover { color: var(--c-ink); }
.site-nav a:hover::after { right: 0; }

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

/* --------------------------------------------------
   Layout helpers
-------------------------------------------------- */
main { position: relative; z-index: 1; }

section {
  position: relative;
  padding: var(--r-8) clamp(1.25rem, 5vw, 3rem);
}
@media (max-width: 720px) {
  section { padding: var(--r-7) 1.25rem; }
}

.section__head {
  max-width: var(--container);
  margin: 0 auto var(--r-5);
}

/* --------------------------------------------------
   Typography
-------------------------------------------------- */
.eyebrow {
  margin: 0 0 var(--r-4);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-blue);
}

.display {
  font-size: clamp(2.4rem, 6.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0 0 var(--r-4);
  color: var(--c-ink);
}
.heading {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 0;
  max-width: 22ch;
}
.heading--on-dark { color: var(--c-bg); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--c-ink-soft);
  max-width: 46ch;
  margin: 0 0 var(--r-5);
}

/* --------------------------------------------------
   Buttons
-------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--c-terra);
  color: #fff;
  box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--c-terra) 85%, transparent);
}
.btn--primary:hover {
  background: var(--c-terra-dk);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -12px color-mix(in srgb, var(--c-terra) 85%, transparent);
}
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
}
.btn--ghost:hover {
  background: var(--c-bg-soft);
  border-color: transparent;
}

/* --------------------------------------------------
   Hero
-------------------------------------------------- */
.hero {
  padding-top: clamp(4rem, 12vw, 9rem);
  padding-bottom: var(--r-7);
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: var(--r-4);
}
.hero__meta {
  max-width: var(--container);
  margin: var(--r-7) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.25rem;
  padding-top: var(--r-4);
  border-top: 1px solid var(--c-line);
}
.hero__meta > div {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.meta__label {
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.meta__value {
  font-size: 1.02rem;
  color: var(--c-ink);
  font-weight: 500;
}
@media (max-width: 640px) {
  .hero__meta { grid-template-columns: 1fr; gap: 1rem; }
}

/* --------------------------------------------------
   About
-------------------------------------------------- */
.about__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__text p {
  margin: 0 0 1.1rem;
  font-size: 1.08rem;
  max-width: 48ch;
}
.about__sig {
  margin-top: 1.5rem !important;
  color: var(--c-blue);
  font-weight: 500;
}

.about__visual {
  margin: 0;
}
.card-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(45,42,40,.25);
}
.card-art svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { order: -1; max-width: 420px; }
}

/* --------------------------------------------------
   Services
-------------------------------------------------- */
.services__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.service {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease);
}
.service:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 30px 60px -30px rgba(45,42,40,.18);
}
.service__num {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-size: .85rem;
  letter-spacing: .12em;
  color: var(--c-sage);
  margin-bottom: 1.25rem;
}
.service h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.2;
  margin: 0 0 .75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.service__lead {
  margin: 0 0 1.25rem;
  color: var(--c-ink-soft);
  max-width: 42ch;
}
.service__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .6rem;
}
.service__list li {
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.55;
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-terra);
  opacity: .85;
}

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

/* Setting callout */
.setting {
  max-width: var(--container);
  margin: var(--r-6) auto 0;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  background: var(--c-bg-soft);
  border-radius: var(--radius-lg);
}
.setting h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 500;
  margin: .25rem 0 1rem;
  max-width: 18ch;
}
.setting__text p {
  margin: 0;
  color: var(--c-ink-soft);
  max-width: 44ch;
}
.setting__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem;
}
.chip {
  padding: .4rem .8rem;
  font-size: .85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-ink);
}
.setting__art {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px -24px rgba(45,42,40,.2);
}
@media (max-width: 820px) {
  .setting { grid-template-columns: 1fr; }
}

/* --------------------------------------------------
   Pact (Anti-Vertrag)
-------------------------------------------------- */
.pact {
  background: var(--c-blue);
  color: var(--c-bg);
  overflow: hidden;
}
.pact .eyebrow { color: var(--c-rose); }
.pact__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.pact__list {
  margin-top: var(--r-5);
  display: grid;
  gap: .75rem;
  max-width: 38rem;
}
.pact__item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--c-bg) 20%, transparent);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}
.pact__item p { margin: 0; }
.pact__x {
  color: var(--c-rose);
  font-weight: 500;
}
.pact__footer {
  margin-top: var(--r-5);
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--c-bg) 85%, transparent);
}

/* --------------------------------------------------
   Contact
-------------------------------------------------- */
.contact__head {
  max-width: var(--container);
  margin: 0 auto var(--r-5);
}
.contact__form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.field input,
.field textarea {
  font: inherit;
  padding: .95rem 1.1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-terra);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-terra) 22%, transparent);
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}
.field--submit {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .25rem;
}
.contact__hint {
  margin: 0;
  font-size: .9rem;
  color: var(--c-ink-soft);
}

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

/* --------------------------------------------------
   Footer
-------------------------------------------------- */
.site-footer {
  padding: var(--r-5) clamp(1.25rem, 5vw, 3rem) var(--r-4);
  border-top: 1px solid var(--c-line);
  position: relative;
  z-index: 1;
}
.foot {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .92rem;
  color: var(--c-ink-soft);
}
.foot__brand { margin: 0; color: var(--c-ink); font-weight: 500; }
.foot__place { margin: .15rem 0 0; }
.foot__nav { display: flex; gap: 1.25rem; }
.foot__nav a:hover { color: var(--c-ink); }

/* --------------------------------------------------
   Dezente SVG-Illustrations-Animationen
   · Wellen morphen per SMIL <animate> im SVG
   · Kreise schweben in losen Achterbahnen per CSS
-------------------------------------------------- */
.art-orb {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}

/* Terracotta-Kreis: loser Lazy-Loop */
@keyframes orbDrift1 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25%      { transform: translate3d(6px, -10px, 0); }
  50%      { transform: translate3d(-4px, -16px, 0); }
  75%      { transform: translate3d(-8px, -6px, 0); }
}
.art-orb--terra {
  animation: orbDrift1 11s ease-in-out infinite;
}

/* Graublauer Kreis: gegenläufig, größerer Radius */
@keyframes orbDrift2 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25%      { transform: translate3d(-10px, -8px, 0); }
  50%      { transform: translate3d(-4px, -18px, 0); }
  75%      { transform: translate3d(8px, -12px, 0); }
}
.art-orb--blue {
  animation: orbDrift2 15s ease-in-out infinite;
  animation-delay: -4s;
}

/* Sonne im Setting-Motiv: sehr sanftes Atmen */
@keyframes orbBreathe {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(-6px, 4px, 0); }
}
.art-orb--sun {
  animation: orbBreathe 13s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .art-orb { animation: none !important; }
}

/* --------------------------------------------------
   Reveal animations (fallback & pre-state)
-------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
/* No motion preference */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .blob { display: none; }
  html { scroll-behavior: auto; }
}
