/* ==========================================================================
   Wirkkraft — Dein Raum. Deine Kraft. Deine Wirkung.
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, SIL Open Font License) ---------- */
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/eb-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/eb-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #F5F0E6;
  --cream-soft: #EFE8D9;
  --sage: #8B9574;
  --sage-dark: #74805F;
  --sage-deep: #61684F;
  --sage-light: #D9E0CB;
  --bordeaux-light: #D9BAB4;
  --oxblood: #6B1F1F;
  --brown: #3E332B;

  --font-heading: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "EB Garamond", "Iowan Old Style", Georgia, serif;

  --space-xs: 0.75rem;
  --space-s: 1.5rem;
  --space-m: 2.5rem;
  --space-l: 4.5rem;
  --space-xl: 7rem;

  --max-width: 1180px;
  --transition-slow: 1100ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--brown);
  margin: 0;
}

p {
  margin: 0 0 1em 0;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-s);
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: var(--space-s);
  background: var(--cream);
  color: var(--brown);
  padding: 0.6em 1.2em;
  z-index: 1000;
  transition: top 200ms ease;
}
.skip-link:focus {
  top: var(--space-xs);
}

.svg-sprite {
  position: absolute;
}

/* ---------- Eyebrow / section labels ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.85rem;
  color: var(--sage-deep);
  margin-bottom: var(--space-xs);
}

.section-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  letter-spacing: 0.03em;
}

/* ---------- Buttons / links (deliberately understated) ---------- */
.text-link {
  display: inline-block;
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1px solid var(--oxblood);
  padding-bottom: 0.15em;
  transition: color 400ms ease, border-color 400ms ease, opacity 400ms ease;
}
.text-link:hover,
.text-link:focus-visible {
  color: var(--oxblood);
  opacity: 0.85;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-xs) 0;
  background: transparent;
  transition: background-color var(--transition-slow), box-shadow var(--transition-slow), padding 400ms ease;
}
.site-header.is-scrolled {
  background: rgba(245, 240, 230, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(62, 51, 43, 0.08);
  padding: 0.6rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  color: var(--brown);
}
.brand-mark__icon {
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-mark__word {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-m);
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--brown);
  position: relative;
  padding-bottom: 0.2em;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--oxblood);
  transition: right 400ms ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.nav-icon {
  width: 0.95em;
  height: 0.95em;
  flex-shrink: 0;
  color: var(--brown);
}
.nav-icon--arc {
  color: var(--oxblood);
}
.nav-icon--sphere {
  color: var(--sage);
}
.nav-icon--feathers {
  width: 1.1em;
  height: 1.1em;
}
.nav-icon--logo {
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  object-fit: contain;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--cream);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media-img,
.hero__media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media-img {
  opacity: 0.55;
}
.hero__media-video {
  opacity: 0;
  transition: opacity 1800ms ease;
}
.hero__media-video.is-playing {
  opacity: 0.55;
}
.hero__tint {
  position: absolute;
  inset: 0;
  background: var(--sage);
  mix-blend-mode: color;
  opacity: 0.6;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245, 240, 230, 0.35) 0%, rgba(245, 240, 230, 0.86) 68%, rgba(245, 240, 230, 0.96) 100%);
}

.hero__panel {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: var(--space-s);
}

.hero__logo {
  width: clamp(220px, 34vw, 400px);
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(245, 240, 230, 0.7)) drop-shadow(0 1px 8px rgba(245, 240, 230, 0.8));
}

.hero__claim {
  margin: var(--space-s) 0 1em;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  letter-spacing: 0.03em;
  line-height: 1.45;
  color: var(--brown);
  text-shadow: 0 0 4px var(--cream), 0 0 14px var(--cream), 0 0 28px var(--cream);
}

/* Niedrige Viewports (z. B. kleine Laptop-Fenster): Logo verkleinern, damit
   der dreizeilige Claim nicht in die Scroll-Linie läuft. */
@media (max-height: 760px) {
  .hero__logo {
    width: clamp(220px, min(34vw, 44svh), 400px);
  }
}

/* Sehr niedrige Viewports (Smartphone quer): Platz unter dem fixen Header
   freihalten, Scroll-Linie ausblenden. */
@media (max-height: 520px) {
  .hero__logo {
    width: clamp(150px, 40svh, 400px);
  }
  .hero__panel {
    margin-top: 4.5rem;
  }
  .hero__scroll-cue {
    display: none;
  }
}

.hero__scroll-cue {
  position: absolute;
  bottom: var(--space-m);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 1px;
  height: 3.2rem;
  background: linear-gradient(to bottom, rgba(62, 51, 43, 0), var(--sage-dark) 60%, var(--sage-dark));
  opacity: 0.6;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__scroll-cue {
    animation: breathe 4s ease-in-out infinite;
  }
}
@keyframes breathe {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* ---------- Generic section ---------- */
.section {
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.section--cream {
  background: var(--cream);
}
.section--sage {
  background: var(--sage);
  color: var(--cream);
}
.section--sage h2,
.section--sage h3 {
  color: var(--cream);
}
.section--sage-deep {
  background: var(--sage-deep);
}

.section > .container {
  position: relative;
  z-index: 1;
}

/* ---------- Philosophie ---------- */
.philosophie__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}
.philosophie__bg-fade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, var(--cream) 0%, var(--cream) 35%, rgba(245, 240, 230, 0.55) 60%, transparent 85%);
}

.philosophy {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.philosophy p {
  font-size: 1.2rem;
}

.philosophy .section-heading {
  margin-bottom: var(--space-m);
}

.philosophy p.philosophy__claim {
  margin-top: var(--space-m);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--oxblood);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}
.philosophy__claim-feather {
  width: 4.5rem;
  height: auto;
  flex-shrink: 0;
}
.philosophy__claim-feather--top {
  transform: rotate(180deg);
}

/* ---------- Dein Raum ---------- */
.circles-heading {
  text-align: center;
  margin-bottom: var(--space-xs);
}
.section--sage h2.circles-heading {
  color: var(--oxblood);
}

.circles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-m);
}

.circle {
  background: var(--cream);
  color: var(--brown);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  width: min(360px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-s);
  box-shadow: 0 20px 45px -25px rgba(62, 51, 43, 0.4);
}

.circle--a,
.circle--b {
  background: var(--cream-soft);
}

.circle--c {
  background: var(--bordeaux-light);
}

.circle h3 {
  color: var(--oxblood);
  font-size: 1.2rem;
  margin-bottom: 0.4em;
  max-width: 250px;
}

.circle p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  max-width: 250px;
}

/* ---------- Wir ---------- */
.wir {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.wir__feathers {
  width: 4.5rem;
  height: auto;
  margin: 0 auto var(--space-s);
  display: block;
  opacity: 0.85;
}

.wir p {
  font-size: 1.15rem;
}

.wir__toggle {
  margin-top: var(--space-s);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--oxblood);
  color: var(--cream);
  border: none;
  padding: 0.75em 1.8em;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 400ms ease;
}
.wir__toggle:hover,
.wir__toggle:focus-visible {
  opacity: 0.85;
}

.wir__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  text-align: left;
}
.wir__panel.is-open {
  grid-template-rows: 1fr;
}
.wir__panel-inner {
  overflow: hidden;
  min-height: 0;
  max-width: 30em;
  margin-inline: auto;
}
.wir__panel-inner > p:first-child {
  margin-top: var(--space-m);
}
.wir p.wir__word {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---------- Kontakt ---------- */
.contact {
  text-align: center;
}

.contact__inner {
  max-width: 560px;
  margin: 0 auto;
}

.contact__heading {
  color: var(--oxblood);
  text-wrap: balance;
}

.contact__details {
  list-style: none;
  padding: 0;
  margin: var(--space-m) 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.contact__details a {
  text-decoration: none;
}

.contact__image {
  margin: var(--space-l) auto 0;
  width: min(280px, 60vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(62, 51, 43, 0.3);
}
.contact__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown);
  color: var(--cream-soft);
  padding: var(--space-l) 0 var(--space-m);
  text-align: center;
}

.site-footer .brand-mark {
  color: var(--cream-soft);
  justify-content: center;
  margin-bottom: var(--space-s);
}

.site-footer__nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-s);
  padding: 0;
  margin: 0 0 var(--space-m);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.site-footer__nav a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--cream-soft);
}
.site-footer__nav a:hover {
  color: var(--sage);
}
.site-footer__nav .nav-icon {
  color: var(--cream-soft);
}

.site-footer__meta {
  font-size: 0.85rem;
  opacity: 0.7;
  letter-spacing: 0.04em;
}

.site-footer__legal {
  font-size: 0.78rem;
  opacity: 0.62;
  letter-spacing: 0.03em;
  margin-top: 0.4em;
}
.site-footer__legal a {
  color: inherit;
  text-decoration: none;
}
.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  text-decoration: underline;
}

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
}
.legal h1 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin-bottom: var(--space-m);
}
.legal h3 {
  font-size: 1.2rem;
  margin: var(--space-m) 0 0.5em;
}
.legal p {
  font-size: 1.05rem;
}
.legal address {
  font-style: normal;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .hero__scroll-cue {
    animation: none;
  }
  .wir__panel {
    transition: none;
  }
}

/* ---------- Responsive ---------- */
/* Kreis-Anordnung erst ab 870px: Coaching + Osteopathie (je 400px + 10px
   Abstand) passen dann vollständig in den Container, darunter gestapelt. */
@media (min-width: 870px) {
  .circles {
    --circle-size: 400px;
    --circle-c-top: 330px;
    position: relative;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    min-height: calc(var(--circle-c-top) + var(--circle-size));
  }
  .circle {
    width: var(--circle-size);
    padding: var(--space-m);
  }
  .circle h3 {
    max-width: 260px;
  }
  .circle p {
    max-width: 260px;
  }
  .circle--a {
    margin-right: 10px;
    z-index: 1;
  }
  .circle--b {
    margin-left: 10px;
    z-index: 1;
  }
  .circle--c {
    position: absolute;
    top: var(--circle-c-top);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }
}

@media (max-width: 859px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    background: none;
    border: 1px solid var(--brown);
    color: var(--brown);
    cursor: pointer;
  }
  .site-nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 400ms ease;
  }
  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav ul {
    flex-direction: column;
    text-align: center;
    gap: var(--space-m);
  }
  .site-nav a {
    font-size: 1.3rem;
  }
  .nav-open {
    overflow: hidden;
  }
}

@media (max-width: 359px) {
  .brand-mark__word {
    font-size: 1rem;
    letter-spacing: 0.16em;
  }
}
