/* Pilates Studio Saar – Layout B für Kursseiten (Barre, Matte, Reformer, Faszien) */

body.kurs-b #content { padding-top: 0; padding-bottom: 0; }
.kurs-b #content * { box-sizing: border-box; }
.kurs-b .bb-medium, .kurs-b #content h1, .kurs-b #content h2, .kurs-b #content b,
.kurs-b #content summary, .kurs-b .bb-btn, .kurs-b .bb-eyebrow {
  font-family: 'HelveticaNeueLT-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: normal;
}

/* Einstieg */
.bb-hero { display: grid; grid-template-columns: 1fr 1fr; background: #00929C; color: #fff; min-height: 440px; }
.bb-hero__text { padding: 60px 50px 60px max(40px, calc((100vw - 1100px) / 2)); display: flex; flex-direction: column; justify-content: center; }
.bb-eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .82em; opacity: .85; margin: 0 0 10px; }
.kurs-b #content .bb-hero h1 { font-size: 3.2em; line-height: 1.05; margin: 0 0 12px; color: #fff; }
.bb-hero__sub { font-size: 1.3em; margin: 0 0 28px; max-width: 420px; }
.bb-hero__bild { position: relative; }
.bb-hero__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Buttons */
.bb-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.bb-buttons--mitte { justify-content: center; }
.kurs-b #content a.bb-btn { display: inline-block; padding: 13px 26px; border-radius: 26px; text-decoration: none; transition: background .15s, color .15s; }
.kurs-b #content a.bb-btn--weiss { background: #fff; color: #00737b; }
.kurs-b #content a.bb-btn--weiss:hover, .kurs-b #content a.bb-btn--weiss:focus-visible { background: #e6f4f5; }
.kurs-b #content a.bb-btn--rahmen { border: 2px solid #fff; color: #fff; padding: 11px 24px; }
.kurs-b #content a.bb-btn--rahmen:hover, .kurs-b #content a.bb-btn--rahmen:focus-visible { background: rgba(255,255,255,.15); }

/* Fakten-Leiste */
.bb-fakten { list-style: none; margin: 0 auto; padding: 0 24px; max-width: 1100px; display: grid; grid-template-columns: repeat(3, 1fr);
             transform: translateY(-34px); gap: 14px; }
.bb-fakten li { background: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.08); padding: 18px 20px; text-align: center; }
.bb-fakten b { display: block; color: #00929C; font-size: 1.25em; }
.bb-fakten span { font-size: .92em; opacity: .8; }

/* Bild-Text-Reihen */
.bb-reihe { max-width: 1100px; margin: 10px auto 50px; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.bb-reihe--umgekehrt .bb-reihe__bild { order: 2; }
.bb-reihe__bild img { width: 100%; height: auto; border-radius: 12px; display: block; }
.kurs-b #content .bb-reihe h2 { color: #00929C; font-size: 1.8em; margin: 0 0 12px; }
.bb-reihe p { line-height: 1.65; }
.kurs-b #content .bb-reihe a, .kurs-b #content .bb-faq a {
  background: none; margin: 0; padding: 0; color: #00929C; text-decoration: underline; text-underline-offset: 3px;
  font-family: 'HelveticaNeueLT-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* FAQ in zwei Spalten */
.bb-faq-bereich { background: #e6f4f5; padding: 50px 24px 60px; }
.kurs-b #content .bb-faq-bereich h2 { max-width: 1100px; margin: 0 auto 20px; color: #00929C; font-size: 1.8em; }
.bb-faq { max-width: 1100px; margin: 0 auto; columns: 2; column-gap: 24px; }
.bb-faq details { break-inside: avoid; background: #fff; border-radius: 10px; padding: 16px 18px; margin: 0 0 14px; }
.bb-faq summary { cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq summary::after { content: "+"; position: absolute; right: 0; top: -3px; color: #00929C; font-size: 1.4em; }
.bb-faq details[open] summary::after { content: "–"; }
.bb-faq details > div { padding-top: 10px; line-height: 1.6; }

/* Abschluss */
.bb-cta { background: #00929C; color: #fff; text-align: center; padding: 60px 24px; }
.kurs-b #content .bb-cta h2 { color: #fff; font-size: 2em; margin: 0 0 8px; }
.bb-cta p { margin: 0 0 24px; font-size: 1.1em; }
.bb-dobar { display: block; margin: 30px auto 0; background: #fff; border-radius: 8px; padding: 8px; }

/* Tablet / Handy */
@media only screen and (max-width: 900px) {
  .bb-hero { grid-template-columns: 1fr; }
  .bb-hero__bild { height: 260px; order: -1; }
  .bb-hero__text { padding: 36px 24px 50px; }
  .kurs-b #content .bb-hero h1 { font-size: 2.4em; }
  .bb-fakten { grid-template-columns: 1fr; transform: translateY(-24px); }
  .bb-reihe { grid-template-columns: 1fr; gap: 20px; }
  .bb-reihe--umgekehrt .bb-reihe__bild { order: 0; }
  .bb-faq { columns: 1; }
}

/* Titelbild füllt die Teal-Fläche immer exakt aus (stärker als die allgemeine Bildregel in modern.css) */
body.kurs-b #content .bb-hero__bild img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* Abschnitt ohne Bild: Text zentriert auf heller Karte */
.bb-reihe--ohnebild { grid-template-columns: 1fr; max-width: 820px; text-align: center; }
.bb-reihe--ohnebild .bb-reihe__text { background: #e6f4f5; border-radius: 12px; padding: 36px 40px; }
@media only screen and (max-width: 900px) { .bb-reihe--ohnebild .bb-reihe__text { padding: 26px 22px; } }

/* ---- Erweiterungen: Team, Aktuelles, Kontakt ---- */

/* Einstieg ohne Bild */
.bb-hero--ohnebild { grid-template-columns: 1fr; min-height: 0; }
.bb-hero--ohnebild .bb-hero__text { padding: 60px 24px 80px; max-width: 1100px; margin: 0 auto; width: 100%; }
.bb-hero--ohnebild .bb-hero__sub { max-width: 640px; }
.bb-abstand { height: 40px; }

/* Allgemeiner Block mit Überschrift */
.bb-block { max-width: 1100px; margin: 0 auto 60px; padding: 0 24px; }
.kurs-b #content .bb-block > h2 { color: #00929C; font-size: 1.8em; margin: 0 0 6px; }
.bb-block__intro { margin: 0 0 24px; opacity: .85; }

/* Kachel-Raster */
.bb-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bb-karte { background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.07); overflow: hidden; display: flex; flex-direction: column; }
.bb-karte__bild { aspect-ratio: 3 / 2; background: #e6f4f5; }
body.kurs-b #content .bb-karte__bild img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.bb-karte__text { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kurs-b #content .bb-karte h3 { margin: 0; font-size: 1.25em; color: #00737b; font-family: 'HelveticaNeueLT-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: normal; }
.bb-karte p { margin: 0; line-height: 1.55; }
.bb-karte__rolle { font-size: .9em; text-transform: uppercase; letter-spacing: .06em; color: #00929C; }
.bb-karte__fuss { margin-top: auto; padding-top: 8px; }
.kurs-b #content .bb-karte a { color: #00929C; text-decoration: underline; text-underline-offset: 3px; background: none; padding: 0; margin: 0;
  font-family: 'HelveticaNeueLT-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.bb-pill { display: inline-block; align-self: flex-start; background: #e6f4f5; color: #00737b; border-radius: 20px; padding: 3px 12px; font-size: .82em;
  font-family: 'HelveticaNeueLT-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.bb-pill--event { background: #00929C; color: #fff; }
.bb-datum { font-family: 'HelveticaNeueLT-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #333; }

/* Hinweisband (z. B. Newsletter) */
.bb-band { max-width: 1100px; margin: 0 auto 60px; padding: 30px 34px; background: #e6f4f5; border-radius: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.kurs-b #content .bb-band h2 { color: #00929C; font-size: 1.5em; margin: 0 0 4px; }
.bb-band p { margin: 0; }
.kurs-b #content a.bb-btn--teal { background: #00929C; color: #fff; }
.kurs-b #content a.bb-btn--teal:hover, .kurs-b #content a.bb-btn--teal:focus-visible { background: #00737b; }

/* Karte (Google Maps, erst nach Cookie-Zustimmung) */
.bb-karte-map { border-radius: 12px; overflow: hidden; background: #e6f4f5; }
.bb-karte-map iframe { display: block; width: 100%; height: 420px; border: 0; }

@media only screen and (max-width: 900px) {
  .bb-raster { grid-template-columns: 1fr 1fr; }
  .bb-hero--ohnebild .bb-hero__text { padding: 40px 24px 60px; }
}
@media only screen and (max-width: 600px) {
  .bb-raster { grid-template-columns: 1fr; }
  .bb-band { padding: 24px 22px; margin-left: 16px; margin-right: 16px; }
}
.kurs-b #content .bb-block p a { color: #00929C; text-decoration: underline; text-underline-offset: 3px; background: none; padding: 0; margin: 0;
  font-family: 'HelveticaNeueLT-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
