:root,
[data-bs-theme=light] {
  --ar-primary: #0075bf;
  --ar-primary-rgb: 0, 117, 191;
  --bs-primary: #0075bf;
  --bs-primary-rgb: 0, 117, 191;
  --ar-secondary: #f2f0ed;
  --ar-secondary-rgb: 242, 240, 237;
  --bs-secondary: #f2f0ed;
  --bs-secondary-rgb: 242, 240, 237;
  --ar-warning: #ef7d00;
  --ar-warning-rgb: 239, 125, 0;
  --bs-warning: #ef7d00;
  --bs-warning-rgb: 239, 125, 0;
  --ar-info: #174a7c;
  --ar-info-rgb: 23, 74, 124;
  --bs-info: #174a7c;
  --bs-info-rgb: 23, 74, 124;
  --ar-success: #1f5f63;
  --ar-success-rgb: 31, 95, 99;
  --bs-success: #1f5f63;
  --bs-success-rgb: 31, 95, 99;
  --ar-danger: #ed5050;
  --ar-danger-rgb: 237, 80, 80;
  --bs-danger: #ed5050;
  --bs-danger-rgb: 237, 80, 80;
  --ar-light: #ffffff;
  --ar-light-rgb: 255, 255, 255;
  --bs-light: #ffffff;
  --bs-light-rgb: 255, 255, 255;
  --ar-dark: #1e2a30;
  --ar-dark-rgb: 30, 42, 48;
  --bs-dark: #1e2a30;
  --bs-dark-rgb: 30, 42, 48;
  --ar-link-color: #0075bf;
  --ar-link-hover-color: #005ca6;
  --bs-link-color: #0075bf;
  --bs-link-color-rgb: 0, 117, 191;
  --bs-link-hover-color: #005ca6;
  --ar-body-font-family: 'Source Sans 3', sans-serif;
  --ar-heading-font-family: 'Zilla Slab', serif;
  --ar-root-font-size: 1rem;
  --ar-body-font-size: 1rem;
  --ar-border-width: 1px;
  --ar-border-radius: 0.75rem;
  --ar-border-radius-sm: calc(var(--ar-border-radius) * 0.75);
  --ar-border-radius-lg: calc(var(--ar-border-radius) * 1);
  --ar-border-radius-xl: calc(var(--ar-border-radius) * 2);
  --ar-border-radius-xxl: calc(var(--ar-border-radius) * 2);
}
[data-bs-theme=light] {
  --ar-body-bg: #ffffff;
  --bs-body-bg: #ffffff;
  --ar-body-bg-rgb: 255, 255, 255;
  --bs-body-bg-rgb: 255, 255, 255;
  --ar-body-color: #1e2a30;
  --bs-body-color: #1e2a30;
  --ar-body-color-rgb: 30, 42, 48;
  --bs-body-color-rgb: 30, 42, 48;
  --ar-secondary-color: #4f5b63;
  --bs-secondary-color: #4f5b63;
  --ar-heading-color: #1e2a30;
  --bs-heading-color: #1e2a30;
  --ar-border-color: #e5e2de;
  --bs-border-color: #e5e2de;
}
[data-bs-theme=light] .card {
  --ar-card-bg: #f9f8f6;
}
.btn-primary {
  --booost-btn-color: #fff;
  --booost-btn-hover-color: #fff;
  --ar-btn-bg: #0075bf;
  --ar-btn-border-color: #0075bf;
  --ar-btn-hover-bg: #005ca6;
  --ar-btn-hover-border-color: #005ca6;
  --ar-btn-active-bg: #005ca6;
  --ar-btn-active-border-color: #005ca6;
  --ar-btn-disabled-bg: #0075bf;
  --ar-btn-disabled-border-color: #0075bf;
}
.btn-outline-primary {
  --ar-btn-color: #0075bf;
  --ar-btn-border-color: #0075bf;
  --ar-btn-hover-bg: #0075bf;
  --ar-btn-hover-border-color: #0075bf;
  --ar-btn-active-bg: #0075bf;
  --ar-btn-active-border-color: #0075bf;
  --ar-btn-disabled-color: #0075bf;
  --ar-btn-disabled-border-color: #0075bf;
}
.btn-secondary {
  --booost-btn-color: #121519;
  --booost-btn-hover-color: #121519;
  --ar-btn-bg: #f2f0ed;
  --ar-btn-border-color: #f2f0ed;
  --ar-btn-hover-bg: #d9d7d4;
  --ar-btn-hover-border-color: #d9d7d4;
  --ar-btn-active-bg: #d9d7d4;
  --ar-btn-active-border-color: #d9d7d4;
  --ar-btn-disabled-bg: #f2f0ed;
  --ar-btn-disabled-border-color: #f2f0ed;
}
.btn-outline-secondary {
  --ar-btn-color: #f2f0ed;
  --ar-btn-border-color: #f2f0ed;
  --ar-btn-hover-bg: #f2f0ed;
  --ar-btn-hover-border-color: #f2f0ed;
  --ar-btn-active-bg: #f2f0ed;
  --ar-btn-active-border-color: #f2f0ed;
  --ar-btn-disabled-color: #f2f0ed;
  --ar-btn-disabled-border-color: #f2f0ed;
}
.btn-warning {
  --booost-btn-color: #121519;
  --booost-btn-hover-color: #121519;
  --ar-btn-bg: #ef7d00;
  --ar-btn-border-color: #ef7d00;
  --ar-btn-hover-bg: #d66400;
  --ar-btn-hover-border-color: #d66400;
  --ar-btn-active-bg: #d66400;
  --ar-btn-active-border-color: #d66400;
  --ar-btn-disabled-bg: #ef7d00;
  --ar-btn-disabled-border-color: #ef7d00;
}
.btn-outline-warning {
  --ar-btn-color: #ef7d00;
  --ar-btn-border-color: #ef7d00;
  --ar-btn-hover-bg: #ef7d00;
  --ar-btn-hover-border-color: #ef7d00;
  --ar-btn-active-bg: #ef7d00;
  --ar-btn-active-border-color: #ef7d00;
  --ar-btn-disabled-color: #ef7d00;
  --ar-btn-disabled-border-color: #ef7d00;
}
.btn-info {
  --booost-btn-color: #fff;
  --booost-btn-hover-color: #fff;
  --ar-btn-bg: #174a7c;
  --ar-btn-border-color: #174a7c;
  --ar-btn-hover-bg: #003163;
  --ar-btn-hover-border-color: #003163;
  --ar-btn-active-bg: #003163;
  --ar-btn-active-border-color: #003163;
  --ar-btn-disabled-bg: #174a7c;
  --ar-btn-disabled-border-color: #174a7c;
}
.btn-outline-info {
  --ar-btn-color: #174a7c;
  --ar-btn-border-color: #174a7c;
  --ar-btn-hover-bg: #174a7c;
  --ar-btn-hover-border-color: #174a7c;
  --ar-btn-active-bg: #174a7c;
  --ar-btn-active-border-color: #174a7c;
  --ar-btn-disabled-color: #174a7c;
  --ar-btn-disabled-border-color: #174a7c;
}
.btn-success {
  --booost-btn-color: #fff;
  --booost-btn-hover-color: #fff;
  --ar-btn-bg: #1f5f63;
  --ar-btn-border-color: #1f5f63;
  --ar-btn-hover-bg: #06464a;
  --ar-btn-hover-border-color: #06464a;
  --ar-btn-active-bg: #06464a;
  --ar-btn-active-border-color: #06464a;
  --ar-btn-disabled-bg: #1f5f63;
  --ar-btn-disabled-border-color: #1f5f63;
}
.btn-outline-success {
  --ar-btn-color: #1f5f63;
  --ar-btn-border-color: #1f5f63;
  --ar-btn-hover-bg: #1f5f63;
  --ar-btn-hover-border-color: #1f5f63;
  --ar-btn-active-bg: #1f5f63;
  --ar-btn-active-border-color: #1f5f63;
  --ar-btn-disabled-color: #1f5f63;
  --ar-btn-disabled-border-color: #1f5f63;
}
.btn-danger {
  --booost-btn-color: #fff;
  --booost-btn-hover-color: #fff;
  --ar-btn-bg: #ed5050;
  --ar-btn-border-color: #ed5050;
  --ar-btn-hover-bg: #d43737;
  --ar-btn-hover-border-color: #d43737;
  --ar-btn-active-bg: #d43737;
  --ar-btn-active-border-color: #d43737;
  --ar-btn-disabled-bg: #ed5050;
  --ar-btn-disabled-border-color: #ed5050;
}
.btn-outline-danger {
  --ar-btn-color: #ed5050;
  --ar-btn-border-color: #ed5050;
  --ar-btn-hover-bg: #ed5050;
  --ar-btn-hover-border-color: #ed5050;
  --ar-btn-active-bg: #ed5050;
  --ar-btn-active-border-color: #ed5050;
  --ar-btn-disabled-color: #ed5050;
  --ar-btn-disabled-border-color: #ed5050;
}
.btn-light {
  --booost-btn-color: #121519;
  --booost-btn-hover-color: #121519;
  --ar-btn-bg: #ffffff;
  --ar-btn-border-color: #ffffff;
  --ar-btn-hover-bg: #e6e6e6;
  --ar-btn-hover-border-color: #e6e6e6;
  --ar-btn-active-bg: #e6e6e6;
  --ar-btn-active-border-color: #e6e6e6;
  --ar-btn-disabled-bg: #ffffff;
  --ar-btn-disabled-border-color: #ffffff;
}
.btn-outline-light {
  --ar-btn-color: #ffffff;
  --ar-btn-border-color: #ffffff;
  --ar-btn-hover-bg: #ffffff;
  --ar-btn-hover-border-color: #ffffff;
  --ar-btn-active-bg: #ffffff;
  --ar-btn-active-border-color: #ffffff;
  --ar-btn-disabled-color: #ffffff;
  --ar-btn-disabled-border-color: #ffffff;
}
.btn-dark {
  --booost-btn-color: #fff;
  --booost-btn-hover-color: #fff;
  --ar-btn-bg: #1e2a30;
  --ar-btn-border-color: #1e2a30;
  --ar-btn-hover-bg: #051117;
  --ar-btn-hover-border-color: #051117;
  --ar-btn-active-bg: #051117;
  --ar-btn-active-border-color: #051117;
  --ar-btn-disabled-bg: #1e2a30;
  --ar-btn-disabled-border-color: #1e2a30;
}
.btn-outline-dark {
  --ar-btn-color: #1e2a30;
  --ar-btn-border-color: #1e2a30;
  --ar-btn-hover-bg: #1e2a30;
  --ar-btn-hover-border-color: #1e2a30;
  --ar-btn-active-bg: #1e2a30;
  --ar-btn-active-border-color: #1e2a30;
  --ar-btn-disabled-color: #1e2a30;
  --ar-btn-disabled-border-color: #1e2a30;
}
.accordion-button:not(.collapsed)::after {
  --ar-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='%230075bf'%3e%3cpath%20d='M.5%206.3c.6-.6%201.6-.6%202.3%200l9.3%209.3%209.3-9.3c.6-.6%201.6-.6%202.3%200%20.6.6.6%201.6%200%202.3L13.3%2018.8c-.6.6-1.6.6-2.3%200L.8%208.5c-.9-.8-.9-1.6-.3-2.2z'/%3e%3c/svg%3e");
}
/* booost.at - logo B "Anlauf" in Zilla Slab (2026-10-05; design from the moodboard 2026-09-30).
   Stored in booost.theme_custom_css by specs/set_design.py (and
   create_content.py); regenerate_theme_css appends it to the generated
   customizer CSS. Only what the booost.theme_* records cannot express. */

/* grey section ground: the theme paints .bg-secondary (and the accordion,
   step numbers, disabled inputs) with --ar-gray-100, which the customizer
   does not derive from theme_secondary - set it to the same grey. Light mode
   only: in dark mode (site toggle on <html>, or a dark tile) the theme's own
   dark surfaces apply - every colour here must work in both modes */
:root:not([data-bs-theme=dark]),
[data-bs-theme=light] {
  --ar-gray-100: #f2f0ed;
  --ar-secondary-bg: #f2f0ed;
  --bs-secondary-bg: #f2f0ed;
}

/* cards are paper (theme_card_bg) on the white page, white on the grey
   ground and as the highlighted pricing card */
[data-bs-theme=light] .bg-secondary .card,
[data-bs-theme=light] .card.border-warning {
  --ar-card-bg: #ffffff;
}

/* Zilla Slab headings set tight, as on the moodboard (theme: 1.3) */
h1, .h1, h2, .h2,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h3, .h3, h4, .h4 {
  line-height: 1.2;
}

/* hero: orange text on the blue primary ground is ~2:1 - the accent word turns white there */
.bg-primary .booost-hero-accent { color: #ffffff !important; }

/* ---- Feinschliff 2026-10-05: one rhythm, one alignment, figures dark ---- */

/* navigation, breadcrumb and accordion stay dark - blue is a surface (logo,
   hero, buttons, icon squares, step discs, one highlighted card), never text.
   The current page is marked with an orange hairline (a surface, never
   orange text) */
.navbar {
  --ar-navbar-hover-color: var(--ar-heading-color);
  --ar-navbar-active-color: var(--ar-heading-color);
}
@media (min-width: 992px) {
  .navbar-nav .nav-link.active {
    text-decoration: underline 2px var(--ar-warning);
    text-underline-offset: 0.6em;
  }
}
.breadcrumb { --ar-breadcrumb-item-active-color: var(--ar-heading-color); }
.accordion {
  --ar-accordion-btn-color: var(--ar-heading-color);
  --ar-accordion-active-color: var(--ar-heading-color);
}
/* the open chevron too (the customizer bakes the primary blue into the
   active icon's data URL) */
.accordion-button:not(.collapsed)::after { background-image: var(--ar-accordion-btn-icon); }

/* eyebrows (tile subheading, CTA subtitle; the classes come from the
   subheading_css_class / cta_subtitle_css_class records): the hero's
   letter-spaced small caps in the body font, close to their heading */
.booost-eyebrow {
  font-family: var(--ar-body-font-family);
  letter-spacing: 0.12em;
  line-height: 1.4;
}
.tile-subheading.booost-eyebrow {
  padding-bottom: 0 !important;
  margin-bottom: 0.75rem !important;
}

/* links in running text on a blue band (closing CTAs, hero): white and
   underlined, never blue on blue. Orange is no longer a band (2026-10-05) */
.bg-primary a:not(.btn) {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.bg-primary a:not(.btn):hover { color: #ffffff; text-decoration-thickness: 2px; }

/* a CTA with a picture (text + image columns): stacked on the phone the
   button needs air before the image */
@media (max-width: 767.98px) {
  .mosaic-booost\.tiles\.cta-tile .row > [class*="col-md-"] + [class*="col-md-"] { margin-top: 2rem; }
}

/* paper surface for a box on the white page (counter band) */
.booost-paper { background-color: var(--ar-card-bg); }

/* pricing cards: one alignment (left), the badge on the card's top edge so
   it pushes nothing down, the button at the foot - title, price, period,
   description, list and button line up across the row */
.card-pricing { position: relative; }
.card-pricing > .card-body {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.card-pricing.border-2 > .card-body { padding: calc(1.5rem - 1px) !important; }
.card-pricing > .card-body > .badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 !important;
  padding: 0.45em 1em;
  border-radius: 50rem;
  white-space: nowrap;
}
.card-pricing .card-title { margin: 0 0 0.75rem !important; }
.card-pricing [data-edit-target="price"] { line-height: 1; margin-bottom: 0.75rem; }
.card-pricing [data-edit-target="price"] > span { line-height: 1; }
.card-pricing .card-text { margin-bottom: 1.5rem; }
.card-pricing .card-text > p.fs-sm { margin-bottom: 1rem; }
.card-pricing .card-text > :last-child { margin-bottom: 0; }
.card-pricing > .card-body > .btn { margin-top: auto; }
/* a plan without the "Alles aus …, plus:" line keeps its list level with
   the neighbours that have one */
@media (min-width: 768px) {
  .price-switch-wrapper:has(.card-text > p.fw-semibold) .card-text > p:first-child + ul {
    margin-top: calc(1rem + 1.5em + 0.5rem);
  }
}
/* side by side, the cards share their rows (CSS subgrid down the mosaic
   wrappers): a period line that wraps in one card - "einmalig ab, je nach
   Umfang · …" - or a longer list moves the same row in all of them, and
   the cards end level */
@media (min-width: 768px) {
  .price-switch-wrapper.mosaic-grid-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .price-switch-wrapper > .mosaic-grid-cell { width: auto; max-width: none; }
  .price-switch-wrapper > .mosaic-grid-cell:has([data-bs-toggle="price"]) { grid-column: 1 / -1; }
  .price-switch-wrapper > .mosaic-grid-cell:has(.card-pricing),
  .price-switch-wrapper > .mosaic-grid-cell:has(.card-pricing) > .mosaic-tile,
  .price-switch-wrapper > .mosaic-grid-cell:has(.card-pricing) > .mosaic-tile > .mosaic-tile-content,
  .price-switch-wrapper .card-pricing,
  .price-switch-wrapper .card-pricing > .card-body {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
  }
  .price-switch-wrapper .card-pricing { height: auto !important; }
  .price-switch-wrapper .card-pricing [data-edit-target="price"] { align-self: start; }
  .price-switch-wrapper .card-pricing > .card-body > .btn { align-self: end; }
}

/* the section text right above a switch row ends without the text tile's
   own bottom padding - the pill keeps a 2rem distance */
.mosaic-grid-row:has(+ .price-switch-wrapper) .text-blocks > .row:last-child { padding-bottom: 2rem !important; }
.mosaic-grid-row:has(+ .price-switch-wrapper) .text-blocks .position-relative.mb-3 { margin-bottom: 0 !important; }

/* price switch: a segmented pill instead of two raw radios; the radios stay
   in the markup (price-switch.js listens to their change event) */
.mosaic-tile-content [data-bs-toggle="price"] {
  display: flex;
  gap: 0.25rem;
  width: fit-content;
  margin: 0 auto 2rem !important;
  padding: 0.25rem !important;
  background-color: var(--ar-body-bg);
  border: 1px solid var(--ar-border-color);
  border-radius: 50rem;
}
/* ms-0 on the switch tile (css_class) puts the pill under a left aligned header */
.mosaic-tile-content [data-bs-toggle="price"].ms-0 { margin-left: 0 !important; }
.mosaic-tile-content [data-bs-toggle="price"] .form-check,
.mosaic-tile-content [data-bs-toggle="price"] .form-check > .d-inline-flex {
  display: flex !important;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
}
.mosaic-tile-content [data-bs-toggle="price"] .form-check-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0 !important;
  opacity: 0;
  pointer-events: none;
}
.mosaic-tile-content [data-bs-toggle="price"] .form-check-label {
  padding: 0.5rem 1.25rem;
  border-radius: 50rem;
  color: var(--ar-heading-color) !important;
  font-weight: 600 !important;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}
/* the active option is a control: blue like the buttons */
.mosaic-tile-content [data-bs-toggle="price"] .form-check-input:checked + .form-check-label {
  background-color: var(--ar-primary);
  color: #ffffff !important;
}
.mosaic-tile-content [data-bs-toggle="price"] .form-check-input:focus-visible + .form-check-label {
  outline: 2px solid var(--ar-primary);
  outline-offset: 2px;
}

/* listing filter: calm outline pills (hairline, dark text), the active one
   blue like the buttons - btn-outline-secondary would be stone on white here, since
   theme_secondary is the stone grey */
.masonry-filters .btn:not(.active) {
  background-color: transparent !important;
  border-color: var(--ar-border-color) !important;
  color: var(--ar-heading-color) !important;
}
.masonry-filters .btn:not(.active):hover { border-color: var(--ar-heading-color) !important; }
.masonry-filters .btn.active,
.masonry-filters .btn:active {
  background-color: var(--ar-primary) !important;
  border-color: var(--ar-primary) !important;
  color: #ffffff !important;
}

/* reference teasers: one picture format (3:2), whatever the upload */
img.zoom-effect-img:is(.scale-teaser, .scale-large, .scale-landscape) {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* embedded forms sit flush with their heading (the proxy wraps them in a
   transparent card with its own padding) */
.mosaic-booost\.tiles\.formproxy-tile .card.bg-transparent > .card-body {
  padding: 0 !important;
  margin-top: 0 !important;
}

/* page headers sit left on the phone too, like every other page title
   (form_proxy.pt hard-codes text-center text-lg-start on heading and teaser) */
.mosaic-booost\.tiles\.formproxy-tile :is(.tile-heading, .tile-teaser).text-center { text-align: left !important; }

/* footer: the static "booost" column spaced like the link lists beside it */
.portlet-static-booost .nav-link {
  padding: 0.25rem 0;
  margin-bottom: 0.25rem;
  font-weight: 400;
}

/* imprint and privacy: paper cards on the white page, like everywhere else */
:is(.template-impressum, .template-datenschutzerklaerung) #content-core > .card.bg-secondary {
  background-color: var(--ar-card-bg) !important;
}

/* ---- Feinschliff 2 2026-10-05 ---- */

/* comparison table (start page, html tile tiles/vergleich.html): the booost
   column is a calm stone column with a thin orange rule on its head - dark
   text, no blue. Bold stays "the stronger answer in the row" */
.booost-compare .booost-compare-us {
  --ar-table-bg: var(--ar-secondary-bg);
  background-color: var(--ar-secondary-bg);
}
.booost-compare thead .booost-compare-us {
  color: var(--ar-heading-color);
  box-shadow: inset 0 3px 0 var(--ar-warning);
}
/* on the phone every question becomes a block: the question as its title,
   the three answers below, each labelled (data-label) - no sideways scroll */
@media (max-width: 767.98px) {
  .booost-compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .booost-compare,
  .booost-compare tbody,
  .booost-compare tr,
  .booost-compare tbody th,
  .booost-compare td {
    display: block;
    width: 100%;
  }
  .booost-compare tbody tr {
    padding: 1.25rem 1.25rem 1rem;
    background-color: var(--ar-table-bg);
  }
  .booost-compare tbody th { padding: 0 0 0.75rem !important; }
  .booost-compare td {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.5rem 0 !important;
  }
  .booost-compare td::before {
    content: attr(data-label);
    color: var(--ar-secondary-color);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
  }
  .booost-compare td.booost-compare-us {
    width: auto;
    margin: 0.25rem -0.75rem 0;
    padding: 0.5rem 0.75rem !important;
    border-radius: var(--ar-border-radius);
    box-shadow: none;
  }
  .booost-compare td.booost-compare-us::before {
    color: var(--ar-heading-color);
    font-weight: 600;
  }
}

/* last band to footer: the white footer reads as one more section, so its
   first line sits one section gap (~112px) below the last band, as between
   the bands above - not 160px (row mb-lg-4 + footer pt-lg-5 + container
   pt-3 mt-lg-3 + row pt-sm-2 in the footer template) */
@media (min-width: 992px) {
  #content > .mosaic-grid-row:last-child { margin-bottom: 0 !important; }
  footer.footer { padding-top: 3.5rem !important; }
  footer.footer > .container:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* ---- Blau-Akzente 2026-10-05: blue surfaces with white glyphs ---- */

/* step numbers: white figures on blue discs (light and dark mode - white on
   #0075bf is 4.9:1); on hover a pale blue halo instead of the grey one */
.steps {
  --ar-steps-number-inner-bg: var(--ar-primary);
  --ar-steps-number-color: #ffffff;
  --ar-steps-active-number-inner-bg: var(--ar-primary);
  --ar-steps-active-number-color: #ffffff;
  --ar-steps-active-number-bg: rgba(var(--ar-primary-rgb), 0.15);
}

/* card icons: the glyph white on a blue rounded square, the corner radius of
   the app icon (~23 % of the side). The class comes from the
   booost.card_icon_css_class record, so every card view and card tile gets
   it; display:flex centres the glyph (its ::before becomes a flex item) */
.booost-icon-badge {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.8rem;
  background-color: var(--ar-primary);
  color: #ffffff; /* no !important: a card on a blue ground inverts the badge with bg-white text-primary */
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1;
}
.booost-icon-badge > svg { width: 1.625rem; height: 1.625rem; fill: currentColor; }

/* ---- Fixes 2026-10-05 abends ---- */

/* embedded forms follow the page in dark mode: form_proxy.pt pins the card
   to data-bs-theme="light" ("its own surface"), but here the card is
   transparent (css_class bg-transparent), so dark labels landed on the dark
   page. The card's parent hands the theme values of the surrounding scope
   (html toggle or a dark tile) down to the card - resolved there, so light
   stays light and dark becomes dark, whatever the nearest scope is */
.mosaic-booost\.tiles\.formproxy-tile :has(> .card.bg-transparent[data-bs-theme="light"]) {
  --booost-s-body-color: var(--ar-body-color);
  --booost-s-body-color-rgb: var(--ar-body-color-rgb);
  --booost-s-body-bg: var(--ar-body-bg);
  --booost-s-body-bg-rgb: var(--ar-body-bg-rgb);
  --booost-s-emphasis-color: var(--ar-emphasis-color);
  --booost-s-emphasis-color-rgb: var(--ar-emphasis-color-rgb);
  --booost-s-heading-color: var(--ar-heading-color);
  --booost-s-secondary-color: var(--ar-secondary-color);
  --booost-s-secondary-color-rgb: var(--ar-secondary-color-rgb);
  --booost-s-secondary-bg: var(--ar-secondary-bg);
  --booost-s-tertiary-color: var(--ar-tertiary-color);
  --booost-s-tertiary-bg: var(--ar-tertiary-bg);
  --booost-s-border-color: var(--ar-border-color);
  --booost-s-border-color-translucent: var(--ar-border-color-translucent);
  --booost-s-gray-400: var(--ar-gray-400);
  --booost-s-gray-500: var(--ar-gray-500);
  --booost-s-gray-600: var(--ar-gray-600);
  --booost-s-gray-700: var(--ar-gray-700);
  --booost-s-gray-800: var(--ar-gray-800);
  --booost-s-gray-900: var(--ar-gray-900);
  --booost-s-bs-body-color: var(--bs-body-color);
  --booost-s-bs-body-bg: var(--bs-body-bg);
  --booost-s-bs-secondary-color: var(--bs-secondary-color);
  --booost-s-bs-border-color: var(--bs-border-color);
  --booost-s-bs-emphasis-color: var(--bs-emphasis-color);
  --booost-s-bs-form-invalid-color: var(--bs-form-invalid-color);
}
.mosaic-booost\.tiles\.formproxy-tile .card.bg-transparent[data-bs-theme="light"] {
  --ar-body-color: var(--booost-s-body-color);
  --ar-body-color-rgb: var(--booost-s-body-color-rgb);
  --ar-body-bg: var(--booost-s-body-bg);
  --ar-body-bg-rgb: var(--booost-s-body-bg-rgb);
  --ar-emphasis-color: var(--booost-s-emphasis-color);
  --ar-emphasis-color-rgb: var(--booost-s-emphasis-color-rgb);
  --ar-heading-color: var(--booost-s-heading-color);
  --ar-secondary-color: var(--booost-s-secondary-color);
  --ar-secondary-color-rgb: var(--booost-s-secondary-color-rgb);
  --ar-secondary-bg: var(--booost-s-secondary-bg);
  --ar-tertiary-color: var(--booost-s-tertiary-color);
  --ar-tertiary-bg: var(--booost-s-tertiary-bg);
  --ar-border-color: var(--booost-s-border-color);
  --ar-border-color-translucent: var(--booost-s-border-color-translucent);
  --ar-gray-400: var(--booost-s-gray-400);
  --ar-gray-500: var(--booost-s-gray-500);
  --ar-gray-600: var(--booost-s-gray-600);
  --ar-gray-700: var(--booost-s-gray-700);
  --ar-gray-800: var(--booost-s-gray-800);
  --ar-gray-900: var(--booost-s-gray-900);
  --bs-body-color: var(--booost-s-bs-body-color);
  --bs-body-bg: var(--booost-s-bs-body-bg);
  --bs-secondary-color: var(--booost-s-bs-secondary-color);
  --bs-border-color: var(--booost-s-bs-border-color);
  --bs-emphasis-color: var(--booost-s-bs-emphasis-color);
  --bs-form-invalid-color: var(--booost-s-bs-form-invalid-color);
  color: var(--ar-body-color);
}

/* hero portrait (2026-10-27): the big orange circle of the hero becomes the
   portrait - the photo fades and grows in once the page has settled, orange
   stays as a ring around it. Cropped here, never in the file: roland.jpeg
   is square with the face about 20 % right of centre, so the photo is
   enlarged 1.5x and moved left by a quarter - the most it can move before
   blue shows at the right edge (1.5 / 2 - 0.5). It settles from 1.75x */
.booost-hero-portrait {
  position: relative;
  overflow: hidden;
}
/* the ring lies on top, so the zoomed photo never covers it */
.booost-hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 clamp(4px, 0.45vw, 7px) var(--ar-warning);
  pointer-events: none;
}
.booost-hero-portrait > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  transform: translate(-25%, 0) scale(1.75);
  animation: booost-hero-portrait-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 1.4s forwards;
}
@keyframes booost-hero-portrait-in {
  to { opacity: 1; transform: translate(-25%, 0) scale(1.5); }
}
@media (prefers-reduced-motion: reduce) {
  .booost-hero-portrait > img { animation: none; opacity: 1; transform: translate(-25%, 0) scale(1.5); }
}
/* end hero portrait */

/* start-neu prototype (2026-10-28): showcase start page, local only.
   Everything is scoped to .bx-* classes used by the start-neu tiles. */
:root {
  --bx-deep: #00395e;
  --bx-blue: #0075bf;
  --bx-orange: #ef7d00;
  --bx-ink: #1e2a30;
  --bx-slab: "Zilla Slab", Georgia, serif;
}

.bx-section-title {
  font-family: var(--bx-slab);
  font-size: clamp(2rem, 1.35rem + 2vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

/* ---- hero ---- */
/* our blue into black; the row runs full width, its cell carries the container */
.bx-hero-band {
  background-color: #000;
  background-image: var(--bx-grad-hero);
}
:root {
  --bx-grad-hero: linear-gradient(125deg, #0075bf 0%, #00395e 45%, #000 100%);
  --bx-grad-tile: linear-gradient(145deg, #0075bf 0%, #00253d 55%, #000 100%);
}
.bx-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 6rem) 0 3rem;
  color: #fff;
}
.bx-hero-title {
  font-family: var(--bx-slab);
  font-size: clamp(2.75rem, 1.5rem + 4vw, 5.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1.75rem;
}
.bx-hero-claim { display: block; margin-top: 0.12em; }
.bx-hero-lead {
  font-size: 1.25rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}
.bx-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }

/* the browser: an old site, swept away by the new ones */
.bx-browser { position: relative; margin: 0; }
.bx-browser-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 2.5rem;
  padding: 0 1rem;
  background: #0d2433;
  border-radius: 0.875rem 0.875rem 0 0;
}
.bx-browser-dots { display: flex; gap: 0.4rem; }
.bx-browser-dots i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.bx-browser-url {
  display: grid;
  flex: 1;
  max-width: 22rem;
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}
.bx-browser-url > *,
.bx-browser-caption > *,
.bx-new > * { grid-area: 1 / 1; }
.bx-browser-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0 0 0.875rem 0.875rem;
  background: #fff;
  box-shadow: 0 2.5rem 5rem -1.5rem rgba(0, 0, 0, 0.55);
}
.bx-new {
  position: absolute;
  inset: 0;
  display: grid;
  clip-path: inset(0 100% 0 0);
  animation: bx-reveal 1s cubic-bezier(0.65, 0, 0.35, 1) 1.4s forwards;
}
.bx-new img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bx-sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.4rem;
  background: var(--bx-orange);
  box-shadow: 0 0 2rem 0.5rem rgba(239, 125, 0, 0.55);
  opacity: 0;
  animation: bx-sweep 1s cubic-bezier(0.65, 0, 0.35, 1) 1.4s forwards;
}
@keyframes bx-reveal { to { clip-path: inset(0 0 0 0); } }
@keyframes bx-sweep {
  0% { left: 0; opacity: 1; }
  90% { left: 100%; opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* the old site, drawn in CSS */
.bx-old {
  position: absolute;
  inset: 0;
  background: #ece8dc;
  color: #222;
  font-family: "Times New Roman", Times, serif;
}
.bx-old-head {
  padding: 4% 5%;
  background: linear-gradient(#4a7db3, #2c5a8c);
  color: #fff;
  font-size: clamp(0.9rem, 2vw, 1.6rem);
  font-weight: bold;
  text-align: center;
  font-style: italic;
}
.bx-old-body { display: grid; grid-template-columns: 26% 1fr; gap: 4%; padding: 4% 5%; }
.bx-old-nav { display: flex; flex-direction: column; gap: 0.5rem; font-size: clamp(0.65rem, 1.2vw, 0.95rem); color: #1a0dab; }
.bx-old-text { height: 0.55rem; margin: 0 0 0.6rem; background: #b9b3a3; }
.bx-old-short { width: 60%; }
.bx-old-img {
  height: 32%;
  min-height: 3rem;
  margin: 1rem 0;
  border: 2px inset #999;
  background: repeating-linear-gradient(45deg, #d6d0c0 0 8px, #c8c1af 8px 16px);
}
.bx-old-meta { margin: 0; font-size: clamp(0.55rem, 1vw, 0.8rem); color: #555; }

/* captions and URL follow the screenshots: 4 items, 5 s each */
.bx-browser-caption {
  display: grid;
  margin-top: 1rem;
  padding-left: 17rem;
  text-align: right;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
}
.bx-url-old { animation: bx-gone 0.2s linear 1.6s forwards; }
@keyframes bx-gone { to { opacity: 0; visibility: hidden; } }
.bx-new > .bx-cycle-item { opacity: 0; animation: bx-cycle-img 20s linear infinite; }
.bx-browser-url > .bx-cycle-item,
.bx-browser-caption > .bx-cycle-item { opacity: 0; animation: bx-cycle-text 20s linear infinite; }
.bx-new > .bx-cycle-item:nth-child(1),
.bx-browser-url > .bx-cycle-item:nth-child(2),
.bx-browser-caption > .bx-cycle-item:nth-child(2) { animation-delay: 0.8s; }
.bx-new > .bx-cycle-item:nth-child(2),
.bx-browser-url > .bx-cycle-item:nth-child(3),
.bx-browser-caption > .bx-cycle-item:nth-child(3) { animation-delay: 5.8s; }
.bx-new > .bx-cycle-item:nth-child(3),
.bx-browser-url > .bx-cycle-item:nth-child(4),
.bx-browser-caption > .bx-cycle-item:nth-child(4) { animation-delay: 10.8s; }
.bx-new > .bx-cycle-item:nth-child(4),
.bx-browser-url > .bx-cycle-item:nth-child(5),
.bx-browser-caption > .bx-cycle-item:nth-child(5) { animation-delay: 15.8s; }
@keyframes bx-cycle-img {
  0% { opacity: 0; }
  3%, 28% { opacity: 1; }
  31%, 100% { opacity: 0; }
}
@keyframes bx-cycle-text {
  0%, 2% { opacity: 0; }
  5%, 25% { opacity: 1; }
  27%, 100% { opacity: 0; }
}

.bx-hero-person {
  position: absolute;
  left: -1.5rem;
  bottom: -1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  max-width: 17rem;
  padding: 0.5rem 1.25rem 0.5rem 0.5rem;
  border-radius: 999px;
  background: #fff;
  color: var(--bx-ink);
  font-size: 0.9375rem;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 1rem 2rem -0.75rem rgba(0, 0, 0, 0.45);
}
.bx-hero-person:hover strong { text-decoration: underline; }
.bx-hero-person-photo {
  position: relative;
  flex: 0 0 3.5rem;
  height: 3.5rem;
  overflow: hidden;
  border-radius: 50%;
}
.bx-hero-person-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--bx-orange);
}
.bx-hero-person-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: translate(-25%, 0) scale(1.5);
}
.bx-hero-person-text strong { display: block; }

.bx-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: clamp(4rem, 7vw, 6rem) 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.bx-facts dt {
  font-family: var(--bx-slab);
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}
.bx-facts dd { margin: 0.25rem 0 0; color: rgba(255, 255, 255, 0.72); }

@media (prefers-reduced-motion: reduce) {
  .bx-new { clip-path: none; animation: none; }
  .bx-sweep, .bx-old, .bx-url-old { display: none; }
  .bx-new > .bx-cycle-item,
  .bx-browser-url > .bx-cycle-item,
  .bx-browser-caption > .bx-cycle-item { animation: none; }
  .bx-new > .bx-cycle-item:nth-child(1),
  .bx-browser-url > .bx-cycle-item:nth-child(2),
  .bx-browser-caption > .bx-cycle-item:nth-child(2) { opacity: 1; }
}

@media (max-width: 991.98px) {
  .bx-hero { grid-template-columns: minmax(0, 1fr); }
  .bx-browser { margin-top: 3rem; }
  .bx-browser-caption { padding-left: 0; text-align: left; }
  .bx-hero-person { position: static; margin-top: 1.25rem; }
  .bx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; margin-top: 3.5rem; }
}

/* ---- references: a track to scroll sideways ---- */
.bx-works { padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4.5rem); }
.bx-works-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
.bx-works-head .bx-section-title { grid-column: 1; max-width: 26ch; }
.bx-works-intro { grid-column: 1; max-width: 38rem; margin: 0; font-size: 1.125rem; }
.bx-works-head .btn { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.bx-works-track {
  display: flex;
  gap: 1.5rem;
  margin: 0 calc(50% - 50vw) 0 0;
  padding: 0.25rem calc(50vw - 50%) 1.5rem 0.25rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0.25rem;
  scrollbar-width: thin;
}
.bx-works-track:focus-visible { outline: 2px solid var(--bx-blue); outline-offset: 4px; }
.bx-work { flex: 0 0 clamp(17rem, 36vw, 32rem); scroll-snap-align: start; }
.bx-work-link { display: block; color: inherit; text-decoration: none; }
.bx-work-frame {
  display: block;
  overflow: hidden;
  border: 1px solid var(--ar-border-color);
  border-radius: 0.75rem;
  background: var(--ar-body-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bx-work-link:hover .bx-work-frame,
.bx-work-link:focus-visible .bx-work-frame {
  border-color: var(--bx-blue);
  box-shadow: 0 0 0 1px var(--bx-blue);
}
.bx-work-bar {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  height: 1.75rem;
  padding: 0 0.75rem;
  background: var(--ar-secondary-bg);
  font-size: 0.75rem;
  color: var(--ar-secondary-color);
}
.bx-work-bar i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--ar-border-color); }
.bx-work-bar span { margin-left: 0.5rem; }
.bx-work-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.bx-work-title { display: block; margin-top: 1rem; font-family: var(--bx-slab); font-size: 1.25rem; font-weight: 600; }
.bx-work-meta { display: block; color: var(--ar-secondary-color); }
.bx-work-link:hover .bx-work-title { text-decoration: underline; }

@media (max-width: 767.98px) {
  .bx-works-head { grid-template-columns: minmax(0, 1fr); row-gap: 1rem; }
  .bx-works-head .btn { grid-column: 1; grid-row: auto; justify-self: start; }
  .bx-work { flex-basis: 82vw; }
}

/* ---- what the subscription covers ---- */
.bx-abo { padding: clamp(4rem, 7vw, 6rem) 0; }
.bx-abo-head { max-width: 46rem; margin-bottom: 3rem; }
.bx-abo-intro { font-size: 1.125rem; margin: 0; }
.bx-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
.bx-tile {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--ar-body-bg);
}
.bx-tile h3 { font-family: var(--bx-slab); font-size: 1.5rem; font-weight: 600; line-height: 1.2; margin-bottom: 0.75rem; }
.bx-tile p:last-child { margin-bottom: 0; }
.bx-tile-updates {
  grid-column: span 4;
  grid-row: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 3rem;
  align-content: center;
  padding: 3rem;
  border-radius: 1.5rem;
  background: #000 var(--bx-grad-tile);
  color: rgba(255, 255, 255, 0.85);
}
.bx-tile-updates > h3, .bx-tile-updates > p { grid-column: 1; }
.bx-tile-updates > .bx-release { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
.bx-tile-updates h3 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); color: #fff; max-width: 16ch; }
.bx-tile-updates > p { max-width: 34rem; font-size: 1.125rem; }
.bx-tile-at, .bx-tile-chat { grid-column: span 2; }
.bx-tile-site, .bx-tile-call { grid-column: span 3; }
.bx-release { position: relative; padding: 0; list-style: none; counter-reset: bx-step; }
.bx-release::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: 2px;
  background: rgba(255, 255, 255, 0.2);
}
.bx-release li { position: relative; display: flex; flex-direction: column; padding: 0 0 1.5rem 3.25rem; counter-increment: bx-step; }
.bx-release li:last-child { padding-bottom: 0; }
.bx-release li::before {
  content: counter(bx-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bx-orange);
  color: #fff;
  font-weight: 700;
}
.bx-release-step { color: #fff; font-size: 1.125rem; font-weight: 600; line-height: 2rem; }
.bx-release-note { color: rgba(255, 255, 255, 0.7); }
.bx-tile-mark { font-family: var(--bx-slab); font-size: 4.5rem; font-weight: 700; line-height: 1; color: var(--bx-blue); margin-bottom: 1rem; }
.bx-chat { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; font-size: 0.9375rem; }
.bx-chat p { margin: 0; padding: 0.6rem 0.9rem; max-width: 88%; }
.bx-chat-in { align-self: flex-start; border-radius: 1rem 1rem 1rem 0.25rem; background: var(--ar-secondary-bg); }
.bx-chat-out { align-self: flex-end; border-radius: 1rem 1rem 0.25rem 1rem; background: var(--bx-blue); color: #fff; }
/* the fan sits in the flow under the text and runs out over the tile's bottom edge */
.bx-fan { position: relative; height: 12rem; margin: 2rem 0 -4.5rem; }
.bx-fan img {
  position: absolute;
  bottom: 0;
  width: 55%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 2rem -0.5rem rgba(0, 0, 0, 0.35);
}
.bx-fan img:nth-child(1) { left: 0; transform: rotate(-6deg); }
.bx-fan img:nth-child(2) { left: 22.5%; bottom: 1rem; z-index: 1; }
.bx-fan img:nth-child(3) { right: 0; transform: rotate(6deg); }
.bx-call a { display: block; font-family: var(--bx-slab); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); font-weight: 600; line-height: 1.25; text-decoration: none; }
.bx-call a + a { font-size: 1.25rem; margin-top: 0.25rem; }
.bx-call a:hover { text-decoration: underline; }

@media (max-width: 991.98px) {
  .bx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bx-tile-updates { grid-column: 1 / -1; grid-row: auto; grid-template-columns: minmax(0, 1fr); padding: 2rem; }
  .bx-tile-updates > .bx-release { grid-column: 1; grid-row: auto; margin-top: 2rem; }
  .bx-tile-at, .bx-tile-chat { grid-column: span 1; }
  .bx-tile-site, .bx-tile-call { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .bx-bento { grid-template-columns: minmax(0, 1fr); }
  .bx-tile-at, .bx-tile-chat { grid-column: 1 / -1; }
  .bx-tile, .bx-tile-updates { padding: 1.5rem; }
  .bx-fan { height: 7.5rem; margin: 1.5rem 0 -2.5rem; }
}

/* ---- the person behind it ---- */
.bx-person {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.bx-person-photo { position: relative; overflow: hidden; border-radius: 2rem; }
.bx-person-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  box-shadow: inset 0 0 0 0.5rem var(--bx-orange);
}
.bx-person-photo img { display: block; width: 100%; height: auto; }
.bx-person-lead { font-size: 1.25rem; line-height: 1.5; }
.bx-person-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 0; }
@media (max-width: 767.98px) {
  .bx-person { grid-template-columns: minmax(0, 1fr); }
  .bx-person-photo { max-width: 22rem; }
}
/* ---- gradients on the page: closing CTAs and solid buttons ---- */
.frontend .p-md-5.bg-primary.rounded-4 {
  background-image: var(--bx-grad-tile);
}
.frontend .btn-primary,
.frontend .btn-warning {
  --ar-btn-border-color: transparent;
  --ar-btn-hover-border-color: transparent;
  --ar-btn-active-border-color: transparent;
  background-image: var(--bx-grad-btn);
  background-size: 150% 100%;
  background-position: 0 0;
  transition: background-position 0.25s;
}
.frontend .btn-primary { --bx-grad-btn: linear-gradient(110deg, #0075bf 0%, #00395e 100%); }
.frontend .btn-warning { --bx-grad-btn: linear-gradient(110deg, #ff9a2e 0%, #ef7d00 55%, #c46900 100%); }
.frontend .btn-primary:hover,
.frontend .btn-primary:focus-visible,
.frontend .btn-warning:hover,
.frontend .btn-warning:focus-visible {
  background-position: 100% 0;
}
/* ---- variant B (2026-11-03): three circles instead of the browser, logo
   band under the hero, round portrait in the person block ---- */
.bx-hero-dots { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.bx-dots {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: clamp(10px, 1.4vw, 20px);
}
.bx-dot { display: block; border-radius: 50%; background: #fff; }
.bx-dot-1 { width: clamp(48px, 6vw, 80px); height: clamp(48px, 6vw, 80px); }
.bx-dot-2 { width: clamp(70px, 8.8vw, 118px); height: clamp(70px, 8.8vw, 118px); }
.bx-dot-3 { width: clamp(100px, 12.6vw, 170px); height: clamp(100px, 12.6vw, 170px); background: var(--bx-orange); }
/* the logo band slides under the hero and fades from transparent into black,
   so the gradient dissolves instead of meeting a hard black edge (2026-11-05,
   the user's final pick over the light band) */
.bx-hero-band:has(.bx-hero-dots) { padding-bottom: 5rem; }
.bx-logo-band {
  position: relative;
  margin-top: -7rem;
  padding-top: 8rem !important;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, #000 7rem);
}
.bx-logo-band .swiper-slide img { display: block; max-height: 2.75rem; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; opacity: .72; }
/* width must be explicit: auto margins on a grid item shrink it to its content, and the content is absolute */
.bx-person-round .bx-person-photo {
  width: 100%;
  aspect-ratio: 1;
  max-width: 26rem;
  margin: 0 auto;
  border-radius: 50%;
}
.bx-person-round .bx-person-photo::after { border-radius: 50%; }
.bx-person-round .bx-person-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: translate(-25%, 0) scale(1.5);
}
@media (max-width: 991.98px) {
  .bx-hero-dots { grid-template-columns: minmax(0, 1fr); }
  .bx-dots { justify-content: center; margin-top: 2.5rem; }
}
/* ---- pakete page (2026-11-05) ---- */
.bx-pakete-hero { padding: 4.5rem 0 3.5rem; color: #fff; }
.bx-pakete-hero .bx-hero-title, .bx-pakete-hero .bx-hero-lead { max-width: 46rem; }
.bx-eyebrow { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); margin-bottom: 1.25rem; }
.bx-facts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bx-plans .bx-tile-kauf, .bx-plans .bx-tile-abo, .bx-plans .bx-tile-laufzeit, .bx-plans .bx-tile-nicht { grid-column: span 3; }
.bx-plans .bx-tile-kauf { background-color: #000; background-image: var(--bx-grad-tile); color: #fff; }
.bx-plans .bx-tile-kauf h3, .bx-plans .bx-tile-kauf .bx-tile-label { color: #fff; }
.bx-plans .bx-tile-kauf .list-check li::before { filter: brightness(10); }
.bx-tile-label { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bx-orange); margin-bottom: .75rem; font-weight: 600; }
@media (max-width: 991.98px) {
  .bx-plans .bx-tile-kauf, .bx-plans .bx-tile-abo, .bx-plans .bx-tile-laufzeit, .bx-plans .bx-tile-nicht { grid-column: 1 / -1; }
  .bx-facts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bx-pakete-hero { padding: 3rem 0 2.5rem; }
}
@media (max-width: 575.98px) { .bx-facts-3 { grid-template-columns: minmax(0, 1fr); row-gap: 1.25rem; } }

/* price switch with the short labels Kauf | Abo: a minimum width keeps the
   options pills instead of circles (2026-11-05) */
.mosaic-tile-content [data-bs-toggle="price"] .form-check-label { min-width: 7rem; text-align: center; }

/* rotating second line of the hero (2026-11-05, after koenig.digital's
   "Genug performt / Genug Skills"): three promises pass, then the slogan stays.
   Finite, CSS only; reduced motion shows the slogan from the start. */
.bx-rotate { display: grid; }
.bx-rotate-item { grid-area: 1 / 1; opacity: 0; }
.bx-rotate-item:nth-child(1) { animation: bx-rotate-pass 2.2s both; }
.bx-rotate-item:nth-child(2) { animation: bx-rotate-pass 2.2s 2.2s both; }
.bx-rotate-item:nth-child(3) { animation: bx-rotate-pass 2.2s 4.4s both; }
.bx-rotate-last { animation: bx-rotate-stay .8s 6.6s both; }
@keyframes bx-rotate-pass {
  0% { opacity: 0; transform: translateY(.35em); }
  14%, 82% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-.35em); }
}
@keyframes bx-rotate-stay {
  from { opacity: 0; transform: translateY(.35em); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bx-rotate-item { animation: none !important; }
  .bx-rotate-last { opacity: 1; }
}

/* ---- FAQ accordions (2026-11-05, the user's pick: the light variant) ----
   The logo's o as the system: questions on hairlines instead of grey boxes,
   a blue ring in front of each, the open one an orange dot. Site wide for
   every accordion listing. */
.frontend .tile-template-accordion-view .accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ar-border-color);
  border-radius: 0 !important;
  margin-bottom: 0;
}
.frontend .tile-template-accordion-view .accordion-item:first-child { border-top: 1px solid var(--ar-border-color); }
.frontend .tile-template-accordion-view .accordion-button {
  background: transparent !important;
  box-shadow: none;
  padding: 1.25rem 0;
  font-size: 1.125rem;
}
.frontend .tile-template-accordion-view .accordion-button::before {
  content: '';
  flex: none;
  width: .9rem;
  height: .9rem;
  margin-right: 1rem;
  border-radius: 50%;
  border: 2px solid var(--bx-blue);
  transition: background-color .2s, border-color .2s, transform .2s;
}
.frontend .tile-template-accordion-view .accordion-button:not(.collapsed)::before {
  background: var(--bx-orange);
  border-color: var(--bx-orange);
  transform: scale(1.2);
}
.frontend .tile-template-accordion-view .accordion-body { padding: 0 0 1.5rem 1.9rem; }
/* the three circles of the logo fill the empty column beside the list
   (sidebar layout); not on phones, where the column sits above the list,
   and not on the FAQ page, where five sections would repeat them */
@media (min-width: 768px) {
  .frontend:not(.section-faq) .mosaic-tile:has(.tile-template-accordion-view) .col-md-5::after {
    content: '';
    display: block;
    height: 11rem;
    margin-top: 2rem;
    background:
      radial-gradient(circle at 2.4rem 8.2rem, var(--bx-blue) 0 2.3rem, transparent calc(2.3rem + 1px)),
      radial-gradient(circle at 8.6rem 7.4rem, var(--bx-blue) 0 3.2rem, transparent calc(3.2rem + 1px)),
      radial-gradient(circle at 17.4rem 6.1rem, var(--bx-orange) 0 4.5rem, transparent calc(4.5rem + 1px));
  }
}

/* ---- website-check page (2026-11-05) ---- */
.bx-check-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding-bottom: 6.5rem; }
.bx-check-hero .bx-hero-title { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.5rem); }
/* the sample report: a sheet in the look of the real website-check.pdf */
.bx-report { margin: 0; justify-self: end; width: min(100%, 24rem); transform: rotate(2.5deg); }
.bx-report-paper { padding: 1.5rem 1.5rem 1.75rem; border-radius: .5rem; background: #fff; color: #1e2a30; box-shadow: 0 2rem 4rem rgba(0, 0, 0, .45); font-size: .8125rem; line-height: 1.4; }
.bx-report-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: .75rem; border-bottom: 2px solid var(--bx-orange); }
.bx-report-logo { display: flex; align-items: flex-end; gap: 3px; }
.bx-report-logo i { display: block; border-radius: 50%; background: var(--bx-blue); width: .7rem; height: .7rem; }
.bx-report-logo i:nth-child(2) { width: 1rem; height: 1rem; }
.bx-report-logo i:nth-child(3) { width: 1.4rem; height: 1.4rem; background: var(--bx-orange); }
.bx-report-meta { text-align: right; font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: #b45f00; }
.bx-report-meta b { display: block; font-family: var(--bx-slab); font-size: .875rem; letter-spacing: 0; text-transform: none; color: #1e2a30; }
.bx-report-head { margin: .75rem 0 1rem; padding: .9rem 1rem; border-radius: .25rem; background: var(--bx-blue); color: #fff; }
.bx-report-head small { display: block; font-size: .5625rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.bx-report-head strong { font-family: var(--bx-slab); font-size: 1.125rem; }
.bx-report-h { margin: 0 0 .5rem; font-family: var(--bx-slab); font-size: .9375rem; font-weight: 600; }
.bx-report-lights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .375rem; margin-bottom: 1rem; }
.bx-report-lights span { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .5rem .2rem; border-radius: .25rem; background: #f2f0ed; font-size: .5625rem; font-weight: 600; text-align: center; }
.bx-report-lights i { display: block; width: .7rem; height: .7rem; border-radius: 50%; }
.bx-light-ok { background: #3b8f4a; }
.bx-light-mid { background: #e0a100; }
.bx-light-bad { background: #b53a2a; }
.bx-report-findings { margin: 0; padding: 0; list-style: none; counter-reset: bx-finding; }
.bx-report-findings li { position: relative; margin-bottom: .5rem; padding: .6rem .75rem .6rem 2.4rem; border-radius: .25rem; background: #f7f6f4; counter-increment: bx-finding; }
.bx-report-findings li:last-child { margin-bottom: 0; }
.bx-report-findings li::before { content: counter(bx-finding); position: absolute; top: .55rem; left: .6rem; display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--bx-orange); color: #fff; font-size: .6875rem; font-weight: 700; }
.bx-report-findings b { display: block; margin-bottom: .35rem; }
.bx-report-line { display: block; height: .3rem; margin-top: .3rem; border-radius: 1rem; background: #ddd9d3; }
.bx-report-short { width: 62%; }
/* the form: a raised card that reaches up into the hero */
.bx-check-formcell > .mosaic-tile { position: relative; z-index: 2; margin-top: -4.5rem; padding: 2rem 2rem 2.25rem; border-radius: 1rem; background: var(--ar-body-bg); box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .14); }
.bx-check-formcell .tile-header { padding-top: 0 !important; }
.bx-check-steps .bx-section-title { margin-bottom: 2rem; }
.bx-release-light::before { background: var(--ar-border-color); }
.bx-release-light .bx-release-step { color: var(--ar-heading-color); }
.bx-release-light .bx-release-note { color: var(--ar-body-color); }
.bx-check-note { margin: 2rem 0 0; padding-left: 3.25rem; color: var(--ar-secondary-color); }
.bx-check-head { margin-bottom: 2rem; padding-top: 1rem; }
@media (max-width: 991.98px) {
  .bx-check-hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 5.5rem; }
  .bx-report { justify-self: center; margin-top: 3rem; transform: rotate(1.5deg); }
  .bx-check-formcell > .mosaic-tile { margin-top: -3.5rem; padding: 1.5rem; }
}

/* ---- projekte page (2026-11-05) ---- */
.bx-hero-band:has(.bx-proj-hero) { padding-bottom: 5rem; }
.bx-proj-hero { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.bx-proj-hero .bx-hero-title { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.5rem); }
.bx-proj-fan { position: relative; height: clamp(16rem, 24vw, 22rem); }
.bx-proj-fan img { position: absolute; width: 62%; height: auto; border-radius: .6rem; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .5); }
.bx-proj-fan img:nth-child(1) { left: 0; top: 14%; transform: rotate(-5deg); }
.bx-proj-fan img:nth-child(2) { right: 0; top: 0; transform: rotate(4deg); }
.bx-proj-fan img:nth-child(3) { left: 19%; bottom: 0; z-index: 1; }
@media (max-width: 991.98px) {
  .bx-proj-hero { grid-template-columns: minmax(0, 1fr); }
  .bx-proj-fan { margin-top: 2.5rem; height: clamp(13rem, 56vw, 22rem); }
}

/* footer: the logo without its colours (2026-11-05) - the colour belongs to
   the header; one dark tone here, like the text colour (white in dark mode) */
.frontend footer.footer .header-logo { filter: brightness(0); opacity: .82; }
[data-bs-theme="dark"] .frontend footer.footer .header-logo, .frontend[data-bs-theme="dark"] footer.footer .header-logo { filter: brightness(0) invert(1); }

/* end start-neu prototype */

/* orange carries white text (2026-11-03): the customizer picks a dark label
   for the orange by contrast (customizer._btn_text); booost.at wants white.
   Same selector, later in the sheet, so it wins without !important. */
.btn-warning {
  --booost-btn-color: #fff;
  --booost-btn-hover-color: #fff;
}

body.template-folder_contents,
body[class*="controlpanel"],
body.template-sharing,
body.template-historyview {
  --ar-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ar-heading-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
#edit-zone { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
