.yb_badge {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  white-space: nowrap;
  text-decoration: none;
  /* greift deine Theme-Typo-Variablen, falls keine typoClass gesetzt */
  font-weight: var(--typo-font-weight-md, 500);
  letter-spacing: var(--typo-letter-spacing-wide, 0.02em);
  line-height: 1.1;
}

/* src/widgets/yb_brand_logo.css (optional) */
.yb_brand_logo { text-decoration: none; }
.yb_brand_logo img { display:block; }

/* Base Button Styles */
.yb_button_link {
  /* --- Layout & Sizing (NEW) --- */
  display: inline-flex;
  align-items: center;
  /* Steuert Zentrierung vs. Linksbündig bei Full Width */
  justify-content: var(--yb-btn-justify, center); 
  /* Steuert Auto vs. 100% Breite */
  width: var(--yb-btn-width, fit-content); 
  height: fit-content;
  /* Perfekter Abstand zwischen Icon und Text */
  gap: 0.6em; 

  /* --- Spacing & Shape --- */
  padding: var(--yb-btn-py, 0.6em) var(--yb-btn-px, 1.1em);
  border-radius: var(--yb-btn-radius, 8px);
  
  /* --- Borders --- */
  border-style: solid;
  border-width: var(--yb-btn-border-width, 0px);
  border-color: var(--yb-btn-border, transparent);

  /* --- Colors --- */
  background-color: var(--yb-btn-bg, #111);
  color: var(--yb-btn-color, #fff);

  /* --- Typography --- */
  text-decoration: var(--yb-btn-underline, none);
  white-space: nowrap;
  font-weight: 500; /* Wirkt hochwertiger als 400 */
  line-height: 1.2;

  /* --- Effects --- */
  box-shadow: var(--yb-btn-shadow, none);
  cursor: pointer;
  user-select: none; /* Verhindert Text-Markierung beim wilden Klicken */

  /* --- Animation (High Quality Feel) --- */
  /* Wir nutzen cubic-bezier für einen hochwertigen "Snappy" Effekt bei Bewegung */
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); /* Smooth Physics */
}

/* --- Hover State --- */
.yb_button_link:hover {
  background-color: var(--yb-btn-bg-hover, var(--yb-btn-bg));
  color: var(--yb-btn-color-hover, var(--yb-btn-color));
  border-color: var(--yb-btn-border-hover, var(--yb-btn-border));
  
  /* Schatten wird beim Hover oft stärker/weicher */
  box-shadow: var(--yb-btn-shadow-hover, var(--yb-btn-shadow));
  
  /* 🔥 DER SCHLÜSSEL: Variable kommt aus React (lift, scale, push) */
  /* Das hardcodierte translateY(-1px) ist weg, React steuert das jetzt */
  transform: var(--yb-btn-transform-hover, none);
}

/* --- Active / Click State --- */
.yb_button_link:active {
  /* Egal welche Hover-Animation: Beim Klicken drückt man physisch drauf */
  /* Das überschreibt kurzzeitig den Hover-Transform für taktiles Feedback */
  transform: scale(0.97); 
  
  /* Optional: Leichtes Abdunkeln für visuelles Feedback */
  filter: brightness(0.95);
}

/* --- Accessibility Focus (Keyboard Navigation) --- */
.yb_button_link:focus-visible {
  outline: 2px solid var(--yb-btn-color, #fff);
  outline-offset: 2px;
}
.yb_faq_accordion {
  --faq-hover-bg:            #f9f9f9;   /* Fallback – wird via Prop überschrieben */
  --faq-item-header-bg:      transparent;
  --faq-item-content-bg:     #fff;
  --faq-border-color:        #eee;

  border: 1px solid var(--faq-border-color);
  border-radius: 12px;
  overflow: hidden;
}

/* Titel (global steuerbar per titleTypo + titleColor) */
.yb_faq_accordion__title {
  margin: 0;
  padding: 1rem;
  background: #f5f5f5;
  border-bottom: 1px solid var(--faq-border-color);
}

/* Liste & Einträge */
.yb_faq_accordion__list {
  display: flex;
  flex-direction: column;
}
.yb_faq_accordion__item {
  border-top: 1px solid var(--faq-border-color);
  overflow: hidden;
}

/* Trigger (Fragezeile) */
.yb_faq_accordion__trigger {
  background: var(--faq-item-header-bg);
  border: none;
  width: 100%;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;

  transition: background 0.25s ease, color 0.25s ease;
}
.yb_faq_accordion__trigger:hover {
  background: var(--faq-hover-bg);
}
.yb_faq_accordion__trigger:focus-visible {
  outline: 2px solid color-mix(in srgb, currentColor 45%, transparent);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Frage-Text im Trigger (typografisch via questionTypo + questionColor) */
.yb_faq_accordion__question {
  margin: 0;
}

/* Icon (+ wird zu −) */
.yb_faq_accordion__icon {
  position: relative;
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
  margin-left: 10px;
}
.yb_faq_accordion__icon .line {
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.yb_faq_accordion__icon .line.vertical {
  width: 2px;
  height: 12px;
}
.yb_faq_accordion__icon .line.horizontal {
  width: 12px;
  height: 2px;
}
.yb_faq_accordion__icon.open .vertical {
  opacity: 0; /* wird zum Minus */
}

/* Content-Wrapper (Antwort) */
.yb_faq_accordion__content {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}
.yb_faq_accordion--fade .yb_faq_accordion__content {
  opacity: 0;
}
.yb_faq_accordion__item.open .yb_faq_accordion__content {
  opacity: 1;
}

/* Inhalt der Antwortbox */
.yb_faq_accordion__inner {
  background: var(--faq-item-content-bg);
  padding: 1rem 1.25rem;
}

/* Optional: leere Meldung */
.yb_faq_accordion__empty {
  padding: 1rem 1.25rem;
  color: #666;
  background: #fafafa;
}

/* Globale Sicherung für alle relevanten Texte im Accordion */
.yb_faq_accordion__title,
.yb_faq_accordion__question,
.yb_faq_accordion__answer {
  text-align: left !important; /* Erzwingt linksbündig */
}

.yb_faq_accordion * {
  text-align: left !important;
}

.yb-form {
  /* Layout */
  --yb-form-gap: 16px;
  --yb-form-accent: var(--color-primary, #0ea5e9);

  /* Inputs */
  --yb-input-radius: 8px;
  --yb-input-bg: #ffffff;

  /* Input derived */
  --yb-input-text: inherit;
  --yb-input-border: #e2e8f0;
  --yb-input-placeholder: #94a3b8;

  /* Button layout */
  --yb-btn-align: flex-start;

  /* Button base */
  --yb-btn-bg: var(--yb-form-accent);
  --yb-btn-color: #ffffff;
  --yb-btn-border-color: transparent;
  --yb-btn-border-width: 1px;

  --yb-btn-radius: 10px;
  --yb-btn-py: 12px;
  --yb-btn-px: 20px;

  --yb-btn-font-size: 16px;
  --yb-btn-font-weight: 700;
  --yb-btn-letter-spacing: 0px;
  --yb-btn-text-transform: none;

  --yb-btn-shadow: none;

  /* Button hover */
  --yb-btn-hover-bg: color-mix(in srgb, var(--yb-btn-bg) 88%, black);
  --yb-btn-hover-color: var(--yb-btn-color);
  --yb-btn-hover-border-color: var(--yb-btn-border-color);
  --yb-btn-hover-shadow: none;
  --yb-btn-hover-translate-y: -1px;

  display: flex;
  flex-direction: column;
  gap: var(--yb-form-gap);
  width: 100%;
  max-width: 100%;
}

/* --- LAYOUT GRID --- */
.yb-form__fields {
  display: flex;
  flex-direction: column;
  gap: var(--yb-form-gap);
}

.yb-form__row {
  display: grid;
  gap: var(--yb-form-gap);
}

.yb-form__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

/* --- LABELS --- */
.yb-form__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--yb-input-text);
  line-height: 1.3;
}

.yb-req { color: #ef4444; margin-left: 2px; }

/* --- INPUTS BASE --- */
.yb-form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--yb-input-text);
  background-color: var(--yb-input-bg);
  border: 1px solid var(--yb-input-border);
  border-radius: var(--yb-input-radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  appearance: none;
}

.yb-form__input::placeholder { color: var(--yb-input-placeholder); opacity: 1; }
.yb-form__input:focus { outline: none; }

/* Textarea */
.yb-form__input--textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- INPUT VARIANTS (NUR Layout/Border/Focus, BG bleibt über --yb-input-bg steuerbar) --- */

/* Outline */
.yb-form--input-outline .yb-form__input:focus {
  border-color: var(--yb-form-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--yb-form-accent) 18%, transparent);
}

/* Soft */
.yb-form--input-soft .yb-form__input {
  border-color: transparent;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--yb-input-border) 70%, transparent);
}
.yb-form--input-soft .yb-form__input:focus {
  box-shadow:
    inset 0 0 0 1px var(--yb-form-accent),
    0 0 0 3px color-mix(in srgb, var(--yb-form-accent) 15%, transparent);
}

/* Underline */
.yb-form--input-underline .yb-form__input {
  border-width: 0 0 2px 0;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}
.yb-form--input-underline .yb-form__input:focus {
  border-bottom-color: var(--yb-form-accent);
  box-shadow: none;
}

/* Filled */
.yb-form--input-filled .yb-form__input {
  border-color: transparent;
  border-bottom: 2px solid var(--yb-input-border);
}
.yb-form--input-filled .yb-form__input:focus {
  border-bottom-color: var(--yb-form-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--yb-form-accent) 12%, transparent);
}

/* --- CHECKBOX (Input BG gilt auch hier) --- */
.yb-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  line-height: 1.3;
  font-size: 0.95rem;
}

.yb-form__checkbox input[type="checkbox"] {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  border-radius: 6px;
  border: 1px solid var(--yb-input-border);
  background: var(--yb-input-bg);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
}

.yb-form__checkbox input[type="checkbox"]:focus {
  outline: none;
  border-color: var(--yb-form-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--yb-form-accent) 18%, transparent);
}

.yb-form__checkbox input[type="checkbox"]:checked {
  background: var(--yb-form-accent);
  border-color: var(--yb-form-accent);
}

.yb-form__checkbox input[type="checkbox"]:checked::after {
  content: "";
  width: 0.55rem;
  height: 0.35rem;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
  margin-top: -1px;
}

.yb-form__checkbox-text { color: var(--yb-input-text); margin: auto 0; }

/* --- BUTTON --- */
.yb-form__actions {
  display: flex;
  justify-content: var(--yb-btn-align);
  margin-top: 0.25rem;
}

.yb-form__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: var(--yb-btn-py) var(--yb-btn-px);
  border-radius: var(--yb-btn-radius);

  background: var(--yb-btn-bg);
  color: var(--yb-btn-color);

  border-style: solid;
  border-width: var(--yb-btn-border-width);
  border-color: var(--yb-btn-border-color);

  font-size: var(--yb-btn-font-size);
  font-weight: var(--yb-btn-font-weight);
  letter-spacing: var(--yb-btn-letter-spacing);
  text-transform: var(--yb-btn-text-transform);

  box-shadow: var(--yb-btn-shadow);

  cursor: pointer;
  line-height: 1.1;

  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.yb-form--btn-full .yb-form__button { width: 100%; }

.yb-form__button:hover:not(:disabled) {
  background: var(--yb-btn-hover-bg);
  color: var(--yb-btn-hover-color);
  border-color: var(--yb-btn-hover-border-color);
  box-shadow: var(--yb-btn-hover-shadow);
  transform: translateY(var(--yb-btn-hover-translate-y));
}

.yb-form__button:active:not(:disabled) {
  transform: translateY(0px);
}

.yb-form__button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* --- MESSAGES --- */
.yb-form__success-msg {
  padding: 1rem;
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: var(--yb-input-radius);
  text-align: center;
  margin-top: 0.75rem;
  animation: fadeIn 0.3s ease;
}

.yb-form-loading, .yb-form-error {
  padding: 2rem;
  text-align: center;
  color: var(--yb-input-placeholder);
}

.yb-form-error { color: #ef4444; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 640px) {
  .yb-form__row { grid-template-columns: 1fr !important; }
  .yb-form__col { grid-column: auto !important; }
}

/* src/yb_image.css */
.yb_image {
  display: block;
  max-width: 100%;
  border-radius: 0.5rem;
  background: #f6f6f6;
  object-fit: cover;
}

.yb_logo_marquee__track { display: grid; align-items: center; width: 100%; overflow: hidden; }
.yb_logo_marquee__lane  { display: flex; align-items: center; gap: var(--marquee-gap, 48px); will-change: transform; }

.yb_map_container {
  width: var(--yb-map-width, 100%);
  height: var(--yb-map-height, 450px);
  border-radius: var(--yb-map-radius, 12px);
  box-shadow: var(--yb-map-shadow, none);
  overflow: hidden;
  background-color: #f3f4f6;
  position: relative;
  transition: all 0.3s ease;
}

.yb_map_iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: var(--yb-map-filter, none);
}

.yb_map_loading {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 12px;
}

.yb_map_error {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #fef2f2;
  color: #991b1b;
  padding: 20px;
  border: 1px dashed #fca5a5;
  border-radius: inherit;
}

.yb_map_error_icon {
  font-size: 24px;
  margin-bottom: 8px;
}
/* Container Reset */
.yb-media-container {
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
}

/* Skeleton Animation (Lade-Animation) */
.yb-skeleton-pulse {
  position: absolute;
  inset: 0;
  background-color: #e5e7eb;
  animation: yb-pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: 1;
}

@keyframes yb-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Error State */
.yb-media-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
  color: #9ca3af;
  font-size: 0.8rem;
}

/* YouTube Facade (Overlay) */
.yb-yt-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: transparent;
  display: block;
}

/* Der Play Button auf dem Thumbnail */
.yb-yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 0, 0, 0.9);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.yb-yt-facade:hover .yb-yt-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: red;
}
/* ===== YB MENU BASE ===== */
.yb-menu-root {
  position: relative;
  width: fit-content;
  min-width: 0;
  font-family: var(--yb-font, inherit);
  z-index: 100;
  flex: 0 0 auto;
}
.yb-placeholder { padding: 10px; border: 1px dashed #ccc; color: #888; font-size: 0.8em; }

/* --- DESKTOP --- */
.yb-desktop-wrap { display: flex; width: 100%; justify-content: var(--yb-align, flex-end); }
.yb-desk-list { display: flex; gap: var(--yb-gap, 30px); list-style: none; margin: 0; padding: 0; align-items: center; height: 100%; }

/* --- ITEMS & HOVER --- */
.yb-menu-item { height: 100%; display: flex; align-items: center; position: relative; }
.yb-menu-item.is-mega { position: static; }

.yb-link {
  text-decoration: none; color: var(--yb-text, #111);
  font-weight: 500; padding: 10px 0;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap; transition: color 0.2s; cursor: pointer;
}
.yb-link:hover, .yb-link.active { color: var(--yb-hover, #007aff); }
.yb-caret { font-size: 0.7em; opacity: 0.5; transition: transform 0.2s; }

/* --- POPUP BRIDGE ---
   position:fixed statt absolute — bricht aus dem transform()-Stacking-Context
   des Headers aus. top/left wird per JS (mouseenter) via getBoundingClientRect gesetzt.
*/
.yb-popup-bridge {
  position: fixed;
  top: -9999px; /* Versteckt bis JS die Position setzt */
  left: -9999px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 99999;
  pointer-events: none;
}

/* Unsichtbare Hover-Bridge verhindert Dropdown-Schließen beim Gap überqueren */
.yb-popup-bridge::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

/* CSS HOVER Trigger */
.yb-menu-item:hover .yb-popup-bridge {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.yb-menu-item:hover .yb-caret { transform: rotate(180deg); }

/* --- DROPDOWN --- */
.yb-menu-item.is-dropdown .yb-popup-bridge { min-width: 220px; }
.yb-dropdown {
  background: var(--yb-dd-bg, #fff); list-style: none; margin: 0; padding: 10px 0;
  border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.12); border: 1px solid rgba(0,0,0,0.07);
}
.yb-dropdown-item a {
  display: block; padding: 8px 20px; color: var(--yb-text); text-decoration: none;
  font-size: 0.95em; transition: background 0.1s;
  white-space: nowrap;
}
.yb-dropdown-item a:hover { background: rgba(0,0,0,0.04); color: var(--yb-hover); }

/* --- MEGA MENU --- */
.yb-menu-item.is-mega .yb-popup-bridge {
  left: 5vw !important; /* JS überschreibt left, daher !important nötig für Mega */
  width: 90vw;
  max-width: 1400px;
}

.yb-mega-panel {
  background: var(--yb-dd-bg, #fff); width: 100%; padding: 40px;
  border-top: 1px solid rgba(0,0,0,0.03); border-radius: 0 0 8px 8px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.yb-mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; width: 100%; }
.yb-mega-col { display: flex; flex-direction: column; gap: 15px; }
.yb-mega-header {
  font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px;
  color: var(--yb-text); text-decoration: none; padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.05); display: block;
}
.yb-mega-header:hover { color: var(--yb-hover); }
.yb-mega-sublist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.yb-mega-sublist a {
  text-decoration: none; color: var(--yb-text); font-size: 0.95rem; opacity: 0.8;
  transition: opacity 0.2s, color 0.2s; display: block;
}
.yb-mega-sublist a:hover { color: var(--yb-hover); opacity: 1; }
.yb-mega-sublist.level-1 { padding-left: 15px; border-left: 1px solid rgba(0,0,0,0.05); }


/* =========================================
   --- MOBILE MENU ---
   ========================================= */

.yb-mobile-checkbox { position: absolute; opacity: 0; pointer-events: none; }

.yb-burger-label {
  background: none; border: none; padding: 10px 0; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; width: 30px; z-index: 101;
}
.yb-bar { height: 2px; width: 100%; background: var(--yb-text, #000); border-radius: 2px; transition: 0.3s; }

/* Drawer Container */
.yb-mobile-drawer {
  position: fixed; inset: 0; z-index: 9999;
  visibility: hidden; pointer-events: none;
}

/* Backdrop */
.yb-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.3s;
  cursor: pointer;
}

/* Content Panel */
.yb-drawer-content {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  height: 100%;
  width: 85%; max-width: 350px;
  background: var(--yb-mob-bg, #fff);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex; flex-direction: column;
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  box-sizing: border-box;
  pointer-events: auto;
}

.yb-drawer-head {
  padding: 20px 25px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}
.yb-drawer-scroll-area {
  padding: 10px 25px 30px;
  overflow-y: auto;
  flex-grow: 1;
}

.yb-drawer-title { font-weight: bold; font-size: 1.2rem; color: var(--yb-text); }
.yb-close { font-size: 1.5rem; cursor: pointer; color: #666; line-height: 1; }

/* Mobile Links */
.yb-mobile-list { list-style: none; padding: 0; margin: 0; }
.yb-mobile-list li { border-bottom: 1px solid #f0f0f0; }

.yb-mob-link {
  display: block; padding: 14px 10px;
  text-decoration: none; color: var(--yb-text);
  font-size: 1.05rem; font-weight: 500; cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.yb-mob-link:hover {
  background: rgba(0,0,0,0.03);
  color: var(--yb-hover);
  padding-left: 15px;
}
.yb-mob-link.active { color: var(--yb-hover); font-weight: 600; }

/* Submenus mobile */
.yb-mobile-sub { padding-left: 15px; border-left: 2px solid #eee; margin: 0 0 12px 10px; }
.yb-mobile-sub .yb-mob-link {
  font-weight: 400; font-size: 0.95rem; padding: 10px 10px;
}
.yb-mobile-sub .yb-mobile-list li { border-bottom: 1px solid #f8f8f8; }
/* src/yb_text.css */

.yb_text_wrapper {
  position: relative;
  display: block;
  min-height: 1rem;     /* stellt sicher, dass es Fläche gibt */
}

.yb_text {
  margin: 0;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 1;
  list-style-position: inside;
}

.yb_text_hoverfield {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  pointer-events: auto;      /* fängt Hover auf */
}


/* Größen */
.yb_text--small   { font-size: 0.875rem; }
.yb_text--medium  { font-size: 1rem; }
.yb_text--large   { font-size: 1.25rem; }

/* Ausrichtung */
.yb_text--left    { text-align: left; }
.yb_text--center  { text-align: center; }
.yb_text--right   { text-align: right; }
.yb_text--justify { text-align: justify; }

/* Gewicht & Stil */
.yb_text--bold    { font-weight: bold; }
.yb_text--italic  { font-style: italic; }

