/* ============================================
   OSTEOPATHIE WEISBRODT — Stylesheet
   Palette: sage greens + warm clay accent
   Type: Fraunces (display) / Inter (body)
   ============================================ */

:root {
  --sage-900: #2F373B;
  --sage-700: #46583e;
  --sage-500: #5E868A;
  --sage-300: #aebf9c;
  --sage-100: #e7ede0;
  --cream: #f7f5ef;
  --paper: #fffdf9;
  --clay-500: #c46a4a;
  --clay-600: #b1573a;
  --ink: #232a21;
  --ink-soft: #52584F;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed-fast: 0.25s;
  --speed-mid: 0.55s;
  --speed-slow: 0.9s;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.clay a:hover { opacity: 1; color: var(--clay-600); }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============== HEADER ============== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(247, 245, 239, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(47, 59, 50, 0.08);
  transition: background var(--speed-mid) var(--ease), box-shadow var(--speed-mid) var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(40, 50, 38, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.brand-logo {
width: 100px;
	height: auto;
	padding: 4px;
	margin: 2px 0 8px 0;
	
}

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

.brand-text .top {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--sage-900);
  letter-spacing: -0.01em;
}

.brand-text .sub {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
	margin-top: 3px!important;
}

.brand-text .name {
  font-size: 0.78rem;
  color: var(--sage-900);
  font-weight: 600;
  margin-top: 2px;
}

nav.primary-nav {
  display: flex;
  gap: 2.1rem;
}

nav.primary-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--sage-900);
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color var(--speed-fast) var(--ease);
}

nav.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--clay-500);
  transition: width var(--speed-mid) var(--ease);
}

nav.primary-nav a:hover { color: var(--clay-600); }
nav.primary-nav a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--sage-900);
  border-radius: 2px;
  transition: transform var(--speed-fast) var(--ease), opacity var(--speed-fast) var(--ease);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(78vw, 340px);
  background: var(--sage-900);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2.5rem;
  transform: translateX(100%);
  transition: transform var(--speed-mid) var(--ease);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--sage-100);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color var(--speed-fast) var(--ease);
}

.mobile-nav.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.open a:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.14s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.20s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.26s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.32s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.38s; }

.mobile-nav a:hover { color: var(--clay-500); }

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(20, 26, 18, 0.45);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed-mid) var(--ease);
}

.scrim.open { opacity: 1; visibility: visible; }

/* ============== HERO SLIDER ============== */

.hero {
  position: relative;
  height: 60vh;
  min-height: 580px;
  width: 100%;
  overflow: hidden;
  background: var(--sage-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 4s var(--ease);
  display: flex;
  align-items: center;
}

.hero-slide.active { opacity: 1; z-index: 2; }

.hero-bg {
  position: absolute;
  inset: -10% -5%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-foto {
background-image:url("images/jw-frei.png")!important;
background-position: bottom right;
right: -20%;
background-size:contain; 
background-repeat:no-repeat!important;
}
.hero-bg.parallax-img-1 {
  background: radial-gradient(circle at 30% 30%, var(--sage-500), var(--sage-900) 70%);
}
.hero-bg.parallax-img-2 {
  background: radial-gradient(circle at 70% 40%, #BA9A72, var(--sage-900) 75%);
}
.hero-bg.parallax-img-3 {
  background: radial-gradient(circle at 50% 60%, #8a6a4f, var(--sage-900) 75%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(34,42,30,0.78) 0%, rgba(34,42,30,0.45) 45%, rgba(34,42,30,0.15) 75%);
  z-index: 1;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-circle.c1 { width: 420px; height: 420px; top: -120px; left: -100px; }
.hero-circle.c2 { width: 280px; height: 280px; bottom: -80px; left: 12%; }

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  color: #fff;
}

.hero-content .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-300);
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: 0.15s;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  max-width: 620px;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: rise 1s var(--ease) forwards;
  animation-delay: 0.3s;
}

.hero-content p {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  max-width: 540px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.2rem;
  opacity: 0;
  animation: rise 1s var(--ease) forwards;
  animation-delay: 0.45s;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  opacity: 0;
  animation: rise 1s var(--ease) forwards;
  animation-delay: 0.6s;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: transform var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clay-500), var(--clay-600));
  color: #fff;
  box-shadow: 0 10px 30px rgba(180, 86, 56, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(180, 86, 56, 0.45);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all var(--speed-fast) var(--ease);
}

.hero-dots button.active {
  background: var(--clay-500);
  border-color: var(--clay-500);
  width: 26px;
  border-radius: 5px;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 36px;
  color: rgba(255,255,255,0.75);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-cue .line {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.5);
  overflow: hidden;
  position: relative;
}

.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ============== SECTION FRAMEWORK ============== */

.imp {display: block;
	position: relative;
	padding:60px 55px 100px;
	margin: auto;
width: 100%!important;
max-width: 1050px;}

section { position: relative; }

.section-pad { padding: clamp(64px, 9vw, 128px) 0; }

.section-head {
  margin-bottom: 2.6rem;
  max-width: 640px;
}

.section-head .eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-600);
  font-weight: 700;
  margin-bottom: 0.7rem;
  display: block;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 600;
  color: var(--sage-900);
  line-height: 1.1;
}

/* Magazine-style alternating text/image columns */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 110px);
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-media { order: 1; }

.feature-media, .feature-media-h, .about-media, .contact-card {border-radius: 18px;}

.feature-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -20px rgba(40, 50, 38, 0.25);
}

.feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.feature-media:hover img { transform: scale(1.06); }

.feature-media .tag {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--sage-900);
  letter-spacing: 0.03em;
}

.feature-media-h {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 5;
  box-shadow: 0 30px 60px -20px rgba(40, 50, 38, 0.25);
}

.feature-media-h img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.feature-media-h .tag {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--sage-900);
  letter-spacing: 0.03em;
}

.feature-text .kicker {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  color: var(--sage-900);
  font-weight: 600;
  margin-bottom: 1.1rem;
  line-height: 1.15;
}

.feature-text p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.feature-text p:last-child { margin-bottom: 0; }

.feature-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-text ul li {
  color: var(--ink-soft);
  padding-left: 1.6rem;
  position: relative;
}

.feature-text ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--clay-500);
}

/* Long-form prose block for OSTEOPATHIE section */
.prose-block p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* ============== ABOUT (DARK PARALLAX) ============== */

.about-section {
  background: var(--sage-900);
  color: var(--sage-100);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.about-section .section-head h2 { color: #fff; }
.about-section .section-head .eyebrow { color: var(--sage-300); }

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.about-list li {
  padding-left: 1.7rem;
  position: relative;
  color: rgba(231, 237, 224, 0.85);
  font-size: 0.98rem;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clay-500);
}

.about-media {
  position: relative;
  overflow: hidden;
  aspect-ratio:  5 / ;
}

.about-media img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,26,18,0.4));
}

/* ============== INFO COLUMNS (Ablauf / Kosten) ============== */

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
}

.info-col h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  color: var(--sage-900);
  margin-bottom: 1.3rem;
  font-weight: 600;
}

.info-col p {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.info-col p:last-child { margin-bottom: 0; }

.portrait-strip {
  margin-top: 2.4rem;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 10 / 11;
  box-shadow: 0 30px 60px -20px rgba(40,50,38,0.22);
}

.portrait-strip img { width: 100%; height: 100%; object-fit: cover; }

/* ============== CONTACT ============== */

.contact-card {
  background: var(--paper);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 20px 50px -20px rgba(40,50,38,0.18);
  border: 1px solid rgba(47,59,50,0.07);
}

.contact-card .detail {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.contact-card .detail:last-of-type { margin-bottom: 1.8rem; }

.contact-card .detail .ico {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--sage-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sage-700);
}

.contact-card .detail .label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 0.15rem;
}

.contact-card .detail .value {
  font-weight: 600;
  color: var(--sage-900);
}

/* ============== REVEAL ON SCROLL ============== */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in-view .feature-media { transition-delay: 0.05s; }
.reveal-stagger.in-view .feature-text { transition-delay: 0.18s; }

/* ============== FOOTER ============== */

footer {
  background: var(--sage-100);
  padding: 2.6rem 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

footer .legal-links {
  margin-top: 0.5rem;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  font-size: 0.78rem;
}

footer .legal-links a { text-decoration: underline; opacity: 0.8; }
footer .legal-links a:hover { opacity: 1; color: var(--clay-600); }

/* ============== RESPONSIVE ============== */

@media (max-width: 920px) {
  nav.primary-nav { display: none; }
  .menu-toggle { display: flex; }

  .feature-row,
  .about-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-text,
  .feature-row.reverse .feature-media {
    order: initial;
  }

  .feature-media { aspect-ratio: 16/11; }
  .about-media { aspect-ratio: 16/11; order: -1; }
  .about-media img { height: 100%; }

  .scroll-cue { display: none; }
}

@media (max-width: 560px) {
.hero-foto {
background-image:url("images/jw-frei.png")!important;
background-position: bottom right;
right: -42%;
}
.hero-overlay {
  background: linear-gradient(100deg, rgba(34,42,30,0.78) 0%, rgba(34,42,30,0.45) 25%, rgba(34,42,30,0.15) 45%);
  z-index: 1;
}
.btn {
  gap: 0.3rem;
  padding: 0.65rem 1.3rem;
  border-radius: 42px;
  font-size: 0.78rem;
  letter-spacing: 0!important;}
.hero-content .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0;
  color: var(--sage-300);
  margin-bottom: 1.3rem;
}

  .header-inner { height: 86px;}
  .brand-mark { width: 32px; height: 32px; }
  .brand-text .top { font-size: 1rem; }
  .hero { min-height: 560px; }
  .section-pad { padding: 56px 0; }
  .hero-circle { display: none; }
	.tag {display: none;}
}
