/* ─────────────────────────────────────────
   FONTS
───────────────────────────────────────── */
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('fonts/lato-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/lato-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/lato-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/playfair-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/playfair-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('fonts/playfair-400-italic.woff2') format('woff2');
}

/* ─────────────────────────────────────────
   RESET & VARIABLEN
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:       #FAF7F2;
  --cream-dark:  #F0EAE2;
  --brown:       #2C1810;
  --brown-light: #6B4030;
  --terra:       #BC0A44;
  --terra-dark:  #8A0030;
  --terra-light: #FCEEF3;
  --sage:        #0C9EB8;
  --sage-dark:   #02839E;
  --sage-light:  #E8F7FB;
  --gold:        #C74562;
  --white:       #FFFFFF;
  --nav-h:       72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--brown);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─────────────────────────────────────────
   TYPOGRAFIE
───────────────────────────────────────── */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 400; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { font-weight: 300; color: var(--brown-light); }
a  { color: var(--terra); }
a:hover { color: var(--terra-dark); }

.section-label {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 1rem;
}

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }

/* ─────────────────────────────────────────
   SKIP LINK
───────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 1rem; top: 1rem; width: auto; height: auto;
  background: var(--brown); color: var(--cream);
  padding: 0.5rem 1rem; border-radius: 2px;
  font-size: 0.85rem; font-weight: 700;
  z-index: 9999; text-decoration: none;
}

/* ─────────────────────────────────────────
   URLAUBSBANNER
───────────────────────────────────────── */
#urlaub-banner {
  display: none;
  background: var(--terra);
  color: var(--cream);
  font-size: 0.85rem; font-weight: 400;
  text-align: center;
  padding: 0.7rem 3rem;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 101;
}
#urlaub-banner strong { font-weight: 700; }
#urlaub-banner.sichtbar { display: block; }
#urlaub-close {
  position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--cream); opacity: 0.7;
  cursor: pointer; font-size: 1.2rem; line-height: 1;
  padding: 0.2rem 0.4rem;
}
#urlaub-close:hover { opacity: 1; }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled,
.page-therapien nav,
.page-legal nav {
  background: rgba(250,247,242,0.97);
  box-shadow: 0 1px 24px rgba(44,24,16,0.08);
  backdrop-filter: blur(8px);
}
.nav-inner {
  width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo-img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.05em; color: var(--brown); transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--terra); }
.nav-cta {
  background: var(--terra); color: var(--cream);
  border: none; padding: 0.6rem 1.4rem; border-radius: 2px;
  font-family: 'Lato', sans-serif; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--terra-dark); }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }

/* ─────────────────────────────────────────
   BACK LINK
───────────────────────────────────────── */
.back-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--brown-light); text-decoration: none;
  text-transform: uppercase; margin-bottom: 2rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--terra); }
.back-link::before { content: '←'; }

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn-primary {
  background: var(--terra); color: var(--cream);
  padding: 1rem 2rem; border-radius: 2px;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--terra-dark); transform: translateY(-1px); }
.btn-ghost {
  border: 1.5px solid var(--brown); color: var(--brown);
  padding: 1rem 2rem; border-radius: 2px;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover { background: var(--brown); color: var(--cream); }
.btn-gold {
  background: var(--gold); color: var(--brown);
  padding: 1rem 2.5rem; border-radius: 2px;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-gold:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost-light {
  border: 1.5px solid rgba(250,247,242,0.4); color: rgba(250,247,242,0.85);
  padding: 1rem 2rem; border-radius: 2px;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; display: inline-block; margin-left: 1rem;
  transition: background 0.2s;
}
.btn-ghost-light:hover { background: rgba(250,247,242,0.1); }

/* ─────────────────────────────────────────
   HERO (index)
───────────────────────────────────────── */
.hero-bg-tree img,
.leistungen-bg-tree img { width: 100%; height: auto; display: block; }

#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  position: relative; overflow: hidden;
}
.hero-bg-tree {
  position: absolute; right: -8%; top: 50%;
  transform: translateY(-50%);
  width: 52vw; max-width: 680px;
  opacity: 0.18; pointer-events: none;
}
.hero-content {
  max-width: 580px;
  padding: 4rem 2rem;
  margin-left: max(2rem, calc((100vw - 1100px) / 2 + 2rem));
}
.hero-tagline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--terra-light); color: var(--terra);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.35rem 0.9rem; border-radius: 2px; margin-bottom: 1.8rem;
}
.hero-tagline::before { content: ''; width: 20px; height: 1px; background: var(--terra); }
.hero-headline { margin-bottom: 1.2rem; }
.hero-headline em { font-style: italic; color: var(--terra); }
.hero-sub { font-size: 1.05rem; font-weight: 300; margin-bottom: 0.6rem; color: var(--brown-light); }
.hero-location {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #007A8E;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─────────────────────────────────────────
   ÜBER MICH (index)
───────────────────────────────────────── */
#ueber-mich { background: var(--white); }
.ueber-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; }
.round-photo-wrap { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.round-photo {
  width: 280px; height: 280px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 3px solid var(--cream-dark);
  box-shadow: 0 4px 24px rgba(2,131,158,0.15);
}
.qualification-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--brown); color: var(--cream);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 2px;
}
.qualification-badge::before { content: '◆'; font-size: 0.5rem; opacity: 0.6; }
.ueber-text h2 { margin-bottom: 1rem; }
.ueber-text p { margin-bottom: 1rem; }
.credentials {
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid var(--cream-dark);
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.credential-pill {
  background: var(--cream); border: 1px solid var(--cream-dark);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem; border-radius: 2px; color: var(--brown-light);
}

/* ─────────────────────────────────────────
   PRAXISFOTOS (index)
───────────────────────────────────────── */
#praxis { background: var(--cream-dark); padding: 4rem 0; }
.praxis-header { text-align: center; margin-bottom: 2.5rem; }
.praxis-grid { display: flex; gap: 0.5rem; align-items: flex-start; }
.praxis-col { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.praxis-img { width: 100%; height: auto; display: block; border-radius: 2px; }

/* ─────────────────────────────────────────
   LEISTUNGEN (index)
───────────────────────────────────────── */
#leistungen { background: var(--sage-light); position: relative; overflow: hidden; }
.leistungen-bg-tree {
  position: absolute; left: -8%; bottom: -10%;
  width: 40vw; max-width: 500px;
  opacity: 0.10; pointer-events: none;
}
.leistungen-header { text-align: center; margin-bottom: 4rem; }
.leistungen-header h2 { margin-bottom: 1rem; }
.leistungen-header p { max-width: 520px; margin: 0 auto; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white);
  padding: 2.2rem 1.8rem; border-radius: 4px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--terra); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(44,24,16,0.09); }
.card-icon {
  width: 48px; height: 48px;
  background: var(--terra-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem; color: var(--terra);
}
.card h3 { margin-bottom: 0.6rem; font-size: 1.1rem; }
.card p { font-size: 0.9rem; line-height: 1.6; }

/* ─────────────────────────────────────────
   ABLAUF (index)
───────────────────────────────────────── */
#ablauf { background: var(--cream); }
.ablauf-header { text-align: center; margin-bottom: 4rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.steps::before {
  content: '';
  position: absolute; top: 32px; left: calc(16.66% + 1rem); right: calc(16.66% + 1rem);
  height: 1px; background: var(--cream-dark);
}
.step { text-align: center; padding: 0 1rem; }
.step-number {
  width: 64px; height: 64px;
  background: var(--terra); color: var(--cream); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 600;
  margin: 0 auto 1.5rem; position: relative; z-index: 1;
}
.step h3 { margin-bottom: 0.6rem; }
.step p { font-size: 0.9rem; }

/* ─────────────────────────────────────────
   PREISE (index)
───────────────────────────────────────── */
#preise { background: var(--white); }
.preise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.preise-intro h2 { margin-bottom: 1rem; }
.preise-intro p { margin-bottom: 1rem; }
.preise-notice {
  margin-top: 2rem; padding: 1.2rem 1.5rem;
  background: var(--terra-light); border-left: 3px solid var(--terra);
  font-size: 0.85rem; color: var(--brown-light);
}
.price-list { display: flex; flex-direction: column; gap: 0; }
.price-item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1.2rem 0; border-bottom: 1px solid var(--cream-dark);
}
.price-item:first-child { border-top: 1px solid var(--cream-dark); }
.price-label { font-weight: 400; }
.price-sub { font-size: 0.8rem; color: var(--sage-dark); display: block; margin-top: 0.1rem; }
.price-amount { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 600; color: var(--terra); white-space: nowrap; margin-left: 1rem; }

/* ─────────────────────────────────────────
   KONTAKT (index)
───────────────────────────────────────── */
#kontakt { background: #1C5467; color: var(--cream); }
#kontakt .section-label { color: var(--sage-light); }
#kontakt h2 { color: var(--cream); }
#kontakt p { color: rgba(250,247,242,0.7); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.map-wrap { height: 320px; border-radius: 4px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent {
  height: 320px; border-radius: 4px;
  border: 1px dashed rgba(250,247,242,0.2);
  background: rgba(255,255,255,0.05);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.2rem;
  padding: 2rem; text-align: center;
  color: rgba(250,247,242,0.6);
}
.map-consent svg { opacity: 0.4; }
.map-consent p { font-size: 0.78rem; line-height: 1.5; max-width: 26ch; margin: 0; }
.map-consent-btn {
  background: var(--terra); color: var(--cream);
  border: none; border-radius: 2px;
  padding: 0.55rem 1.4rem; font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: opacity 0.2s;
}
.map-consent-btn:hover { opacity: 0.85; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 0.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(250,247,242,0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.contact-item-text strong { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; }
.contact-item-text a { color: rgba(250,247,242,0.9); text-decoration: none; }
.contact-item-text a:hover { color: var(--gold); }
.kontakt-cta { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(250,247,242,0.1); text-align: center; }
.kontakt-cta p { margin-bottom: 1.5rem; font-size: 1.1rem; color: rgba(250,247,242,0.8); }

/* ─────────────────────────────────────────
   PAGE HEADER (therapien)
───────────────────────────────────────── */
.page-header {
  background: var(--white);
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  position: relative; overflow: hidden;
}
.page-header-tree {
  position: absolute; right: -4%; bottom: -20%;
  width: 38vw; max-width: 480px;
  opacity: 0.07; pointer-events: none;
}
.page-header-tree img { width: 100%; height: auto; display: block; }
.page-header h1 { margin-bottom: 0.8rem; }
.page-header-sub { font-size: 1rem; font-weight: 300; color: var(--brown-light); max-width: 520px; }

/* ─────────────────────────────────────────
   THERAPIEN SPECIFIC
───────────────────────────────────────── */
.page-therapien h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-therapien h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
.page-therapien h3 { font-size: 1.1rem; }

.gruppe { padding: 4rem 0; border-top: 1px solid var(--cream-dark); }
.gruppe:nth-child(even) { background: var(--white); }
.gruppe-header { display: flex; align-items: flex-start; gap: 1.2rem; margin-bottom: 2.5rem; }
.gruppe-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  background: var(--terra-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--terra); margin-top: 0.1rem;
}
.karten-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.karte {
  background: var(--cream); border-radius: 4px;
  padding: 1.6rem; border-left: 3px solid var(--terra);
}
.karte h3 { margin-bottom: 0.4rem; font-size: 1rem; }
.karte p { font-size: 0.88rem; line-height: 1.65; }

.cta-block { background: #1C5467; padding: 5rem 0; text-align: center; }
.cta-block .section-label { color: var(--sage-light); }
.cta-block h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--cream); margin-bottom: 1rem; }
.cta-block p { color: rgba(250,247,242,0.75); margin-bottom: 2rem; }

/* ─────────────────────────────────────────
   LEGAL PAGES (impressum, datenschutz)
───────────────────────────────────────── */
.page-legal .container { max-width: 720px; }
.page-legal h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-legal h2 {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--terra);
  margin-top: 2.5rem; margin-bottom: 0.6rem;
}
.page-legal .section-label { display: block; margin-bottom: 0.8rem; }
.page-legal p,
.page-legal address { font-weight: 300; color: var(--brown-light); font-style: normal; }
.page-legal p + p { margin-top: 0.6rem; }
.page-legal ul { padding-left: 1.4rem; margin-top: 0.4rem; }
.page-legal ul li { font-weight: 300; color: var(--brown-light); margin-bottom: 0.2rem; }
.page-legal a { color: var(--terra); }
.page-legal a:hover { color: var(--terra-dark); }

.page-wrap { padding: calc(var(--nav-h) + 4rem) 0 6rem; }
.content { margin-top: 3rem; }
.content h2:first-child { margin-top: 0; }
hr { border: none; border-top: 1px solid var(--cream-dark); margin: 2.5rem 0; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: #133D4D;
  padding: 2rem; text-align: center;
  font-size: 0.78rem; color: var(--cream);
  letter-spacing: 0.05em;
}
footer p { color: var(--cream); }
footer a { color: var(--cream); text-decoration: none; }
footer a:hover { color: var(--gold); }

/* ─────────────────────────────────────────
   SCROLL ANIMATION
───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  #hero { min-height: auto; }
  .hero-content { padding: 3rem 2rem 2rem; max-width: 100%; margin-left: 0; }
  .ueber-grid { grid-template-columns: 1fr; }
  .round-photo-wrap { flex-direction: row; align-items: center; gap: 2rem; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .preise-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .praxis-grid { flex-wrap: wrap; }
  .praxis-col { flex: 0 0 calc(50% - 0.25rem); }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .gruppe-header { flex-direction: column; gap: 0.8rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  section { padding: 4rem 0; }
  .round-photo-wrap { flex-direction: column; }
  .praxis-col { flex: 0 0 100%; }
  .gruppe { padding: 3rem 0; }
  .btn-ghost-light { margin-left: 0; margin-top: 1rem; display: block; }
}
