/* Laubert auf brandnext.de (23.10.2026). Alles hinter html.lb-on, bis zur Freigabe nur per ?vorschau=laubert sichtbar. */
html:not(.lb-on) .lb-x { display: none !important; }

/* ---------- Aufräumen Startseite ---------- */
html.lb-on .c-eyebrow { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 400; color: var(--color-secondary); }
html.lb-on .c-card__num, html.lb-on .c-features__num { display: none; }
html.lb-on .c-card__tag::before, html.lb-on .c-greet::before { display: none; }
html.lb-on .c-ring-tour__start-icon::after { animation: none; display: none; }
html.lb-on .c-ring-hero__next { display: none; }
html.lb-on .c-kw__eyebrow { text-transform: none; letter-spacing: 0; font-size: 13px; }
html.lb-on .c-kw__eyebrow::before, html.lb-on .c-kw__eyebrow::after { content: none; }

/* ---------- Clip + Sprechblase ---------- */
.lb-clip { display: block; pointer-events: none; }
.lb-clip video, .lb-clip img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.lb-bubble { position: absolute; width: max-content; max-width: 220px; background: #fff; color: #0B140C; text-align: left; border-radius: 14px; padding: 12px 15px; font-size: 14px; line-height: 1.4; box-shadow: 0 6px 24px rgba(11, 20, 12, .16); min-height: 46px; opacity: 0; transform: translateY(6px) scale(.97); transition: opacity .3s, transform .3s; z-index: 3; pointer-events: none; }
.lb-bubble.is-on { opacity: 1; transform: none; }
.lb-bubble::after { content: ""; position: absolute; width: 14px; height: 14px; background: inherit; transform: rotate(45deg); border-radius: 2px; right: 22px; bottom: -6px; }

/* ---------- CTA-Band, Variante B ---------- */
html.lb-on .c-cta-band:has(.lb-cta-b) { overflow: visible; }
.lb-btnwrap { position: relative; display: inline-block; }
.lb-btnwrap > .c-btn { position: relative; z-index: 2; }
.lb-stand { position: absolute; right: calc(100% - 46px); bottom: -78px; width: 170px; height: 220px; overflow: hidden; pointer-events: none; z-index: 1; }
.lb-stand .lb-clip { position: absolute; width: 160px; left: 0; bottom: -6px; }
.lb-cta-b .lb-bubble { right: calc(100% + 132px); bottom: 34px; }
.lb-cta-b .lb-bubble::after { right: -6px; bottom: 18px; }
html.lb-on .c-cta-band:has(.lb-cta-b) .c-cta-band__inner { padding-top: 40px; padding-bottom: 40px; }

/* ---------- Magazin: Karte „Laubert erklärt“ ---------- */
@media (min-width: 1025px) { html.lb-on .lb-posts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 1024px) { html.lb-on .lb-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lb-card { position: relative; background: #0B140C; color: #fff; border-radius: var(--radius-md, 6px); padding: 20px; display: flex; flex-direction: column; min-height: 380px; overflow: hidden; }
.lb-card__q { font-size: 21px; line-height: 1.22; font-weight: 500; letter-spacing: -.01em; max-width: 12ch; margin: 0; color: #fff; }
.lb-card__sub { font-size: 14px; color: rgba(255, 255, 255, .72); margin: 8px 0 0; max-width: 20ch; }
.lb-card .lb-clip { position: absolute; width: 180px; right: -36px; bottom: -12px; z-index: 1; }
.lb-voice { margin-top: auto; display: grid; gap: 10px; position: relative; z-index: 2; width: 152px; }
.lb-sub { font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, .78); height: 72px; overflow: hidden; margin: 0; display: flex; align-items: flex-end; }
.lb-play { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #0B140C; border: 0; border-radius: 6px; padding: 9px 10px; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; width: 152px; }
.lb-play:focus-visible, .lb-card__more:focus-visible, .lb-go__stage:focus-visible, .lb-social a:focus-visible { outline: 2px solid #E3B85C; outline-offset: 3px; }
.lb-play-label { width: 86px; text-align: left; white-space: nowrap; }
.lb-bars { display: flex; gap: 3px; align-items: center; height: 18px; }
.lb-bars i { display: block; width: 3px; border-radius: 2px; background: #A9C7AB; height: 30%; }
.lb-voice.is-playing .lb-bars i { animation: lb-eq .9s ease-in-out infinite; }
.lb-bars i:nth-child(2n) { animation-delay: -.3s; } .lb-bars i:nth-child(3n) { animation-delay: -.6s; }
@keyframes lb-eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.lb-card__more { color: #fff; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Wissen für unterwegs ---------- */
.lb-go__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lb-go__links { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.lb-go__links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lb-go__stage { position: relative; justify-self: center; width: min(320px, 100%); display: block; color: inherit; text-decoration: none; }
.lb-go__shot { display: block; width: 100%; height: auto; aspect-ratio: 9 / 14; object-fit: cover; object-position: top; border-radius: 6px; }
.lb-go__play { position: absolute; right: 14px; top: 14px; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; transition: transform .2s; }
.lb-go__play svg { width: 18px; height: 18px; fill: #0B140C; margin-left: 4px; }
.lb-go__stage:hover .lb-go__play { transform: scale(1.06); }
.lb-go__mini { position: absolute; left: -56px; bottom: 34px; background: #fff; color: #0B140C; border-radius: 12px; box-shadow: 0 12px 34px rgba(11, 20, 12, .18); padding: 12px 12px 12px 16px; display: flex; gap: 14px; align-items: center; width: 280px; }
.lb-go__mini b { display: block; font-size: 14px; font-weight: 600; }
.lb-go__mini small { display: block; font-size: 12px; color: #50564f; line-height: 1.35; }
.lb-go__thumb { position: relative; width: 58px; height: 58px; border-radius: 10px; overflow: hidden; flex: none; background: #0B140C; }
.lb-go__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.lb-go__thumb i { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; }
.lb-go__thumb i svg { fill: #0B140C; }

/* ---------- Footer-Icons ---------- */
.lb-social { list-style: none; display: flex; gap: 18px; padding: 0; margin: 18px 0 0; }
.lb-social a { display: inline-flex; color: #fff; }
.lb-social a:hover { color: #A9C7AB; }
.lb-social svg { width: 20px; height: 20px; }

/* ---------- Chat: Laubert als Profilbild ---------- */
.lb-ava { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none; background: #F1ECDF; display: block; }
.lb-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
html.lb-on .c-kw__pill.has-lb { padding-left: 6px; }
html.lb-on .c-kw__pill.has-lb .c-kw__leaf { display: none; }
.c-kw__head .lb-ava { width: 44px; height: 44px; margin-right: 10px; }
html.lb-on .c-kw__head.has-lb > div:first-of-type { display: flex; align-items: center; }

@media (max-width: 767px) {
  .lb-go__inner { grid-template-columns: 1fr; gap: 32px; }
  .lb-go__mini { left: -8px; width: min(280px, 100%); }
  .lb-stand { width: 130px; height: 180px; bottom: -60px; right: calc(100% - 30px); }
  .lb-stand .lb-clip { width: 124px; }
  .lb-cta-b .lb-bubble { right: auto; left: -110px; bottom: 120px; max-width: 200px; }
  .lb-card { min-height: 340px; }
}
@media (prefers-reduced-motion: reduce) { .lb-bubble { transition: none; } .lb-voice .lb-bars i { animation: none; } }

/* ---------- Runde 2 (23.10.2026) ---------- */
html.lb-on .c-greet { display: none !important; }
html.lb-on .c-cards--index .c-card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 1.5rem; column-gap: clamp(32px, 5vw, 72px); }
@media (max-width: 767px) { html.lb-on .c-cards--index .c-card { grid-template-columns: minmax(0, 1fr) 1.5rem; } }
.lb-stand { right: calc(100% - 22px); }
.lb-cta-b .lb-bubble { bottom: 20px; }

/* Laubert-Teaser unter dem Hero */
.lb-intro { padding-block: clamp(40px, 6vw, 72px); }
.lb-intro__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 960px; }
.lb-intro__fig { position: relative; width: 210px; }
.lb-intro__fig .lb-bubble { left: 150px; bottom: 150px; right: auto; }
.lb-intro__fig .lb-bubble::after { left: 18px; right: auto; bottom: -6px; }
.lb-intro__title { margin: 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; font-weight: 400; letter-spacing: -.015em; }
.lb-intro__text { margin: 12px 0 0; max-width: 52ch; color: var(--color-text-muted); }
.lb-intro__links { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.lb-intro__links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .lb-intro__inner { grid-template-columns: 1fr; }
  .lb-intro__fig { width: 160px; margin-top: 70px; }
  .lb-intro__fig .lb-bubble { left: 110px; bottom: 120px; max-width: 190px; }
}

/* Wissen für unterwegs: Bild und Karte getrennt verlinkt */
.lb-go__stage { position: relative; justify-self: center; width: min(320px, 100%); }
.lb-go__shotlink { display: block; position: relative; }
a.lb-go__mini { text-decoration: none; }
a.lb-go__mini:hover b { text-decoration: underline; }
.lb-intro { padding-top: clamp(96px, 9vw, 120px); }
.lb-intro__fig .lb-bubble { left: 70px; bottom: 205px; max-width: 240px; }
.lb-intro__fig .lb-bubble::after { left: 40px; }
@media (max-width: 767px) { .lb-intro__fig .lb-bubble { left: 40px; bottom: 160px; } }

/* ---------- Runde 3: Teaser als geboxtes Special ---------- */
.lb-intro { padding-block: clamp(40px, 6vw, 72px) 0; }
.lb-intro__box { position: relative; overflow: hidden; background: #DCE8DC; border-radius: 10px; min-height: 325px; display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 40px); padding: 32px clamp(24px, 5vw, 64px) 0 clamp(16px, 3vw, 40px); }
.lb-intro__inner { display: contents; }
.lb-intro__fig { position: relative; width: 280px; align-self: end; z-index: 2; }
.lb-intro__fig .lb-clip { width: 250px; margin-bottom: -8px; }
.lb-intro__fig .lb-bubble { left: 170px; bottom: 200px; right: auto; max-width: 230px; }
.lb-intro__fig .lb-bubble::after { left: 22px; right: auto; bottom: -6px; }
.lb-intro__copy { position: relative; z-index: 2; padding: 24px 0 40px; max-width: 56ch; }
.lb-intro__title { margin: 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; font-weight: 400; letter-spacing: -.015em; color: #0B140C; }
.lb-intro__text { margin: 12px 0 0; color: #33402f; }
.lb-intro__links { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.lb-intro__link { color: #0B140C; text-decoration: underline; text-underline-offset: 3px; }
.lb-intro__links .c-btn { border-radius: 6px; }

/* fliegende Blätter */
.lb-leaves { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.lb-leaf { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); transform: rotate(var(--r)); animation: lb-drift var(--d) ease-in-out var(--dl) infinite; opacity: .85; }
.lb-leaf svg { width: 100%; height: 100%; display: block; }
.lb-leaf path { fill: #7FA66A; }
.lb-leaf .v { stroke: #4E7A40; stroke-width: 1.2; fill: none; }
.lb-leaf--b path { fill: #9BBF85; } .lb-leaf--b .v { stroke: #6E9A5C; }
.lb-leaf--c path { fill: #5E8A4E; } .lb-leaf--c .v { stroke: #3F6B42; }
@keyframes lb-drift {
  0%   { transform: translate(0, 0) rotate(var(--r)); }
  25%  { transform: translate(-18px, 22px) rotate(calc(var(--r) + 25deg)); }
  50%  { transform: translate(10px, 44px) rotate(calc(var(--r) - 10deg)); }
  75%  { transform: translate(-8px, 20px) rotate(calc(var(--r) + 15deg)); }
  100% { transform: translate(0, 0) rotate(var(--r)); }
}
@media (prefers-reduced-motion: reduce) { .lb-leaf { animation: none; } }
@media (max-width: 767px) {
  .lb-intro__box { grid-template-columns: 1fr; padding: 120px 20px 0; }
  .lb-intro__fig { order: 2; width: 220px; justify-self: center; }
  .lb-intro__fig .lb-clip { width: 200px; }
  .lb-intro__fig .lb-bubble { left: 120px; bottom: 170px; max-width: 180px; }
  .lb-intro__copy { order: 1; padding: 0; }
  .lb-leaf { opacity: .6; }
}
.lb-intro__box { grid-template-columns: 300px minmax(0, 1fr); }
.lb-intro__fig { width: 300px; }
.lb-intro__fig .lb-clip { width: 215px; }
.lb-intro__fig .lb-bubble { left: 104px; bottom: 214px; max-width: 196px; }
.lb-intro__links .c-btn, .lb-intro__links .c-btn:visited { background: #0B140C; color: #fff !important; border-color: #0B140C; }
.lb-intro__links .c-btn:hover { background: #3F6B42; border-color: #3F6B42; }
.lb-leaf { width: calc(var(--s) * 1.25); height: calc(var(--s) * 1.25); }
.lb-intro .lb-play { width: auto; padding: 11px 14px; border: 1px solid #0B140C; background: #fff; }
.lb-intro.is-playing .lb-bars i { animation: lb-eq .9s ease-in-out infinite; }
.lb-intro .lb-bars i { background: #3F6B42; }

/* ---------- Mobil-Optimierung (23.10.2026) ---------- */
html { overflow-x: clip; }
@media (max-width: 1024px) {
  .c-nav { max-width: 100vw; box-sizing: border-box; }
  .c-nav__list { max-width: 100%; min-width: 0; }
}
@media (max-width: 767px) {
  /* Index-Listen (Sechs Leistungen, Branchen): Titel, darunter Text */
  html.lb-on .c-cards--index .c-card { grid-template-columns: minmax(0, 1fr) 1.5rem; row-gap: 8px; column-gap: 12px; padding: 22px 0; }
  html.lb-on .c-cards--index .c-card__title { grid-column: 1; grid-row: 1; }
  html.lb-on .c-cards--index .c-card__go { grid-column: 2; grid-row: 1; }
  html.lb-on .c-cards--index .c-card__text { grid-column: 1 / -1; grid-row: 2; }

  /* Laubert-Box */
  .lb-intro { padding-top: 32px; }
  .lb-intro__box { grid-template-columns: minmax(0, 1fr); padding: 28px 20px 0; gap: 8px; min-height: 0; }
  .lb-intro__copy { order: 1; padding: 0; max-width: none; }
  .lb-intro__fig { order: 2; width: 100%; height: 220px; justify-self: stretch; }
  .lb-intro__fig .lb-clip { position: absolute; left: 0; bottom: -6px; width: 180px; margin: 0; }
  .lb-intro__fig .lb-bubble { left: 128px; right: 0; bottom: 120px; width: auto; max-width: none; }
  .lb-intro__fig .lb-bubble::after { left: 10px; bottom: -6px; }
  .lb-intro__links { gap: 12px 16px; }
  .lb-intro__links li { max-width: 100%; }
  .lb-intro__links .c-btn { white-space: normal; }
  .lb-leaf { opacity: .55; }

  /* CTA-Band: Laubert über dem Button, Sprechblase rechts daneben */
  .lb-btnwrap { padding-top: 168px; }
  .lb-stand { right: auto; left: calc(50% - 150px); bottom: 34px; width: 130px; height: 170px; }
  .lb-stand .lb-clip { width: 130px; }
  .lb-cta-b .lb-bubble { left: calc(50% - 32px); right: auto; bottom: 120px; width: max-content; max-width: min(190px, calc(100vw - 180px)); }
  .lb-cta-b .lb-bubble::after { left: 14px; right: auto; bottom: -6px; }

  /* Magazin-Karte */
  .lb-card { min-height: 360px; }
}

/* ---------- Social im Menü und Footer ---------- */
.lb-socialbox__hint { margin: 0 0 10px; font-size: 12.5px; line-height: 1.4; color: inherit; opacity: .72; }
.lb-socialbox .lb-social { margin: 0; }
.lb-socialbox--footer { margin-top: 20px; }
.lb-socialbox--nav { margin-top: 14px; padding-top: 14px; border-top: 1px solid #E3E3E0; }
.lb-socialbox--nav .lb-social a, .lb-socialbox--mobile .lb-social a { color: #0B140C; }
.lb-socialbox--nav .lb-social a:hover, .lb-socialbox--mobile .lb-social a:hover { color: #3F6B42; }
.lb-socialbox--mobile { margin-top: 16px; padding-top: 16px; border-top: 1px solid #E3E3E0; }
@media (max-width: 1024px) { .lb-socialbox--nav { display: none !important; } }
@media (min-width: 1025px) { .lb-socialbox--mobile { display: none !important; } }
:root[data-theme="dark"] .lb-socialbox--nav .lb-social a, :root[data-theme="dark"] .lb-socialbox--mobile .lb-social a { color: #fff; }
:root[data-theme="dark"] .lb-socialbox--nav, :root[data-theme="dark"] .lb-socialbox--mobile { border-top-color: rgba(255,255,255,.18); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lb-socialbox--nav .lb-social a, :root:not([data-theme="light"]) .lb-socialbox--mobile .lb-social a { color: #fff; } :root:not([data-theme="light"]) .lb-socialbox--nav, :root:not([data-theme="light"]) .lb-socialbox--mobile { border-top-color: rgba(255,255,255,.18); } }
@media (max-width: 767px) {
  .lb-stand { bottom: 52px; }
  .lb-intro__fig { height: 200px; }
}

/* ---------- Runde 4 ---------- */
.lb-socialbox--nav { padding-inline: 14px; }
.lb-socialbox--nav .lb-socialbox__hint, .lb-socialbox--mobile .lb-socialbox__hint { color: #50564f; opacity: 1; }
@media (max-width: 767px) {
  /* CTA-Band: Laubert unter dem Button, zeigt nach oben, Blase bleibt oben rechts */
  .lb-btnwrap { padding-top: 96px; padding-bottom: 150px; }
  .lb-stand { top: auto; bottom: 0; left: calc(50% - 128px); right: auto; width: 130px; height: 160px; }
  .lb-stand .lb-clip { bottom: -4px; }
  .lb-cta-b .lb-bubble { left: calc(50% - 32px); bottom: auto; top: 18px; }
  /* Chat-Button: Profilbild mittig im runden Button */
  html.lb-on .c-kw__pill.has-lb { padding: 0; gap: 0; justify-content: center; align-items: center; }
  html.lb-on .c-kw__pill.has-lb .lb-ava { width: 38px; height: 38px; margin: 0; }
}
@media (max-width: 767px) {
  .lb-btnwrap { padding-bottom: 136px; }
  .lb-stand { left: calc(50% - 112px); height: 146px; }
}
@media (max-width: 767px) {
  /* CTA mobil: Button nah an der Subline, Laubert darunter, Blase rechts neben ihm */
  .lb-btnwrap { padding-top: 0; padding-bottom: 150px; }
  .lb-stand { left: calc(50% - 118px); bottom: 0; height: 146px; }
  .lb-cta-b .lb-bubble { top: auto; bottom: 64px; left: calc(50% + 8px); right: auto; max-width: min(180px, calc(50vw - 24px)); }
  .lb-cta-b .lb-bubble::after { left: -6px; right: auto; bottom: 16px; }
}
@media (max-width: 767px) {
  .lb-cta-b .lb-bubble { bottom: auto; top: 62px; }
  .lb-cta-b .lb-bubble::after { bottom: auto; top: 20px; }
  html.lb-on .c-cta-band:has(.lb-cta-b) .c-cta-band__inner { padding-bottom: 0; }
}

/* Dunkelmodus: Laubert-Box bleibt hell, Instagram-Button bleibt dunkel */
html.lb-on .lb-intro__links .c-btn, html.lb-on .lb-intro__links .c-btn:visited { background: #0B140C !important; color: #fff !important; border-color: #0B140C !important; }
html.lb-on .lb-intro__links .c-btn:hover { background: #3F6B42 !important; border-color: #3F6B42 !important; }
html.lb-on .lb-intro .lb-play { background: #fff !important; color: #0B140C !important; border-color: #0B140C !important; }
html.lb-on .lb-intro__link { color: #0B140C !important; }
