.baubegleitung-page {
  --bb-blue: #00a3e0;
  --bb-blue-dark: #006b9d;
  --bb-ink: #15202a;
  --bb-muted: #5d6a75;
  --bb-soft: #eef3f6;
  --bb-line: #cbd6dd;
  --bb-dark: #26333d;
  color: var(--bb-ink);
}

.baubegleitung-page main { overflow-x: clip; }
.baubegleitung-page .eyebrow,
.baubegleitung-teaser .eyebrow { color: var(--bb-blue, #00a3e0); font-size: 14px; font-weight: 750; text-transform: uppercase; }
.baubegleitung-page h2 { font-size: 34px; line-height: 1.08; }
.baubegleitung-page h3 { font-size: 22px; line-height: 1.2; }
.baubegleitung-page p,
.baubegleitung-page li { line-height: 1.55; }
.baubegleitung-page a:focus-visible,
.baubegleitung-page button:focus-visible,
.baubegleitung-page input:focus-visible,
.baubegleitung-page textarea:focus-visible,
.baubegleitung-page summary:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }

.bb-breadcrumb { padding: 96px max(24px, calc((100vw - 1200px) / 2)) 14px; background: #fff; color: var(--bb-muted); font-size: 14px; }
.bb-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bb-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #87949d; }
.bb-breadcrumb a { color: var(--bb-blue-dark); }

.bb-hero {
  position: relative;
  min-height: max(720px, 100svh);
  padding: 108px max(24px, calc((100vw - 1200px) / 2)) 76px;
  display: grid;
  align-content: end;
  align-items: end;
  column-gap: 36px;
  row-gap: 22px;
  color: #fff;
  background: url('/hero-baustelle-1600.jpg') center / cover no-repeat;
}
.bb-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 26, 36, .92) 0%, rgba(18, 33, 44, .82) 58%, rgba(18, 33, 44, .54) 100%); }
.bb-hero > * { position: relative; }
.bb-hero-copy { max-width: 760px; }
.bb-hero > .bb-badge,
.bb-hero > h1 { grid-column: 1 / -1; }
.bb-hero > .bb-badge { justify-self: start; margin: 0; transform: translateY(-34px); }
.bb-hero > h1 { width: 100%; max-width: 1160px; }
.bb-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 0 0 34px;
  padding: 0;
  color: #fff;
  background: transparent;
  text-transform: uppercase;
}
.bb-badge::before {
  width: 42px;
  height: 3px;
  background: var(--bb-blue);
  content: "";
}
.bb-badge::before { width: 52px; }
.bb-badge::after { content: none; }
.bb-badge span { color: #fff; font-size: clamp(34px, 3.7vw, 46px); font-style: normal; line-height: 1.02; font-weight: 780; letter-spacing: -.025em; text-transform: none; }
.bb-badge small { padding-left: 16px; border-left: 1px solid rgba(158, 220, 244, .55); color: #9edcf4; font-size: 11px; font-weight: 740; letter-spacing: .14em; }
.bb-hero h1 { max-width: 820px; margin: 0 0 22px; color: #fff; font-size: 54px; line-height: 1.02; font-weight: 420; }
.bb-lead { max-width: 760px; font-size: 22px; }
.bb-keyword { color: var(--bb-blue); font-weight: 650; }
.bb-hero-claim { max-width: 700px; margin-top: 24px; padding: 10px 0 10px 18px; color: #fff; border-left: 5px solid var(--bb-blue); font-size: clamp(22px, 2vw, 27px); font-weight: 820; letter-spacing: -.015em; line-height: 1.18; }
.bb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bb-hero .button.secondary { border-color: #fff; color: #fff; background: transparent; }
.bb-hero-facts { padding: 28px; border-top: 5px solid var(--bb-blue); background: rgba(255, 255, 255, .95); color: var(--bb-ink); }
.bb-hero-facts strong { display: block; margin-bottom: 14px; font-size: 20px; }
.bb-hero-facts ul { margin: 0; padding-left: 20px; }

.bb-trust { display: grid; background: var(--bb-dark); color: #fff; }
.bb-trust > div { min-height: 116px; padding: 24px; border-bottom: 1px solid rgba(255,255,255,.16); }
.bb-trust strong, .bb-trust span { display: block; }
.bb-trust strong { margin-bottom: 7px; }
.bb-trust span { color: #b8c3ca; }

.bb-section,
.bb-config-section,
.bb-first-check,
.bb-region,
.bb-contact,
.baubegleitung-teaser { padding: 72px max(24px, calc((100vw - 1200px) / 2)); }
.bb-section-heading { max-width: 800px; margin-bottom: 38px; }
.bb-section-heading h2 { margin: 8px 0 0; }
.bb-campaign-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  padding: 0;
  color: var(--bb-blue-dark) !important;
  background: transparent;
  border: 0;
  box-shadow: none;
  letter-spacing: .13em;
}
.bb-campaign-label::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--bb-blue);
}
.bb-two-col { display: grid; gap: 30px; }
.bb-check-list,
.bb-limit-list { margin: 0; padding: 0; list-style: none; }
.bb-check-list li,
.bb-limit-list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--bb-line); }
.bb-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--bb-blue-dark); font-weight: 800; }
.bb-limit-list li::before { content: "–"; position: absolute; left: 4px; color: var(--bb-blue-dark); font-weight: 800; }

.bb-question-grid,
.bb-service-grid,
.bb-case-grid,
.bb-why-grid,
.bb-knowledge-grid { display: grid; gap: 16px; }
.bb-question-grid article {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-start;
  padding: 42px 32px 34px;
  border: 1px solid var(--bb-line);
  border-top: 4px solid var(--bb-blue);
  background: #fff;
  color: var(--bb-ink);
  box-shadow: 0 16px 36px rgba(15,31,42,.08);
}
.bb-question-grid article::before {
  position: absolute;
  top: 24px;
  left: 32px;
  width: 34px;
  height: 3px;
  background: rgba(0,158,226,.32);
  content: "";
}
.bb-question-grid article:nth-child(2) {
  background: #edf8fc;
}
.bb-question-grid span,
.bb-service-grid article > span,
.bb-case-grid article > span { color: var(--bb-blue); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bb-question-grid p { margin: 12px 0 0; font-size: 19px; font-weight: 650; line-height: 1.45; }
.bb-plan-callout { max-width: 980px; margin: 30px 0 0; padding: 24px 28px; border-left: 5px solid var(--bb-blue); background: #e8f4f9; font-size: 18px; }

.bb-solution,
.bb-cost-message { padding: 76px max(24px, calc((100vw - 1200px) / 2)); background: var(--bb-dark); color: #fff; }
.bb-solution { display: grid; gap: 40px; align-items: center; }
.bb-solution h2,
.bb-cost-message h2 { color: #fff; }
.bb-solution > h2 { margin: 0; text-align: center; }
.bb-solution-action { width: max-content; justify-self: start; }
.bb-solution blockquote {
  margin: 0;
  padding: 38px 40px;
  border-top: 5px solid #43c6f4;
  color: #fff;
  background: linear-gradient(135deg, var(--bb-blue-dark) 0%, #006999 100%);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .24);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 760;
  line-height: 1.14;
}

.bb-services { background: #fff; }
.bb-service-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.bb-service-grid article { display: flex; min-width: 0; min-height: 292px; flex-direction: column; padding: 24px 22px; border: 1px solid var(--bb-line); background: #fff; }
.bb-service-grid article.is-featured { border-color: var(--bb-blue); background: #eaf7fc; }
.bb-service-grid h3 { margin: 0 0 20px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.18; letter-spacing: -.02em; hyphens: none; overflow-wrap: normal; word-break: normal; }
.bb-service-grid article > p { margin: 0; }
.bb-service-grid article > a { margin-top: auto; padding-top: 20px; }
.bb-service-grid a,
.bb-case-grid a,
.bb-knowledge-grid a { color: var(--bb-blue-dark); font-weight: 750; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bb-keyword { color: var(--bb-blue-dark); font-weight: 750; }
.bb-hero .bb-keyword { color: var(--bb-blue); }
.home-service-note { max-width: 880px; margin: 28px auto 0; text-align: center; color: #5b6872; }
.home-service-note a { color: var(--blue, #0076ad); font-weight: 750; }
.bb-subscription { background: var(--bb-soft); }
.bb-outline-dark { border: 1px solid var(--bb-ink); background: transparent; color: var(--bb-ink); }

.bb-practice { background: #fff; }
.bb-practice-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; max-width: 980px; margin-bottom: 34px; }
.bb-case-number { display: grid; place-items: center; width: 54px; height: 54px; background: var(--bb-blue); color: #fff; font-size: 18px; font-weight: 850; }
.bb-practice-intro h2 { margin: 0; }
.bb-practice-intro p { max-width: 760px; margin: 12px 0 0; color: var(--bb-muted); }
.bb-case-feature { display: grid; overflow: hidden; border: 1px solid var(--bb-line); box-shadow: 0 20px 50px rgba(13, 35, 48, .08); }
.bb-case-lead { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 520px; padding: clamp(30px, 5vw, 64px); overflow: hidden; background: var(--bb-dark); color: #fff; }
.bb-case-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bb-case-lead::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,31,43,.92) 0%, rgba(13,31,43,.76) 66%, rgba(13,31,43,.58) 100%); }
.bb-case-lead::after { content: ""; position: absolute; right: -80px; bottom: -110px; z-index: 1; width: 260px; height: 260px; border: 45px solid rgba(0, 166, 225, .16); border-radius: 50%; }
.bb-case-lead > :not(.bb-case-image) { position: relative; z-index: 2; }
.bb-case-kicker { margin: 0 0 24px; color: #9dddf5; font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.bb-case-lead blockquote { max-width: 620px; margin: 0; color: #fff; font-size: clamp(32px, 5vw, 58px); font-weight: 720; line-height: 1.02; }
.bb-case-lead > p:not(.bb-case-kicker) { max-width: 620px; margin: 26px 0 0; color: #d5e0e5; font-size: 18px; }
.bb-case-lead > strong { max-width: 620px; margin-top: 30px; padding-left: 16px; border-left: 4px solid var(--bb-blue); font-size: 18px; }
.bb-case-story { display: grid; margin: 0; padding: 0; background: #f3f7f9; list-style: none; }
.bb-case-story li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 26px; border-bottom: 1px solid var(--bb-line); }
.bb-case-story li:last-child { border-bottom: 0; }
.bb-case-story li > span { color: var(--bb-blue-dark); font-size: 14px; font-weight: 850; }
.bb-case-story strong { font-size: 17px; }
.bb-case-story p { margin: 6px 0 0; color: var(--bb-muted); }
.bb-case-story .is-conclusion { background: #dff3fb; }

.bb-cost-message { display: block; text-align: center; }
.bb-cost-message > div { max-width: none; margin: 0; }
.bb-cost-message h2 { max-width: 900px; margin: 0 auto; color: #fff; font-size: clamp(38px, 4.3vw, 58px); font-style: normal; line-height: 1.08; }
.bb-cost-breakdown { width: 100%; padding: 0; border: 0; background: transparent; }
.bb-cost-message ul { display: grid; gap: 12px; max-width: none; margin: 34px 0 0; padding: 0; list-style: none; }
.bb-cost-message li { display: flex; min-height: 104px; padding: 18px 14px; border: 1px solid rgba(255,255,255,.18); border-top: 3px solid var(--bb-blue); align-items: center; justify-content: flex-start; flex-direction: column; gap: 12px; background: rgba(255,255,255,.055); font-size: 16px; line-height: 1.3; text-align: center; }
.bb-cost-message li::before { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; background: #b95c5c; color: #fff; content: "×"; font-size: 19px; font-weight: 750; line-height: 1; }
.bb-cost-claim { display: block; max-width: 900px; margin: 0 auto; padding: 0; border: 0; background: transparent; color: #fff; box-shadow: none; font-size: clamp(38px, 4.3vw, 58px); font-weight: 730; line-height: 1.08; }
.bb-cost-claim::before { content: none; }
.bb-cost-message .button { display: inline-flex; width: max-content; margin: 30px auto 0; }

.bb-cases { padding-top: 48px; background: var(--bb-soft); }
.bb-cases .bb-section-heading { max-width: 900px; margin: 0 auto 38px; text-align: center; }
.bb-cases .bb-section-heading p { max-width: 760px; margin: 14px auto 0; }
.bb-services .bb-section-heading { max-width: 900px; margin-right: auto; margin-left: auto; text-align: center; }
.bb-audiences .bb-section-heading { max-width: 980px; margin: 0 auto 38px; text-align: center; }
.bb-audiences .bb-section-heading p { max-width: 820px; margin: 16px auto 0; color: var(--bb-muted); font-size: 18px; }
.bb-case-grid article { padding: 28px; background: #fff; border-bottom: 4px solid var(--bb-line); }
.bb-case-grid h3 { margin: 18px 0 12px; }
.bb-case-grid article > p { margin: 0 0 20px; color: var(--bb-muted); line-height: 1.55; }
.bb-case-grid article > a { display: inline-block; margin-top: auto; }
.bb-case-grid dl { margin: 0 0 24px; }
.bb-case-grid dl div { padding: 12px 0; border-top: 1px solid var(--bb-line); }
.bb-case-grid dt { font-size: 13px; font-weight: 800; text-transform: uppercase; }
.bb-case-grid dd { margin: 4px 0 0; color: var(--bb-muted); }

.bb-why { background: var(--bb-dark); color: #fff; }
.bb-why .bb-section-heading { max-width: none; }
.bb-why h2 { color: #43c6f4; font-style: italic; }
.bb-why-grid article { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.2); }
.bb-why-grid strong { color: #fff; font-size: 22px; }
.bb-why-grid p { color: #c8d2d8; }

.bb-knowledge { background: #f7f9fa; }
.bb-knowledge-grid article { display: flex; min-height: 280px; flex-direction: column; padding: 28px; border: 1px solid var(--bb-line); background: #fff; }
.bb-knowledge-grid article > span { color: var(--bb-blue-dark); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bb-knowledge-grid article h3 { margin: 26px 0 12px; }
.bb-knowledge-grid article p { flex: 1; }
.bb-knowledge-grid article small { color: var(--bb-muted); font-weight: 750; }
.bb-config-link { align-self: center; color: #fff; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.bb-mobile-cta { display: none; }

.bb-audiences,
.bb-documentation,
.bb-setup { background: var(--bb-soft); }
.bb-audiences { padding-top: 48px; }
.bb-setup .bb-two-col { align-items: center; }
.bb-audience-grid,
.bb-price-grid,
.bb-doc-grid { display: grid; gap: 1px; background: var(--bb-line); border: 1px solid var(--bb-line); }
.bb-audience-grid article,
.bb-price-grid article,
.bb-doc-grid article { min-width: 0; padding: 28px; background: #fff; }
.bb-audience-grid article { position: relative; min-height: 310px; padding: 34px 34px 30px; border-top: 5px solid var(--bb-line); }
.bb-audience-grid article:first-child { border-top-color: var(--bb-blue); }
.bb-audience-grid article:last-child { border-top-color: var(--bb-blue-dark); }
.bb-audience-grid article > span { display: inline-block; margin-bottom: 24px; letter-spacing: .08em; text-transform: uppercase; }
.bb-audience-grid h3 { max-width: 470px; margin: 0 0 24px; font-size: clamp(23px, 2.2vw, 31px); line-height: 1.16; }
.bb-audience-grid ul { display: grid; gap: 12px; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--bb-line); list-style: none; }
.bb-audience-grid li { position: relative; padding-left: 24px; color: var(--bb-muted); }
.bb-audience-grid li::before { position: absolute; left: 0; color: var(--bb-blue-dark); content: "✓"; font-weight: 850; }
.bb-price-grid article { display: grid; grid-template-rows: auto auto 1fr auto auto; align-content: start; min-height: 360px; padding: 32px 28px 28px; }
.bb-audience-grid article > span,
.bb-price-grid article > span { color: var(--bb-blue-dark); font-size: 14px; font-weight: 800; }
.bb-price-grid h3 { margin: 6px 0 22px; line-height: 1.15; }
.bb-price-grid article > p { margin: 0; line-height: 1.5; }
.bb-price-grid article > strong,
.bb-price-grid article > small { display: block; }
.bb-price-grid article > strong { align-self: end; margin-top: 28px; color: var(--bb-blue-dark); font-size: 20px; line-height: 1.2; }
.bb-price-grid article > small { margin-top: 6px; color: var(--bb-muted); }

.bb-process ol { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--bb-line); border: 1px solid var(--bb-line); }
.bb-process li { min-height: 104px; padding: 22px; background: #fff; font-weight: 700; }
.bb-process li span { display: block; margin-bottom: 8px; color: var(--bb-blue-dark); font-size: 13px; }
.bb-process .bb-section-heading { max-width: 900px; margin-right: auto; margin-left: auto; text-align: center; }
.bb-process .bb-actions { justify-content: center; }

.bb-travel { text-align: center; }
.bb-travel .bb-section-heading { max-width: 820px; margin-inline: auto; }
.bb-travel .eyebrow { justify-content: center; margin-bottom: 18px; font-size: 16px; letter-spacing: .12em; }
.bb-travel h2 { max-width: 760px; margin-inline: auto; }
.bb-travel > p { max-width: 920px; margin: 18px auto 0; font-size: 18px; line-height: 1.65; }

.bb-config-section { background: #f5f7f8; }
.bb-config-intro { max-width: 760px; margin-bottom: 36px; }
.bb-configurator { display: grid; gap: 28px; align-items: start; }
.bb-config-controls { min-width: 0; }
.bb-config-intro { width: 100%; max-width: none; text-align: center; }
.bb-config-intro h2 { max-width: 920px; margin-inline: auto; }
.bb-config-intro p { max-width: 760px; margin: 14px auto 0; color: var(--bb-muted); font-size: 17px; }
.bb-choice-group,
.bb-project-data { margin: 0 0 18px; padding: 22px; border: 1px solid var(--bb-line); background: #fff; }
.bb-choice-group legend,
.bb-project-data h3 { padding: 0 8px; font-size: 19px; font-weight: 750; }
.bb-choice-group legend span,
.bb-project-data h3 span { display: inline-grid; width: 30px; height: 30px; margin-right: 8px; place-items: center; background: var(--bb-blue); color: #fff; font-size: 14px; }
.bb-size-options,
.bb-doc-options,
.bb-addon-list,
.bb-special-list,
.bb-segments { display: grid; gap: 10px; }
.bb-size-options label,
.bb-doc-options label,
.bb-addon-list label,
.bb-special-list label,
.bb-segments label { position: relative; cursor: pointer; }
.bb-size-options input,
.bb-doc-options input,
.bb-addon-list input,
.bb-special-list input,
.bb-segments input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bb-size-options label > span,
.bb-doc-options label > span,
.bb-addon-list label > span,
.bb-segments label > span,
.bb-special-list label { display: block; min-height: 58px; padding: 14px 14px 14px 46px; border: 2px solid var(--bb-line); background: #fff; }
.bb-segments label { height: 100%; }
.bb-segments label > span { display: flex; min-height: 78px; height: 100%; align-items: center; }
.bb-addon-list label > span { min-height: 0; padding-top: 10px; padding-bottom: 10px; }
.bb-addon-list label > span::before { top: 14px; }
.bb-size-options label > span::before,
.bb-doc-options label > span::before,
.bb-addon-list label > span::before,
.bb-segments label > span::before,
.bb-special-list label::before { content: ""; position: absolute; left: 16px; top: 19px; width: 18px; height: 18px; border: 2px solid #64727c; background: #fff; }
.bb-size-options label > span::before,
.bb-doc-options label > span::before,
.bb-segments label > span::before { border-radius: 50%; }
.bb-size-options input:checked + span,
.bb-doc-options input:checked + span,
.bb-addon-list input:checked + span,
.bb-segments input:checked + span,
.bb-special-list label:has(input:checked) { border-color: var(--bb-blue-dark); background: #eaf7fc; }
.bb-size-options input:checked + span::before,
.bb-doc-options input:checked + span::before,
.bb-addon-list input:checked + span::before,
.bb-segments input:checked + span::before,
.bb-special-list label:has(input:checked)::before { content: "✓"; display: grid; place-items: center; border-color: var(--bb-blue-dark); background: var(--bb-blue-dark); color: #fff; font-size: 12px; font-weight: 800; }
.bb-size-options input:focus-visible + span,
.bb-doc-options input:focus-visible + span,
.bb-addon-list input:focus-visible + span,
.bb-segments input:focus-visible + span,
.bb-special-list input:focus-visible ~ * { outline: 3px solid #ffbf47; outline-offset: 2px; }
.bb-size-options b { display: inline-grid; min-width: 28px; margin-right: 8px; color: var(--bb-blue-dark); }
.bb-size-options strong,
.bb-doc-options strong,
.bb-addon-list strong { display: block; }
.bb-size-options small,
.bb-doc-options small,
.bb-addon-list small,
.bb-special-list small { display: block; margin-top: 4px; color: var(--bb-muted); }
.bb-field-note { margin: 12px 0 0; color: var(--bb-muted); font-size: 14px; }
.bb-duration-claim { margin: 2px 0 18px; color: var(--bb-ink); font-size: 17px; }
.bb-duration-claim strong { color: var(--bb-blue-dark); }
.bb-duration-options { align-items: stretch; grid-auto-rows: 1fr; }
.bb-duration-options label { height: 100%; }
.bb-duration-options label > span { display: grid; min-height: 70px; height: 100%; padding: 0; grid-template-rows: 70px; border-width: 1px; border-top: 5px solid #cbd6dd; }
.bb-duration-options strong { display: flex; min-width: 0; margin: 0; padding: 18px 12px 14px 44px; align-items: flex-start; color: var(--bb-ink); border-bottom: 1px solid var(--bb-line); font-size: 17px; line-height: 1.2; }
.bb-duration-options small { display: flex; min-width: 0; margin: 0; padding: 10px 12px; align-items: center; justify-content: center; background: #f1f5f7; color: var(--bb-blue-dark); font-size: 11px; font-weight: 760; line-height: 1.25; text-align: center; }
.bb-duration-options label > span::before { top: 19px; }
.bb-duration-options input:checked + span { border-color: var(--bb-blue-dark); border-top-color: var(--bb-blue); background: #f4fbfe; }
.bb-duration-options input:checked + span small { background: #e1f2f9; }
.bb-duration-note { margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid var(--bb-blue); background: var(--bb-soft); color: var(--bb-muted); font-size: 13px; line-height: 1.45; }

/* Projektgrößen: ausführliche Vergleichskarten */
.bb-size-group { min-width: 0; }
.bb-size-intro { max-width: 880px; margin: 2px 0 22px; color: var(--bb-muted); }
.bb-size-options { align-items: stretch; grid-auto-rows: 1fr; }
.bb-size-card { display: flex; min-width: 0; height: auto; align-self: stretch; }
.bb-size-options .bb-size-card > span { display: flex; min-width: 0; min-height: 0; flex: 1 1 auto; padding: 0; flex-direction: column; border-width: 1px; }
.bb-size-card span,
.bb-size-card strong,
.bb-size-card small { min-width: 0; overflow-wrap: anywhere; word-break: normal; hyphens: auto; }
.bb-size-card > span::before { display: none; }
.bb-size-card-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; min-height: 82px; padding: 17px 16px 13px; border-top: 5px solid #cbd6dd; border-bottom: 1px solid var(--bb-line); }
.bb-size-card-head b { grid-row: 1 / span 2; min-width: 38px; margin: 0; color: var(--bb-blue-dark); font-size: 25px; line-height: 1; }
.bb-size-card-head strong { padding-right: 0; color: var(--bb-ink); font-size: 25px; line-height: 1.1; }
.bb-card-state { grid-column: 1; color: var(--bb-muted); font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bb-card-state::before { content: ""; }
.bb-size-card input:checked + span::before { content: none; display: none; }
.bb-size-card input:checked + span .bb-size-card-head { border-top-color: var(--bb-blue); }
.bb-size-card input:checked + span .bb-card-state { color: var(--bb-blue-dark); }
.bb-size-card input:checked + span .bb-card-state::before,
.bb-individual-option input:checked + span .bb-card-state::before { content: "Ausgewählt"; }
.bb-card-section { display: block; padding: 16px; }
.bb-size-card > span > .bb-card-section:not(.bb-card-services) { min-height: 142px; }
.bb-card-section > small,
.bb-card-facts small { display: block; margin: 0 0 7px; color: var(--bb-blue-dark); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.bb-card-section > span { display: block; color: var(--bb-ink); font-size: 14px; line-height: 1.52; }
.bb-card-facts { display: grid; gap: 0; border-block: 1px solid var(--bb-line); }
.bb-card-facts > span { display: block; min-height: 96px; padding: 14px 16px; }
.bb-card-facts > span + span { border-top: 1px solid var(--bb-line); }
.bb-card-facts strong { display: block; color: var(--bb-ink); font-size: 14px; line-height: 1.42; }
.bb-card-services { flex: 1; }
.bb-card-services > span { position: relative; max-width: 100%; padding: 4px 0 4px 19px; }
.bb-card-services > span::before { content: "✓"; position: absolute; left: 0; top: 4px; color: var(--bb-blue-dark); font-weight: 800; }
.bb-card-note { display: block; margin: 0 18px 16px; padding: 12px; background: var(--bb-soft); color: var(--bb-muted); font-size: 12px; line-height: 1.45; }
.bb-card-action { display: flex; min-height: 70px; margin: auto 18px 18px; padding: 13px 12px; align-items: center; justify-content: center; border: 1px solid var(--bb-blue-dark); color: var(--bb-blue-dark); font-size: 14px; font-weight: 800; text-align: center; }
.bb-size-card:hover .bb-card-action,
.bb-size-card input:checked + span .bb-card-action { background: var(--bb-blue-dark); color: #fff; }
.bb-rebar-note { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--bb-blue); background: var(--bb-soft); color: var(--bb-muted); font-size: 13px; line-height: 1.5; }
.bb-rebar-note strong { color: var(--bb-ink); }
.bb-individual-option { position: relative; display: block; margin-top: 18px; cursor: pointer; }
.bb-individual-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bb-individual-option > span { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; min-height: 96px; align-items: center; padding: 18px 20px; border: 2px solid var(--bb-blue-dark); border-top: 5px solid var(--bb-blue); background: #f4fbfe; }
.bb-individual-option b { display: grid; width: 42px; height: 42px; place-items: center; background: var(--bb-blue-dark); color: #fff; font-size: 24px; }
.bb-individual-option strong,
.bb-individual-option small { display: block; }
.bb-individual-option strong { color: var(--bb-ink); font-size: 20px; }
.bb-individual-option small { max-width: 850px; margin-top: 5px; color: var(--bb-muted); line-height: 1.45; }
.bb-individual-option input:checked + span { border-color: var(--bb-blue-dark); background: #eaf7fc; }
.bb-individual-option input:focus-visible + span { outline: 3px solid #ffbf47; outline-offset: 2px; }
.bb-doc-options { align-items: stretch; }
.bb-doc-options label { display: flex; min-width: 0; }
.bb-doc-options label > span { min-width: 0; flex: 1 1 auto; padding-top: 18px; padding-bottom: 18px; overflow-wrap: anywhere; }
.bb-doc-options label > span > strong { color: var(--bb-ink); font-size: 19px; }
.bb-doc-options label > span > small { min-height: 42px; margin-top: 5px; line-height: 1.45; }
.bb-doc-services { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--bb-line); }
.bb-doc-services b { display: block; margin-bottom: 7px; color: var(--bb-blue-dark); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.bb-doc-services > span { position: relative; display: block; padding: 4px 0 4px 19px; color: var(--bb-ink); font-size: 14px; line-height: 1.45; }
.bb-doc-services > span::before { content: "✓"; position: absolute; left: 0; top: 4px; color: var(--bb-blue-dark); font-weight: 800; }
.bb-doc-note { margin: 12px 0 0; padding: 11px 13px; border-left: 3px solid var(--bb-blue); background: var(--bb-soft); color: var(--bb-muted); font-size: 13px; line-height: 1.45; }
.bb-control-claim { margin: 2px 0 18px; color: var(--bb-ink); font-size: 21px; font-weight: 750; line-height: 1.35; }
.bb-control-claim strong { color: var(--bb-blue-dark); }
.bb-control-options { align-items: stretch; }
.bb-control-options label { min-width: 0; }
.bb-control-options label > span { display: flex; min-width: 0; min-height: 184px; height: 100%; padding: 18px 14px 16px 46px; align-items: flex-start; flex-direction: column; }
.bb-control-options strong,
.bb-control-options b,
.bb-control-options small,
.bb-control-options em { display: block; min-width: 0; overflow-wrap: anywhere; }
.bb-control-options strong { color: var(--bb-ink); font-size: 17px; line-height: 1.25; }
.bb-control-options b { margin-top: 14px; color: var(--bb-blue-dark); font-size: 18px; line-height: 1.2; }
.bb-control-options small { margin-top: 7px; color: var(--bb-muted); font-size: 12px; line-height: 1.35; }
.bb-control-options em { margin-top: auto; padding-top: 12px; color: #19713b; font-size: 12px; font-style: normal; font-weight: 800; }
.bb-control-explanation { margin-top: 18px; padding: 18px 20px; border-left: 4px solid var(--bb-blue); background: var(--bb-soft); }
.bb-control-explanation strong { color: var(--bb-blue-dark); font-size: 20px; }
.bb-control-explanation p { margin: 8px 0 0; color: var(--bb-muted); line-height: 1.55; }
.bb-all-in { display: grid; gap: 28px; margin: 0 0 18px; padding: 30px; border: 1px solid #bfd5e0; border-top: 6px solid var(--bb-blue); background: linear-gradient(135deg, #f8fcfe 0%, #eaf5fa 100%); color: var(--bb-ink); box-shadow: 0 16px 38px rgba(24, 54, 70, .08); }
.bb-all-in span { display: inline-flex; width: fit-content; padding: 6px 10px; background: var(--bb-blue-dark); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.bb-all-in h3 { max-width: 650px; margin: 14px 0 10px; color: var(--bb-ink); font-size: 27px; line-height: 1.2; }
.bb-all-in p { max-width: 560px; margin: 0; color: var(--bb-muted); line-height: 1.5; }
.bb-all-in ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.bb-all-in li { position: relative; display: flex; min-width: 0; min-height: 52px; padding: 9px 7px 9px 35px; align-items: center; border: 1px solid #d5e3ea; background: rgba(255,255,255,.88); color: var(--bb-ink); font-size: 13px; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; }
.bb-all-in li::before { content: "✓"; position: absolute; left: 13px; display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: var(--bb-blue); color: #fff; font-size: 11px; font-weight: 800; }
.bb-addon-intro { max-width: 760px; margin: 2px 0 18px; color: var(--bb-muted); font-size: 14px; line-height: 1.5; }
.bb-addons-group .bb-addon-list { grid-template-columns: 1fr; margin-bottom: 10px; }
.bb-addon-list label > span,
.bb-special-list label { min-height: 108px; }
.bb-addon-list label > span { padding-top: 12px; padding-bottom: 12px; }
.bb-addon-list label > span::before { top: 16px; }
.bb-addon-list label b,
.bb-special-list label b { display: block; margin-top: 10px; color: var(--bb-blue-dark); font-size: 13px; }
.bb-addon-list label small,
.bb-special-list label small { margin-top: 5px; color: var(--bb-muted); font-size: 12px; line-height: 1.35; }
.bb-special-list { align-items: stretch; }
.bb-special-list label { height: 100%; }
.bb-special-list label > span { display: flex; min-height: 100%; flex-direction: column; }
.bb-special-list label > span b { margin-top: auto; padding-top: 10px; }
.bb-project-actions { display: grid; gap: 10px; margin-top: 18px; }
.bb-input-grid { display: grid; gap: 14px; }
.bb-input-grid label { font-size: 14px; font-weight: 700; }
.bb-input-grid input,
.bb-input-grid textarea { display: block; width: 100%; min-height: 48px; margin-top: 7px; padding: 11px 12px; border: 1px solid #8c9aa4; border-radius: 0; background: #fff; color: var(--bb-ink); font: inherit; }
.bb-input-grid textarea { min-height: 110px; resize: vertical; }

.bb-summary { padding: 20px; border: 1px solid var(--bb-line); border-top: 6px solid var(--bb-blue); background: #fff; color: var(--bb-ink); box-shadow: 0 18px 44px rgba(13, 35, 48, .1); }
.bb-summary h3 { margin: 0 0 12px; color: var(--bb-ink); font-size: 23px; }
.bb-summary dl { margin: 12px 0; border-top: 1px solid var(--bb-line); }
.bb-summary dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--bb-line); }
.bb-summary dt { color: var(--bb-muted); }
.bb-summary dd { margin: 0; color: var(--bb-ink); text-align: right; font-weight: 750; overflow-wrap: anywhere; }
.bb-price { margin: 0; padding: 14px 16px; border-left: 4px solid var(--bb-blue); background: #eaf7fc; }
.bb-price > span { display: block; margin-bottom: 5px; color: var(--bb-blue-dark); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.bb-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; }
.bb-price strong { color: var(--bb-ink); font-size: 42px; line-height: 1; }
.bb-price strong.is-individual { flex: 0 0 100%; font-size: 27px; line-height: 1.08; }
.bb-price small { color: var(--bb-muted); font-size: 14px; font-weight: 700; }
.bb-price p { margin: 10px 0 0; color: var(--bb-ink); font-size: 15px; font-weight: 750; }
.bb-price b { display: block; margin-top: 8px; color: #19713b; font-size: 14px; }
.bb-price .bb-duration-total { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--bb-line); color: var(--bb-blue-dark); font-size: 13px; font-weight: 800; }
.bb-summary-all-in { margin-top: 10px; padding: 11px 12px; border-left: 3px solid var(--bb-blue); background: var(--bb-soft); }
.bb-summary-all-in strong,
.bb-summary-all-in span { display: block; }
.bb-summary-all-in strong { color: var(--bb-blue-dark); font-size: 13px; }
.bb-summary-all-in span { margin-top: 4px; color: var(--bb-muted); font-size: 11px; line-height: 1.35; }
.bb-summary-addons { margin-top: 10px; border-block: 1px solid var(--bb-line); }
.bb-summary-addons summary { padding: 10px 0; color: var(--bb-ink); font-size: 13px; font-weight: 750; cursor: pointer; }
.bb-summary-addons p { max-height: 100px; margin: 0 0 10px; overflow: auto; color: var(--bb-muted); font-size: 11px; line-height: 1.45; }
.bb-separate-costs { padding: 9px 12px; background: var(--bb-soft); font-size: 13px; }
.bb-separate-costs p { margin: 5px 0; }
.bb-legal-note { margin: 9px 0; color: var(--bb-muted); font-size: 12px; line-height: 1.35; }
.bb-summary-actions { display: grid; gap: 8px; margin-top: 12px; }
.bb-summary .button { width: 100%; justify-content: center; text-align: center; }
.bb-outline { border: 1px solid currentColor; background: transparent; color: inherit; }
.bb-text-button { min-height: 44px; border: 0; background: transparent; color: #fff; text-decoration: underline; cursor: pointer; }
.bb-summary .bb-phone-link { border: 1px solid var(--bb-blue-dark); color: var(--bb-blue-dark); background: #fff; }
.bb-summary .bb-phone-link:hover { border-color: var(--bb-ink); color: var(--bb-ink); background: var(--bb-soft); }
.bb-status { min-height: 24px; margin: 14px 0 0; font-weight: 700; }
.bb-status[data-state="error"] { color: #ffd1d1; }
.bb-status[data-state="success"] { color: #bcecc8; }
.bb-floating-price { display: none; }

.bb-doc-grid ul,
.bb-first-check ul { padding-left: 20px; }
.bb-plan-label { color: var(--bb-blue-dark); font-weight: 750; }
.bb-smallprint { margin-top: 26px; color: var(--bb-muted); font-size: 14px; }
.bb-centered-action { justify-content: center; margin-top: 30px; }
.bb-first-check { background: var(--bb-dark); color: #fff; }
.bb-first-check h2,
.bb-first-check h3 { color: #fff; }
.bb-first-check > div:first-child { max-width: 790px; }
.bb-first-check-lists { display: grid; gap: 1px; margin-top: 34px; background: rgba(255,255,255,.18); }
.bb-first-check-lists article { padding: 26px; background: #31414c; }
.bb-first-check > .bb-smallprint { margin-top: 24px; padding: 15px 18px; border-left: 4px solid var(--bb-blue); background: rgba(255,255,255,.08); color: #fff; font-size: 16px; font-weight: 750; }
.bb-region { display: grid; gap: 24px; padding-top: 44px; padding-bottom: 44px; border-block: 1px solid var(--bb-line); background: #f2f5f7; }
.bb-region h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); }
.bb-region p { max-width: 720px; margin: 0; color: var(--bb-muted); font-size: 16px; line-height: 1.6; }
.bb-region-keyword { color: var(--bb-blue-dark); font-weight: 800; }
.bb-contact { display: grid; gap: 24px; background: var(--bb-dark); color: #fff; }
.bb-contact h2 { color: #fff; }
.bb-contact .bb-actions { align-self: center; align-content: center; align-items: center; gap: 10px; margin-top: 0; }
.bb-contact .button { min-height: 46px; padding: 12px 18px; font-size: 15px; }
.bb-contact .bb-config-link { flex: 0 0 100%; margin-top: 4px; font-size: 14px; text-align: right; }
.bb-faq-group { border: 0; }
.bb-faq-toggle { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0; cursor: pointer; list-style: none; }
.bb-faq-toggle::-webkit-details-marker { display: none; }
.bb-faq-toggle h2 { margin: 0; }
.bb-faq-toggle-label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px; color: var(--bb-blue-dark); font-size: 15px; font-weight: 750; white-space: nowrap; }
.bb-faq-toggle-label i { position: relative; width: 32px; height: 32px; border: 1px solid var(--bb-blue-dark); border-radius: 50%; }
.bb-faq-toggle-label i::before,
.bb-faq-toggle-label i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform 320ms var(--template-ease); }
.bb-faq-toggle-label i::after { transform: translate(-50%, -50%) rotate(90deg); }
.bb-faq-group[open] .bb-faq-toggle-label i::after { transform: translate(-50%, -50%) rotate(0deg); }
.bb-faq-hide { display: none; }
.bb-faq-group[open] .bb-faq-show { display: none; }
.bb-faq-group[open] .bb-faq-hide { display: inline; }
.bb-faq-list { margin-top: 28px; border-top: 1px solid var(--bb-line); animation: bbFaqReveal 420ms var(--template-ease) both; }
.bb-faq-list details { border-bottom: 1px solid var(--bb-line); }
.bb-faq-list details > summary { position: relative; padding: 20px 48px 20px 0; cursor: pointer; font-size: 18px; font-weight: 750; list-style: none; }
.bb-faq-list details > summary::-webkit-details-marker { display: none; }
.bb-faq-list details > summary::after { content: "+"; position: absolute; right: 8px; top: 15px; font-size: 28px; font-weight: 400; }
.bb-faq-list details[open] > summary::after { content: "−"; }
.bb-faq-list details p { max-width: 850px; margin: 0 0 22px; color: var(--bb-blue-dark); }
@keyframes bbFaqReveal { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .bb-faq-toggle { align-items: flex-end; gap: 16px; }
  .bb-faq-toggle-label > span { display: none !important; }
  .bb-faq-toggle-label i { width: 38px; height: 38px; }
  .bb-faq-list { margin-top: 22px; }
}

.baubegleitung-teaser { display: grid; gap: 24px; align-items: center; background: #e8f0f4; border-top: 6px solid #00a3e0; }
.baubegleitung-teaser h2 { margin: 7px 0 14px; font-size: 34px; }
.baubegleitung-teaser p { max-width: 780px; }
.bb-related-link { padding-top: 18px; border-top: 1px solid #cbd6dd; }

@media (min-width: 640px) {
  .bb-trust { grid-template-columns: repeat(2, 1fr); }
  .bb-trust > div { border-right: 1px solid rgba(255,255,255,.16); }
  .bb-segments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-doc-options, .bb-addon-list, .bb-special-list, .bb-input-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-input-grid .bb-wide { grid-column: 1 / -1; }
  .bb-audience-grid, .bb-doc-grid, .bb-first-check-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-process ol, .bb-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .baubegleitung-teaser { grid-template-columns: minmax(0, 1fr) auto; }
  .bb-question-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bb-case-grid, .bb-why-grid, .bb-knowledge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .bb-size-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
  .bb-segments { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bb-duration-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bb-case-feature { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); }
}

@media (min-width: 900px) {
  .bb-hero { grid-template-columns: minmax(0, 1.8fr) minmax(300px, .8fr); }
  .bb-trust { grid-template-columns: repeat(4, 1fr); padding-inline: max(24px, calc((100vw - 1200px) / 2)); }
  .bb-trust > div { border-bottom: 0; }
  .bb-two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-process ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bb-price-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bb-region, .bb-contact { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .bb-contact .bb-actions { justify-content: end; }
  .bb-solution { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); }
  .bb-solution > h2 { grid-column: 1 / -1; }
  .bb-case-feature { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); }
  .bb-why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bb-why h2 { font-size: clamp(34px, 3.2vw, 46px); white-space: nowrap; }
  .bb-cost-message ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bb-cost-message li { padding-right: 18px; }
  .bb-all-in { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: center; }
  .bb-project-actions { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}

@media (min-width: 1080px) {
  .bb-configurator { grid-template-columns: minmax(0, 1.75fr) minmax(330px, .75fr); }
  .bb-size-group { grid-column: 1 / -1; }
  .bb-summary { position: sticky; top: 82px; max-height: calc(100vh - 96px); align-self: start; overflow: auto; }
  .bb-summary-actions { position: sticky; bottom: -20px; margin: 12px -8px -8px; padding: 10px 8px 8px; background: #fff; }
}

@media (min-width: 1200px) {
  .bb-hero h1 { font-size: 58px; }
  .baubegleitung-page h2 { font-size: 42px; }
  .bb-service-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bb-size-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bb-control-options { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bb-control-options label > span {
    display: grid;
    grid-template-rows: 66px 54px 46px 42px;
    min-height: 208px;
    padding: 0;
    border-width: 1px;
    border-top: 5px solid #cbd6dd;
  }
  .bb-control-options strong,
  .bb-control-options b,
  .bb-control-options small,
  .bb-control-options em {
    margin: 0;
    align-self: stretch;
    overflow-wrap: normal;
    white-space: nowrap;
  }
  .bb-control-options strong { display: flex; padding: 18px 8px 14px 40px; align-items: flex-start; border-bottom: 1px solid var(--bb-line); font-size: 15px; line-height: 1.25; }
  .bb-control-options b { display: flex; padding: 15px 11px 8px; align-items: center; color: var(--bb-blue-dark); font-size: 17px; line-height: 1.2; }
  .bb-control-options small { display: flex; padding: 6px 11px 12px; align-items: flex-start; border-bottom: 1px solid var(--bb-line); color: var(--bb-muted); font-size: 10px; line-height: 1.3; }
  .bb-control-options em { display: flex; padding: 10px 8px; align-items: center; justify-content: center; background: #edf8f1; color: #19713b; font-size: 11px; line-height: 1.2; text-align: center; }
  .bb-control-options em.is-note { background: #f1f5f7; color: var(--bb-blue-dark); }
  .bb-control-options label > span::before { top: 19px; }
  .bb-control-options input:checked + span { border-color: var(--bb-blue-dark); border-top-color: var(--bb-blue); background: #f4fbfe; }
}

@media (max-width: 1079px) {
  .bb-floating-price.is-visible { position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; min-height: 68px; padding: 8px max(12px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); align-items: center; border-top: 3px solid var(--bb-blue); background: rgba(255,255,255,.98); box-shadow: 0 -8px 28px rgba(15,31,42,.18); }
  .bb-floating-price > div { display: flex; min-width: 0; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
  .bb-floating-price strong { color: var(--bb-ink); font-size: 25px; line-height: 1; }
  .bb-floating-price small { color: var(--bb-muted); font-size: 12px; font-weight: 700; }
  .bb-floating-price .button { min-height: 48px; padding: 10px 18px; }
}

@media (max-width: 639px) {
  .baubegleitung-page { padding-bottom: 82px; }
  .bb-breadcrumb { padding-top: 82px; padding-bottom: 11px; font-size: 12px; }
  .bb-hero { min-height: max(680px, 100svh); padding-top: 82px; }
  .bb-hero h1 { font-size: 38px; }
  .bb-lead { font-size: 19px; }
  .bb-hero > .bb-badge { justify-self: start; transform: none; }
  .bb-badge { width: auto; gap: 0; }
  .bb-badge::before,
  .bb-badge::after { display: none; }
  .bb-badge span { font-size: clamp(28px, 9vw, 34px); text-align: left; }
  .bb-badge small { width: 100%; padding: 0 0 0 38px; border-left: 0; font-size: 11px; letter-spacing: .08em; }
  .bb-campaign-label { gap: 9px; font-size: 12px; }
  .bb-campaign-label::before { width: 24px; }
  .bb-section, .bb-config-section, .bb-first-check, .bb-region, .bb-contact, .bb-solution, .bb-cost-message, .baubegleitung-teaser { padding-block: 54px; }
  .bb-cost-message h2 { margin-bottom: 24px; font-size: 27px; }
  .bb-cost-breakdown { padding: 0; }
  .bb-cost-claim { font-size: 30px; }
  .bb-cost-message li { min-height: 0; padding: 15px 16px; justify-content: flex-start; flex-direction: row; text-align: left; }
  .bb-case-lead { min-height: 430px; }
  .bb-choice-group, .bb-project-data, .bb-summary { padding: 18px; }
  .bb-size-group { padding-inline: 12px; }
  .bb-size-card-head { min-height: 76px; }
  .bb-individual-option > span { grid-template-columns: auto minmax(0, 1fr); }
  .bb-individual-option .bb-card-state { grid-column: 2; }
  .bb-price strong { font-size: 30px; }
  .bb-actions .button { width: 100%; text-align: center; justify-content: center; }
  .bb-solution-action { width: 100%; justify-content: center; text-align: center; }
  .bb-photo-placeholder > div { min-height: 300px; }
  .bb-mobile-cta { position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.45fr .55fr; gap: 1px; padding: 8px max(10px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 28px rgba(15,31,42,.18); }
  .bb-mobile-cta a { display: grid; min-height: 50px; place-items: center; padding: 9px 12px; background: var(--bb-blue); color: #fff; font-size: 14px; font-weight: 800; text-align: center; text-decoration: none; }
  .bb-mobile-cta a:last-child { background: var(--bb-dark); }
  .bb-all-in ul { grid-template-columns: 1fr; }
  .bb-control-options label > span { min-height: 154px; }
}

@media (max-width: 359px) {
  .bb-hero { padding-inline: 18px; }
  .bb-hero h1 { font-size: 34px; }
  .baubegleitung-page h2, .baubegleitung-teaser h2 { font-size: 29px; }
  .bb-section, .bb-config-section, .bb-first-check, .bb-region, .bb-contact, .baubegleitung-teaser { padding-inline: 18px; }
  .bb-choice-group legend, .bb-project-data h3 { font-size: 17px; }
}

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

/* Homepage refinements: compact section rhythm and a clear company path. */
.home-template .industries-intro {
  display: block;
}

.home-template .why-intro {
  display: block;
}

.home-template .why-copy h2 {
  max-width: none;
  font-size: clamp(42px, 5vw, 70px);
}

.home-template .why-copy > p {
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.home-template .industries-copy {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(420px, 1.15fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: end;
}

.home-template .industries-copy h2 {
  max-width: 560px;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.06;
}

.home-template .industries-copy > p {
  max-width: 680px;
  margin: 0;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.58;
}

.home-template .industries-groups {
  margin-top: 38px;
}

.home-template .experience-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--template-blue, #009ee2);
  font-size: 17px;
  font-weight: 750;
  text-decoration: none;
}

.home-template .experience-link span {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: 1;
  transition: transform .2s ease;
}

.home-template .experience-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-template .experience-link:hover span {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .home-template .industries-copy {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-template .industries-copy > p {
    max-width: 720px;
  }
}

/* Keep Baubegleitung on the same visual scale as the rest of the site. */
.baubegleitung-page {
  --bb-blue: var(--blue, #009ee2);
  --bb-blue-dark: var(--blue-dark, #005f8e);
  --bb-ink: #17242d;
  --bb-muted: #65717b;
  --bb-soft: #f3f6f8;
  --bb-line: #d8e0e5;
  --bb-dark: #21323e;
}

.bb-hero h1 {
  max-width: 980px;
  font-size: var(--type-display, clamp(52px, 5vw, 72px));
  font-weight: var(--weight-display, 350);
  line-height: var(--leading-display, 1.02);
  letter-spacing: var(--tracking-display, -0.025em);
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.bb-lead {
  font-size: var(--type-lead, clamp(19px, 1.55vw, 23px));
  line-height: 1.5;
}

.baubegleitung-page h2,
.bb-section-heading h2 {
  font-size: var(--type-section, clamp(34px, 3.35vw, 48px));
  font-weight: 360;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.baubegleitung-page p,
.baubegleitung-page li {
  line-height: var(--leading-copy, 1.62);
}

@media (max-width: 760px) {
  .bb-hero h1 {
    font-size: var(--type-display-mobile, clamp(39px, 10.5vw, 47px));
    line-height: 1.04;
    letter-spacing: -0.022em;
  }

  .bb-lead {
    font-size: 19px;
    line-height: 1.52;
  }

  .baubegleitung-page h2,
  .bb-section-heading h2 {
    font-size: clamp(31px, 8.6vw, 39px);
  }
}

@media (max-width: 359px) {
  .bb-hero h1 { font-size: 35px; }
  .baubegleitung-page h2,
  .bb-section-heading h2 { font-size: 30px; }
}

/* Give the opening label more breathing room below the persistent header. */
@media (min-width: 900px) {
  .bb-hero {
    padding-top: 148px;
  }

  .bb-hero > .bb-badge {
    margin-bottom: 4px;
    transform: none;
  }
}
