/* ==========================================================================
   TFH Bianka – Wohlbefinden & Harmonie durch Kinesiologie
   Ruhige, seriöse Praxis-Ästhetik: viel Weißraum, Salbeigrün, Champagner-Gold
   ========================================================================== */

:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --primary: #5C7A6E;
  --primary-deep: #3F564C;
  --primary-tint: #EDF1EE;
  --gold: #B7995A;
  --gold-soft: #F4EDDD;
  --text: #2B2B2B;
  --muted: #5D615E;
  --line: #E4E4DE;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(43, 43, 43, .05), 0 8px 24px rgba(43, 43, 43, .06);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 550;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--primary-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--primary-deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tint { background: var(--primary-tint); }

.eyebrow {
  display: block;
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-deep); color: #fff; }

.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #A3874C; color: #fff; }

.btn--ghost { background: transparent; color: var(--primary-deep); border-color: var(--primary); }
.btn--ghost:hover { background: var(--primary-tint); color: var(--primary-deep); }

.btn--small { padding: 11px 20px; font-size: .92rem; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff; /* weiß, damit das Logo (weißer Hintergrund) nahtlos sitzt */
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Logo: Original-Artwork, horizontal gesetzt (Schriftzug rechts neben der Bildmarke) */
.logo { display: flex; align-items: center; text-decoration: none; }
.logo__img { height: 64px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 10px 11px;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--primary-tint); color: var(--primary-deep); }
.main-nav a[aria-current="page"] { color: var(--primary-deep); font-weight: 650; }

.main-nav .nav-cta { margin-left: 10px; }

.nav-item--dropdown { position: relative; }
.nav-item--dropdown > a::after { content: " ▾"; font-size: .7em; color: var(--muted); }
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 320px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}
.nav-item--dropdown:hover .dropdown,
.nav-item--dropdown:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: clamp(48px, 7vw, 88px) 0; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: .4em; }
.hero .lead { margin-bottom: 28px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero__portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 3.6;
}
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 550;
  color: var(--primary-deep);
  background: var(--primary-tint);
  border: 1px solid #DCE5DF;
  border-radius: 999px;
  padding: 8px 14px;
}
.trust-chips li.gold { color: #8A713A; background: var(--gold-soft); border-color: #EADFC4; }
.trust-chips svg { width: 15px; height: 15px; flex: none; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: #D5DCD6; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .97rem; flex: 1; }
.card .card__link {
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  color: var(--primary-deep);
}
.card .card__link::after { content: " →"; }
.card .card__link:hover { color: var(--gold); }

.card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary-deep);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }

/* Bild-Text-Splits (Über mich / Praxis Teaser) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split--reverse .split__img { order: 2; }
.split__img--small { max-width: 420px; justify-self: center; box-shadow: none; border: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Preise
   -------------------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
}
.price-card--accent { border-top: 4px solid var(--gold); }
.price-card h3 { font-size: 1.1rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; letter-spacing: .02em; }
.price-card .price {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 550;
  color: var(--text);
  line-height: 1.1;
  margin: 10px 0 2px;
}
.price-card .price small { font-size: 1.05rem; color: var(--muted); font-family: var(--font-body); font-weight: 500; }
.price-card .price-note { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }

.kassen-hinweis {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
  font-size: .94rem;
}

/* --------------------------------------------------------------------------
   Vertrauensblock / Siegel
   -------------------------------------------------------------------------- */
.trust-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
}
.trust-block img { width: 170px; }
.disclaimer { color: var(--muted); font-size: .95rem; border-left: 3px solid var(--gold); padding-left: 16px; }

/* --------------------------------------------------------------------------
   Angebots-Detailseiten
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: clamp(44px, 6vw, 72px) 0;
}
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-deep); }

.facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.facts li {
  background: var(--primary-tint);
  border: 1px solid #DCE5DF;
  color: var(--primary-deep);
  font-size: .9rem;
  font-weight: 550;
  border-radius: 999px;
  padding: 9px 16px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.detail-aside {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.detail-aside h3 { font-size: 1.05rem; }
.detail-aside .price-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.detail-aside .price-line:last-of-type { border-bottom: 0; }
.detail-aside .price-line strong { white-space: nowrap; }
.detail-aside .btn { width: 100%; text-align: center; margin-top: 16px; }
.detail-aside .aside-note { font-size: .84rem; color: var(--muted); margin: 12px 0 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  background: var(--primary-tint);
  border-radius: 50%;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 11px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--primary-deep);
  border-bottom: 2px solid var(--primary-deep);
  transform: rotate(-45deg);
}

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1em; }
.steps li { counter-increment: step; position: relative; padding: 0 0 20px 52px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 650;
  font-size: .95rem;
  display: grid;
  place-items: center;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px; top: 40px; bottom: 2px;
  width: 2px;
  background: var(--line);
}
.steps h4 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 650; margin: 4px 0 4px; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }

/* --------------------------------------------------------------------------
   CTA-Band
   -------------------------------------------------------------------------- */
.cta-band { background: var(--primary-deep); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D8E0DB; max-width: 56ch; margin: 0 auto 28px; }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: .92rem; font-weight: 600; }
.form-field label .req { color: var(--gold); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(92, 122, 110, .15);
}
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.form-consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--primary); flex: none; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status { display: none; border-radius: 8px; padding: 14px 16px; font-size: .95rem; margin-top: 16px; }
.form-status.ok { display: block; background: var(--primary-tint); color: var(--primary-deep); border: 1px solid #CBDACF; }
.form-status.err { display: block; background: #FBF1F1; color: #8C3B3B; border: 1px solid #EBD4D4; }

.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-card ul { list-style: none; padding: 0; margin: 0; }
.contact-card li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-card li:last-child { border-bottom: 0; }
.contact-card svg { width: 20px; height: 20px; color: var(--primary); flex: none; margin-top: 3px; }
.contact-card strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 650; margin-bottom: 2px; }

.map-placeholder {
  margin-top: 24px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 34px 24px;
  text-align: center;
  color: var(--muted);
  font-size: .93rem;
}
.map-frame { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* --------------------------------------------------------------------------
   Rechtstexte
   -------------------------------------------------------------------------- */
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--muted); font-size: .97rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #26332D; color: #C8D2CC; padding: 64px 0 0; margin-top: 0; }
.site-footer a { color: #E4EAE6; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
/* Logo im dunklen Footer: unverändert auf weißer Kachel */
.site-footer .logo {
  display: inline-flex;
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 16px;
}
.site-footer .logo__img { height: 52px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .88rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 650; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; font-size: .95rem; }
.footer-about { font-size: .95rem; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  font-size: .85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  color: #97A69E;
}
.footer-seal { margin-top: 20px; width: 110px; }

/* --------------------------------------------------------------------------
   Cookie-Banner
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 100;
  max-width: 560px;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .16);
  padding: 24px;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner h3 { font-size: 1.05rem; margin-bottom: 6px; }
.cookie-banner p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.cookie-cats { display: none; margin: 0 0 14px; padding: 0; list-style: none; }
.cookie-banner.show-settings .cookie-cats { display: block; }
.cookie-cats li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.cookie-cats li span small { display: block; color: var(--muted); font-size: .82rem; }
.cookie-cats input { width: 18px; height: 18px; accent-color: var(--primary); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 2px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; font-size: 1.05rem; white-space: normal; }
  /* „Angebote“ als aufklappbares Untermenü (Accordion) */
  .nav-item--dropdown > a {
    font-weight: 650;
    color: var(--primary-deep);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-item--dropdown > a::after {
    content: "";
    width: 8px; height: 8px;
    margin-left: 10px;
    flex: none;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
  }
  .nav-item--dropdown.open > a::after { transform: translateY(2px) rotate(-135deg); }

  .nav-item--dropdown:hover > .dropdown,
  .nav-item--dropdown:focus-within > .dropdown,
  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    margin: 2px 0 8px 12px;
    padding: 4px 0 4px 14px;
    border: 0;
    border-left: 2px solid #DCE5DF;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav-item--dropdown.open > .dropdown { display: block; }
  .dropdown a {
    font-size: .98rem;
    color: var(--muted);
    padding: 9px 12px;
    border-radius: 8px;
  }
  .dropdown a:hover { background: var(--primary-tint); color: var(--primary-deep); }
  .main-nav .nav-cta { margin: 12px 0 0; text-align: center; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero__grid, .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__img { order: 0; }
  .hero__portrait { max-width: 420px; }
  .card-grid, .price-grid { grid-template-columns: 1fr; }
  .trust-block { grid-template-columns: 1fr; text-align: center; }
  .trust-block img { margin: 0 auto; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-header .logo__img { height: 68px; max-width: 68vw; }
  .site-header__inner { min-height: 96px; }
  .site-footer .logo__img { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
