/* =====================================================================
   Bin wieder fit – Martina Jordan | Custom Theme über Bootstrap 5
   Ruhige Wellness-Palette. Alle Farben/Schriften als CSS-Variablen,
   damit sie an einer Stelle feinjustiert werden können.
   ===================================================================== */

:root {
  /* Farben */
  --bwf-bg:        #ffa5a1;  /* warmes Off-White (Seitenhintergrund) */
  --bwf-bg-alt:    #f1ebe3;  /* zarter Sand (alternierende Sektionen) */
  --bwf-surface:   #ffffff;  /* Karten */
  
  --bwf-accent-pri:      #83687f;  /* primäre Akzentfarbe */
  --bwf-accent-pri-dark: #000000;  /* primäre Akzentfarbe, dunkler (Hover/Buttons) */
  --bwf-accent-sec:    #6e6a62;  /* sekundäre Akzentfarbe */
  --bwf-ink:       #3a3a36;  /* Anthrazit (Fließtext/Headings) */
  --bwf-muted:     #6e6a62;  /* gedämpfter Text */
  --bwf-line:      #e4dccf;  /* Trennlinien */

  /* Schriften */
  --bws-default-font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Basis ---------- */
body {
  font-family: var(--bws-default-font);
  color: var(--bwf-ink);
  background-color: var(--bwf-bg);
  font-weight: 400;
  line-height: 1.7;
}

h1, h2, h3, h4, h5 {
  font-family: var(--bws-default-font);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--bwf-ink);
}

p { color: var(--bwf-muted); }

a { color: var(--bwf-accent-pri-dark); text-decoration: none; }
a:hover { color: var(--bwf-accent-pri); }

.text-accent-pri   { color: var(--bwf-accent-pri) !important; }
.text-accent-sec { color: var(--bwf-accent-sec) !important; }
.bg-alt       { background-color: var(--bwf-bg-alt) !important; }
.section      { padding: 5rem 0; }

.eyebrow {
  font-family: var(--bws-default-font);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--bwf-accent-sec);
}

.lead-text {
  font-family: var(--bws-default-font);
  font-size: 1.5rem;
  color: var(--bwf-muted);
  font-weight: 500;
}

/* dekorative kleine Linie unter Überschriften */
.title-line::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  background: var(--bwf-accent-sec);
  margin: 1rem 0 0;
}
.title-line.text-center::after { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn-bwf {
  background: var(--bwf-accent-pri);
  border: 1px solid var(--bwf-accent-pri);
  color: #fff;
  border-radius: 999px;
  padding: .65rem 1.8rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all .2s ease;
}
.btn-bwf:hover { background: var(--bwf-accent-pri-dark); border-color: var(--bwf-accent-pri-dark); color: #fff; }

.btn-outline-bwf {
  background: transparent;
  border: 1px solid var(--bwf-accent-pri);
  color: var(--bwf-accent-pri-dark);
  border-radius: 999px;
  padding: .65rem 1.8rem;
  font-weight: 600;
  transition: all .2s ease;
}
.btn-outline-bwf:hover { background: var(--bwf-accent-pri); color: #fff; }

/* ---------- Navbar ---------- */
.navbar {
  background: var(--bwf-bg);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--bwf-line);
  padding-top: .6rem;
  padding-bottom: .6rem;
}
.navbar-brand { display: flex; align-items: center; gap: .6rem; }
.navbar-brand img { height: 50px; width: auto; }
.navbar-brand .brand-text {
  font-family: var(--bws-default-font);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bwf-ink);
  line-height: 1;
}
.navbar-brand .brand-sub {
  display: block;
  font-family: var(--bws-default-font);
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bwf-accent-sec);
  font-weight: 700;
}
.navbar .nav-link {
  color: var(--bwf-ink);
  font-weight: 600;
  font-size: .92rem;
  padding: .4rem .75rem !important;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--bwf-accent-pri); }
.navbar .nav-link.active { position: relative; }
.navbar .social-link { color: var(--bwf-muted); font-size: 1.05rem; }
.navbar .social-link:hover { color: var(--bwf-accent-pri); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  min-height: clamp(500px, 78svh, 950px);
  color: #fff;
  overflow: hidden;
}
/* Karussell als Hero-Hintergrund */
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item { height: 100%; }
.hero-carousel .carousel-item picture { display: block; height: 100%; }
.hero-carousel .carousel-item img {
  width: 100%;
  height: 78vh;
  height: clamp(500px, 78svh, 950px); /* gleicher Wert wie .hero min-height */
  object-fit: cover;
  object-position: top; /* oberer Bildteil bleibt sichtbar, unten wird beschnitten */
}
/* Abdunkelung für Textlesbarkeit */
.hero-carousel .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(45,50,42,.42), rgba(45,50,42,.52));
}
/* Text-Overlay über dem Karussell.
   pointer-events: none, damit Klicks auf Pfeile/Indikatoren durchkommen;
   für die eigenen Buttons/Links wieder aktiviert. */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;      /* Inhalt im unteren Drittel */
  padding-bottom: clamp(3.5rem, 11%, 8rem); /* Abstand über den Karussell-Indikatoren */
  z-index: 2;
  pointer-events: none;
}
.hero-overlay a { pointer-events: auto; }
/* Bedien-Elemente über dem Verlauf und dem Overlay */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next,
.hero-carousel .carousel-indicators { z-index: 3; }
/* Schriftgröße wie h2 (Bootstrap-Standard: calc(1.325rem + .9vw), max. 2rem) */
.hero h1 { color: #fff; font-size: calc(1.325rem + .9vw); font-weight: 700; }
@media (min-width: 1200px) { .hero h1 { font-size: 2rem; } }
.hero .claim {
  font-family: var(--bws-default-font);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 500;
  color: #f3efe6;
}
.hero-logo { max-width: 300px; margin-bottom: 1.5rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); }
/* Signatur im Hero – dunkles PNG wird auf Weiß umgefärbt */
.hero-sign {
  max-width: min(375px, 75vw);
  height: auto;
  margin-bottom: .4rem;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,.35));
}

/* Kleinerer Seiten-Header (Unterseiten) */
.page-header {
  background: var(--bwf-bg-alt);
  padding: 3.5rem 0 2.8rem;
  border-bottom: 1px solid var(--bwf-line);
  text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
/* Marken-Lockup unter der Überschrift (BWF-Kurs) */
.page-header .header-lockup { margin: .8rem 0 .2rem; color: var(--bwf-muted); }
.page-header .header-sign   { max-width: min(250px, 70vw); height: auto; }
/* Logo statt Text-Überschrift (BWF-Kurs) */
.page-header .header-logo   { max-width: min(260px, 60vw); height: auto; }

/* ---------- Karten / Leistungen ---------- */
.service-card {
  background: var(--bwf-surface);
  border: 1px solid var(--bwf-line);
  border-radius: 14px;
  padding: 2rem 1.6rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(86, 107, 80, .12);
}
.service-card .icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bwf-bg-alt);
  color: var(--bwf-accent-pri);
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.service-card h3 { font-size: 1.4rem; margin-bottom: .5rem; }

/* Content-Bilder */
.rounded-img { border-radius: 14px; box-shadow: 0 14px 34px rgba(58,58,54,.12); }

/* Polaroid-Look: gleichmäßiger weißer Rahmen + leichte Neigung.
   Der Rahmen liegt dank border-box innerhalb der Bildbreite, die Außenmaße
   des Elements bleiben unverändert. */
.polaroid {
  background: #fff;
  padding: .9rem;
  box-shadow: 0 14px 34px rgba(58,58,54,.22);
  transform: rotate(-5deg);
  /* Die Drehung lässt das Element beidseitig über sein Layout-Rechteck
     hinausragen (ca. 5,5% der Breite je Seite bei diesem Seitenverhältnis).
     Das Zentrieren verteilt den Spielraum gleichmäßig – ohne margin-inline
     ginge die gesamte Reserve nach rechts und links würde abgeschnitten. */
  display: block;
  max-width: 88%;
  margin-inline: auto;
}

/* Feature-/Indikationslisten */
.check-list { list-style: none; padding-left: 0; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .6rem;
  color: var(--bwf-ink);
}
.check-list li::before {
  content: "\F26E"; /* bi-check-lg */
  font-family: "bootstrap-icons";
  position: absolute; left: 0; top: 0;
  color: var(--bwf-accent-pri);
  font-weight: bold;
}

/* ---------- Claim-Band ---------- */
.claim-band {
  background: var(--bwf-bg-alt);
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}
.claim-band p {
  font-family: var(--bws-default-font);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--bwf-muted);
  margin: 0;
  font-weight: 500;
}

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--bwf-surface);
  border: 1px solid var(--bwf-line);
  border-radius: 14px;
  padding: 2rem;
  height: 100%;
}
.quote-card .bi-quote { color: var(--bwf-accent-sec); font-size: 2rem; }
.quote-card blockquote { font-style: italic; color: var(--bwf-muted); margin: .5rem 0 1rem; }
.quote-card .author { font-weight: 700; color: var(--bwf-accent-pri-dark); }

/* ---------- Kontaktinfo-Kacheln ---------- */
.contact-tile { text-align: center; padding: 1.5rem; }
.contact-tile .bi { font-size: 1.8rem; color: var(--bwf-accent-pri); margin-bottom: .5rem; }
.contact-tile a { color: var(--bwf-ink); }
.contact-tile a:hover { color: var(--bwf-accent-pri); }

/* ---------- Footer ---------- */
.site-footer {
  background: #302f2b;
  color: #cfc9bd;
  padding: 3.5rem 0 1.5rem;
}
.site-footer h5 { color: #fff; font-family: var(--bws-default-font); }
.site-footer a { color: #cfc9bd; }
.site-footer a:hover { color: #fff; }
.site-footer img { max-width: 150px; margin-bottom: 1rem; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2rem; padding-top: 1.2rem;
  font-size: .85rem; color: #9c968a;
}
.site-footer .social a { font-size: 1.2rem; margin-right: .8rem; }

/* ---------- Diverses ---------- */
.notice-box {
  border-left: 4px solid var(--bwf-accent-sec);
  background: var(--bwf-bg-alt);
  padding: 1.2rem 1.5rem;
  border-radius: 0 10px 10px 0;
}
