/* =====================================================================
 * BDOA – Ebene für Elementor V4 (Atomic). Klassen werden in Elementor als
 * globale Klassen mit gleichem Namen angelegt (Label = Klassenname).
 * "body" erhöht die Spezifität gegenüber den Grundstilen der V4-Elemente.
 * Breakpoints: Tablet bis 1024 px, Mobil bis 767 px (design-spec.md).
 * ================================================================== */

/* Abschnitte */
body .bdoa-section { box-sizing: border-box; max-width: 1200px; margin: 0 auto; padding: 110px 32px; }
body .bdoa-section--top0 { padding-top: 0; }
body .bdoa-section--bottom0 { padding-bottom: 0; }
body .bdoa-section--narrow { max-width: 964px; }
body .bdoa-band { display: block; box-sizing: border-box; width: 100%; max-width: none; margin: 0; padding: 0; }
body .bdoa-band--white { background: var(--bdoa-white); border-top: 1px solid var(--bdoa-line); border-bottom: 1px solid var(--bdoa-line); }
body .bdoa-box { display: block; box-sizing: border-box; padding: 72px; position: relative; overflow: hidden; }
body .bdoa-plain { display: block; box-sizing: border-box; padding: 0; margin: 0; }
body .bdoa-headrow { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0; margin: 0 0 40px; }
body .bdoa-stack { display: flex; flex-direction: column; gap: 16px; padding: 0; }
body .bdoa-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 0; }

/* Raster */
body .bdoa-grid-2, body .bdoa-grid-3, body .bdoa-grid-4 { display: grid; gap: 28px; padding: 0; }
body .bdoa-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body .bdoa-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body .bdoa-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body .bdoa-gap-l { gap: 48px; }
body .bdoa-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; padding: 0; }
body .bdoa-split--side { grid-template-columns: 260px minmax(0, 1fr); }
body .bdoa-split--year { grid-template-columns: 300px minmax(0, 1fr); }

/* Typografie */
body .bdoa-h2 { display: block; margin: 0 0 24px; font-family: var(--bdoa-serif); font-weight: 700; font-size: 44px; line-height: 1.15; color: var(--bdoa-navy); letter-spacing: -.005em; }
body .bdoa-h2--s { font-size: 36px; }
body .bdoa-h3 { display: block; margin: 10px 0 14px; font-family: var(--bdoa-serif); font-weight: 700; font-size: 28px; line-height: 1.2; color: var(--bdoa-navy); }
body .bdoa-h3--s { font-size: 22px; line-height: 1.3; }
body .bdoa-lead { display: block; margin: 0 0 24px; font-size: 20px; line-height: 1.65; color: var(--bdoa-text); }
body .bdoa-text { display: block; margin: 0 0 18px; font-family: var(--bdoa-sans); font-size: 17px; line-height: 1.7; color: var(--bdoa-text); }
body .bdoa-text--s { font-size: 15px; line-height: 1.6; color: var(--bdoa-muted); }
body .bdoa-text a, body .bdoa-lead a { color: var(--bdoa-blue); text-decoration: underline; text-decoration-color: var(--bdoa-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
body .bdoa-text ul, body .bdoa-text ol { margin: 0 0 0 1.2em; padding: 0; }
body .bdoa-text li { margin: 0 0 8px; }
body .bdoa-eyebrow { display: block; margin: 0 0 16px; }
body .bdoa-number { display: block; margin: 0; }
body .bdoa-light, body .bdoa-light p, body .bdoa-light .bdoa-text { color: var(--bdoa-on-dark); }
body .bdoa-light .bdoa-h2, body .bdoa-light .bdoa-h3 { color: var(--bdoa-white); }
body .bdoa-quote { display: block; margin: 0; font-size: 34px; line-height: 1.3; color: var(--bdoa-white); }
body .bdoa-quote-src { display: block; margin: 12px 0 0; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bdoa-yellow); }
body .bdoa-year { display: block; margin: 0; font-family: var(--bdoa-serif); font-weight: 700; font-size: 64px; line-height: 1; color: var(--bdoa-blue); }
body .bdoa-bar { display: block; width: 48px; height: 3px; padding: 0; margin: 18px 0 14px; background: var(--bdoa-yellow); }

/* Kennzahlen */
body .bdoa-stat { display: block; padding: 0; }
body .bdoa-stat__value { display: block; margin: 0; }
body .bdoa-stat__label { display: block; margin: 4px 0 0; font-size: 16px; color: var(--bdoa-muted); }

/* Feature-Spalte mit blauer Linie oben */
body .bdoa-feature { display: block; padding: 28px 0 0; border-top: 3px solid var(--bdoa-blue); }

/* Links und Buttons als V4-Button */
body .bdoa-link { display: inline-block; width: auto; align-self: flex-start; background-color: transparent; background-image: none; border-radius: 0; padding: 0 0 6px; margin: 0; text-align: left; font-family: var(--bdoa-sans); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--bdoa-blue); border: 0; border-bottom: 2px solid var(--bdoa-yellow); text-decoration: none; }
body .bdoa-link:hover { padding-bottom: 10px; color: var(--bdoa-navy); background-color: transparent; }
body .bdoa-link--light, body .bdoa-link--light:hover { color: var(--bdoa-white); }
body .bdoa-btn { display: inline-block; width: auto; align-self: flex-start; border-radius: 0; border: 0; padding: 15px 26px; font-family: var(--bdoa-sans); font-weight: 700; font-size: 16px; text-align: center; text-decoration: none; }
body .bdoa-btn--primary { background-color: var(--bdoa-blue); color: var(--bdoa-white); }
body .bdoa-btn--primary:hover { background-color: var(--bdoa-navy); color: var(--bdoa-white); }
body .bdoa-btn--yellow { background-color: var(--bdoa-yellow); color: var(--bdoa-navy); }
body .bdoa-btn--yellow:hover { background-color: var(--bdoa-yellow); color: var(--bdoa-navy); }

/* Karten */
body .bdoa-card { display: block; box-sizing: border-box; padding: 32px; position: relative; overflow: hidden; background-color: var(--bdoa-white); border: 1px solid var(--bdoa-line); }
body .bdoa-card--l { padding: 36px 36px 40px; }
body .bdoa-card--flex { display: flex; flex-direction: column; gap: 12px; }
body .bdoa-card .bdoa-h3 { margin-top: 6px; }
body .bdoa-card__preview { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; padding: 30px 32px; background-color: var(--bdoa-blue); transform: translateY(101%); }
body .bdoa-card__more { display: block; margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bdoa-blue); }
body .bdoa-card__preview .bdoa-card__more { color: var(--bdoa-yellow); }
body .bdoa-card__preview p, body .bdoa-card__preview .bdoa-text { color: var(--bdoa-on-dark); }
body .bdoa-card__preview .bdoa-h3 { color: var(--bdoa-white); }

/* Personen */
body .bdoa-person { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; }
body .bdoa-portrait { position: relative; flex: none; width: 140px; height: 170px; padding: 0; overflow: visible; }
body .bdoa-portrait__img { display: block; width: 140px; height: 170px; max-width: none; object-fit: cover; object-position: 50% 20%; }
body .bdoa-person__text { display: block; flex: 1 1 240px; min-width: 0; padding: 0; }
body .bdoa-person__name { display: block; margin: 0; font-family: var(--bdoa-serif); font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--bdoa-navy); }

/* Vorstand: Zitate-Kachel */
body .bdoa-quote-tile { display: flex; flex-direction: column; justify-content: center; gap: 18px; position: relative; padding: 36px 36px 36px 54px; background-color: var(--bdoa-navy); }
body .bdoa-quote-tile__text { display: block; margin: 0; font-family: var(--bdoa-serif); font-style: italic; font-weight: 500; font-size: 19px; line-height: 1.45; color: var(--bdoa-white); }
body .bdoa-quote-tile__author { display: block; margin: 6px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bdoa-yellow); }

/* Verband: nummerierte Kästen */
body .bdoa-numbox { display: flex; gap: 20px; align-items: center; padding: 26px 28px; background-color: var(--bdoa-white); border: 1px solid var(--bdoa-line); }
body .bdoa-numbox__nr { display: block; flex: none; width: 48px; margin: 0; font-family: var(--bdoa-serif); font-weight: 700; font-size: 30px; color: var(--bdoa-gold); }
body .bdoa-numbox__text { display: block; margin: 0; font-family: var(--bdoa-serif); font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--bdoa-navy); }

/* Mitgliedschaft */
body .bdoa-price { display: flex; flex-direction: column; gap: 14px; padding: 44px; background-color: var(--bdoa-white); border: 1px solid var(--bdoa-line); }
body .bdoa-price__amount { display: block; margin: 8px 0 18px; font-family: var(--bdoa-serif); font-weight: 700; font-size: 56px; line-height: 1; color: var(--bdoa-blue); }
body .bdoa-step { display: flex; gap: 20px; align-items: flex-start; padding: 0; }
body .bdoa-step__nr { display: flex; align-items: center; justify-content: center; flex-shrink: 0; flex-grow: 0; width: 52px; min-width: 52px; height: 52px; margin: 0; border-radius: 50%; background-color: var(--bdoa-yellow); font-family: var(--bdoa-serif); font-weight: 700; font-size: 24px; color: var(--bdoa-navy); }

/* Historie: Kapitel */
body .bdoa-chapter { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; padding: 56px 0; border-top: 1px solid var(--bdoa-line); }
body .bdoa-role { display: block; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bdoa-gold); }

/* Bilder */
body .bdoa-img-16-7 img, body .bdoa-img-16-7 { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
body .bdoa-img-cover img { width: 100%; height: 100%; object-fit: cover; }
body .bdoa-fade-image { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; padding: 0; background-size: cover; background-position: 62% 35%; }

/* Häkchen-Liste (Vorteile) */
body .bdoa-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
body .bdoa-checks li { position: relative; padding-left: 36px; color: var(--bdoa-on-dark); font-size: 17px; line-height: 1.6; }
body .bdoa-checks li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 9px; height: 16px; border: solid var(--bdoa-yellow); border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* Akkordeon V4 */
body .bdoa-faq { display: block; padding: 0; }
body .bdoa-faq details { border-bottom: 1px solid #D5DDE8; }
body .bdoa-faq summary { padding: 24px 0; font-family: var(--bdoa-serif); font-size: 22px; font-weight: 700; color: var(--bdoa-navy); cursor: pointer; }

/* Zeitleiste [bdoa_timeline] */
.bdoa-timeline { margin-top: 48px; }
.bdoa-timeline li { color: var(--bdoa-white); }
.bdoa-timeline b { display: block; margin-top: 14px; font-family: var(--bdoa-serif); font-size: 22px; color: var(--bdoa-white); }
.bdoa-timeline span { display: block; margin-top: 4px; font-size: 14px; color: var(--bdoa-on-dark-muted); }

/* Elementor-Seiten mit BDOA-Hero: kein Abstand oben */
body.elementor-page .page-content > .elementor { margin: 0; }


/* V4-Grundstile entschärfen (Elementor setzt cursor:pointer auf Text) */
body .e-heading-base:not(a), body .e-paragraph-base:not(a) { cursor: auto; }
body a.e-div-block-base { color: inherit; text-decoration: none; }

/* Startseite: Willkommen-Box */
body .bdoa-welcome-shade { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; padding: 0; background: linear-gradient(0deg, rgba(0, 42, 82, .88) 0%, rgba(0, 42, 82, .25) 45%, rgba(0, 42, 82, 0) 70%); pointer-events: none; }
body .bdoa-welcome-quote { display: flex; flex-direction: column; align-items: flex-end; text-align: right; text-shadow: 0 2px 14px rgba(0, 20, 40, .6); }
body .bdoa-welcome-quote .bdoa-brackets__text { font-family: var(--bdoa-serif); font-style: italic; font-weight: 500; font-size: 34px; line-height: 1.3; color: var(--bdoa-white); }
body .bdoa-welcome-quote .bdoa-bracket { width: 18px; height: 54px; }

/* Text auf 4 Zeilen begrenzen */
body .bdoa-clamp-4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Im Fokus: Karte */
body .bdoa-focus-card { padding: 0; position: relative; overflow: hidden; transition: transform .35s var(--bdoa-ease), box-shadow .35s; }
body .bdoa-focus-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 42, 82, .12); }
body .bdoa-focus-card .bdoa-img-16-7 { width: 100%; }

/* Fachbereich-Karte: Vorschau-Inhalt */
body .bdoa-card__preview .bdoa-h3 { margin: 0; }
body .bdoa-card__preview .bdoa-text { margin: 0; }

/* Häkchen-Liste in einem V4-Absatz */
body .bdoa-checks { display: block; }
body .bdoa-checks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }

/* Akkordeon (V4) */
body .bdoa-faq .e-accordion-item { border-bottom: 1px solid #D5DDE8; }
body .bdoa-faq .e-accordion-item-header { padding: 24px 0; }
body .bdoa-faq .e-accordion-item-title p { font-family: var(--bdoa-serif); font-size: 22px; font-weight: 700; color: var(--bdoa-navy); }
body .bdoa-faq .e-accordion-item-content { padding: 0 0 26px; }

/* Klammer-Ecken an Porträt und Zitate-Kachel */
.bdoa-portrait::before, .bdoa-portrait::after, .bdoa-quote-tile::before, .bdoa-quote-tile::after { content: ""; position: absolute; z-index: 1; width: 22px; height: 22px; border: 4px solid var(--bdoa-yellow); transition: all .4s var(--bdoa-ease); pointer-events: none; }
.bdoa-portrait::before, .bdoa-quote-tile::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.bdoa-portrait::after, .bdoa-quote-tile::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.bdoa-quote-tile::before { top: 18px; left: 18px; }
.bdoa-quote-tile::after { bottom: 18px; right: 18px; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	body .bdoa-section { padding: 80px 32px; }
	body .bdoa-section--top0 { padding-top: 0; }
	body .bdoa-section--bottom0 { padding-bottom: 0; }
	body .bdoa-box { padding: 48px 32px; }
	body .bdoa-grid-3, body .bdoa-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .bdoa-split, body .bdoa-split--side, body .bdoa-split--year { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	body .bdoa-chapter { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 40px 0; }
	body .bdoa-price { padding: 32px; }
	body .bdoa-h2 { font-size: 36px; }
	body .bdoa-text { font-size: 17px; }
	body .bdoa-welcome { padding: 48px 32px 0 !important; }
	body .bdoa-welcome-shade { top: auto; width: 100%; height: 320px; background: linear-gradient(0deg, rgba(0, 42, 82, .88) 0%, rgba(0, 42, 82, .2) 60%, rgba(0, 42, 82, 0) 100%); }
	body .bdoa-welcome-quote { position: absolute !important; left: 32px; right: 32px; bottom: 28px; width: auto !important; max-width: none; align-items: flex-start; text-align: left; }
	body .bdoa-fade-image { order: 10; position: relative; width: 100%; height: 320px; margin: 40px -32px -48px; width: calc(100% + 64px); -webkit-mask-image: linear-gradient(0deg, #000 55%, transparent 100%); mask-image: linear-gradient(0deg, #000 55%, transparent 100%); }
}

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
	body .bdoa-section { padding: 56px 20px; }
	body .bdoa-section--top0 { padding-top: 0; }
	body .bdoa-section--bottom0 { padding-bottom: 0; }
	body .bdoa-box { padding: 40px 22px; }
	body .bdoa-grid-2, body .bdoa-grid-3, body .bdoa-grid-4 { grid-template-columns: minmax(0, 1fr); }
	body .bdoa-gap-l { gap: 36px; }
	body .bdoa-h2 { font-size: clamp(28px, 8vw, 32px); }
	body .bdoa-h3 { font-size: 24px; }
	body .bdoa-lead { font-size: 18px; }
	body .bdoa-text { font-size: 16px; }
	body .bdoa-quote { font-size: 26px; }
	body .bdoa-year { font-size: 46px; }
	body .bdoa-card, body .bdoa-card--l { padding: 26px 22px; }
	body .bdoa-person { flex-direction: column; }
	body .bdoa-price { padding: 26px 22px; }
	body .bdoa-price__amount { font-size: 44px; }
	body .bdoa-numbox__text { font-size: 19px; }
	body .bdoa-fade-image { margin: 32px -22px -40px; width: calc(100% + 44px); height: 240px; }
	body .bdoa-welcome-quote { left: 22px; right: 22px; bottom: 20px; }
	body .bdoa-welcome-quote .bdoa-brackets__text { font-size: 26px; }
	body .bdoa-h2, body .bdoa-h3 { overflow-wrap: break-word; hyphens: manual; }
}
