/* ═══ ALTE POST · site.css · gemeinsam für Startseite und Unterseiten ═══ */
/* ═══ REDUCED MOTION — IMMER ALS ERSTES, NIE VERGESSEN ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .split-chars .char { transform: none; opacity: 1; }
  .reveal, .fade-up, .clip-reveal { opacity: 1; transform: none; clip-path: none; }
  .stagger > * { opacity: 1; transform: none; }
}

/* ═══ RESET ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }

/* ═══ DESIGN TOKENS ═══ */
:root {
  --linen: #F5F0E8;
  --bark:  #2C2418;
  --moss:  #4A5C3A;
  --terra: #B5622B;
  --stone: #8C8070;
  --mid:   #E8E3DB;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: var(--bark);
  background: var(--linen);
  overflow-x: clip;
}

/* ═══ TYPOGRAPHY ═══ */
.display {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
}
.h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}
.label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ═══ CONTAINER ═══ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 16px 32px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  min-height: 52px;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary {
  background: var(--moss);
  color: var(--linen);
}
.btn-primary:hover {
  background: #3d4e30;
  box-shadow: 0 4px 20px rgba(74, 92, 58, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--bark);
  border: 1.5px solid var(--bark);
}
.btn-ghost:hover {
  background: var(--bark);
  color: var(--linen);
}

/* ═══ NAVIGATION ═══ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: box-shadow 0.3s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--nav-text, var(--bark));
}
.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-link {
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--nav-text, var(--bark));
  text-decoration: none;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 1.5px;
  width: 0;
  background: var(--moss);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after,
.nav-link.is-current::after { width: 100%; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 12px 24px;
  background: var(--moss);
  color: var(--linen);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  border-radius: 4px;
  min-height: 44px;
  transition: background 0.25s ease;
}
.nav-cta:hover { background: #3d4e30; }

/* Hamburger */
.nav-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bark);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.nav-overlay a {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 5vw, 40px);
  color: var(--linen);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-overlay a:hover { color: var(--terra); }
.nav-overlay .nav-cta {
  margin-top: 16px;
  font-size: 16px;
  padding: 16px 32px;
}

/* Burger-Breakpoint an echte Nav-Breite gekoppelt (5 Punkte inkl. Beckenboden brechen unter ~880px um) */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-hamburger.is-open span { background: var(--linen); }
}

/* ═══ HERO ═══ */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--linen);
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 140px;
}
.hero-icon-bg {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 350px;
  height: auto;
  opacity: 0.05;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  color: var(--terra);
  margin-bottom: 24px;
}
.hero-headline {
  color: var(--bark);
  margin-bottom: 28px;
}
.hero-headline .hl-moss { color: var(--moss); }
.hero-subline {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(44, 36, 24, 0.72);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: var(--stone);
  min-width: 44px;
  min-height: 44px;
}
.hero-scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--stone);
  border-bottom: 1.5px solid var(--stone);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

@media (max-width: 768px) {
  #hero { padding-bottom: 120px; }
  .hero-icon-bg { width: 220px; right: -60px; }
  .hero-content { max-width: 100%; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  #hero { padding-top: 72px; padding-bottom: 100px; min-height: 100svh; }
  /* Hero-Headline schrumpft mit, damit "Auf Augenhöhe." einzeilig bleibt */
  .hero-headline { font-size: clamp(34px, 10.5vw, 56px); }
  .hero-subline { font-size: 16px; line-height: 1.7; }
  .hero-icon-bg { width: 180px; right: -40px; top: 20%; }
}

/* ═══ CHAR SPLIT ANIMATION ═══ */
.split-chars .char {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}
.split-chars.is-visible .char {
  animation: charReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes charReveal {
  to { transform: translateY(0); opacity: 1; }
}

/* ═══ REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ═══ STAGGER ANIMATION ═══ */
.stagger > * { opacity: 0; transform: translateY(20px); }
.stagger.is-visible > *:nth-child(1) { animation: fadeUp 0.6s 0.08s cubic-bezier(0.16,1,0.3,1) forwards; }
.stagger.is-visible > *:nth-child(2) { animation: fadeUp 0.6s 0.16s cubic-bezier(0.16,1,0.3,1) forwards; }
.stagger.is-visible > *:nth-child(3) { animation: fadeUp 0.6s 0.24s cubic-bezier(0.16,1,0.3,1) forwards; }
.stagger.is-visible > *:nth-child(4) { animation: fadeUp 0.6s 0.32s cubic-bezier(0.16,1,0.3,1) forwards; }
.stagger.is-visible > *:nth-child(5) { animation: fadeUp 0.6s 0.40s cubic-bezier(0.16,1,0.3,1) forwards; }
.stagger.is-visible > *:nth-child(6) { animation: fadeUp 0.6s 0.48s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ═══ CLIP-PATH REVEAL ═══ */
.clip-reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.9s cubic-bezier(0.16,1,0.3,1);
}
.clip-reveal.is-visible { clip-path: inset(0% 0 0 0); }

/* ═══ SECTION SPACING ═══ */
.section { padding: 120px 0; scroll-margin-top: 80px; }
@media (max-width: 768px) { .section { padding: 80px 0; } }

/* ═══ ÜBER UNS ═══ */
#ueber-uns {
  background: var(--bark);
  color: var(--linen);
}
.ueber-eyebrow {
  color: var(--stone);
  margin-bottom: 16px;
}
.ueber-headline {
  color: var(--linen);
  margin-bottom: 32px;
}
.ueber-intro {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.8);
  max-width: 640px;
  margin-bottom: 64px;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}
.team-card {
  background: rgba(245, 240, 232, 0.05);
  border: 1px solid rgba(245, 240, 232, 0.1);
  border-radius: 4px;
  overflow: hidden;
}
.team-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--stone);
  overflow: hidden;
}
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-info {
  padding: 28px 28px 32px;
}
.team-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 24px);
  color: var(--linen);
  margin-bottom: 4px;
}
.team-role {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 16px;
}
.team-desc {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.7);
}

@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ═══ LEISTUNGEN ═══ */
#leistungen {
  background: var(--linen);
}
.leistungen-eyebrow {
  color: var(--terra);
  margin-bottom: 16px;
}
.leistungen-headline {
  color: var(--bark);
  margin-bottom: 20px;
}
.leistungen-intro {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(44, 36, 24, 0.72);
  max-width: 560px;
  margin-bottom: 56px;
}
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.leistung-card {
  background: var(--linen);
  border: 1px solid rgba(140, 128, 112, 0.2);
  border-radius: 4px;
  padding: 36px 32px;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  cursor: default;
  will-change: transform;
}
.leistung-card:hover {
  background: var(--moss);
  border-color: var(--moss);
  transform: translateY(-4px);
}
.card-nr {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--terra);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.25s ease;
}
.card-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.2;
  color: var(--bark);
  margin-bottom: 12px;
  transition: color 0.25s ease;
}
.card-text {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(44, 36, 24, 0.72);
  transition: color 0.25s ease;
}
.leistung-card:hover .card-nr { color: rgba(245, 240, 232, 0.5); }
.leistung-card:hover .card-title { color: var(--linen); }
.leistung-card:hover .card-text { color: rgba(245, 240, 232, 0.85); }

@media (max-width: 1024px) {
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .leistungen-grid { grid-template-columns: 1fr; }
  .leistung-card { padding: 28px 24px; }
}

/* ═══ STANDORT ═══ */
#standort {
  background: var(--mid);
}
.standort-eyebrow {
  color: var(--terra);
  margin-bottom: 16px;
}
.standort-headline {
  color: var(--bark);
  margin-bottom: 48px;
}
.standort-split {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  align-items: start;
}
.standort-info-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 24px);
  color: var(--bark);
  margin-bottom: 8px;
}
.standort-info-address {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(44, 36, 24, 0.72);
  margin-bottom: 24px;
}
.standort-info-desc {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(44, 36, 24, 0.72);
  margin-bottom: 32px;
}
.standort-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--moss);
  text-decoration: none;
  margin-bottom: 12px;
  min-height: 44px;
  transition: color 0.2s ease;
}
.standort-link:hover { color: var(--bark); }
.standort-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.map-wrapper {
  border-radius: 4px;
  overflow: hidden;
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  filter: grayscale(100%) contrast(1.05);
  transition: filter 0.5s ease;
}
.map-wrapper:hover iframe { filter: grayscale(0%); }

@media (max-width: 768px) {
  .standort-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .standort-split .standort-map { order: -1; }
  .map-wrapper iframe { height: 280px; }
}

/* ═══ TERMIN ═══ */
#termin {
  background: var(--moss);
}
.termin-eyebrow {
  color: rgba(245, 240, 232, 0.5);
  margin-bottom: 16px;
}
.termin-headline {
  color: var(--linen);
  margin-bottom: 20px;
}
.termin-subline {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.7);
  max-width: 520px;
  margin-bottom: 48px;
}
.termin-subline a {
  color: var(--linen);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}
.termin-subline a:hover { opacity: 0.75; }
.termin-note {
  margin-top: 40px;
  max-width: 560px;
  background: rgba(245, 240, 232, 0.08);
  border: 1px solid rgba(245, 240, 232, 0.18);
  border-radius: 4px;
  padding: 20px 24px;
}
.termin-note p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.85);
  margin: 0;
}
.termin-note strong { color: var(--linen); font-weight: 700; }

/* ═══ FOOTER ═══ */
#footer {
  background: var(--bark);
  padding: 80px 0 40px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}
.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.7);
  white-space: nowrap;
  margin-bottom: 4px;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.7);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--linen); }
/* Leistungen + Rechtliches: als Block-Links */
.footer-col:nth-child(2) a,
.footer-col:nth-child(3) a {
  display: block;
  margin-bottom: 4px;
  padding: 2px 0;
}
.footer-divider {
  height: 1px;
  background: rgba(140, 128, 112, 0.2);
  margin-bottom: 24px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.6);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ═══ LEISTUNGSKARTE ALS LINK (05 Beckenboden) ═══ */
.leistung-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 16px;
  color: var(--moss);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.leistung-card-link:hover .card-more { color: var(--linen); }
.leistung-card-link:focus-visible { outline: 2px solid var(--terra); outline-offset: 4px; }

/* ═══ UNTERSEITEN: Nav von Anfang an deckend (kein Hero) ═══ */
.page-sub #nav {
  background: rgba(245, 240, 232, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(140, 128, 112, 0.2);
}

/* ═══ BECKENBODEN · Hero ═══ */
.bb-hero {
  padding: 152px 0 96px;
  background: var(--linen);
}
.bb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 64px;
  align-items: center;
}
.bb-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(44, 36, 24, 0.72);
  text-decoration: none;
  margin-bottom: 32px;
  min-height: 44px;
}
.bb-crumb:hover { color: var(--moss); }
.bb-eyebrow { color: var(--terra); margin-bottom: 20px; }
.bb-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--bark);
  margin-bottom: 28px;
  hyphens: manual;
}
.bb-title .hl-moss { color: var(--moss); }
.bb-lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.6;
  color: rgba(44, 36, 24, 0.78);
  max-width: 560px;
  margin-bottom: 40px;
}
.bb-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.bb-portrait { margin: 0; }
.bb-portrait-img {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  background: var(--mid);
}
.bb-portrait-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.bb-portrait figcaption { margin-top: 16px; }
.bb-portrait-name {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--bark);
}
.bb-portrait-role {
  display: block;
  font-size: 16px;
  color: rgba(44, 36, 24, 0.72);
}

/* ═══ BECKENBODEN · Inhalt mit Inhaltsverzeichnis ═══ */
.bb-body {
  background: var(--linen);
  padding: 0 0 120px;
  border-top: 1px solid rgba(140, 128, 112, 0.2);
}
.bb-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 720px);
  gap: 80px;
  padding-top: 80px;
}
.bb-toc { align-self: start; position: sticky; top: 104px; }
.bb-toc-title { color: rgba(44, 36, 24, 0.72); margin-bottom: 16px; }
.bb-toc ol { list-style: none; counter-reset: toc; }
.bb-toc li { counter-increment: toc; }
.bb-toc a {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
  padding: 10px 0;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(44, 36, 24, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 128, 112, 0.15);
  transition: color 0.2s ease;
}
.bb-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-weight: 700;
  color: var(--terra);
  min-width: 22px;
}
.bb-toc a:hover, .bb-toc a.is-active { color: var(--bark); }

.bb-section { scroll-margin-top: 96px; padding-bottom: 72px; }
.bb-section + .bb-section { padding-top: 72px; border-top: 1px solid rgba(140, 128, 112, 0.2); }
.bb-h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--bark);
  margin-bottom: 24px;
}
.bb-h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  color: var(--bark);
  margin: 36px 0 16px;
}
.bb-section p { font-size: 17px; line-height: 1.75; color: rgba(44, 36, 24, 0.82); margin-bottom: 18px; }
.bb-section p:last-child { margin-bottom: 0; }
.bb-section .bb-quote {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.35;
  color: var(--moss);
  padding-left: 24px;
  border-left: 3px solid var(--terra);
  margin: 32px 0;
}

.bb-list { list-style: none; margin: 8px 0 0; }
.bb-list li {
  position: relative;
  padding: 14px 0 14px 32px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--bark);
  border-bottom: 1px solid rgba(140, 128, 112, 0.18);
}
.bb-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 24px;
  width: 12px;
  height: 2px;
  background: var(--terra);
}

.bb-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.bb-method {
  background: var(--mid);
  border-radius: 4px;
  padding: 28px 28px 32px;
}
.bb-method-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: var(--bark);
  margin-bottom: 10px;
}
.bb-method p { font-size: 16px; line-height: 1.65; margin-bottom: 0; }

.bb-steps { list-style: none; counter-reset: step; margin-top: 32px; }
.bb-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(140, 128, 112, 0.18);
}
.bb-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: var(--terra);
}
.bb-steps p { margin-bottom: 0; }
.bb-note {
  margin-top: 32px;
  background: rgba(74, 92, 58, 0.08);
  border-left: 3px solid var(--moss);
  border-radius: 0 4px 4px 0;
  padding: 20px 24px;
}
.bb-note p { margin: 0; color: var(--bark); }

.bb-table-wrap { overflow-x: auto; margin: 32px 0; }
.bb-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.bb-table th {
  text-align: left;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 0 16px 12px 0;
  border-bottom: 1.5px solid var(--bark);
}
.bb-table td {
  padding: 18px 16px 18px 0;
  vertical-align: top;
  border-bottom: 1px solid rgba(140, 128, 112, 0.2);
  color: var(--bark);
}
.bb-table td:first-child {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--terra);
  white-space: nowrap;
}
.bb-table abbr {
  text-decoration: underline dotted rgba(44, 36, 24, 0.5);
  text-underline-offset: 3px;
  cursor: help;
}
.bb-infopoint {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(44, 36, 24, 0.65);
}

/* Autorenbox */
.bb-author {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 8px;
  padding: 28px;
  background: var(--mid);
  border-radius: 4px;
}
.bb-author img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.bb-author-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--bark);
  margin-bottom: 2px;
}
.bb-author p { font-size: 16px; line-height: 1.6; color: rgba(44, 36, 24, 0.75); margin: 0; }
.bb-author .bb-updated { font-size: 16px; color: rgba(44, 36, 24, 0.72); margin-top: 6px; }

@media (max-width: 1024px) {
  .bb-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 48px; }
  .bb-toc { position: static; margin-bottom: 56px; }
}
@media (max-width: 860px) {
  .bb-hero { padding: 120px 0 64px; }
  .bb-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .bb-portrait { max-width: 360px; }
}
@media (max-width: 600px) {
  .bb-methods { grid-template-columns: minmax(0, 1fr); }
  .bb-ctas { flex-direction: column; }
  .bb-ctas .btn { width: 100%; }
  .bb-steps li { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .bb-steps li::before { font-size: 28px; }
  .bb-author { grid-template-columns: 72px minmax(0, 1fr); padding: 22px; gap: 18px; }
  .bb-author img { width: 72px; height: 72px; }
}

/* ═══ MOBILE-MENÜ OFFEN: Leiste dunkel, Logo hell ═══
   !important nötig: initNav() setzt background/border als Inline-Style beim Scrollen. */
#nav:has(.nav-hamburger.is-open) {
  background: var(--bark) !important;
  border-bottom-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
#nav:has(.nav-hamburger.is-open) .nav-logo-img { filter: brightness(0) invert(94%) sepia(8%); }

/* ═══ BECKENBODEN · lange deutsche Komposita (Beckenbodenphysiotherapie) auf 320px ═══ */
.bb-article { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* ═══ BECKENBODEN · mobil: Tabelle als Liste ═══ */
@media (max-width: 600px) {
  .bb-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bb-table tr {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(140, 128, 112, 0.2);
  }
  .bb-table td { padding: 0; border-bottom: 0; }
  .bb-table td:nth-child(3) { grid-column: 2; padding-top: 6px; color: rgba(44, 36, 24, 0.72); }
}
