@charset "UTF-8";
/* ============================================================
   BrickFit — Frontend-Design  (Basis: Cassiopeia)  ·  DARK THEME
   Marke:  Ziegelrot #a23b16 · Gruen #17aa63 · Schwarz #111 · Sand #e1d4c2
   Font:   Montserrat (lokal gehostet, DSGVO-konform)
   ============================================================ */

/* --- Montserrat (lokal) --- */
@font-face { font-family:"Montserrat"; font-weight:400; font-style:normal; font-display:swap; src:url("../fonts/montserrat-400.woff2") format("woff2"); }
@font-face { font-family:"Montserrat"; font-weight:700; font-style:normal; font-display:swap; src:url("../fonts/montserrat-700.woff2") format("woff2"); }
@font-face { font-family:"Montserrat"; font-weight:800; font-style:normal; font-display:swap; src:url("../fonts/montserrat-800.woff2") format("woff2"); }

:root {
	/* Brickfit Markenfarben */
	--bf-brick:        #a23b16;
	--bf-brick-dark:   #7d2d11;
	--bf-green:        #17aa63;
	--bf-green-dark:   #128050;
	--bf-sand:         #e1d4c2;
	--bf-white:        #ffffff;
	/* Dark-Theme-Flaechen */
	--bf-bg:           #141414;   /* Grund-Hintergrund */
	--bf-bg-alt:       #0c0c0c;   /* noch dunkler (Kontrast-Sektion) */
	--bf-surface:      #1e1e1e;   /* Karten / erhoehte Flaechen */
	--bf-text:         #e8e8e8;   /* heller Flliesstext */
	--bf-text-dim:     #b0b0b0;

	/* Cassiopeia-Variablen auf Brickfit umbiegen */
	--cassiopeia-font-family-body:      "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
	--cassiopeia-font-family-headings:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
	--cassiopeia-font-weight-normal:    400 !important;
	--cassiopeia-font-weight-headings:  800 !important;
	--cassiopeia-color-primary:         #a23b16 !important;
	--cassiopeia-color-link:            #d35a30 !important;
	--cassiopeia-color-hover:           #a23b16 !important;
	--link-color:                       #d35a30 !important;
	--link-color-rgb:                   211, 90, 48 !important;
	--link-hover-color:                 #e2693a !important;
	--template-bg-light:                #141414 !important;
	--template-text-dark:               #e8e8e8 !important;
}

/* --- Grundflaechen dunkel (Cassiopeia-Container transparent schalten) --- */
html, body { background: var(--bf-bg); color: var(--bf-text); }
body.site, .site-grid, .grid-child, .container-component, main,
.container-banner, .container-top-a, .container-top-b,
.container-bottom-a, .container-bottom-b { background: transparent !important; }

/* --- Typografie --- */
body { font-family: var(--cassiopeia-font-family-body); font-size: 1.05rem; line-height: 1.65; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--cassiopeia-font-family-headings);
	font-weight: 800; color: #fff; line-height: 1.15;
	letter-spacing: .01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
p { color: var(--bf-text); }
a       { color: var(--bf-brick); text-decoration: none; }
a:hover { color: #d35a30; }

/* --- Buttons (Ziegelrot) --- */
.btn-primary, .button, a.btn, .btn.btn-primary {
	background-color: var(--bf-brick); border-color: var(--bf-brick); color: #fff !important;
	font-weight: 700; letter-spacing: .03em;
	border-radius: 4px; padding: .7em 1.6em;
}
.btn-primary:hover, .button:hover, a.btn:hover, .btn.btn-primary:hover {
	background-color: var(--bf-brick-dark); border-color: var(--bf-brick-dark); color: #fff !important;
}
.btn-success { background-color: var(--bf-green); border-color: var(--bf-green); }
.btn-success:hover { background-color: var(--bf-green-dark); border-color: var(--bf-green-dark); }

/* --- Header / Navigation (dunkel) --- */
.container-header { background: var(--bf-bg-alt) !important; padding-top: .4rem; padding-bottom: .4rem; }
/* Header-Layout wie Original: Navigation links, Logo mittig */
.container-header { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 1rem; }
.container-header > .grid-child { grid-row: 1; width: auto; }
.container-header > .grid-child:not(.container-nav) { grid-column: 2; justify-self: center; text-align: center; }
.container-header > .container-nav { grid-column: 1; justify-self: start; }
.container-header .navbar-brand { margin: 0; }
.header a, .navbar-brand a, .mod-menu a { color: #fff !important; }
.mod-menu a:hover, .mod-menu .active > a { color: var(--bf-brick) !important; }
/* Logo kompakter (war viel zu gross) */
.navbar-brand .brand-logo img, .navbar-brand img.logo, .navbar-brand img { max-height: 76px; width: auto; }
/* Site-Description im Header ausblenden — der Claim "DEIN SMARTES GYM." steckt schon im Logo (Original zeigt nur den) */
.navbar-brand .site-description { display: none; }

/* "Mehr"-Dropdown: dunkler Untergrund — sonst weisse Links auf hellem Default = unsichtbar */
.mod-menu .mod-menu__heading, .mod-menu button.mod-menu__heading {
    color: #fff !important; background: transparent; border: 0; cursor: pointer;
}
.mod-menu .mod-menu__heading:hover { color: var(--bf-brick) !important; }
.mod-menu .mm-collapse, .mod-menu .metismenu-item .mm-collapse {
    background: var(--bf-bg-alt) !important; border: 1px solid #242424;
    border-radius: 8px; padding: .35rem 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); z-index: 1050;
}
.mod-menu .mm-collapse a { color: #fff !important; display: block; padding: .55rem 1.25rem !important; white-space: nowrap; }
.mod-menu .mm-collapse a:hover, .mod-menu .mm-collapse .active > a {
    color: var(--bf-brick) !important; background: rgba(162, 59, 22, .14);
}

/* Artikel-Meta (Autor / Datum / Icons) auf Inhaltsseiten ausblenden */
.com-content-article__info, dl.article-info, .article-info,
.com-content-article__author, .com-content-article__date,
.icons.dropdown, .article-info-term, .com-content-article__print { display: none !important; }

/* --- Footer (dunkel) --- */
.container-footer, .footer { background: var(--bf-bg-alt); color: var(--bf-text-dim); }
.container-footer a, .footer a { color: #fff; }
.container-footer a:hover, .footer a:hover { color: var(--bf-sand); }
/* Footer-Inhalt auf die Seitenmitte: grid-child ist display:flex/justify-content:space-between,
   das schiebt ein einzelnes Kind nach links -> auf center stellen */
.container-footer .grid-child { justify-content: center !important; }
/* mod_custom-Wrapper schrumpft auf Inhaltsbreite -> auf volle Bandbreite ziehen */
.container-footer .mod-custom { width: 100%; max-width: 1140px; }
/* Original-Footer: Logo links / Link-Spalte rechts, darunter AGB-Button + Social-Icons */
.bf-footer { padding: 1.75rem 1rem 1.25rem; }
.bf-footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.bf-footer-top img { max-width: 200px; height: auto; }
.bf-footer-links { list-style: none; margin: 0; padding: 0; text-align: right; }
.bf-footer-links li { padding: .15rem 0; }
.bf-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.btn.bf-footer-btn { background: transparent !important; border: 1px solid #fff; color: #fff !important;
	border-radius: 5px; padding: .45em 1.3em; font-weight: 600; }
.btn.bf-footer-btn:hover { background: #fff !important; color: #111 !important; }
.bf-footer-social { display: flex; gap: 1.1rem; }
.bf-footer-social a { color: #fff; opacity: .9; }
.bf-footer-social a:hover { color: var(--bf-sand); opacity: 1; }
@media (max-width: 576px) {
	.bf-footer-top, .bf-footer-bottom { flex-direction: column; align-items: center; }
	.bf-footer-links { text-align: center; }
}

/* ============================================================
   Sektions-Klassen (Beitragsinhalte) — Dark-Theme
   ============================================================ */
.bf-section        { padding: clamp(2.5rem, 6vw, 5rem) 0; background: var(--bf-bg); color: var(--bf-text); }
.bf-section-dark   { background: var(--bf-bg-alt); color: var(--bf-text); }
.bf-section-sand   { background: var(--bf-sand); color: #1a1a1a; }
.bf-section-sand h1, .bf-section-sand h2, .bf-section-sand h3, .bf-section-sand h4 { color: #1a1a1a; }
.bf-section-sand p { color: #2a2a2a; }
.bf-section-light  { background: var(--bf-surface); color: var(--bf-text); }
.bf-section-white  { background: #fff; color: #1a1a1a; }
.bf-section-white h1, .bf-section-white h2, .bf-section-white h3, .bf-section-white h4 { color: #1a1a1a; }
.bf-section-white p, .bf-section-white li { color: #2a2a2a; }
/* Ziegelrote Vollflaeche (Original: App-Sektion Home, Formular Kontakt, Jobs-Band) */
.bf-section-brick  { background: var(--bf-brick); color: #fff; }
.bf-section-brick h1, .bf-section-brick h2, .bf-section-brick h3 { color: #fff; }
.bf-section-brick p, .bf-section-brick li, .bf-section-brick small { color: #fff; }

/* Hero (Vollbild mit Overlay) */
.bf-hero {
	position: relative; min-height: calc(100vh - 110px); display: flex; align-items: center;
	color: #fff; background-size: cover; background-position: center;
}
/* Original-Cover: FLACHES Overlay (kein Verlauf) */
.bf-hero::before { content: ""; position: absolute; inset: 0; background: rgba(17, 17, 17, .55); }
.bf-hero > * { position: relative; z-index: 1; }
.bf-hero h1 { color: #fff; }
.bf-hero .lead { font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 400; color: #f0f0f0; }
/* Home-Hero (Flagship) fast vollflaechig wie Original */
.bf-hero-home { min-height: 86vh; }
/* Scroll-Down-Pfeil am Hero-Fuss (Original-Cover-Element) */
.bf-scroll-down { position: absolute; bottom: 10px; left: 50%; z-index: 1; color: #fff;
	opacity: .85; line-height: 1; animation: bf-bounce 2s ease-in-out infinite; }
.bf-scroll-down:hover { color: #fff; opacity: 1; }
@keyframes bf-bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
/* Heller Outline-Button (sekundaere Hero-CTA) */
.btn.bf-btn-ghost { border: 2px solid #fff !important; color: #fff !important; background: transparent !important; }
.btn.bf-btn-ghost:hover, .btn.bf-btn-ghost:focus { background: #fff !important; color: #1a1a1a !important; border-color: #fff !important; }
/* Oranges Overlay (Original: flach, kein Verlauf) — Home + Firmenfitness */
.bf-hero--orange::before { background: rgba(162, 59, 22, .62); }
.bf-hero-claim { max-width: 780px; margin: 0 auto; color: #fff; }
.btn.bf-btn-white { background: #fff !important; color: #1a1a1a !important; border: 0; font-weight: 700; }
.btn.bf-btn-white:hover, .btn.bf-btn-white:focus { background: var(--bf-sand) !important; color: #1a1a1a !important; }
/* Firmenfitness-Vorteile (Original: Foto 55% / Textkasten 45% mit -125px-Overlap, 100vh, #111) */
.bf-ff { background: #111; }
.bf-ff-row { display: flex; flex-direction: column; }
.bf-ff-photo { background-size: cover; background-position: center; min-height: 320px; }
.bf-ff-text { background: #111; color: #fff; padding: 40px 60px; }
.bf-ff-text h3, .bf-ff-text li, .bf-ff-text p, .bf-ff-text strong { color: #fff; }
@media (min-width: 992px) {
	.bf-ff-row { flex-direction: row; align-items: center; min-height: 100vh; }
	.bf-ff-photo { flex: 0 0 55%; align-self: stretch; min-height: 100vh; }
	.bf-ff-text { flex: 0 0 calc(45% + 125px); max-width: calc(45% + 125px); margin-left: -125px; position: relative; z-index: 1; }
}
/* Offizielle Store-Badges (Home-App-Sektion) */
.bf-store-badges { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; justify-content: center; }
@media (min-width: 992px) { .bf-store-badges { justify-content: flex-start; } }
.bf-store-badges img { height: 54px; width: auto; }
/* App-Promo-Bild (Original: randlos, volle Spaltenbreite, kein Karten-Chrome) */
.bf-app-promo { width: 100%; max-width: 520px; }
/* Schritt-Liste "Dein Weg zu deinem Training" (Home, ziegelrote Sektion) */
.bf-steps { list-style: none; counter-reset: bfstep; margin: 0; padding: 0; }
.bf-steps > li { counter-increment: bfstep; position: relative; padding: 0 0 1.4rem 3.4rem; }
.bf-steps > li:last-child { padding-bottom: 0; }
.bf-steps > li::before {
	content: counter(bfstep); position: absolute; left: 0; top: .1rem;
	display: flex; align-items: center; justify-content: center;
	width: 2.4rem; height: 2.4rem; border-radius: 50%;
	background: #fff; color: var(--bf-brick); font-weight: 800; line-height: 1;
}
.bf-steps > li h3 { font-size: 1.2rem; margin: 0 0 .35rem; }
.bf-steps > li p { margin-bottom: .5rem; }
.bf-steps .bf-steps-btns { margin-top: .9rem; margin-bottom: 0; }
@media (max-width: 991.98px) {
	.bf-steps { text-align: left; max-width: 26rem; margin-inline: auto; }
}

/* Feature-Kacheln Home (Original: #111-Karten randlos auf #000) */
.bf-features { background: #000; }
.bf-feature-card { background: #111; height: 100%; }
.bf-feature-card > img { width: 100%; height: auto; display: block; }
.bf-feature-body { padding: 1.5rem 1.6rem 1.8rem; }
.bf-feature-body h3 { font-size: 1.25rem; }
.bf-feature-body p { margin-bottom: 0; }
/* Inhalts-Sektion ueber Foto-Hintergrund (Original-Foto-Sektion mit Overlay) */
.bf-photobg { position: relative; background-size: cover; background-position: center; color: #fff; padding: clamp(3rem, 7vw, 6rem) 0; }
.bf-photobg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .82), rgba(10, 10, 10, .9)); }
.bf-photobg > * { position: relative; z-index: 1; }
.bf-photobg h1, .bf-photobg h2, .bf-photobg h3, .bf-photobg p, .bf-photobg li { color: #fff; }

/* Akzent-Strich unter Ueberschriften */
.bf-accent::after { content: ""; display: block; width: 64px; height: 4px;
	background: var(--bf-brick); margin: .75rem auto 1.25rem; }
.text-start .bf-accent::after, .bf-accent.text-start::after { margin-left: 0; }

/* Karten (dunkle Surface) */
.bf-card {
	background: var(--bf-surface); color: var(--bf-text);
	border: 1px solid rgba(255,255,255,.08); border-radius: 8px;
	padding: 2rem; box-shadow: 0 6px 22px rgba(0,0,0,.35); height: 100%;
}
.bf-card h3 { color: #fff; }
.bf-card--highlight { border: 2px solid var(--bf-brick); box-shadow: 0 6px 26px rgba(162,59,22,.35); }
.bf-price { font-size: 2.6rem; font-weight: 800; color: var(--bf-brick); line-height: 1; }
.bf-price small { font-size: 1rem; font-weight: 400; color: var(--bf-text-dim); }
.bf-list { list-style: none; padding-left: 0; }
/* Haengender Einzug: umgebrochene Zeilen starten am Textanfang, nicht unterm Emoji (Katharina 27.08.) */
.bf-list li { padding: .25rem 0 .25rem 1.7em; text-indent: -1.7em; }

/* ---- Tarife: Original-Blocklayout (Grafik + Details nebeneinander, Section-Farbe = Grafik-Hintergrund) ---- */
.bf-tariff { padding: clamp(3rem, 7vw, 6rem) 0; display: flex; align-items: center; }
.bf-tariff > .container { width: 100%; }
@media (min-width: 992px) { .bf-tariff { min-height: 100vh; } }
.bf-tariff .container { padding-inline: clamp(1.25rem, 5vw, 4rem); }
.bf-tariff--basic   { background: #a23b16; color: #fff; }
.bf-tariff--premium { background: #000; color: #fff; }
.bf-tariff--week    { background: #fff; color: #1a1a1a; }
.bf-tariff-img { max-width: 520px; width: 100%; height: auto; }
.bf-tariff-title { font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.05; margin-bottom: .3rem; }
.bf-tariff--basic .bf-tariff-title, .bf-tariff--premium .bf-tariff-title { color: #fff; }
.bf-tariff--week .bf-tariff-title { color: #1a1a1a; }
.bf-tariff-new { color: #2fbf71; font-weight: 800; white-space: nowrap; }
.bf-tariff-sub { font-weight: 700; font-size: 1.2rem; margin-bottom: 1.2rem; }
.bf-tariff-label { font-size: .78rem; letter-spacing: .1em; opacity: .8; margin-bottom: .35rem; }
.bf-tariff-meta, .bf-tariff-feats { list-style: none; padding: 0; margin: 0 0 1.1rem; }
.bf-tariff-meta li, .bf-tariff-feats li { padding: .16rem 0; }
.bf-tariff-note { font-style: italic; margin-bottom: 1.1rem; }
.bf-tariff--basic .bf-tariff-note, .bf-tariff--premium .bf-tariff-note { color: var(--bf-sand); }
.bf-tariff--week .bf-tariff-note { color: var(--bf-brick); }
.bf-tariff-price { font-size: 1.15rem; line-height: 1.7; margin-bottom: 1.4rem; }
.bf-tariff--week p, .bf-tariff--week li, .bf-tariff--week .bf-tariff-sub, .bf-tariff--week .bf-tariff-label { color: #1a1a1a; }
.btn.bf-tariff-btn { background: #fff !important; color: #1a1a1a !important; font-weight: 700; border: 0; border-radius: 5px; padding: .7em 2em; }
.btn.bf-tariff-btn:hover { background: var(--bf-sand) !important; color: #1a1a1a !important; }
.bf-tariff--week .btn.bf-tariff-btn { background: #111 !important; color: #fff !important; }
.bf-tariff--week .btn.bf-tariff-btn:hover { background: #000 !important; color: #fff !important; }
/* Ghost-Button auf Schwarz (Premium-Zweit-CTA) */
.bf-tariff--premium .btn.bf-btn-ghost { border-radius: 5px; }

/* Premium-Vorteile-Karussell (Original: 1 Vorteil pro Slide auf #000, Pfeile + Bullets) */
.bf-pv { background: #000; }
.bf-pv-slide { padding: 0 8%; }
.bf-pv-slide img { width: 48%; max-width: 460px; height: auto; margin: 0 auto 1.5rem; display: block; }
.bf-pv-slide h3 { color: #fff; margin-bottom: .9rem; }
.bf-pv-slide p { max-width: 820px; margin: 0 auto; }
.bf-pv-carousel .carousel-control-prev, .bf-pv-carousel .carousel-control-next { width: 6%; opacity: .9; }
.bf-pv-carousel .carousel-indicators { position: static; margin-top: 1.6rem; }
.bf-pv-carousel .carousel-indicators button { width: 10px; height: 10px; border-radius: 50%; background: #fff; opacity: .4; border: 0; }
.bf-pv-carousel .carousel-indicators button.active { opacity: 1; }
@media (max-width: 640px) { .bf-pv-slide img { width: 80%; } }

/* Responsive iFrame (Matterport / Karten) */
.bf-embed { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; }
.bf-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Kontakt-Karte als breites Band (wie Original), nicht 16:9 */
.bf-map { position: relative; width: 100%; height: clamp(320px, 40vw, 480px); border-radius: 8px; overflow: hidden; }
.bf-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Consent-Embeds (Matterport/Maps): Platzhalter, iframe laedt erst nach Klick --- */
.bf-embed { position: relative; width: 100%; border-radius: 10px; overflow: hidden;
	background: #1a1a1a center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
section .bf-embed { aspect-ratio: 16 / 9; }           /* eigenstaendige Box (Studio-Rundgang) */
.bf-map .bf-embed { position: absolute; inset: 0; border-radius: 0; }  /* fuellt die bf-map-Box (Kontakt) */
.bf-embed::before { content: ""; position: absolute; inset: 0; background: rgba(8, 8, 8, .74); }
.bf-embed--light { background-color: #efe9e1; }
.bf-embed--light::before { background: rgba(240, 235, 228, .55); }
.bf-embed-inner { position: relative; z-index: 1; text-align: center; padding: 1.5rem; max-width: 680px; }
.bf-embed-inner h2 { margin-bottom: .6rem; text-shadow: 0 2px 6px rgba(0, 0, 0, .85); }
.bf-embed-note { color: #eee; font-size: .95rem; line-height: 1.5; margin-bottom: 1.1rem; text-shadow: 0 1px 4px rgba(0, 0, 0, .85); }
.bf-embed-note a { color: #fff; text-decoration: underline; }
/* Button explizit stylen — <button class="btn"> matcht die a.btn-Regeln oben NICHT */
button.bf-embed-btn { background: var(--bf-brick) !important; border: 0; color: #fff !important;
	font-weight: 700; letter-spacing: .03em; border-radius: 6px; padding: .8em 2.2em;
	cursor: pointer; box-shadow: 0 4px 16px rgba(0, 0, 0, .45); }
button.bf-embed-btn:hover { background: var(--bf-brick-dark) !important; }
.bf-embed--light .bf-embed-note { color: #333; }
.bf-embed--light .bf-embed-note a { color: #111; }
.bf-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bf-embed.is-loaded::before { display: none; }

/* Kontaktformular (com_contact eingebettet, blendet auf dunklem Grund) */
.bf-form-wrap { max-width: 760px; margin-top: 2rem; }
.bf-form-frame { width: 100%; min-height: 900px; border: 0; background: transparent; display: block; }
/* Eingebettetes com_contact: nur das Mailformular, dunkeltauglich (Adresse/Misc stehen in den Karten) */
.ebw-contact__header, .ebw-contact__sidebar, .ebw-contact__misc, .ebw-contact__form-section > h2 { display: none !important; }
.ebw-contact__layout { display: block !important; }
.ebw-contact__form-section { max-width: 720px; margin: 0 auto; }
.ebw-contact__form-section form { background: transparent !important; border: 0 !important; padding: 0 !important; }
.ebw-contact, .ebw-contact h1, .ebw-contact h2, .ebw-contact h3, .ebw-contact legend,
.ebw-contact label, .ebw-contact p, .ebw-contact small,
.ebw-contact .control-label label, .ebw-contact .form-text, .ebw-contact .required { color: var(--bf-text) !important; }
.ebw-contact .form-control, .ebw-contact select {
	color: #1a1a1a !important; -webkit-text-fill-color: #1a1a1a !important; background-color: #fff !important; }
.ebw-contact ::placeholder { color: #8a8a8a !important; opacity: 1; }
/* Formular auf Ziegelrot (Original): Labels weiss, Senden-Button dunkel */
.bf-section-brick .ebw-contact, .bf-section-brick .ebw-contact label, .bf-section-brick .ebw-contact legend,
.bf-section-brick .ebw-contact p, .bf-section-brick .ebw-contact small, .bf-section-brick .ebw-contact .form-text { color: #fff !important; }
.bf-section-brick .ebw-contact .btn-primary { background: #111 !important; border-color: #111 !important; }
.bf-section-brick .ebw-contact .btn-primary:hover { background: #000 !important; border-color: #000 !important; }
.bf-section-brick a { color: #fff; text-decoration: underline; }
/* Kontakt-Infospalten auf Weiss: Links in Ziegelrot */
.bf-section-white a { color: var(--bf-brick); }

/* Virtuagym-Webshop-Embed (hoher, scrollender iFrame) */
.bf-shop { width: 100%; min-height: 1150px; border: 0; display: block; border-radius: 8px; background: #fff; }

/* Jobs (Original): kompaktes Headline-Band + dunkler CTA auf Weiss */
.bf-jobs-band { padding: clamp(2rem, 4vw, 3.2rem) 0; }
.bf-jobs-band h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 0; }
.bf-jobs-title { color: #111 !important; line-height: 1.2; }
.btn.bf-btn-dark { background: #111 !important; color: #fff !important; border: 0; border-radius: 5px; font-weight: 700; padding: .7em 1.8em; }
.btn.bf-btn-dark:hover { background: #000 !important; }

/* Breiter Inhalts-Container (Original-Galerie laeuft bis ~1330px) */
.bf-container-wide { max-width: 1330px; margin-inline: auto; padding-inline: 1rem; }

/* Galerie-Grid */
/* Masonry-Galerie: Bilder vollständig (kein Crop), gemischte Hoch-/Querformate, klickbar */
.bf-gallery { columns: 3 260px; column-gap: 12px; }
.bf-gallery img { width: 100%; height: auto; display: block; margin-bottom: 12px; border-radius: 6px; cursor: zoom-in; break-inside: avoid; transition: filter .15s, transform .15s; }
.bf-gallery img:hover { filter: brightness(1.07); transform: translateY(-2px); }
@media (max-width: 640px) { .bf-gallery { columns: 2 150px; } }

/* Lightbox (Klick zum Vergrößern) */
.bf-lb { position: fixed; inset: 0; background: rgba(0, 0, 0, .92); display: none; align-items: center; justify-content: center; z-index: 2000; cursor: zoom-out; padding: 2rem; }
.bf-lb.is-open { display: flex; }
.bf-lb img { max-width: 95vw; max-height: 92vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 12px 60px rgba(0, 0, 0, .7); }
.bf-lb-close { position: absolute; top: 1rem; right: 1.5rem; font-size: 2.5rem; line-height: 1; color: #fff; opacity: .8; }

/* FAQ-Accordion (Bootstrap-Override fuer Dark) */
.accordion { --bs-accordion-bg: var(--bf-surface); --bs-accordion-color: var(--bf-text);
	--bs-accordion-btn-color: #fff; --bs-accordion-btn-bg: var(--bf-surface);
	--bs-accordion-active-bg: var(--bf-bg-alt); --bs-accordion-active-color: var(--bf-brick);
	--bs-accordion-border-color: rgba(255,255,255,.1); }

/* ---- FAQ: luftiger Hero + editoriales 2-Spalten-Akkordeon ---- */
.bf-hero-faq { min-height: 46vh; }
.bf-hero-text { max-width: 760px; }
.bf-hero-faq h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; margin-bottom: 1rem; }

.bf-faq-heading { color: #1a1a1a; font-size: clamp(1.7rem, 3.5vw, 2.6rem); line-height: 1.12; }
@media (min-width: 992px) { .bf-faq-heading { position: sticky; top: 110px; } }

.bf-faq { --bs-accordion-bg: transparent; }
.bf-faq .accordion-item { background: transparent; border: 0; border-radius: 0;
	border-bottom: 1px solid rgba(26, 26, 26, .16); }
.bf-faq .accordion-item:first-of-type { border-top: 1px solid rgba(26, 26, 26, .16); }
.bf-faq .accordion-header { margin: 0; }
.bf-faq .accordion-button { position: relative; background: transparent; color: #1a1a1a;
	font-family: inherit; font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.3;
	padding: 1.45rem 2.6rem 1.45rem 0; box-shadow: none; }
.bf-faq .accordion-button:hover { color: var(--bf-brick); }
.bf-faq .accordion-button:not(.collapsed) { color: var(--bf-brick); background: transparent; box-shadow: none; }
.bf-faq .accordion-button:focus { box-shadow: none; outline: none; }
.bf-faq .accordion-button::after { position: absolute; right: 0; top: 50%; margin: 0;
	width: auto; height: auto; background-image: none; content: "+";
	font-size: 1.9rem; font-weight: 300; line-height: 1; color: #1a1a1a;
	transform: translateY(-50%); transition: color .2s ease; }
.bf-faq .accordion-button:not(.collapsed)::after { content: "\2212"; color: var(--bf-brick); }
.bf-faq .accordion-body { color: #2a2a2a; font-size: 1.03rem; line-height: 1.65;
	padding: 0 2.6rem 1.55rem 0; max-width: 62ch; }
.bf-faq .accordion-body a { color: var(--bf-brick); text-decoration: underline; }

/* Dunkle Akkordeon-Variante (Original: Video-Anleitungen auf #111) */
.bf-faq-heading--dark { color: #fff; }
.bf-faq--dark .accordion-item { border-bottom-color: rgba(255, 255, 255, .25); }
.bf-faq--dark .accordion-item:first-of-type { border-top-color: rgba(255, 255, 255, .25); }
.bf-faq--dark .accordion-button { color: #fff; }
.bf-faq--dark .accordion-button::after { color: #fff; }
.bf-faq--dark .accordion-body { color: var(--bf-text); }
.bf-faq--dark .accordion-body a.btn { text-decoration: none; border-radius: 5px; }

/* System-Meldungen lesbar (heller Alert-Hintergrund braucht dunklen Text — sonst
   weisser Theme-Text auf hellem Grund = unlesbar, z.B. "Anmeldung erfolgreich") */
.alert, joomla-alert .alert { color: #14352a; }
.alert-success { background: #d1e7dd; color: #0f5132; border-color: #a3cfbb; }
.alert-info    { background: #cff4fc; color: #055160; border-color: #9eeaf9; }
.alert-warning { background: #fff3cd; color: #664d03; border-color: #ffe69c; }
.alert-danger  { background: #f8d7da; color: #842029; border-color: #f1aeb5; }
.alert a, joomla-alert .alert a { color: inherit; text-decoration: underline; }
.alert .alert-heading { color: inherit; }

/* --- Zweizeilige Navigation (11.08.2026): Hauptnav prominent, Subnav dezent --- */
.container-nav ul.mod-menu { font-size: 1.08rem; font-weight: 700; }
.container-nav ul.mod-menu.bf-subnav { font-size: .85rem; font-weight: 400; margin-top: .1rem; }
.container-nav ul.mod-menu.bf-subnav a { color: #b9b9b9 !important; }
.container-nav ul.mod-menu.bf-subnav a:hover,
.container-nav ul.mod-menu.bf-subnav .active > a { color: var(--bf-brick) !important; }

/* Fix 13.08.: Cassiopeia stellt die zwei Menue-Module per Flex NEBENEINANDER —
   Hauptnav und Subnav gehoeren aber UNTEREINANDER (zweite, dezente Zeile). */
.container-header > .container-nav { display: flex !important; flex-direction: column; align-items: flex-start; row-gap: .05rem; }
.container-nav ul.mod-menu.bf-subnav { width: 100%; display: flex; flex-wrap: wrap; column-gap: 1.1rem; }

/* --- Joomla-Systemmeldungen ans Dark-Theme (13.08.: waren grell/weiss-auf-weiss) --- */
#system-message-container .alert,
#system-message-container joomla-alert {
	background: #1e1e1e; color: #e8e8e8; border: 1px solid #3a3a3a;
	border-left-width: 5px; border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.4);
}
#system-message-container .alert .alert-heading,
#system-message-container .alert h4 { color: #fff; }
#system-message-container .alert-danger, #system-message-container joomla-alert[type="danger"],
#system-message-container .alert-error, #system-message-container joomla-alert[type="error"] {
	background: #2a1a1d; color: #f2c9cf; border-left-color: #c0392b;
}
#system-message-container .alert-warning, #system-message-container joomla-alert[type="warning"] {
	background: #2a2416; color: #f0dcae; border-left-color: #d9a13b;
}
#system-message-container .alert-success, #system-message-container joomla-alert[type="success"],
#system-message-container .alert-message, #system-message-container joomla-alert[type="message"] {
	background: #14261c; color: #9fe0bd; border-left-color: #17aa63;
}
#system-message-container .alert-info, #system-message-container joomla-alert[type="info"] {
	background: #16222b; color: #a9cfe8; border-left-color: #3b7ea1;
}
#system-message-container .alert .btn-close,
#system-message-container joomla-alert .joomla-alert--close {
	filter: invert(1) grayscale(1); opacity: .7;
}

/* Subnav lebt (per Template-JS) IM Collapse des Hauptmenues: auf Mobile toggelt
   sie mit dem Burger, auf Desktop stapelt der Collapse beide Zeilen untereinander. */
.container-nav .navbar-collapse { flex-direction: column !important; align-items: flex-start !important; }
@media (max-width: 991.98px) {
	.container-nav .navbar-collapse ul.mod-menu.bf-subnav { flex-direction: column; row-gap: .15rem; padding: .3rem 0 .2rem .1rem; border-top: 1px solid #2a2a2a; margin-top: .4rem; }
}
