/*
 * Flexi Service — quellengetreue Projektgeometrie.
 * Autoritaet: 09-prototyp-verkauft/styles.css. Jede Regelgruppe nennt den
 * zugehoerigen Quellbereich; Struktur und Inhalte bleiben in Tabon/WordPress.
 */

:root {
  /* Quelle styles.css:1-22 — Werte ohne passendes Engine-Token. */
  --flexi-surface: #fffdf9;
  --flexi-ink-soft: #4e5559;
  --flexi-dark-raised: #18232b;
  --flexi-border: #c9c3bb;
  --flexi-border-dark: #354048;
  --flexi-success: #1d7453;
  --flexi-shadow: 0 22px 60px rgb(20 27 32 / 14%);
  --flexi-header-height: 106px;
}

/* Quelle styles.css:24-164 — Basis, Fokus und Typografie. */
html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: var(--flexi-header-height);
}

body {
  min-width: 320px;
  background: var(--color-surface-0);
  color: var(--color-on-surface-0);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #1387d4;
  outline-offset: 4px;
}

::selection {
  background: var(--color-brand);
  color: var(--color-brand-foreground);
}

:where(h1, h2, h3, p) {
  margin-top: 0;
}

:where(h1, h2, h3) {
  font-family: var(--font-display);
  text-wrap: balance;
}

:where(h1, h2) {
  letter-spacing: -.045em;
}

.tbn-section__headline {
  margin-bottom: 0;
  font-size: clamp(2.75rem, 5.2vw, 5rem);
  font-weight: 850;
  line-height: .98;
}

/* Quelle styles.css:1721-1765 — Zwischenueberschriften der Rechtsseiten. */
.tbn-textblock__col.tbn-prose h2 {
  margin: 50px 0 16px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
}

h3 {
  letter-spacing: -.025em;
}

/* Quelle styles.css:166-249 — Buttons und Textaktion. */
.tbn-btn {
  min-height: 52px;
  gap: 12px;
  padding: 13px 24px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms var(--tbn-ease);
}

.tbn-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.tbn-btn:hover {
  transform: translateY(-2px);
}

.tbn-btn:active {
  transform: translateY(0);
}

.tbn-btn--primary:hover {
  background: var(--color-brand-hover);
  opacity: 1;
}

.tbn-btn--secondary {
  border-color: currentColor;
  background: transparent;
}

.tbn-btn--secondary:hover {
  background: rgb(20 27 32 / 6%);
}

/* Quelle styles.css:264-378 — 106px-Kopf, Naturmass-Logo, Desktop-Navigation. */
.tbn-header {
  top: 0;
  z-index: 100;
  height: var(--flexi-header-height);
  padding-inline: max(44px, calc((100% - 1500px) / 2));
  border-bottom: 1px solid var(--flexi-border);
  background: rgb(246 242 236 / 96%);
  backdrop-filter: blur(14px);
}

.tbn-header__inner {
  width: 100%;
  max-width: 1500px;
  height: 100%;
  margin-inline: auto;
  padding-block: 0;
  flex-wrap: nowrap;
  gap: 40px;
}

.tbn-header__brand {
  width: 100px;
  flex: 0 0 100px;
  display: grid;
  place-items: center;
}

.tbn-header .custom-logo-link,
.tbn-header .tbn-brand__kachel {
  width: 100px;
  height: 94px;
  display: grid;
  place-items: center;
  padding: 3px;
  border-radius: 4px;
  background: var(--flexi-surface);
}

.tbn-header img.custom-logo,
.tbn-header .tbn-brand__kachel :is(img, svg) {
  width: 94px;
  height: 88px;
  max-height: none;
  object-fit: contain;
}

.tbn-header__nav {
  margin-left: auto;
}

.tbn-nav__list {
  gap: clamp(28px, 4vw, 64px);
}

.tbn-nav__link {
  color: var(--color-on-surface-0);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 720;
  line-height: 1.2;
  opacity: 1;
}

.tbn-nav__list > .tbn-nav__item > .tbn-nav__link::after {
  bottom: -7px;
  height: 2px;
  border-radius: 0;
  transform-origin: right;
  transition: transform 220ms var(--tbn-ease);
}

.tbn-nav__list > .tbn-nav__item > .tbn-nav__link:hover::after,
.tbn-nav__list > .tbn-nav__item > .tbn-nav__link:focus-visible::after,
.tbn-nav__list > .tbn-nav__item > .tbn-nav__link.is-active::after {
  transform-origin: left;
}

.tbn-header .tbn-header__cta {
  min-height: 52px;
  margin-left: clamp(12px, 2vw, 30px);
  padding: 13px 24px;
}

/* Quelle styles.css:379-491 — geteilte Hero-Buehne und orange Routenlinie. */
#start {
  position: relative;
  padding: 0 0 168px;
  background: var(--color-surface-0);
}

#start > .tbn-hero {
  --flexi-hero-band: 168px;
  --flexi-hero-gap: 44px;
  --flexi-hero-panel: clamp(
    380px,
    calc(100svh - var(--flexi-header-height) - var(--flexi-hero-band) - var(--flexi-hero-gap)),
    600px
  );
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  gap: 0;
  align-items: stretch;
}

#start .tbn-hero__body {
  position: relative;
  z-index: 1;
  min-height: var(--flexi-hero-panel);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  padding: clamp(36px, 5vh, 76px) clamp(48px, 5vw, 94px) clamp(48px, 7vh, 96px) max(44px, calc((100vw - 1500px) / 2));
  overflow: hidden;
}

#start .tbn-hero__headline {
  max-width: 790px;
  margin: 0 0 clamp(18px, 2.6vh, 34px);
  font-size: clamp(2.9rem, min(5.6vw, 8.4vh), 5.8rem);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.06em;
}

#start :is(.tbn-hero__subline, .tbn-hero__text) {
  max-width: 660px;
  margin: 0 0 clamp(22px, 3.2vh, 40px);
  font-size: clamp(1.05rem, min(1.6vw, 2.3vh), 1.42rem);
  line-height: 1.46;
  opacity: 1;
}

#start .tbn-hero__actions {
  position: static;
  display: flex;
  align-items: center;
  gap: 34px;
}

#start .tbn-hero__actions .tbn-btn--primary {
  min-height: 64px;
  padding-inline: 34px;
  font-size: 18px;
}

#start .tbn-hero__actions .tbn-btn--secondary {
  min-height: 44px;
  padding: 8px 0 5px;
  border: 0;
  border-bottom: 2px solid var(--color-brand);
  border-radius: 0;
  background: transparent;
  color: var(--color-on-surface-0);
  font-size: 17px;
}

#start .tbn-hero__media {
  position: relative;
  min-height: var(--flexi-hero-panel);
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #d8dbd9;
}

#start .tbn-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% 52%;
}

#start .tbn-hero__body::before {
  content: "";
  position: absolute;
  right: 68px;
  bottom: 84px;
  left: 0;
  height: 2px;
  background: var(--color-brand);
  pointer-events: none;
}

#start .tbn-hero__body::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 106px;
  width: 78px;
  height: 2px;
  transform: rotate(-45deg);
  background: var(--color-brand);
  pointer-events: none;
}

#start .tbn-hero__actions::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 70px;
  bottom: 76px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-brand);
  border-radius: 50%;
  background: var(--color-surface-0);
  pointer-events: none;
}

/* Quelle styles.css:492-562 — Quickstart als folgende Tabon-Section. */
.tbn-section.tbn-formular-start {
  position: relative;
  z-index: 4;
  min-height: 168px;
  margin-top: -168px;
  padding: 44px max(44px, calc((100% - 1500px) / 2)) 0;
  background: transparent;
  pointer-events: none;
}

.tbn-form-start,
.tbn-form-start__fallback {
  width: 100%;
  min-height: 124px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr minmax(200px, .8fr);
  gap: 22px;
  align-items: end;
  padding: 22px 30px 26px;
  border: 1px solid var(--flexi-border);
  border-radius: 6px;
  background: var(--flexi-surface);
  box-shadow: 0 18px 44px rgb(20 27 32 / 10%);
  pointer-events: auto;
}

.tbn-form-start__fallback {
  grid-template-columns: 1fr;
  place-items: center;
  color: var(--color-brand-text);
  font-weight: 750;
  text-decoration: none;
}

.tbn-formular-start:has(.tbn-form-start:not([hidden])) .tbn-form-start__fallback {
  display: none;
}

.tbn-form-start__grid {
  display: contents;
}

.tbn-form-start__feld {
  display: grid;
  gap: 8px;
}

.tbn-form-start__feld label,
.tbn-form-start__feld > span {
  color: var(--color-on-surface-0);
  font-size: 14px;
  font-weight: 720;
}

.tbn-form-start :is(input, select) {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--flexi-border);
  border-radius: 3px;
  background: var(--flexi-surface);
  color: var(--color-on-surface-0);
  font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.tbn-form-start :is(input, select):focus {
  border-color: var(--color-brand);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(223 61 11 / 16%);
}

.tbn-form-start__submit {
  min-height: 54px;
}

/* Das Referenz-Markup traegt hier ein Pfeil-SVG; Tabons Schnellstart liefert
 * bewusst nur das Label. Die Maske bildet exakt dessen 24px-Pfad nach. */
.tbn-form-start__submit::after,
.tbn-form__schritt-weiter::after {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M14 6l6 6-6 6' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M14 6l6 6-6 6' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Quelle styles.css:564-638 — Sections, Eckdekor und offene Leistungsspalten. */
#leistungen,
#reichweite,
#ablauf,
#ueber-uns,
#faq,
#kontakt {
  position: relative;
  padding-inline: max(60px, calc((100% - 1400px) / 2));
}

#leistungen,
#reichweite,
#ueber-uns,
#faq {
  padding-block: 130px;
}

#leistungen {
  padding-top: 168px;
  overflow: hidden;
}

#leistungen::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 124px;
  height: 112px;
  background: var(--color-brand);
}

#leistungen::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -2px;
  width: 72px;
  height: 72px;
  transform: rotate(45deg) translate(52%, 52%);
  background: var(--color-surface-0);
}

#leistungen .tbn-section__head,
#faq .tbn-section__head {
  max-width: 880px;
  margin: 0 0 78px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--color-brand);
}

#leistungen .tbn-karten-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 88px);
}

#leistungen .tbn-card {
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#leistungen .tbn-card__body {
  padding: 0;
}

#leistungen .tbn-card__icon {
  width: 72px;
  height: 72px;
  display: block;
  margin-bottom: 26px;
  color: var(--color-on-surface-0);
}

#leistungen .tbn-card__icon-svg {
  width: 100%;
  height: 100%;
  stroke-width: 2.25;
}

#leistungen .tbn-card__headline {
  position: relative;
  margin: 0 0 28px;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.05;
}

#leistungen .tbn-card__headline::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 52px;
  height: 2px;
  background: var(--color-brand);
}

#leistungen .tbn-card__text {
  max-width: 260px;
  margin: 0;
  color: var(--flexi-ink-soft);
  font-size: 17px;
}

#leistungen .tbn-card__text p {
  margin: 0;
}

/* Quelle styles.css:639-708 — horizontaler nummerierter Ablauf. */
#ablauf {
  padding-block: 88px 100px;
  background: var(--color-surface-dark);
  color: var(--color-on-surface-dark);
}

#ablauf .tbn-section__head {
  max-width: 820px;
  margin: 0 0 68px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--color-brand);
}

#ablauf .tbn-ablauf__list--nummeriert {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#ablauf .tbn-ablauf__list--nummeriert::before {
  content: "";
  position: absolute;
  top: 52px;
  right: calc(12.5% - 4px);
  left: 12px;
  height: 2px;
  background: var(--color-brand);
}

#ablauf .tbn-ablauf__step--nummeriert {
  position: relative;
  display: block;
  padding: 82px 0 0;
  border: 0;
}

#ablauf .tbn-ablauf__step--nummeriert::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 44px;
  left: 0;
  width: 18px;
  height: 18px;
  display: block;
  border: 3px solid var(--color-brand);
  border-radius: 50%;
  background: var(--color-surface-dark);
}

#ablauf .tbn-ablauf__number {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  color: var(--color-brand);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.55;
}

#ablauf .tbn-ablauf__body {
  min-width: 0;
  padding: 0;
}

#ablauf .tbn-ablauf__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.55;
}

#ablauf .tbn-ablauf__desc {
  max-width: 230px;
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  opacity: 1;
}

/* Quelle styles.css:709-761 — Einsatzgebiet als 1.1/.9-Split. */
#reichweite {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  column-gap: clamp(70px, 10vw, 160px);
  row-gap: 0;
  align-items: start;
  border-bottom: 1px solid var(--flexi-border);
  background: var(--flexi-surface);
}

#reichweite .tbn-section__head {
  display: contents;
}

#reichweite .tbn-section__headline {
  grid-column: 1;
  grid-row: 1 / 3;
  font-size: clamp(3rem, 5.3vw, 5.5rem);
}

#reichweite .tbn-section__intro {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 46px;
  color: var(--flexi-ink-soft);
  font-size: 20px;
}

#reichweite .tbn-eckdaten__grid {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding-top: 0;
  border-top: 1px solid var(--flexi-border);
}

#reichweite .tbn-eckdaten__item {
  min-width: 0;
  display: grid;
  align-items: normal;
  gap: 5px;
  padding: 22px 14px 0 0;
  border: 0;
  background: transparent;
  text-align: left;
}

#reichweite .tbn-eckdaten__item + .tbn-eckdaten__item {
  padding-left: 18px;
  border-left: 1px solid var(--flexi-border);
}

#reichweite .tbn-eckdaten__icon-wrap {
  display: none;
}

#reichweite .tbn-eckdaten__value {
  order: -1;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

#reichweite .tbn-eckdaten__label {
  color: var(--flexi-ink-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: 1;
}

/* Quelle styles.css:762-886 — Story-Split und zweilagige Bildercollage. */
#ueber-uns {
  padding-bottom: 0;
  overflow: hidden;
}

#ueber-uns > .tbn-section__head {
  position: absolute;
  z-index: 2;
  top: 130px;
  left: max(60px, calc((100% - 1400px) / 2));
  margin: 0;
}

#ueber-uns .tbn-section__eyebrow {
  margin: 0;
  color: var(--color-on-surface-0);
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
}

#ueber-uns > .tbn-text-medium--collage {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: clamp(52px, 7vw, 110px);
  align-items: center;
}

#ueber-uns .tbn-text-medium__body {
  position: relative;
  gap: 0;
  padding-top: 54px;
  padding-bottom: 90px;
}

#ueber-uns .tbn-text-medium__headline {
  margin: 0 0 34px;
  font-size: clamp(3.1rem, 5.8vw, 6.1rem);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.045em;
}

#ueber-uns .tbn-text-medium__text {
  max-width: 680px;
  color: var(--flexi-ink-soft);
  font-size: 20px;
}

#ueber-uns .tbn-text-medium__text p {
  margin: 0 0 34px;
}

#ueber-uns .tbn-text-medium__text strong {
  color: var(--color-on-surface-0);
  font-weight: 650;
}

#ueber-uns .tbn-text-medium__body::before {
  content: "";
  position: absolute;
  right: 96px;
  bottom: 10px;
  left: 0;
  height: 2px;
  background: var(--color-brand);
}

#ueber-uns .tbn-text-medium__body::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 32px;
  width: 78px;
  height: 2px;
  transform: rotate(-45deg);
  background: var(--color-brand);
}

#ueber-uns .tbn-text-medium__text::after {
  content: "";
  position: absolute;
  right: 70px;
  bottom: 2px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-brand);
  border-radius: 50%;
  background: var(--color-surface-0);
  pointer-events: none;
}

#ueber-uns .tbn-text-medium__media,
#ueber-uns .tbn-text-medium__collage {
  position: relative;
  min-height: 760px;
}

#ueber-uns .tbn-text-medium__collage-item {
  position: absolute;
  display: block;
  margin: 0;
  overflow: hidden;
  background: transparent;
}

#ueber-uns .tbn-text-medium__collage-link {
  display: block;
  width: 100%;
  height: 100%;
}

#ueber-uns .tbn-text-medium__collage-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 700ms var(--tbn-ease);
}

#ueber-uns .tbn-text-medium__collage-link:hover .tbn-text-medium__collage-image {
  transform: scale(1.018);
}

#ueber-uns .tbn-text-medium__collage-item--primary {
  top: 0;
  right: 0;
  width: 78%;
  height: 760px;
  border-radius: 10px 0 0 0;
}

#ueber-uns .tbn-text-medium__collage-item--primary .tbn-text-medium__collage-image {
  object-position: 50% 44%;
}

#ueber-uns .tbn-text-medium__collage-item--secondary {
  z-index: 2;
  bottom: 22px;
  left: 0;
  width: 54%;
  aspect-ratio: 1.55;
  border: 5px solid var(--color-surface-0);
  border-radius: 6px;
}

#ueber-uns .tbn-text-medium__collage-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 13px;
  border-radius: 4px;
  background: var(--flexi-surface);
  color: var(--color-on-surface-0);
  font-size: 13px;
  font-weight: 750;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

#ueber-uns .tbn-text-medium__collage-link:hover + .tbn-text-medium__collage-caption,
#ueber-uns .tbn-text-medium__collage-link:focus-visible + .tbn-text-medium__collage-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Quelle styles.css:959-1024 — FAQ mit Plus/Minus-Marker. */
#faq {
  overflow: hidden;
  background: var(--color-surface-0);
}

#faq::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 124px;
  height: 112px;
  background: var(--color-brand);
}

#faq::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -2px;
  width: 72px;
  height: 72px;
  transform: rotate(45deg) translate(52%, 52%);
  background: var(--color-surface-0);
}

#faq .tbn-section__head {
  max-width: none;
  margin-bottom: 0;
  border-bottom-color: var(--color-on-surface-0);
}

#faq .tbn-akkordeon {
  border-top: 0;
}

#faq .tbn-akkordeon__item {
  border-bottom: 1px solid var(--flexi-ink-soft);
}

#faq .tbn-akkordeon__heading {
  margin: 0;
}

#faq .tbn-akkordeon__trigger {
  position: relative;
  min-height: 0;
  padding: 26px 72px 26px 54px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 800;
}

#faq .tbn-akkordeon__trigger:hover {
  color: var(--color-brand-hover);
}

#faq .tbn-akkordeon__marker {
  position: absolute;
  top: 50%;
  right: auto;
  left: 16px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
}

#faq .tbn-akkordeon__marker::before,
#faq .tbn-akkordeon__marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  background: var(--color-brand);
}

#faq .tbn-akkordeon__marker::before {
  width: 18px;
  height: 3px;
  transform: translateY(-50%);
}

#faq .tbn-akkordeon__marker::after {
  left: 7px;
  width: 3px;
  height: 18px;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

#faq .tbn-akkordeon__item.is-open .tbn-akkordeon__marker::after {
  transform: translateY(-50%) rotate(90deg);
}

#faq .tbn-akkordeon__inhalt {
  max-width: 900px;
  margin: -2px 60px 28px 54px;
  color: var(--flexi-ink-soft);
  font-size: 17px;
}

#faq .tbn-akkordeon__inhalt p {
  margin: 0;
}

/*
 * Engine-Naht formular/lightbox: Mit JS bleibt die technische Target-Section
 * aus dem sichtbaren Onepager; ohne Enhancement bleibt ihr nativer Anker-CTA
 * kompakt erreichbar. Quelle der Formulargeometrie: styles.css:1167-1603.
 */
#anfrage {
  padding: 32px max(60px, calc((100% - 1400px) / 2));
  border-top: 1px solid var(--flexi-border);
  background: var(--flexi-surface);
  text-align: center;
}

#anfrage .tbn-section__head {
  max-width: 760px;
  margin: 0 auto 24px;
}

#anfrage .tbn-section__headline {
  font-size: clamp(2rem, 3vw, 3rem);
}

#anfrage .tbn-form__lightbox-cta {
  display: flex;
  justify-content: center;
}

#anfrage:has([data-tbn-form-lightbox-aktiv="1"]) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* GLightbox setzt Inline-Medien sonst auf 900 × 506px. Nur dieser äußere
 * Dialog begrenzt und scrollt; Inhalt und Formular folgen seiner Breite. */
.glightbox-container .gslide-inline:has([data-tbn-schritte]) {
  width: min(960px, calc(100vw - 40px)) !important;
  height: auto !important;
  max-height: min(94svh, 900px);
  overflow: auto;
  border-radius: 10px;
  background: var(--flexi-surface);
  box-shadow: var(--flexi-shadow);
}

.glightbox-container .ginlined-content:has([data-tbn-schritte]),
.glightbox-container .tbn-form__lightbox-inner:has([data-tbn-schritte]) {
  width: 100%;
  max-height: none;
  padding: 0;
  overflow: visible;
}

.glightbox-container:has([data-tbn-schritte]) .goverlay {
  background: rgb(9 14 18 / 76%);
  backdrop-filter: blur(3px);
}

.tbn-form__dialog-kopf {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 40px 22px;
  background: var(--flexi-surface);
}

.tbn-form__dialog-titel {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 850;
  line-height: .98;
}

.tbn-form__dialog-schliessen {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-on-surface-0);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.tbn-form__dialog-schliessen:hover {
  background: var(--color-surface-muted);
}

.tbn-form__dialog-schliessen svg {
  width: 26px;
  height: 26px;
}

/* Quelle styles.css:1025-1080 — orange Abschlussflaeche. */
#kontakt {
  overflow: hidden;
  padding-block: 0;
  background: var(--color-brand);
  color: var(--color-brand-foreground);
}

#kontakt > .tbn-cta-band {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: 200px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "headline actions"
    "text actions";
  column-gap: 70px;
  row-gap: 0;
  align-items: center;
  align-content: center;
  padding-block: 48px;
  text-align: left;
}

#kontakt .tbn-cta-band__headline {
  grid-area: headline;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
}

#kontakt .tbn-cta-band__text {
  grid-area: text;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  opacity: 1;
}

#kontakt .tbn-cta-band__actions {
  grid-area: actions;
  position: relative;
  z-index: 2;
  width: auto;
  display: flex;
  align-items: center;
  gap: 38px;
  margin: 0;
}

#kontakt .tbn-cta-band__actions .tbn-btn {
  min-width: 200px;
}

#kontakt > .tbn-cta-band::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -8px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-brand-foreground);
  border-radius: 50%;
  background: var(--color-brand);
  pointer-events: none;
}

#kontakt .tbn-btn--primary,
#kontakt .tbn-cta-band__actions .tbn-btn:first-child {
  border-color: var(--flexi-surface);
  border-radius: 6px;
  background: var(--flexi-surface);
  color: var(--color-brand-text);
}

#kontakt .tbn-btn--secondary:not(:first-child) {
  min-width: 0;
  min-height: 44px;
  padding: 8px 0 5px;
  border: 0;
  border-bottom: 2px solid var(--color-brand-foreground);
  border-radius: 0;
  background: transparent;
  color: var(--color-brand-foreground);
}

#kontakt > .tbn-cta-band::before {
  content: "";
  position: absolute;
  right: -12px;
  bottom: 0;
  width: 172px;
  height: 2px;
  background: var(--color-brand-foreground);
  pointer-events: none;
}

#kontakt .tbn-cta-band__text::after {
  content: "";
  position: absolute;
  right: -74px;
  bottom: 22px;
  width: 78px;
  height: 2px;
  transform: rotate(-45deg);
  background: var(--color-brand-foreground);
  pointer-events: none;
}

/* Quelle styles.css:1081-1159 — dunkler, kompakter Footer mit heller Logoplatte. */
.tbn-footer {
  padding: 38px max(60px, calc((100% - 1400px) / 2)) 24px;
  background: var(--color-surface-dark);
  color: var(--color-on-surface-dark);
}

.tbn-footer__spalten {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 76px;
  align-items: center;
  /* 40px Leerraum + 2px Border der folgenden Bottom-Bar = Source-rule 42px. */
  padding-block: 0 40px;
}

.tbn-footer__block {
  margin: 0;
}

.tbn-footer__spalte:last-child {
  justify-self: end;
}

.tbn-footer__spalten-titel {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.tbn-footer__block--logo {
  width: 92px;
  padding: 5px;
  border-radius: 4px;
  background: var(--color-surface-0);
}

.tbn-footer__block--logo :is(img, svg.custom-logo),
.tbn-footer__logo {
  width: 80px;
  height: 74px;
  max-height: none;
  margin: 0;
  object-fit: contain;
}

.tbn-footer__nav,
.tbn-footer__menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: clamp(28px, 5vw, 72px);
}

.tbn-footer__nav a,
.tbn-footer__menu a {
  position: relative;
  display: block;
  color: inherit;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.55;
  text-decoration: none;
  opacity: 1;
}

.tbn-footer__nav a::after,
.tbn-footer__menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--color-brand);
  transition: transform 220ms var(--tbn-ease);
}

.tbn-footer__nav a:hover::after,
.tbn-footer__nav a:focus-visible::after,
.tbn-footer__menu a:hover::after,
.tbn-footer__menu a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.tbn-footer__kontakt {
  font-size: 16px;
  font-weight: 650;
}

.tbn-footer__kontakt-line {
  gap: 12px;
  opacity: 1;
}

.tbn-footer__kontakt-icon {
  width: 26px;
  height: 26px;
  color: var(--color-brand);
}

.tbn-footer__block--freitext,
.tbn-footer__text {
  max-width: none;
  margin: 0;
  color: inherit;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.55;
  opacity: 1;
}

.tbn-footer__block--freitext {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tbn-footer__block--freitext::before {
  content: "";
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  background: var(--color-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0zM12 7a3 3 0 1 0 0 6 3 3 0 0 0 0-6z' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0zM12 7a3 3 0 1 0 0 6 3 3 0 0 0 0-6z' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tbn-footer__text p {
  margin: 0;
}

.tbn-footer__bottom {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px 0;
  border-top: 2px solid var(--color-brand);
  color: rgb(255 255 255 / 60%);
  font-size: 13px;
}

.tbn-footer__bottom::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -8px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-brand);
  border-radius: 50%;
  background: var(--color-surface-dark);
}

.tbn-footer__meta,
.tbn-footer__legal {
  gap: 28px;
}

/* Quelle styles.css:1137-1158 — Pflichtlinks links/oben, Statuszeile rechts/unten. */
.tbn-footer__bottom--legal-links .tbn-footer__legal {
  order: -1;
}

.tbn-footer__copyright,
.tbn-footer__credit {
  margin: 0;
  color: inherit;
}

.tbn-footer__legal-link {
  min-height: 0;
  color: var(--color-on-surface-dark);
  opacity: 1;
  text-underline-offset: 5px;
}

/* Quelle styles.css:1185-1603 — Engine-Form als dreistufiger Anfrage-Wizard. */
[data-tbn-form][data-tbn-schritte] {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: 0 40px;
  overflow: visible;
  background: var(--flexi-surface);
  color: var(--color-on-surface-0);
}

.tbn-form__fortschritt {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 28px;
  padding: 0 0 20px;
  border-bottom: 3px solid var(--color-surface-muted);
  list-style: none;
}

.tbn-form__fortschritt::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-brand);
  transition: width 250ms var(--tbn-ease);
}

[data-tbn-schritt-aktiv="2"] .tbn-form__fortschritt::after {
  width: 50%;
}

[data-tbn-schritt-aktiv="3"] .tbn-form__fortschritt::after {
  width: 100%;
}

.tbn-form__fortschritt-schritt {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--flexi-ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.tbn-form__fortschritt-schritt:nth-child(2) {
  justify-self: center;
}

.tbn-form__fortschritt-schritt:nth-child(3) {
  justify-self: end;
}

.tbn-form__fortschritt-nummer {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--flexi-border);
  border-radius: 50%;
  background: var(--flexi-surface);
  font-size: 16px;
  font-weight: 750;
}

.tbn-form__fortschritt-schritt:is(.is-active, .is-complete) {
  color: var(--color-on-surface-0);
}

.tbn-form__fortschritt-schritt.is-active .tbn-form__fortschritt-nummer {
  border-color: var(--color-brand);
  background: var(--flexi-surface);
  color: var(--color-on-surface-0);
}

.tbn-form__fortschritt-schritt.is-complete .tbn-form__fortschritt-nummer {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: var(--color-brand-foreground);
}

.tbn-form__schritt {
  padding-bottom: 30px;
}

.tbn-form__schritt-titel {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

[data-tbn-form][data-tbn-schritte] [data-feld="leistung"] legend,
[data-tbn-form][data-tbn-schritte] .tbn-form__zwischentitel {
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -.025em;
}

[data-tbn-form][data-tbn-schritte] .tbn-form__grid {
  gap: 20px 24px;
}

[data-tbn-form][data-tbn-schritte] .tbn-form__feld {
  min-width: 0;
  gap: 8px;
}

[data-tbn-form][data-tbn-schritte] .tbn-form__zwischentitel {
  margin-top: 24px;
  margin-bottom: 4px;
}

[data-tbn-form][data-tbn-schritte] .tbn-form__label {
  color: var(--color-on-surface-0);
  font-size: 14px;
  font-weight: 720;
}

[data-tbn-form][data-tbn-schritte] .tbn-form__gruppe {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

[data-tbn-form][data-tbn-schritte] .tbn-form__gruppe:has(> .tbn-form__option:nth-of-type(5)) {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

[data-tbn-form][data-tbn-schritte] .tbn-form__gruppe > .tbn-form__label {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

[data-tbn-form][data-tbn-schritte] [data-feld="leistung"] legend {
  margin-bottom: 24px;
}

[data-tbn-form][data-tbn-schritte] :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--flexi-border);
  border-radius: 3px;
  background: var(--flexi-surface);
  color: var(--color-on-surface-0);
  font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

[data-tbn-form][data-tbn-schritte] :is(input:not([type="checkbox"]):not([type="radio"]), select) {
  padding: 0 15px;
}

/* Quelle index.html:77/362/496: native Datumsfelder mit Kalender-Indikator.
 * Flatpickr verwendet Textfelder; deren fehlendes Icon hier explizit ergänzen.
 * Gebündeltes Lucide-Icon, kein neuer Button/Tabstopp: das ganze Feld öffnet
 * bereits den Picker. Native mobile Ersatzfelder behalten ihr Browser-Icon. */
.tbn-form-start input[data-tbn-datepicker="datum"],
[data-tbn-form][data-tbn-schritte] .tbn-form__feld input[data-tbn-datepicker="datum"] {
  padding-right: 44px;
  background-image: url("../../../tabon/assets/vendor/lucide/calendar.svg");
  background-position: right 15px center;
  background-size: 16px 16px;
  background-repeat: no-repeat;
  cursor: pointer;
}

[data-tbn-form][data-tbn-schritte] textarea {
  min-height: 112px;
  padding: 13px 15px;
  resize: vertical;
}

[data-tbn-form][data-tbn-schritte] :is(input, select, textarea):focus {
  border-color: var(--color-brand);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(223 61 11 / 16%);
}

[data-tbn-form][data-tbn-schritte] .tbn-form__option:not(.tbn-form__option--check) {
  position: relative;
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--flexi-border);
  border-radius: 4px;
  background: var(--flexi-surface);
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  text-align: center;
}

[data-tbn-form][data-tbn-schritte] .tbn-form__option:not(.tbn-form__option--check) input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

[data-tbn-form][data-tbn-schritte] .tbn-form__option:not(.tbn-form__option--check) input:focus-visible + span {
  outline: 3px solid #1387d4;
  outline-offset: 3px;
}

[data-tbn-form][data-tbn-schritte] .tbn-form__option:not(.tbn-form__option--check):has(input:checked) {
  border: 2px solid var(--color-brand);
  background: rgb(223 61 11 / 4%);
  color: var(--color-brand-text);
}

[data-tbn-form][data-tbn-schritte] input[type="checkbox"],
[data-tbn-form][data-tbn-schritte] input[type="radio"] {
  accent-color: var(--color-brand);
}

[data-tbn-form][data-tbn-schritte] .tbn-form__dropzone-flaeche {
  min-height: 84px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px dashed #8f969a;
  border-radius: 4px;
  text-align: center;
}

[data-tbn-form][data-tbn-schritte] .tbn-form__dropzone-flaeche:hover {
  border-color: var(--color-brand);
  background: rgb(223 61 11 / 4%);
}

[data-tbn-form][data-tbn-schritte] [aria-invalid="true"] {
  border-color: var(--color-error) !important;
  box-shadow: 0 0 0 3px rgb(164 35 24 / 12%);
}

.tbn-form__schritte-nav {
  position: sticky;
  z-index: 2;
  right: -40px;
  bottom: 0;
  left: -40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin-inline: -40px;
  margin-top: 0;
  padding: 18px 40px;
  border-top: 1px solid var(--flexi-border);
  background: var(--flexi-surface);
}

.tbn-form__schritte-nav [data-tbn-schritt-weiter] {
  grid-column: 3;
}

.tbn-form__schritte-status {
  margin: 0;
  color: var(--flexi-ink-soft);
  font-size: 12px;
  text-align: center;
}

.tbn-form__done {
  padding: 26px 40px 46px;
  text-align: center;
}

.tbn-form__done h3 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.tbn-form__summary {
  border-left-color: var(--color-error);
  border-radius: 4px;
}

/* Quelle styles.css:1160-1184, 1905-1940 — mobile Schnellaktion. */
.tbn-mobil-cta {
  display: none;
}

/* Die Referenz reserviert den Platz am Body; Engine-Footerpolster entfaellt. */
.tbn-mobil-cta-bis-md .tbn-footer__bottom,
.tbn-mobil-cta-bis-lg .tbn-footer__bottom {
  padding-bottom: 0;
}

/* Quelle styles.css:1775-1834 — mittlere Desktopstufe. */
@media (max-width: 1180px) {
  :root {
    --flexi-header-height: 94px;
  }

  .tbn-header {
    padding-inline: 28px;
  }

  .tbn-header__inner {
    gap: 24px;
  }

  .tbn-nav__list {
    gap: 28px;
  }

  #leistungen,
  #reichweite,
  #ablauf,
  #ueber-uns,
  #faq,
  #anfrage,
  #kontakt {
    padding-inline: 36px;
  }

  #start {
    padding-bottom: 176px;
  }

  #start > .tbn-hero {
    --flexi-hero-band: 176px;
    --flexi-hero-panel: clamp(
      360px,
      calc(100svh - var(--flexi-header-height) - var(--flexi-hero-band) - var(--flexi-hero-gap)),
      540px
    );
    grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  }

  #start .tbn-hero__body {
    padding-left: 36px;
  }

  #start .tbn-hero__headline {
    font-size: clamp(3.7rem, 6vw, 5.6rem);
  }

  .tbn-section.tbn-formular-start {
    min-height: 176px;
    margin-top: -176px;
    padding: 52px 36px 0;
  }

  .tbn-form-start {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .tbn-form-start__submit {
    grid-column: 3;
  }

  #leistungen .tbn-karten-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px 90px;
  }

  #ablauf .tbn-ablauf__list--nummeriert {
    gap: 24px;
  }

  #ueber-uns > .tbn-text-medium--collage {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 48px;
  }

  #ueber-uns > .tbn-section__head {
    left: 36px;
  }
}

/* Quelle styles.css:1835-1869 / app.js:8 — Desktop ab 901px.
 * Derselbe Umschaltwert ist über tabon_navigation_config im Child gesetzt. */
@media (min-width: 901px) {
  .tbn-header__burger {
    display: none !important;
  }

  .tbn-header .tbn-header__cta {
    display: inline-flex !important;
  }

  .tbn-header__nav {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    max-height: none;
    margin-left: auto;
    padding: 0;
    overflow: visible;
    visibility: visible;
    transform: none;
    clip-path: none;
    border: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
  }

  .tbn-drawer__viewport {
    display: contents;
  }

  .tbn-drawer__footer {
    display: none;
  }

  .tbn-nav__list {
    height: auto;
    flex-direction: row;
    align-items: center;
    overflow: visible;
    padding: 0;
  }
}

/* Quelle styles.css:338-378,1835-1869 — aufklappendes mobiles Menü. */
@media (max-width: 900px) {
  :root {
    --flexi-header-height: 82px;
  }

  body {
    padding-bottom: 74px;
    font-size: 17px;
  }

  .tbn-header {
    padding-inline: 18px;
  }

  .tbn-header__brand,
  .tbn-header .custom-logo-link,
  .tbn-header .tbn-brand__kachel {
    width: 70px;
    height: 66px;
    flex-basis: 70px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .tbn-header img.custom-logo,
  .tbn-header .tbn-brand__kachel :is(img, svg) {
    width: 70px;
    height: 66px;
  }

  .tbn-header__burger {
    min-width: 92px;
    min-height: 52px;
    display: inline-grid !important;
    place-items: center;
    margin-left: auto;
    padding: 12px 22px;
    border: 0;
    border-radius: 6px;
    background: var(--color-brand);
    color: var(--color-brand-foreground);
    font-size: 16px;
    line-height: 1.55;
  }

  .tbn-header__burger svg {
    display: none;
  }

  .tbn-header__burger::after {
    content: attr(aria-label);
    font-size: 16px;
    font-weight: 750;
  }

  .tbn-header__cta {
    display: none !important;
  }

  .tbn-header__nav {
    position: fixed;
    inset: var(--flexi-header-height) 0 auto;
    z-index: 105;
    width: auto;
    height: auto;
    max-height: calc(100svh - var(--flexi-header-height));
    display: block;
    margin-left: 0;
    padding: 24px;
    overflow-y: auto;
    visibility: hidden;
    transform: none;
    clip-path: none;
    border-bottom: 1px solid var(--flexi-border);
    background: var(--flexi-surface);
    color: var(--color-on-surface-0);
    box-shadow: 0 20px 38px rgb(20 27 32 / 14%);
    transition: none;
  }

  .tbn-header__nav.is-open {
    visibility: visible;
    transform: none;
    clip-path: none;
    box-shadow: 0 20px 38px rgb(20 27 32 / 14%);
  }

  .tbn-drawer__footer {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .tbn-drawer__cta {
    width: 100%;
    border: 0;
  }

  .tbn-drawer__viewport {
    display: block;
    overflow: visible;
  }

  .tbn-nav__list {
    height: auto;
    display: grid;
    margin: 0 0 20px;
    gap: 0;
    padding: 0;
    overflow: visible;
  }

  .tbn-nav__item {
    position: static;
  }

  .tbn-nav__link {
    min-height: 0;
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--flexi-border);
    border-radius: 0;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.55;
    letter-spacing: normal;
    background: transparent;
  }

  .tbn-nav__link:hover,
  .tbn-nav__link:focus-visible {
    background: transparent;
  }

  .tbn-nav__list > .tbn-nav__item > .tbn-nav__link::after {
    content: none;
  }

  #start {
    padding-bottom: 0;
  }

  #start > .tbn-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  #start .tbn-hero__body {
    min-height: 0;
    padding: 72px 22px 96px;
  }

  #start .tbn-hero__headline {
    margin-bottom: 28px;
    font-size: clamp(3.25rem, 13vw, 5rem);
    line-height: .98;
  }

  #start :is(.tbn-hero__subline, .tbn-hero__text) {
    margin-bottom: 30px;
    font-size: 1.18rem;
  }

  #start .tbn-hero__actions {
    flex-wrap: wrap;
    gap: 20px 26px;
  }

  #start .tbn-hero__actions .tbn-btn--primary {
    min-width: 210px;
  }

  #start .tbn-hero__media {
    min-height: 0;
    height: 500px;
  }

  #start .tbn-hero__media img {
    object-position: 50% 50%;
  }

  #start .tbn-hero__body::before {
    bottom: 28px;
  }

  #start .tbn-hero__body::after {
    bottom: 50px;
  }

  #start .tbn-hero__actions::after {
    bottom: 20px;
  }

  .tbn-section.tbn-formular-start {
    display: none;
  }

  #leistungen,
  #reichweite,
  #ablauf,
  #ueber-uns,
  #faq,
  #anfrage,
  #kontakt {
    padding-inline: 22px;
  }

  #leistungen {
    padding-top: 104px;
  }

  #leistungen,
  #reichweite,
  #ueber-uns,
  #faq {
    padding-block: 98px;
  }

  #leistungen .tbn-section__head,
  #ablauf .tbn-section__head,
  #faq .tbn-section__head {
    margin-bottom: 58px;
  }

  #leistungen::before,
  #faq::before {
    width: 82px;
    height: 76px;
  }

  #leistungen::after,
  #faq::after {
    top: 2px;
    right: -2px;
  }

  #leistungen .tbn-karten-grid {
    gap: 62px 40px;
  }

  #ablauf .tbn-ablauf__list--nummeriert {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px 40px;
  }

  #ablauf .tbn-ablauf__list--nummeriert::before {
    display: none;
  }

  #ablauf .tbn-ablauf__step--nummeriert {
    padding-top: 74px;
  }

  #ablauf .tbn-ablauf__step--nummeriert::before {
    top: 38px;
  }

  #reichweite,
  #ueber-uns > .tbn-text-medium--collage {
    grid-template-columns: 1fr;
  }

  #reichweite .tbn-section__headline {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 46px;
  }

  #reichweite .tbn-section__intro {
    grid-column: 1;
    grid-row: 2;
    margin: 0 0 46px;
  }

  #reichweite .tbn-eckdaten__grid {
    grid-column: 1;
    grid-row: 3;
    padding-top: 0;
  }

  #ueber-uns > .tbn-section__head {
    top: 98px;
    left: 22px;
  }

  #ueber-uns .tbn-text-medium__body {
    padding-bottom: 70px;
  }

  #ueber-uns .tbn-text-medium__media,
  #ueber-uns .tbn-text-medium__collage {
    min-height: 700px;
  }

  #kontakt > .tbn-cta-band {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "headline"
      "text"
      "actions";
    gap: 0;
  }

  #kontakt .tbn-cta-band__actions {
    margin-top: 32px;
  }

  .tbn-footer {
    padding-inline: 22px;
  }

  .tbn-footer__block--logo {
    width: 70px;
  }

  .tbn-footer__block--logo :is(img, svg.custom-logo),
  .tbn-footer__logo {
    width: 60px;
    height: 66px;
  }

  .tbn-footer__block--freitext,
  .tbn-footer__text {
    font-size: 17px;
  }

  .tbn-footer__spalten {
    grid-template-columns: auto 1fr;
    gap: 38px;
  }

  .tbn-footer__nav,
  .tbn-footer__menu {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .tbn-footer__spalte:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .tbn-mobil-cta.tbn-mobil-cta--geteilt {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 74px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--flexi-border);
    background: rgb(246 242 236 / 97%);
    backdrop-filter: blur(14px);
  }

  .tbn-mobil-cta:not(.tbn-mobil-cta--geteilt) {
    position: fixed;
    z-index: 90;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 12px;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid var(--color-brand);
    border-radius: 6px;
    background: var(--color-brand);
    color: var(--color-brand-foreground);
    box-shadow: 0 0 0 10px rgb(246 242 236 / 97%);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.1;
    text-decoration: none;
  }

  .tbn-mobil-cta__aktion {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--color-on-surface-0);
    border-radius: 6px;
    color: var(--color-on-surface-0);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.1;
    text-decoration: none;
  }

  .tbn-mobil-cta__aktion--cta {
    border-color: var(--color-brand);
    background: var(--color-brand);
    color: var(--color-brand-foreground);
  }

  .tbn-mobil-cta__icon,
  .tbn-mobil-cta__icon svg {
    width: 22px;
    height: 22px;
  }

  .glightbox-container .gslide-inline:has([data-tbn-schritte]) {
    width: calc(100vw - 24px) !important;
    max-height: calc(100svh - 24px);
  }

  [data-tbn-form][data-tbn-schritte] .tbn-form__gruppe,
  [data-tbn-form][data-tbn-schritte] .tbn-form__gruppe:has(> .tbn-form__option:nth-of-type(5)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Quelle styles.css:2046-2315 — schmale Mobilstufe. */
@media (max-width: 600px) {
  .tbn-section__headline {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  #start .tbn-hero__body {
    padding-top: 62px;
    padding-bottom: 100px;
  }

  #start .tbn-hero__headline {
    font-size: clamp(2.6rem, 12vw, 3.35rem);
  }

  #start .tbn-hero__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
  }

  #start .tbn-hero__actions .tbn-btn--primary {
    min-width: 0;
  }

  #start .tbn-hero__media {
    height: 390px;
  }

  #leistungen,
  #reichweite,
  #ablauf,
  #ueber-uns,
  #faq,
  #anfrage,
  #kontakt {
    padding-inline: 20px;
  }

  #leistungen,
  #reichweite,
  #ueber-uns,
  #faq {
    padding-block: 82px;
  }

  #leistungen .tbn-section__head,
  #ablauf .tbn-section__head,
  #faq .tbn-section__head {
    margin-bottom: 46px;
    padding-bottom: 22px;
  }

  #leistungen .tbn-karten-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  #leistungen .tbn-card__body {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 20px;
  }

  #leistungen .tbn-card__icon {
    grid-row: 1 / 3;
    width: 52px;
    height: 52px;
    margin: 4px 0 0;
  }

  #leistungen :is(.tbn-card__headline, .tbn-card__text) {
    grid-column: 2;
  }

  #leistungen .tbn-card__headline {
    margin-bottom: 24px;
    font-size: 1.7rem;
  }

  #ablauf {
    padding-block: 76px;
  }

  #ablauf .tbn-ablauf__list--nummeriert {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-left: 38px;
  }

  #ablauf .tbn-ablauf__list--nummeriert::before {
    top: 8px;
    bottom: 16px;
    left: 8px;
    width: 2px;
    height: auto;
    display: block;
  }

  #ablauf .tbn-ablauf__step--nummeriert {
    padding-top: 0;
  }

  #ablauf .tbn-ablauf__number {
    position: static;
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
  }

  #ablauf .tbn-ablauf__step--nummeriert::before {
    top: 6px;
    left: -38px;
  }

  #reichweite {
    column-gap: 0;
    row-gap: 0;
  }

  #reichweite .tbn-section__headline {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  #reichweite .tbn-eckdaten__grid {
    grid-template-columns: 1fr;
  }

  #reichweite .tbn-eckdaten__item + .tbn-eckdaten__item {
    margin-top: 18px;
    padding-left: 0;
    border-left: 0;
  }

  #ueber-uns .tbn-text-medium__headline {
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  #ueber-uns > .tbn-section__head {
    top: 82px;
    left: 20px;
  }

  #ueber-uns .tbn-text-medium__media,
  #ueber-uns .tbn-text-medium__collage {
    min-height: 560px;
  }

  #ueber-uns .tbn-text-medium__collage-item--primary {
    width: 88%;
    height: 560px;
  }

  #ueber-uns .tbn-text-medium__collage-item--secondary {
    width: 66%;
  }

  #faq .tbn-akkordeon__trigger {
    padding: 22px 34px 22px 38px;
  }

  #faq .tbn-akkordeon__marker {
    left: 5px;
  }

  #faq .tbn-akkordeon__inhalt {
    margin-inline: 38px 10px;
  }

  #kontakt > .tbn-cta-band {
    padding-block: 46px;
  }

  #kontakt .tbn-cta-band__actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  #kontakt .tbn-cta-band__actions .tbn-btn {
    min-width: 0;
  }

  .tbn-footer {
    padding-inline: 20px;
  }

  .tbn-footer__spalten {
    grid-template-columns: 1fr;
  }

  .tbn-footer__nav {
    display: block;
  }

  .tbn-footer__menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: flex-start;
  }

  .tbn-footer__spalte:nth-child(3) {
    grid-column: auto;
  }

  .tbn-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .tbn-form__dialog-kopf {
    padding: 24px 20px 18px;
  }

  [data-tbn-form][data-tbn-schritte] {
    padding: 0 20px;
  }

  .tbn-form__fortschritt {
    margin-bottom: 24px;
  }

  .tbn-form__fortschritt-schritt {
    gap: 6px;
    font-size: 12px;
  }

  .tbn-form__fortschritt-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
  }

  .tbn-form__fortschritt-nummer {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 14px;
  }

  [data-tbn-form][data-tbn-schritte] .tbn-form__grid {
    grid-template-columns: 1fr;
  }

  .tbn-form__schritte-nav {
    grid-template-columns: auto 1fr;
    margin-inline: -20px;
    padding: 14px 20px;
  }

  .tbn-form__schritte-status {
    display: none;
  }

  .tbn-form__schritte-nav [data-tbn-schritt-weiter] {
    grid-column: 2;
    justify-self: end;
  }
}

/* Quelle styles.css:2316-2333 — Bewegungsreduktion. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
