/**
 * heder:LAB – Komponenten
 *
 * Gestaltung der wiederverwendbaren Abschnitte und Block-Stile (Karten, CTAs, Slider, Logo-Raster …).
 * Wird im Frontend UND im Editor geladen, damit das Backend aussieht wie die Website.
 * Ursprung: bis 10/2026 im „Zusätzlichen CSS“ gepflegt, dann ins Theme überführt.
 * Jeder Abschnitt beginnt mit einem Kommentar „heder:LAB – …“.
 */

/* heder:LAB – Formate-Karten (Icon | Text | Button) */
.format-card > .format-icon { flex: 0 0 88px; }
.format-card > .format-card__text { flex: 1 1 0; min-width: min(100%, 22rem); max-width: 46rem; margin-right: auto; }
.format-card > .wp-block-buttons { flex: 0 0 auto; }
@media (max-width: 781px) {
  .format-card > .format-card__text { flex-basis: 100%; max-width: none; }
}

/* heder:LAB – Termine & Preise (Karten 60/40) */
@media (min-width: 782px) {
  .wp-block-group.pricing-grid { grid-template-columns: 3fr 2fr; }
}

/* heder:LAB – Team-Karten (Foto | Name, Position, Kontakt) */
.team-card .team-card__photo { flex: 0 0 112px; width: 112px; }
.team-card a { color: inherit; text-decoration: none; }
.team-card a:hover, .team-card a:focus-visible { color: var(--wp--preset--color--primary); text-decoration: underline; }

/* heder:LAB – Aus der Praxis (Logo | Text | Produktfoto 4:3) */
.praxis .tag-pill { width: fit-content; }
.praxis .praxis-heading { max-width: 14em; }
.praxis-list { border-bottom: 1px solid var(--wp--custom--color--border-on-light); }
.praxis-list > .praxis-row { margin-block: 0; }
.wp-block-group.praxis-row {
  grid-template-columns: 160px minmax(0, 1fr) clamp(220px, 28%, 320px);
  gap: 1.5rem 2.5rem; align-items: center;
  padding-block: 2rem; border-top: 1px solid var(--wp--custom--color--border-on-light);
}
/* Logo: festes Querformat-Feld, jedes Logo wird eingepasst statt die Spalte zu sprengen */
.praxis-logo { width: 160px; height: 96px; }
.praxis-logo .wp-block-image { margin: 0; width: 100%; height: 100%; display: flex; align-items: center; }
.praxis-logo img { width: auto !important; height: auto !important; max-width: 100%; max-height: 64px; object-fit: contain; }
.praxis-logo img[src*="platzhalter-logo"] { max-height: 96px; }
/* Produktfoto: immer 4:3, füllt die Spalte */
.praxis-photo .wp-block-image { margin: 0; }
.praxis-photo img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
@media (max-width: 781px) {
  .wp-block-group.praxis-row { grid-template-columns: 120px minmax(0, 1fr); }
  .praxis-logo { width: 120px; height: 72px; }
  .praxis-logo img { max-height: 48px; }
  .praxis-logo img[src*="platzhalter-logo"] { max-height: 72px; }
  .praxis-row > .praxis-photo { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .wp-block-group.praxis-row { grid-template-columns: minmax(0, 1fr); }
}

/* heder:LAB – Anmelde-Karte (Text | Formular-Box) */
.wp-block-group.signup-card { align-items: center; }
.signup-card .signup-card__heading { max-width: 12em; }

/* heder:LAB – Raum-Karten (Bild | Text | Pills | Preis + Ansehen) */
.room-card { overflow: hidden; }
.room-card .room-card__img { margin: 0; width: 100%; }
.room-card .room-card__img img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.room-card .room-card__body { flex: 1 1 auto; }
.room-card .room-card__body > .wp-block-separator { margin-top: auto !important; }
.room-card__pills .pill { width: fit-content; }
.link-circle a { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; }
.link-circle a::after {
  content: ""; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--wp--preset--color--background) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003B48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
  transition: background-color .2s, transform .2s;
}
.link-circle a:hover::after, .link-circle a:focus-visible::after { background-color: var(--wp--preset--color--accent); transform: translateX(3px); }

/* heder:LAB – Kontakt-CTA (Hochformat-Karte | Text + Button) */
@media (min-width: 782px) {
  .wp-block-group.contact-cta { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; }
}
.contact-card { overflow: hidden; max-width: 30rem; }
.contact-card .contact-card__img { margin: 0; width: 100%; }
.contact-card .contact-card__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* heder:LAB – Bild mit überlappendem Großtitel („mittendrin.“) */
.overlay-hero .overlay-hero__img { margin: 0 auto; width: 100%; max-width: 92%; }
.overlay-hero .overlay-hero__img img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border: 1px solid var(--wp--custom--color--border-on-light); border-radius: var(--wp--preset--border-radius--card-large, 22px); }
.overlay-hero .overlay-hero__title {
  position: relative; z-index: 1;
  margin: -0.62em 0 0 calc(4% - 0.04em) !important;
  font-size: clamp(3rem, 9vw, 7.5rem); font-weight: 900; line-height: 1; letter-spacing: -0.045em;
}
@media (max-width: 781px) { .overlay-hero .overlay-hero__img { max-width: 100%; } .overlay-hero .overlay-hero__title { margin-left: 0 !important; } }

/* heder:LAB – Leistungs-Raster mit Icons (Linien zwischen den Zellen) */
.wp-block-group.feature-grid { gap: 0; border-top: 1px solid var(--wp--custom--color--border-on-light); border-left: 1px solid var(--wp--custom--color--border-on-light); }
.feature-grid > .feature-grid__item { padding: 1.6rem 1.75rem; border-right: 1px solid var(--wp--custom--color--border-on-light); border-bottom: 1px solid var(--wp--custom--color--border-on-light); }
.feature-grid__item > p { padding-top: .55rem; line-height: 1.4; }
.feature-icon { margin: 0; flex: 0 0 auto; }
.feature-icon img { display: block; width: 44px !important; height: 44px !important; padding: 11px; box-sizing: border-box; border-radius: 12px; background: var(--wp--preset--color--background); }

/* heder:LAB – Testimonial-Slider (Hochkant-Video | Logo, Zitat, Name) – wiederverwendbar */
.testimonial-slider { position: relative; }
.testimonial-slider__track { display: flex; gap: 2.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.testimonial-slider__track::-webkit-scrollbar { display: none; }
.testimonial-slider__track > .testimonial {
  flex: 0 0 calc(100% - 4rem); margin: 0 !important; scroll-snap-align: start;
  display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  transition: opacity .35s ease;
}
.testimonial-slider.is-ready .testimonial:not(.is-active) { opacity: .3; }
.testimonial > * { margin: 0 !important; }
.testimonial__media { position: relative; }
.testimonial__media .testimonial__video, .testimonial__media figure, .testimonial__media .wp-block-video { margin: 0; }
.testimonial__media img, .testimonial__media video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--wp--preset--border-radius--card-large, 22px); background: #062F38; }
.testimonial__badge { position: absolute; top: 14px; left: 14px; z-index: 2; margin: 0 !important; padding: .35rem .8rem; border-radius: 999px; background: rgba(0, 35, 43, .55); backdrop-filter: blur(6px); }
.testimonial__logo { margin: 0; width: 120px; height: 48px; display: flex; align-items: center; flex: 0 0 auto; }
.testimonial__logo img { width: auto !important; height: auto !important; max-width: 100%; max-height: 40px; object-fit: contain; }
.testimonial__logo img[src*="platzhalter-logo"] { max-height: 48px; }
.testimonial-slider__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; }
.testimonial-slider__dots { display: flex; gap: .5rem; align-items: center; }
.testimonial-slider__dots button { color: inherit; width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: currentColor; opacity: .3; cursor: pointer; transition: width .25s, opacity .25s, background-color .25s; }
.testimonial-slider__dots button[aria-current="true"] { width: 26px; opacity: 1; background: var(--wp--preset--color--accent); }
.testimonial-slider__arrows { display: flex; gap: .6rem; }
.testimonial-slider__arrows button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); background: transparent; color: inherit; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, opacity .2s; }
.testimonial-slider__arrows button:hover:not(:disabled), .testimonial-slider__arrows button:focus-visible { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); }
.testimonial-slider__arrows button:disabled { opacity: .35; cursor: default; }
.testimonial-slider__nav button:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 3px; }
@media (max-width: 781px) {
  .testimonial-slider__track > .testimonial { flex-basis: calc(100% - 2rem); grid-template-columns: minmax(0, 1fr); }
  .testimonial__media { max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) { .testimonial-slider__track { scroll-behavior: auto; } .testimonial { transition: none; } }

/* heder:LAB – Preis-Karten „Unsere Modelle“ (Button volle Breite, unten bündig) */
.model-card .model-card__cta { margin-top: auto !important; padding-top: var(--wp--preset--spacing--20); }
.model-card .model-card__cta .wp-block-button { width: 100%; }
.model-card .model-card__cta .wp-block-button__link { width: 100%; text-align: center; }
.wp-block-group.contact-cta.contact-cta--top { align-items: start; }
.contact-cta--top .contact-cta__text > h2 { max-width: 18em; }
/* Testimonial-Slider: nur eine Slide → volle Breite, kein Wischen (Skript blendet Pfeile/Punkte bei < 2 Slides automatisch aus) */
.testimonial-slider__track > .testimonial:only-child { flex-basis: 100%; }
.testimonial-slider__track:has(> .testimonial:only-child) { overflow: visible; }
.testimonial__person .testimonial__avatar { margin: 0; flex: 0 0 auto; }
.testimonial__person .testimonial__avatar img { width: 46px !important; height: 46px !important; object-fit: cover; border-radius: 50%; }
.loved-list .check-icon { margin: 0; flex: 0 0 auto; padding-top: .1rem; }

/* heder:LAB – Absatz-Stil „Akzent-Linie" (gelber Strich links, wie ein Zitat) – im Editor unter Stile wählbar */
p.is-style-accent-bar { border-left: 4px solid var(--wp--preset--color--accent); padding-left: 1.25rem; font-weight: 500; }

/* heder:LAB – Ausstattungs-Karte + Preis-Zusatz */
.equip-card .equip-icon { margin: 0; flex: 0 0 auto; }
.equip-card .equip-icon img { width: 32px !important; height: 32px !important; }
.price-suffix { font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; color: var(--wp--preset--color--primary); opacity: .7; margin-left: .35rem; }
.wp-block-group.intro-split { align-items: start; }
@media (min-width: 782px) { .wp-block-group.intro-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.equip-card > .is-layout-grid { align-content: start; grid-auto-rows: auto; container-type: normal; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 480px) { .equip-card > .is-layout-grid { grid-template-columns: minmax(0, 1fr); } }
.equip-card > .is-layout-grid > * { align-self: center; }
/* Raster in senkrechten Karten: feste Spalten statt Auto-Fill (verhindert aufgeblähte Kartenhöhe) */
.pricing-grid > .is-style-card > .is-layout-grid { container-type: normal; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
@media (max-width: 480px) { .pricing-grid > .is-style-card > .is-layout-grid { grid-template-columns: minmax(0, 1fr); } }

/* heder:LAB – Personen-Karten (Porträt 4:5 | Name, Rolle, Zitat) + Projektleitung (dunkel, Foto links) */
.person-card { overflow: hidden; }
.person-card .person-card__img { margin: 0; width: 100%; }
.person-card .person-card__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.wp-block-group.lead-card { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 782px) { .wp-block-group.lead-card { grid-template-columns: minmax(0, 20.5%) minmax(0, 1fr); } }
.lead-card > * { margin: 0 !important; }
.lead-card .lead-card__img { width: 100%; height: 100%; min-height: 260px; }
.lead-card .lead-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.lead-card__body > p:not(.is-style-eyebrow) { max-width: 40em; }
.lead-card__link a { text-decoration: none; }
.lead-card__link a:hover, .lead-card__link a:focus-visible { text-decoration: underline; }

/* heder:LAB – Logo-Raster (Galerie mit Klasse logo-wall; Bildunterschrift = Label) – wiederverwendbar */
.wp-block-group.hero-split { align-items: center; }
@media (min-width: 782px) { .wp-block-group.hero-split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
/* Grundraster: statisch ohne JS, animiert mit JS */
.wp-block-gallery.logo-wall, .logo-wall__grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px !important; width: 100%; max-width: 440px; margin: 0 0 0 auto !important; }
.wp-block-gallery.logo-wall > figure.wp-block-image, .logo-wall__cell {
  width: auto !important; margin: 0 !important; aspect-ratio: 3 / 2; box-sizing: border-box;
  display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 12px; background: rgba(255, 255, 255, .05);
}
.wp-block-gallery.logo-wall > figure.wp-block-image img, .logo-wall__cell img {
  width: auto !important; height: auto !important; max-width: 80% !important; max-height: 46% !important; min-height: 0 !important;
  object-fit: contain !important; flex: 0 1 auto !important; filter: brightness(0) invert(1); opacity: .78;
}
.wp-block-gallery.logo-wall > figure.logo-original img, .logo-wall__cell.is-original img { filter: none; opacity: 1; }
.wp-block-gallery.logo-wall > figure.wp-block-image figcaption, .logo-wall__cell span {
  position: static !important; background: none !important; padding: 0 !important; margin: 0 !important; max-height: none !important; overflow: visible !important;
  font-size: 10px !important; font-weight: 600; letter-spacing: .06em; line-height: 1 !important; text-align: center; color: rgba(255, 255, 255, .55) !important; text-shadow: none !important;
}
.logo-wall__cell.no-label span { display: none; }
.wp-block-gallery.logo-wall:not(.is-enhanced) > figure:nth-child(n+10) { display: none !important; }
/* Animiert */
.wp-block-gallery.logo-wall.is-enhanced { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.logo-wall__cell { opacity: 0; transform: scale(.96); transition: opacity .9s ease, transform .9s ease; }
.logo-wall__cell.is-on { opacity: 1; transform: none; }
@media (max-width: 781px) { .wp-block-gallery.logo-wall, .logo-wall__grid { max-width: 100%; margin: var(--wp--preset--spacing--30) 0 0 !important; } }
@media (prefers-reduced-motion: reduce) { .logo-wall__cell { transition: none; } }

/* heder:LAB – Bild-Collage mit drei Motiven (Variante der Theme-Klasse hederlab-image-duo) */
.hederlab-image-duo.is-trio { padding-bottom: 9%; }
.hederlab-image-duo.is-trio .hederlab-image-duo__main { width: 62%; }
.hederlab-image-duo.is-trio .hederlab-image-duo__main img { aspect-ratio: 4 / 5; }
.hederlab-image-duo.is-trio .hederlab-image-duo__inset { top: 13%; bottom: auto; width: 38%; z-index: 1; }
.hederlab-image-duo.is-trio .hederlab-image-duo__inset img { aspect-ratio: 1; }
.hederlab-image-duo.is-trio .hederlab-image-duo__inset2 { position: absolute; left: 12%; bottom: 0; width: 42%; margin: 0; z-index: 2; }
.hederlab-image-duo.is-trio .hederlab-image-duo__inset2 img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  border: 8px solid var(--wp--preset--color--base); border-radius: var(--wp--preset--border-radius--card, 1.5rem); box-shadow: var(--wp--preset--shadow--floating);
}

/* heder:LAB – Newsletter-Box (E-Mail + Anmelden + Einwilligung) auf dunklem Grund */
.nl-form { display: grid; gap: 14px; width: 100%; max-width: 560px; margin-left: auto; }
.nl-form__row { display: flex; flex-wrap: wrap; gap: 12px; }
.nl-form input[type="email"] {
  flex: 1 1 220px; min-width: 0; padding: .9rem 1.4rem; border-radius: 999px; font: inherit; font-size: 1rem;
  color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); outline: none; transition: border-color .2s, background-color .2s;
}
.nl-form input[type="email"]::placeholder { color: rgba(255, 255, 255, .5); }
.nl-form input[type="email"]:focus-visible { border-color: var(--wp--preset--color--accent); background: rgba(255, 255, 255, .12); }
.nl-form__btn {
  flex: 0 0 auto; padding: .9rem 2rem; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700; font-size: 1rem;
  color: var(--wp--preset--color--contrast); background: var(--wp--preset--color--accent); transition: background-color .2s;
}
.nl-form__btn:hover, .nl-form__btn:focus-visible { background: var(--wp--preset--color--accent-hover); }
.nl-form__consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .8125rem; line-height: 1.5; color: var(--wp--preset--color--text-on-dark-muted); cursor: pointer; }
.nl-form__consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--wp--preset--color--accent); cursor: pointer; }
.nl-form__consent a { color: var(--wp--preset--color--text-on-dark); text-decoration: underline; text-underline-offset: 2px; }
.nl-form__consent a:hover { color: var(--wp--preset--color--accent); }
@media (max-width: 781px) { .nl-form { margin-left: 0; max-width: none; } .nl-form__btn { flex: 1 1 100%; } }

/* heder:LAB – Event-Liste als Zeilen (Datum | Inhalt | Bild/Muster) – Daten aus WPCode-Shortcodes [hl_event_*] */
.wp-block-post-template.event-list { display: flex; flex-direction: column; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.wp-block-post-template.event-list > li { margin: 0 !important; }
.is-style-event-card.event-row {
  display: grid; grid-template-columns: 140px minmax(0, 1fr) 240px; gap: 0; min-height: 190px; height: 100%;
  padding: 0 !important; overflow: hidden; background: var(--wp--preset--color--base);
  border: 1px solid var(--wp--custom--color--border-on-light) !important; border-radius: var(--wp--preset--border-radius--card-large, 22px) !important; box-shadow: none;
}
.event-row > * { margin: 0 !important; }
.event-row__date { display: flex; align-items: center; justify-content: center; height: 100%; background: var(--wp--preset--color--primary); color: var(--wp--preset--color--base); }
.event-row__date time { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.event-row__day { font-size: clamp(2.25rem, 3.4vw, 3.1rem); font-weight: 900; letter-spacing: -0.03em; }
.event-row__month { margin-top: .55rem; font-size: .78rem; font-weight: 700; letter-spacing: .18em; color: var(--wp--preset--color--text-on-dark); }
.event-row__body { padding: 1.4rem 2rem 1.6rem; }
.event-row__head { min-height: 1.6rem; }
.event-row__head > * { margin: 0 !important; }
.event-row__cat { color: rgba(0, 59, 72, .62); }
.event-row__cat a { color: inherit; text-decoration: none; }
.event-row__tags { margin-left: auto !important; display: flex; flex-wrap: wrap; gap: .4rem; }
.event-row__tags a { display: inline-block; padding: .35rem .85rem; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; line-height: 1.2; background: #EAF0F1; color: var(--wp--preset--color--primary); }
.event-row__tags a[href*="mittelstand"] { background: #E5F1E8; color: #2D6A43; }
.event-row__tags a[href*="start-up"], .event-row__tags a[href*="startup"] { background: #FDF0D5; color: #A86F00; }
.event-row__tags a[href*="kostenlos"] { display: none; }
.event-row__tags .wp-block-post-terms__separator { display: none; }
.event-row__title a { color: var(--wp--preset--color--primary); text-decoration: none; }
.event-row__title a:hover { text-decoration: underline; }
.event-row__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; color: rgba(0, 59, 72, .7); font-size: .95rem; }
.event-row__facts li { display: flex; align-items: center; gap: .45rem; margin: 0; }
.event-row__facts svg { flex: 0 0 auto; opacity: .75; }
.event-row__cta { margin-top: .6rem !important; }
.event-row__media { position: relative; min-height: 100%; background-color: var(--wp--preset--color--primary); background-image: radial-gradient(rgba(255, 255, 255, .16) 1.6px, transparent 1.7px); background-size: 24px 24px; background-position: 12px 12px; }
.event-row__media .event-row__img { position: absolute; inset: 0; margin: 0 !important; height: 100%; }
.event-row__media .event-row__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 781px) {
  .is-style-event-card.event-row { grid-template-columns: 92px minmax(0, 1fr); }
  .event-row__media { display: none; }
  .event-row__body { padding: 1.1rem 1.25rem 1.3rem; }
  .event-row__tags { margin-left: 0 !important; }
}
/* feste Spalten, damit die Zeile auch ohne Datum/Bild nicht verrutscht */
.event-row__date { grid-column: 1; grid-row: 1; }
.event-row__body { grid-column: 2; grid-row: 1; }
.event-row__media { grid-column: 3; grid-row: 1; }

/* heder:LAB – Header: Navigation rechts neben „Partner werden" statt mittig */
.hederlab-header-inner > .wp-block-navigation { margin-left: auto; }


/* heder:LAB – Partner-Stufen (Mitglieder & Partner) */
.tier-grid { align-items: stretch; }
.tier-card { display: flex; flex-direction: column; height: 100%; }
.tier-card .tier-card__cta { margin-top: auto !important; padding-top: 1.5rem; }
.tier-card .tier-card__cta .wp-block-button { width: 100%; }
.tier-card .tier-card__cta .wp-block-button__link { width: 100%; justify-content: center; }
.tier-card .tier-card__cta .is-style-outline .wp-block-button__link { border-width: 1.5px; color: var(--wp--preset--color--primary); }
.tier-card .tier-card__cta .is-style-outline .wp-block-button__link:not(:hover):not(:focus-visible) { background-color: var(--wp--preset--color--background); border-color: var(--wp--custom--color--border-on-light, rgba(0,59,72,.15)); }
.tier-card .tier-card__cta .is-style-outline .wp-block-button__link:hover, .tier-card .tier-card__cta .is-style-outline .wp-block-button__link:focus-visible { background-color: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--primary); }
.tier-card--featured .price-suffix { color: var(--wp--preset--color--text-on-dark); opacity: 1; }
.tier-card--featured .is-style-eyebrow { color: var(--wp--preset--color--accent); }
ul:is(.checkcircle-list, .is-style-check-circle) { list-style: none; padding-left: 0; margin-left: 0; }
ul:is(.checkcircle-list, .is-style-check-circle) li { position: relative; padding-left: 2rem; margin-bottom: .65rem; line-height: 1.5; }
ul:is(.checkcircle-list, .is-style-check-circle) li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; background: url('/wp-content/uploads/2026/10/icon-check-kreis.svg') no-repeat center / contain; }

/* heder:LAB – PDF-Download-Box */
.pdf-banner { row-gap: 1.5rem; }
.pdf-banner .pdf-banner__text h2 { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem) !important; line-height: 1.2; letter-spacing: -0.01em; }
.pdf-banner :is(.btn-download, .is-style-download) .wp-block-button__link { font-size: var(--wp--preset--font-size--small); padding: .9rem 1.5rem; }
@media (max-width: 599px) { .pdf-banner { padding: 1.75rem 1.5rem !important; } }
.pdf-banner .pdf-banner__text { flex: 1 1 18rem; min-width: 0; }
.pdf-banner .pdf-banner__text h2 { color: var(--wp--preset--color--base); }
.pdf-banner .pdf-banner__cta { flex: 0 0 auto; }
.wp-block-button:is(.btn-download, .is-style-download) .wp-block-button__link { display: inline-flex; align-items: center; gap: .6rem; }
.wp-block-button:is(.btn-download, .is-style-download) .wp-block-button__link::before { content: ""; flex: 0 0 18px; width: 18px; height: 18px; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11'/%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3Cpath d='M4 19h16'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11'/%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3Cpath d='M4 19h16'/%3E%3C/svg%3E") no-repeat center / contain; }
@media (max-width: 599px) {
  .pdf-banner .pdf-banner__cta, .pdf-banner .pdf-banner__cta .wp-block-button { width: 100%; }
  .pdf-banner .pdf-banner__cta .wp-block-button__link { width: 100%; justify-content: center; }
}

/* heder:LAB – Intro mit Preis-Teaser (Coworking) */
@media (min-width: 782px) { .cowork-intro > .wp-block-column:first-child { flex-basis: 60% !important; } .cowork-intro > .wp-block-column:last-child { flex-basis: 40% !important; } }
.cowork-intro h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.375rem) !important; line-height: 1.12; letter-spacing: -0.015em; margin-bottom: 1.25rem; }
.cowork-intro > .wp-block-column:first-child p { color: rgba(0,59,72,0.62); font-size: 1.0625rem; line-height: 1.75; }
.price-teaser { position: relative; overflow: hidden; isolation: isolate; padding: 2.5rem !important; gap: 0 !important; }
.price-teaser::after { content: ""; position: absolute; right: -3.5rem; bottom: -4.5rem; width: 11rem; height: 11rem; border-radius: 50%; background: rgba(94,140,110,0.28); z-index: -1; pointer-events: none; }
.price-teaser .is-style-eyebrow { margin: 0 0 .5rem; }
.price-teaser .price-teaser__price { color: var(--wp--preset--color--accent); font-size: clamp(2.75rem, 2rem + 2.4vw, 3.75rem) !important; line-height: 1; margin: 0; }
.price-teaser .price-teaser__unit { color: var(--wp--preset--color--text-on-dark); font-size: var(--wp--preset--font-size--small); margin: .5rem 0 2rem; }
.price-teaser .price-teaser__cta { gap: .75rem; }
.price-teaser .price-teaser__cta .wp-block-button__link { width: 100%; justify-content: center; }
@media (max-width: 781px) { .price-teaser { padding: 2rem 1.5rem !important; } }

/* heder:LAB – CTA-Band (zentrierter Abschluss-CTA) */
.cta-band { padding-block: clamp(1rem, 3vw, 2.5rem); }
.cta-band .cta-band__eyebrow { display: flex; align-items: center; justify-content: center; gap: .75rem; color: var(--wp--preset--color--accent); text-transform: none; letter-spacing: .01em; font-size: var(--wp--preset--font-size--small); font-weight: 600; margin-bottom: 1rem; }
.cta-band .cta-band__eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; flex: 0 0 auto; }
.cta-band h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem) !important; line-height: 1.1; letter-spacing: -0.02em; margin-top: 0; max-width: 72rem !important; text-wrap: balance; }
.cta-band .cta-band__lead { color: var(--wp--preset--color--text-on-dark); line-height: 1.75; max-width: 26rem; margin: 1rem auto 2.25rem !important; }
.cta-band .wp-block-button__link { padding: 1.05rem 1.9rem; }

/* heder:LAB – Foto-Streuung (Ein paar Eindrücke) – Bilder per Austausch ersetzen, Format bleibt fix */
.photo-scatter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.photo-scatter > .wp-block-image { margin: 0 !important; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(0,59,72,0.08); background: #F3F2EE; box-shadow: 0 18px 40px -18px rgba(0,59,72,0.28); transition: transform .35s ease, box-shadow .35s ease; }
.photo-scatter > .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: inherit; }
.photo-scatter > .wp-block-image figcaption { position: absolute; left: .75rem; bottom: .75rem; margin: 0; padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--wp--preset--color--primary); font-size: var(--wp--preset--font-size--x-small); }
.photo-scatter > :nth-child(1) { aspect-ratio: 4 / 3; }
.photo-scatter > :nth-child(2) { aspect-ratio: 1 / 1; }
.photo-scatter > :nth-child(3) { aspect-ratio: 4 / 5; }
.photo-scatter > :nth-child(4) { aspect-ratio: 16 / 9; grid-column: 1 / -1; }
.photo-scatter > :nth-child(5) { aspect-ratio: 4 / 3; }
@media (min-width: 782px) {
  .photo-scatter { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 0; row-gap: 1.25rem; padding: 0 .5rem; }
  .photo-scatter > :nth-child(1) { grid-column: 1 / span 4; transform: rotate(-1.4deg); margin-top: .25rem !important; z-index: 1; }
  .photo-scatter > :nth-child(2) { grid-column: 5 / span 4; transform: rotate(0.9deg); margin: 1.75rem 0 0 -.4rem !important; z-index: 2; }
  .photo-scatter > :nth-child(3) { grid-column: 9 / span 4; transform: rotate(-1deg); margin: .5rem 0 0 .5rem !important; z-index: 1; }
  .photo-scatter > :nth-child(4) { grid-column: 2 / span 5; transform: rotate(0.8deg); z-index: 2; }
  .photo-scatter > :nth-child(5) { grid-column: 7 / span 4; transform: rotate(-0.7deg); margin: .75rem 0 0 -.25rem !important; z-index: 1; }
  .photo-scatter > .wp-block-image:hover { transform: rotate(0deg) scale(1.02); box-shadow: 0 28px 50px -20px rgba(0,59,72,0.35); z-index: 3; }
}
@media (prefers-reduced-motion: reduce) { .photo-scatter > .wp-block-image { transition: none; } }

/* heder:LAB – Textformat Gelb unterstreichen (Editor: Pfeil-Menü > "Gelb unterstreichen") */
.hl-marker { color: var(--wp--preset--color--primary); font-weight: 600; background-image: url("../img/markierung-gelb.svg?v=2"); background-repeat: no-repeat; background-size: 100% .34em; background-position: 0 100%; padding-bottom: .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.has-primary-background-color .hl-marker, .is-style-section-glow .hl-marker, .is-style-card-dark .hl-marker { color: var(--wp--preset--color--base); }

/* heder:LAB – Hero mit drei Bildmotiven (heder:CUBE) – Bilder austauschbar, Formate fix */
.cube-hero .hero-lead { color: rgba(0,59,72,0.62); font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem) !important; line-height: 1.45; max-width: 34rem; margin-bottom: 2rem; }
.hero-trio { position: relative; padding: 0 0 22% 0; margin-left: auto; max-width: 34rem; }
.hero-trio > .wp-block-image { margin: 0 !important; border-radius: 22px; overflow: hidden; border: 1px solid rgba(0,59,72,0.08); background: #ECE8E2; box-shadow: 0 24px 50px -24px rgba(0,59,72,0.35); }
.hero-trio > .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-trio .hero-trio__main { width: 82%; margin-left: auto !important; aspect-ratio: 4 / 3; }
.hero-trio .hero-trio__portrait { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; z-index: 2; }
.hero-trio .hero-trio__detail { position: absolute; right: 0; bottom: 14%; width: 42%; aspect-ratio: 4 / 3; z-index: 1; }
@media (max-width: 781px) { .hero-trio { max-width: none; margin-top: 1rem; } }

/* heder:LAB – Zitat-Karten auf dunklem Grund (Logo wird automatisch weiß dargestellt) */
.quote-grid { margin-top: var(--wp--preset--spacing--50) !important; }
.quote-card { height: 100%; min-height: 14.5rem; padding: 2rem; border-radius: 22px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--wp--preset--color--base); }
.quote-card .quote-card__text { margin: 0; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); font-weight: 600; line-height: 1.35; color: var(--wp--preset--color--base); }
.quote-card .quote-card__logo { margin: auto 0 0 !important; padding-top: 2.5rem; }
.quote-card .quote-card__logo img { display: block; width: auto; max-width: 150px; height: 44px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); opacity: .85; }

/* heder:LAB – Besuchs-CTA mit Karte (Kontakt-Pillen + illustrierte Karte, DSGVO-freundlich ohne Karten-Embed) */
.visit-cta h2 { color: var(--wp--preset--color--base); }
.visit-cta .visit-cta__lead { color: var(--wp--preset--color--text-on-dark); line-height: 1.7; max-width: 28rem; margin-bottom: 2rem; }
.visit-cta .contact-pills { margin-top: 1rem; gap: .75rem; }
.wp-block-button:is(.contact-pill, .is-style-contact-phone, .is-style-contact-mail) .wp-block-button__link { display: inline-flex; align-items: center; gap: .6rem; border-width: 1px !important; border-color: rgba(255,255,255,0.22) !important; color: var(--wp--preset--color--base); font-weight: 500; font-size: var(--wp--preset--font-size--small); padding: .8rem 1.4rem; }
.wp-block-button:is(.contact-pill, .is-style-contact-phone, .is-style-contact-mail) .wp-block-button__link::before { content: ""; width: 18px; height: 18px; flex: 0 0 18px; background: var(--wp--preset--color--accent); -webkit-mask: var(--pill-icon) no-repeat center / contain; mask: var(--pill-icon) no-repeat center / contain; }
.wp-block-button:is(.contact-pill, .is-style-contact-phone, .is-style-contact-mail) .wp-block-button__link:hover::before, .wp-block-button:is(.contact-pill, .is-style-contact-phone, .is-style-contact-mail) .wp-block-button__link:focus-visible::before { background: currentColor; }
:is(.contact-pill--phone, .is-style-contact-phone) { --pill-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3l2 5-2.5 1.5a11 11 0 0 0 6 6L15 14l5 2v3a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
:is(.contact-pill--mail, .is-style-contact-mail) { --pill-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.map-card { background: #F1F0EB; border-radius: 22px; padding: .75rem .75rem 1.25rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.45); max-width: 30rem; margin-left: auto; }
.map-card .map-card__map { margin: 0 0 1rem !important; border-radius: 14px; overflow: hidden; }
.map-card .map-card__map img { display: block; width: 100%; aspect-ratio: 46 / 33; object-fit: cover; }
.map-card .map-card__map a { display: block; transition: opacity .2s; }
.map-card .map-card__map a:hover { opacity: .92; }
.map-card .map-card__name, .map-card .map-card__address { margin: 0 .5rem; }
.map-card .map-card__name { color: var(--wp--preset--color--primary); font-weight: 700; font-size: var(--wp--preset--font-size--small); }
.map-card .map-card__address { margin-top: .35rem; color: rgba(0,59,72,0.62); font-size: var(--wp--preset--font-size--x-small); }
@media (max-width: 781px) { .map-card { margin: 1rem 0 0; max-width: none; } }

/* heder:LAB – Nächste Veranstaltung (Startseite, zieht automatisch das nächste Event) */
.event-feature-section > * { max-width: 68rem !important; }
.event-feature-section .event-feature-eyebrow { color: var(--wp--preset--color--accent); margin: 0; }
.event-feature-section .event-feature-all a { color: var(--wp--preset--color--text-on-dark); }
.event-feature-section .event-feature-all a:hover { color: var(--wp--preset--color--accent); }
.event-feature-query .wp-block-post-template { margin: 0; padding: 0; list-style: none; }
.event-feature { display: grid; grid-template-columns: 180px minmax(0, 1fr); border-radius: 22px; overflow: hidden; background: var(--wp--preset--color--base); box-shadow: 0 30px 60px -25px rgba(0,0,0,0.5); }
.event-feature > p:empty, .event-feature__body > p:empty { display: none; }
.event-feature__body > *, .event-feature > * { margin-block: 0 !important; }
.event-feature__title { margin-bottom: 1rem !important; }
.event-feature__text { margin-bottom: 1.75rem !important; }
.event-feature__date { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--primary); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem 1rem; gap: .2rem; }
.event-feature__date time { display: flex; flex-direction: column; align-items: center; }
.event-feature__day { font-size: clamp(3rem, 2.4rem + 2vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.event-feature__month { font-weight: 600; font-size: var(--wp--preset--font-size--small); margin-top: .35rem; }
.event-feature__time { font-size: var(--wp--preset--font-size--x-small); margin-top: 1rem; opacity: .85; }
.event-feature__place { font-size: var(--wp--preset--font-size--x-small); font-weight: 700; }
.event-feature__body { padding: clamp(1.75rem, 1rem + 2.5vw, 2.75rem); display: flex; flex-direction: column; gap: 0; }
.event-feature__title { margin: 0 0 1rem; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; }
.event-feature__title a { color: var(--wp--preset--color--primary); text-decoration: none; }
.event-feature__title a:hover { color: var(--wp--preset--color--primary); text-decoration: underline; text-decoration-color: var(--wp--preset--color--accent); text-decoration-thickness: 3px; text-underline-offset: .15em; }
.event-feature__accent { color: var(--wp--preset--color--accent); }
.event-feature__text { margin: 0 0 1.75rem; color: rgba(0,59,72,0.62); line-height: 1.7; max-width: 36rem; }
.event-feature__cta { margin-top: auto; }
.event-feature__cta .wp-block-button { width: 100%; }
.event-feature__cta .wp-block-button__link { display: block; width: 100%; text-align: left; padding: 1rem 1.75rem; }
.event-feature-section ~ .hederlab-marquee { margin-top: 0; }
.event-feature--empty .event-feature__date { gap: .9rem; }
.event-feature--empty .event-feature__date::before { content: ""; width: 56px; height: 56px; background: var(--wp--preset--color--primary); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3Cpath d='M9.5 15l2 2 3.5-3.5'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3Cpath d='M9.5 15l2 2 3.5-3.5'/%3E%3C/svg%3E") no-repeat center / contain; }
.event-feature--empty .event-feature__soon { margin: 0; font-weight: 700; font-size: var(--wp--preset--font-size--small); line-height: 1.3; color: var(--wp--preset--color--primary); }
.event-feature--empty .event-feature__cta .wp-block-button__link::after { content: " →"; }
@media (max-width: 599px) { .event-feature--empty .event-feature__date::before { width: 32px; height: 32px; } .event-feature--empty .event-feature__soon br { display: none; } }
.event-feature-empty { color: var(--wp--preset--color--text-on-dark); }
@media (max-width: 599px) {
  .event-feature { grid-template-columns: 1fr; }
  .event-feature__date { flex-direction: row; flex-wrap: wrap; gap: .25rem .75rem; padding: 1rem 1.5rem; justify-content: flex-start; text-align: left; }
  .event-feature__date time { flex-direction: row; align-items: baseline; gap: .5rem; }
  .event-feature__day { font-size: 2.25rem; }
  .event-feature__month, .event-feature__time { margin-top: 0; }
}

/* heder:LAB – Ansprechpartner-CTA (Foto wird automatisch zugeschnitten, Format fix) */
.person-cta h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; }
.person-cta h2 + p { color: rgba(0,59,72,0.62); }
.contact-person-card { width: 100%; max-width: 17rem; margin-left: auto; background: var(--wp--preset--color--base); border-radius: 22px; overflow: hidden; border: 1px solid rgba(0,59,72,0.08); box-shadow: 0 24px 50px -24px rgba(0,59,72,0.35); }
.contact-person-card .contact-person-card__photo { margin: 0 !important; background: #F1F0EB; border-bottom: 1px solid rgba(0,59,72,0.08); }
.contact-person-card .contact-person-card__photo img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 20%; border-radius: 0 !important; }
.contact-person-card__body { padding: 1.25rem 1.25rem 1.4rem; }
.contact-person-card__body > * { margin: 0 !important; }
.contact-person-card__name { font-weight: 700; color: var(--wp--preset--color--primary); font-size: var(--wp--preset--font-size--small); }
.contact-person-card__role { color: rgba(0,59,72,0.62); font-size: var(--wp--preset--font-size--x-small); margin-bottom: .9rem !important; }
.contact-person-card__line { display: flex; align-items: center; gap: .55rem; font-size: var(--wp--preset--font-size--x-small); margin-top: .45rem !important; }
.contact-person-card__line::before { content: ""; width: 15px; height: 15px; flex: 0 0 15px; background: rgba(0,59,72,0.62); -webkit-mask: var(--line-icon) no-repeat center / contain; mask: var(--line-icon) no-repeat center / contain; }
.contact-person-card__line--phone { --line-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3l2 5-2.5 1.5a11 11 0 0 0 6 6L15 14l5 2v3a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.contact-person-card__line--mail { --line-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.contact-person-card__line a { color: rgba(0,59,72,0.62); text-decoration: none; }
.contact-person-card__line a:hover { color: var(--wp--preset--color--primary); text-decoration: underline; }
@media (max-width: 781px) { .contact-person-card { margin: 1rem 0 0; } }

/* heder:LAB – Bild + Text mit Fakten-Pillen (Bild austauschbar, Format fix 4:3) */
.split-media .split-media__image { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(0,59,72,0.08); background: #ECE8E2; }
.split-media .split-media__image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media h2 { font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.5rem); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 1rem; }
.split-media .split-media__lead { color: rgba(0,59,72,0.62); line-height: 1.75; }
.split-media .split-media__lead strong { color: var(--wp--preset--color--primary); font-weight: 600; }
.fact-pills { margin-top: 1.5rem; }
:is(.fact-pills .fact-pill, p.is-style-fact-pill) { margin: 0; padding: .55rem 1rem; border-radius: 999px; background: var(--wp--preset--color--base); border: 1px solid rgba(0,59,72,0.14); color: var(--wp--preset--color--primary); font-size: var(--wp--preset--font-size--x-small); font-weight: 500; line-height: 1.2; }
@media (max-width: 781px) { .split-media .split-media__image { margin-bottom: 1rem; } }

/* heder:LAB – CTA mit Benachrichtigung (zentriert, dunkel; Formular-Platzhalter bis Formular-Runde) */
.notify-cta h2 { color: var(--wp--preset--color--base); font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem) !important; line-height: 1.1; letter-spacing: -0.02em; max-width: none !important; width: min(60rem, calc(100vw - 2.5rem)); margin-left: 50% !important; margin-right: 0 !important; transform: translateX(-50%); text-wrap: balance; }
.notify-cta .notify-cta__lead { color: var(--wp--preset--color--text-on-dark); line-height: 1.7; max-width: 32rem; margin: 1rem auto 2rem !important; }
.notify-cta .contact-pills { gap: .75rem; }
.notify-cta .notify-form { margin: 1.25rem auto 0 !important; max-width: 32.5rem; padding: 1.5rem; border-radius: 18px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); text-align: center; }
.notify-cta .notify-form__title { margin: 0 0 1rem; color: var(--wp--preset--color--base); font-weight: 600; font-size: var(--wp--preset--font-size--small); }
.notify-cta .notify-form .nl-form__row { display: flex; gap: .5rem; }
.notify-cta .notify-form input[type="email"] { flex: 1 1 auto; min-width: 0; border-radius: 10px; background: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--primary) !important; border-color: transparent !important; }
.notify-cta .notify-form input[type="email"]::placeholder { color: #8FA4A8; }
.notify-cta .notify-form .nl-form__btn { border-radius: 10px; white-space: nowrap; }
.notify-cta .notify-form .nl-form__consent { margin-top: .9rem; justify-content: center; text-align: left; font-size: 12px; color: var(--wp--preset--color--text-on-dark-muted); }
.notify-cta .notify-form .nl-form__consent a { color: inherit; }
@media (max-width: 599px) { .notify-cta .notify-form .nl-form__row { flex-direction: column; } }

/* heder:LAB – Block-Stile (im Editor unter „Stile“ wählbar, registriert in inc/editor.php) */
.wp-block-button:is(.is-style-contact-phone, .is-style-contact-mail) .wp-block-button__link { background: transparent; border-style: solid; border-radius: var(--wp--preset--border-radius--pill, 999px); }
.wp-block-button:is(.is-style-contact-phone, .is-style-contact-mail) .wp-block-button__link:is(:hover, :focus-visible) { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--primary); }
p.is-style-fact-pill { width: fit-content; }

/* heder:LAB – Event-Liste: Abstände im Text-Bereich (seit Umstellung auf den Block „Event-Daten“) */
.event-row__body > .event-row__facts { margin-top: 0.6rem !important; }
.event-row__body > .event-row__cta { margin-top: 1.8rem !important; margin-bottom: 0.6rem !important; }

/* heder:LAB – Navigation: Dropdown luftiger (Abstand zwischen Einträgen, mehr Innenabstand) */
@media (min-width: 1024px) {
	.hederlab-main-navigation .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container {
		display: flex !important;
		flex-direction: column;
		gap: 0.3rem;
		min-width: 13.5rem !important;
		padding: 0.6rem;
	}
	.hederlab-main-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		padding: 0.7rem 1.1rem;
		line-height: 1.3;
	}
	.hederlab-main-navigation .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
		display: flex !important;
		flex-direction: column;
		gap: 0.3rem;
		padding-top: 0.3rem;
	}
}

/* heder:LAB – Fluent Forms: schlankes Inline-Formular (E-Mail · Button · Einwilligung) in .signup-form / .notify-form */
:is(.signup-form, .notify-form) .fluentform { width: 100%; text-align: left; }
:is(.signup-form, .notify-form) .fluentform fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
:is(.signup-form, .notify-form) .fluentform .ff-t-container { display: flex; gap: .5rem; margin: 0; }
:is(.signup-form, .notify-form) .fluentform .ff-t-cell { padding: 0 !important; margin: 0; width: auto !important; flex-basis: auto !important; }
:is(.signup-form, .notify-form) .fluentform .ff-t-column-1 { flex: 1 1 auto !important; min-width: 0; }
:is(.signup-form, .notify-form) .fluentform .ff-t-column-2 { flex: 0 0 auto !important; }
:is(.signup-form, .notify-form) .fluentform .ff-el-group { margin-bottom: 0; }
:is(.signup-form, .notify-form) .fluentform input.ff-el-form-control { height: 48px; padding: 0 1rem; border-radius: 10px; border: 1px solid var(--wp--custom--color--border-on-light, #DCD8D2); background: var(--wp--preset--color--base); color: var(--wp--preset--color--primary); font-size: 1rem; box-shadow: none; }
:is(.signup-form, .notify-form) .fluentform input.ff-el-form-control::placeholder { color: #8FA4A8; }
:is(.signup-form, .notify-form) .fluentform input.ff-el-form-control:focus { border-color: var(--wp--preset--color--accent); outline: 2px solid rgba(249,174,38,.35); outline-offset: 0; }
:is(.signup-form, .notify-form) .fluentform .ff-btn-submit { height: 48px; padding: 0 1.4rem !important; border: 0 !important; border-radius: 10px !important; background: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--contrast) !important; font-weight: 700; font-size: 1rem; white-space: nowrap; opacity: 1; transition: background-color .2s ease; }
:is(.signup-form, .notify-form) .fluentform .ff-btn-submit:is(:hover, :focus-visible) { background: var(--wp--preset--color--accent-hover, #E89A0C) !important; }
:is(.signup-form, .notify-form) .fluentform .ff-el-tc { margin-top: .9rem; }
:is(.signup-form, .notify-form) .fluentform .ff_tc_label { display: flex; gap: .6rem; align-items: flex-start; margin: 0; font-size: 12px; line-height: 1.5; color: rgba(0,59,72,0.62); cursor: pointer; }
:is(.signup-form, .notify-form) .fluentform .ff_tc_checkbox { flex: 0 0 auto; padding-top: .1rem; }
:is(.signup-form, .notify-form) .fluentform .ff_tc_checkbox input { width: 16px; height: 16px; margin: 0; accent-color: var(--wp--preset--color--accent); }
:is(.signup-form, .notify-form) .fluentform .ff_t_c a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
:is(.signup-form, .notify-form) .fluentform .error { margin-top: .35rem; font-size: 12px; color: #C0392B; }
:is(.signup-form, .notify-form) .ff-message-success { margin: 0; padding: 1rem 1.2rem; border: 0; border-radius: 10px; background: rgba(249,174,38,.14); color: var(--wp--preset--color--primary); box-shadow: none; font-size: .95rem; }
:is(.signup-form, .notify-form) .ff-message-success p { margin: 0; }
/* auf Dunkel (CTA unten) */
.notify-cta .notify-form > * { max-width: none !important; }
.notify-cta .notify-form .notify-form__title { margin: 0 0 1rem !important; }
.notify-cta .notify-form .fluentform input.ff-el-form-control { border-color: transparent; }
.notify-cta .notify-form .fluentform .ff_tc_label { color: var(--wp--preset--color--text-on-dark-muted); }
.notify-cta .notify-form .fluentform .error { color: #FFB4A8; }
.notify-cta .notify-form .ff-message-success { background: rgba(255,255,255,.08); color: var(--wp--preset--color--base); }
@media (max-width: 599px) {
	:is(.signup-form, .notify-form) .fluentform .ff-t-container { flex-direction: column; }
	:is(.signup-form, .notify-form) .fluentform .ff-btn-submit { width: 100%; }
}

/* heder:LAB – Hinweisleiste: nur so breit wie der Inhalt */
.notice-bar--fit { width: fit-content; max-width: 100%; }

/* heder:LAB – Fluent Forms: Standard-Formular in .hl-form (Labels oben, Petrol-Button volle Breite) */
.hl-form { width: 100%; }
.hl-form .fluentform fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.hl-form .fluentform .ff-t-container { display: flex; gap: 1rem; margin: 0; }
.hl-form .fluentform .ff-t-cell { flex: 1 1 0 !important; width: auto !important; padding: 0 !important; margin: 0; min-width: 0; }
.hl-form .fluentform .ff-el-group { margin-bottom: 1.1rem; }
.hl-form .fluentform .ff-el-input--label label { margin-bottom: .45rem; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--primary); }
.hl-form .fluentform .ff-el-is-required.asterisk-right label::after { color: var(--wp--preset--color--accent); margin-left: 2px; }
.hl-form .fluentform .ff-el-form-control { min-height: 44px; padding: .65rem 1rem; border-radius: 10px; border: 1px solid var(--wp--custom--color--border-on-light, #DCD8D2); background: var(--wp--preset--color--base); color: var(--wp--preset--color--primary); font-size: 1rem; line-height: 1.5; box-shadow: none; }
.hl-form .fluentform textarea.ff-el-form-control { min-height: 110px; resize: vertical; }
.hl-form .fluentform .ff-el-form-control::placeholder { color: #8FA4A8; opacity: 1; }
.hl-form .fluentform .ff-el-form-control:focus { border-color: var(--wp--preset--color--accent); outline: 2px solid rgba(249,174,38,.35); outline-offset: 0; }
.hl-form .fluentform .ff_tc_label { display: flex; gap: .6rem; align-items: flex-start; margin: 0; font-size: 12px; line-height: 1.5; color: rgba(0,59,72,0.62); cursor: pointer; }
.hl-form .fluentform .ff_tc_checkbox { flex: 0 0 auto; padding-top: .1rem; }
.hl-form .fluentform .ff_tc_checkbox input { width: 16px; height: 16px; margin: 0; accent-color: var(--wp--preset--color--accent); }
.hl-form .fluentform .ff_t_c a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hl-form .fluentform .ff_submit_btn_wrapper { margin: .4rem 0 0; }
.hl-form .fluentform .ff-btn-submit { width: 100%; min-height: 50px; padding: .8rem 1.5rem !important; border: 0 !important; border-radius: 999px !important; background: var(--wp--preset--color--primary) !important; color: var(--wp--preset--color--base) !important; font-weight: 700; font-size: 1rem; opacity: 1; transition: background-color .2s ease; }
.hl-form .fluentform .ff-btn-submit:is(:hover, :focus-visible) { background: var(--wp--preset--color--contrast) !important; }
.hl-form .fluentform .error { margin-top: .35rem; font-size: 12px; color: #C0392B; }
.hl-form .ff-message-success { margin: 0; padding: 1.2rem 1.4rem; border: 0; border-radius: 12px; background: rgba(249,174,38,.14); color: var(--wp--preset--color--primary); box-shadow: none; }
.hl-form .ff-message-success p { margin: 0; }
@media (max-width: 599px) { .hl-form .fluentform .ff-t-container { flex-direction: column; gap: 0; } }

/* heder:LAB – Fluent Forms Inline-Formular auf dunklem Hintergrund (.notify-form.is-dark, z. B. Newsletter Events) */
.notify-form.is-dark { width: 100%; max-width: 560px; margin-left: auto; }
.notify-form.is-dark .fluentform input.ff-el-form-control { border-color: transparent; }
.notify-form.is-dark .fluentform .ff_tc_label { color: var(--wp--preset--color--text-on-dark-muted); font-size: .8125rem; }
.notify-form.is-dark .fluentform .ff_t_c a { color: var(--wp--preset--color--text-on-dark); }
.notify-form.is-dark .fluentform .ff_t_c a:hover { color: var(--wp--preset--color--accent); }
.notify-form.is-dark .fluentform .error { color: #FFB4A8; }
.notify-form.is-dark .ff-message-success { background: rgba(255,255,255,.08); color: var(--wp--preset--color--base); }
@media (max-width: 781px) { .notify-form.is-dark { margin-left: 0; max-width: none; } }

/* heder:LAB – Fluent Forms .hl-form: Variante mit gelbem Button (.is-accent, z. B. Raumanfrage heder:CUBE) */
.hl-form.is-accent .fluentform .ff-btn-submit { background: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--contrast) !important; }
.hl-form.is-accent .fluentform .ff-btn-submit:is(:hover, :focus-visible) { background: var(--wp--preset--color--accent-hover, #E89A0C) !important; }

/* heder:LAB – Block-Stil Liste „Punkte orange“: Punkte bündig mit dem Text links, orange */
ul.wp-block-list.is-style-dot-accent { list-style: none; padding-left: 0; margin-left: 0; }
ul.wp-block-list.is-style-dot-accent > li { position: relative; padding-left: 1.6rem; margin: 0 0 .7rem; }
ul.wp-block-list.is-style-dot-accent > li:last-child { margin-bottom: 0; }
ul.wp-block-list.is-style-dot-accent > li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--accent); }

/* heder:LAB – Hervorhebungen (fett) in gedämpftem bzw. hellem Text auf Dunkel kräftiger */
p[style*="rgba(0,59,72,0.62)"] strong { color: var(--wp--preset--color--primary); }
.has-text-on-dark-color strong { color: var(--wp--preset--color--base); }

/* heder:LAB – Ansprechpartner-CTA auf Dunkel (.person-cta--dark) + Button in der Kontaktkarte */
.person-cta--dark h2 { color: var(--wp--preset--color--base); }
.person-cta--dark h2 + p { color: var(--wp--preset--color--text-on-dark); line-height: 1.7; }
.person-cta--dark .contact-person-card { border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.contact-person-card .contact-person-card__cta { margin-top: 1.1rem !important; }
.contact-person-card .contact-person-card__cta .wp-block-button { width: 100%; }
.contact-person-card .contact-person-card__cta .wp-block-button__link { display: block; width: 100%; text-align: center; }

/* heder:LAB – Hero-Grafik pendelt langsam (Glühbirne: Intrapreneurship, ideation:DAY; Rakete: innovation:BOX), Klasse .hero-bulb am Bild, Größe über die Höhe */
.gspb_row__col--6:has(> .hero-bulb) { display: flex; align-items: center; justify-content: center; }
.hero-bulb { margin-block: 0; }
.hero-bulb img {
  display: block; margin-inline: auto; width: auto !important; height: clamp(220px, 24vw, 380px);
  transform-origin: 50% 80%;
  filter: drop-shadow(0 26px 34px rgba(0, 35, 43, .16));
  animation: hl-bulb-sway 6s ease-in-out infinite;
}
@keyframes hl-bulb-sway {
  0%, 100% { transform: translateX(12px) rotate(3.5deg); }
  50%      { transform: translateX(-12px) rotate(-3.5deg); }
}
@media (prefers-reduced-motion: reduce) { .hero-bulb img { animation: none; } }

/* heder:LAB – Hero mit Foto rechts (.hero-split-photo) */
.hero-split-photo { gap: var(--wp--preset--spacing--60) !important; }
.hero-split-photo .hero-split-photo__img { margin: 0; }
.hero-split-photo .hero-split-photo__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--wp--preset--border-radius--card-large, 22px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
@media (max-width: 781px) { .hero-split-photo .hero-split-photo__img { margin-top: var(--wp--preset--spacing--40); } }

/* heder:LAB – Besuchs-CTA mit Foto (Räume) */
.visit-photo-cta { gap: var(--wp--preset--spacing--60) !important; }
.visit-photo-cta .visit-photo-cta__img { margin: 0; }
.visit-photo-cta .visit-photo-cta__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--wp--preset--border-radius--card-large, 22px); }
.visit-photo-cta__contact a { color: inherit; text-decoration: none; }
.visit-photo-cta__contact a:hover { color: var(--wp--preset--color--accent); }

/* heder:LAB – Kontakt-Element (Foto-Karte + Text): Karte schmaler, Foto kleiner */
@media (min-width: 782px) {
	.wp-block-group.contact-cta { grid-template-columns: minmax(0, 19rem) minmax(0, 1fr) !important; column-gap: var(--wp--preset--spacing--70) !important; }
}

/* heder:LAB – Logo-Reihe (Intrapreneurship „Schon dabei gewesen“) */
.logo-row { gap: var(--wp--preset--spacing--50) !important; align-items: center; }
.logo-row .logo-row__logo { margin: 0; }
.logo-row .logo-row__logo img { display: block; width: auto !important; max-width: 100%; max-height: 64px; height: auto; margin: 0 auto; object-fit: contain; }
@media (max-width: 781px) { .logo-row { flex-wrap: wrap !important; } .logo-row > .wp-block-column { flex-basis: calc(50% - 1rem) !important; } .logo-row .logo-row__logo img { max-height: 44px; } }

/* heder:LAB – Feinschliff Fotos: Logo-Reihe (SVG/sehr breite Logos) + Porträt-Ausschnitt in kleinen Teamkarten */
.logo-row .logo-row__logo img { width: 100% !important; max-width: 220px; }
.logo-row .logo-row__logo img[src$=".png"][src*="verbundvolksbank"] { max-width: 260px; }
.team-card__photo img { object-position: 50% 12%; }

/* heder:LAB – Textformat Petrol unterstreichen (Editor: Pfeil-Menü > "Petrol unterstreichen"), z. B. auf gelbem Grund */
.hl-marker-petrol { font-weight: 600; background-image: url("../img/markierung-petrol.svg?v=2"); background-repeat: no-repeat; background-size: 100% .34em; background-position: 0 100%; padding-bottom: .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* heder:LAB – Startseite Feedback 11/2026 */
/* Hero-Untertitel rund ein Drittel größer */
.hederlab-hero-logo h1.has-subheading-font-size { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.1rem) !important; line-height: 1.25; }

/* Angebote: Bereichsname als große Überschrift */
.hederlab-offer__body h3 { letter-spacing: .01em; line-height: 1.1; margin-bottom: .35rem; }

/* Nächste Veranstaltung: Datum, Uhrzeit, Ort größer */
.event-feature { grid-template-columns: 230px minmax(0, 1fr); }
.event-feature__date { padding: 2.25rem 1.25rem; }
.event-feature__day { font-size: clamp(4.25rem, 3.2rem + 3vw, 6rem); }
.event-feature__month { font-size: var(--wp--preset--font-size--medium); }
.event-feature__time { font-size: var(--wp--preset--font-size--small); opacity: 1; }
.event-feature__place { font-size: var(--wp--preset--font-size--small); }
@media (max-width: 599px) {
  .event-feature { grid-template-columns: 1fr; }
  .event-feature__date { padding: 1.25rem 1.5rem; }
  .event-feature__day { font-size: 3.25rem; }
}

/* heder:LAB – Event-Logoleiste: weißer Kasten, Logos gleich hoch, weiße Logo-Hintergründe unsichtbar */
.event-logo-row { margin-top: var(--wp--preset--spacing--50) !important; }
.event-logo-row:not(:has(img)) { display: none; }
.event-logo-row .wp-block-gallery { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 1.5rem 2.75rem !important; margin: 0 !important; }
.event-logo-row .wp-block-gallery > figure.wp-block-image { width: auto !important; flex: 0 1 auto !important; margin: 0 !important; }
.event-logo-row .wp-block-gallery img { height: 60px !important; width: auto !important; max-width: 100% !important; object-fit: contain !important; }
.event-logo-row .wp-block-gallery figcaption { display: none; }
@media (max-width: 599px) { .event-logo-row .wp-block-gallery { gap: 1rem 1.75rem !important; } .event-logo-row .wp-block-gallery img { height: 42px !important; } }

/* heder:LAB – Einleitung unter dem Hero (Absatz-Stil „Einleitung (breit)“): etwas kleiner, enger, breiter, bündig mit der Hero-Schrift */
.is-layout-constrained > p.is-style-intro,
p.is-style-intro {
	max-width: var(--wp--style--global--wide-size) !important; /* volle Breite bis zur Kante des Hero-Fotos */
	margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important;
	margin-right: auto !important;
	font-size: clamp(1.35rem, 1rem + 1.1vw, 1.85rem) !important;
	line-height: 1.42;
	text-wrap: pretty;
}

/* heder:LAB – Hero mit Petrol-Kreis hinter der Glühbirne (Klasse .hero-circle an der Hero-Gruppe) */
.hero-circle { position: relative; overflow: hidden; }
.hero-circle + * { margin-block-start: 0 !important; } /* Kreis schließt bündig mit der Hero-Fläche ab */
.hero-circle .hero-bulb { --bh: clamp(220px, 24vw, 380px); position: relative; isolation: isolate; }
.hero-bulb img { height: var(--bh, clamp(220px, 24vw, 380px)) !important; }
.hero-circle .hero-bulb::before {
	content: ""; position: absolute; z-index: -1;
	width: calc(var(--bh) * 1.6); aspect-ratio: 1; border-radius: 50%;
	background: var(--wp--preset--color--primary);
	left: 40%; top: 42%;
	pointer-events: none;
}
@media (max-width: 991px) {
	.hero-circle .hero-bulb { --bh: 220px; }
	.hero-circle .hero-bulb::before { width: calc(var(--bh) * 1.5); }
}

/* Unterstreichung in Überschriften: gleiche Schriftstärke wie der Rest der Überschrift */
:is(h1, h2, h3, h4) :is(.hl-marker, .hl-marker-petrol) { font-weight: inherit; }

/* Silbentrennung: Safari kennt keine Mindestwortlänge, deshalb dort keine automatische Trennung in Überschriften */
@supports not (hyphenate-limit-chars: 12 5 5) {
	:where(h1, h2, h3) { -webkit-hyphens: manual; hyphens: manual; }
}

/* Formate-Karten: Illustrationen von Svea etwas größer */
.format-card > .format-icon img { height: 84px !important; width: auto !important; }


/* heder:LAB – Datums-Chip (Event-Daten-Block „datechip“) */
.event-datechip { display: inline-flex; align-items: center; gap: .6rem; margin: 0; padding: .6rem 1.3rem .6rem 1.1rem; border-radius: 999px; background: var(--wp--preset--color--background); color: var(--wp--preset--color--primary); }
.event-datechip svg { flex: none; color: var(--wp--preset--color--accent); }

/* ideation:DAY – nächster Termin kommt automatisch aus dem Event (Kategorie ideation:DAY); ohne kommenden Termin wird „Termine und Preise“ ausgeblendet */
/* ohne kommenden Termin: Termin-Karte weg, „Lieber intern“ bleibt sichtbar */
.ideation-termine:not(:has(.wp-block-post)) .ideation-next { display: none !important; }
.ideation-termine:not(:has(.wp-block-post)) .pricing-grid { grid-template-columns: minmax(0, 1fr) !important; max-width: 40rem !important; margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important; margin-right: auto !important; }
.ideation-next, .ideation-next .wp-block-post-template, .ideation-next .wp-block-post { height: 100%; margin: 0; padding: 0; list-style: none; }
.ideation-next .wp-block-post > .is-style-card { height: 100%; }
.ideation-next .event-feature__title { font-size: var(--wp--preset--font-size--x-large); margin: 0 !important; }
.ideation-next .event-feature__text { margin: 0 !important; color: rgba(0,59,72,0.62); }
.ideation-next .event-feature__cta { margin-top: var(--wp--preset--spacing--30); }
.ideation-next .event-feature__cta .wp-block-button__link { text-align: center; }

/* Zitat-Karten: Name unter dem Zitat */
.quote-card .quote-card__name { margin: 1.25rem 0 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text-on-dark); }
.quote-card .quote-card__name { margin: auto 0 0 !important; padding-top: 2rem; }
.quote-card .quote-card__name + .quote-card__logo { margin-top: .9rem !important; padding-top: 0; }
/* Button „Termine ansehen“ ausblenden, wenn kein kommender ideation:DAY da ist */
body:not(:has(.ideation-termine .wp-block-post)) .wp-block-button:has(> a[href="#termine"]) { display: none; }

/* heder:LAB – volle Abschnitte schließen bündig aneinander an (kein beiger Streifen durch den Blockabstand) */
:is(.wp-block-post-content, main) > .alignfull + .alignfull,
:is(.wp-block-post-content, main) > .alignfull ~ .alignfull, /* auch wenn ein <style>-Element dazwischen steht */
:is(.wp-block-post-content, main) > .alignfull + :is(.wp-block-post-content, .entry-content),
main + footer, main + .wp-block-template-part { margin-block-start: 0 !important; }
:is(.wp-block-post-content, main) > .wp-block-post-content > .alignfull:first-child { margin-block-start: 0 !important; }

/* Testimonial-Slider: Video + Zitat als Paar mittig, keine angeschnittene Nachbar-Slide am rechten Rand */
.testimonial-slider__track > .testimonial { flex-basis: 100%; justify-content: center; grid-template-columns: minmax(0, 300px) minmax(0, 40rem); }
.testimonial-slider .testimonial-slider__nav { max-width: calc(300px + 40rem + clamp(1.5rem, 4vw, 3.5rem)); margin-inline: auto; }
@media (max-width: 781px) { .testimonial-slider__track > .testimonial { grid-template-columns: minmax(0, 1fr); } .testimonial-slider .testimonial-slider__nav { max-width: none; } }
/* Rakete (innovation:BOX): Kreis etwas weiter rechts/unten, damit die Antriebsstriche sichtbar bleiben */
.hero-circle .hero-bulb:has(img[src*="Rakete"])::before { left: 58%; top: 58%; }

/* Weiße Karten auf Petrol-Abschnitten: Überschriften in Petrol statt Weiß */
.is-style-section-petrol .is-style-card :is(h1, h2, h3, h4, h5, h6):not(.has-text-color) { color: var(--wp--preset--color--primary); }

/* Kontaktkarte kompakter: Foto im Querformat, Gesicht im Bild */
.contact-card .contact-card__img img { aspect-ratio: 3 / 2; object-position: 50% 18%; }

/* heder:LAB – Logo-Raster im Hero: Logos in Originalfarben auf weißen Kacheln (bunter auf Petrol) */
.wp-block-gallery.logo-wall > figure.logo-original, .logo-wall__cell.is-original { background: #fff; border-color: transparent; }
.wp-block-gallery.logo-wall > figure.logo-original figcaption, .logo-wall__cell.is-original span { color: rgba(0, 59, 72, .55) !important; }
.logo-wall__cell.is-original img, .wp-block-gallery.logo-wall > figure.logo-original img { max-height: 52% !important; }

/* heder:LAB – Logo-Galerie „logo-grid“ (Mitglieder, Partner, Netzwerkpartner): gleich große Kacheln, Logos eingepasst */
.wp-block-gallery.logo-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px !important; }
.wp-block-gallery.logo-grid > figure.wp-block-image { width: auto !important; margin: 0 !important; aspect-ratio: 3 / 2; display: flex !important; align-items: center; justify-content: center; padding: 18px 22px; box-sizing: border-box; border: 1px solid rgba(0, 59, 72, .1); border-radius: 14px; background: #fff; }
.wp-block-gallery.logo-grid > figure.wp-block-image img { width: auto !important; height: auto !important; max-width: 88% !important; max-height: 62% !important; object-fit: contain !important; flex: 0 1 auto !important; }
@media (max-width: 781px) { .wp-block-gallery.logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Event-Preis (Event-Daten-Block „price“) */
.event-price { display: flex; flex-direction: column; gap: .35rem; margin-top: var(--wp--preset--spacing--30); }
.event-price .event-price__amount { margin: 0; font-size: clamp(2.75rem, 5vw, 3.75rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--wp--preset--color--primary); }
.event-price .event-price__unit { margin: 0; color: rgba(0,59,72,0.62); }
.event-price .event-price__unit strong { color: var(--wp--preset--color--primary); }
