/* ===========================================================
   IN BALANCE – Landingpage
   Schmerztherapie & Bewegung nach Liebscher & Bracht
   =========================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Mulish', sans-serif;
  color: #2a0f44;
  background: #faf6fd;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

::selection { background: #d8adff; color: #2a0f44; }

/* ---- Organic float animations ---- */
@keyframes ib-float-a { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(18px,-26px) rotate(8deg); } }
@keyframes ib-float-b { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-22px,20px) rotate(-6deg); } }
@keyframes ib-drift  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---- Scroll reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---- Interactive states ---- */
a { transition: background .25s ease, color .25s ease; }

.nav-link:hover { color: #6300be; }

.btn-primary:hover { background: #4d0093; }
.btn-ghost:hover,
.btn-outline:hover { background: rgba(168,79,214,0.12); }
.btn-dark:hover { background: #44215f; }

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .row-2,
  .row-cta,
  .cards-3,
  .cols-3 { grid-template-columns: 1fr !important; }

  .row-cta { text-align: center; }
  .row-cta a { justify-self: center; }

  .nav { gap: 18px !important; }
  .nav .nav-link { display: none; }

  section { padding-left: 22px !important; padding-right: 22px !important; }
}

@media (max-width: 560px) {
  .hero-pad { padding-top: 84px !important; padding-bottom: 90px !important; }
}
