/* EUBA – eigene Ergaenzungen zum investa-Template (Sticky-Header, Sprachflaggen,
   Footer, Offcanvas). Farben aus preset1: #1c272a / #191c4f / #68aa98 / #b2c0c4. */

/* ---- Sticky Header ---- */
#sp-header { position: sticky; top: 0; background: #ad9e70; }
body.home #sp-header { box-shadow: 0 0 6px rgba(0,0,0,.15); }
#sp-header .container-inner { width: 100%; }

/* Megamenu Grundverhalten (Dropdown bei Hover) */
.sp-megamenu-parent { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; }
.sp-megamenu-parent > li { position: relative; }
.sp-megamenu-parent > li > a { display: block; padding: 0 15px; line-height: 90px; color: #191c4f; font-weight: 500; text-decoration: none; transition: color .2s; }
.sp-megamenu-parent > li:hover > a { color: #fff; }
body:not(.home) #sp-header { box-shadow: 0 1px 6px rgba(0,0,0,.12); }
.sp-megamenu-parent .sp-dropdown { position: absolute; top: 100%; right: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s; z-index: 100; }
.sp-megamenu-parent > li.sp-has-child:hover .sp-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.sp-megamenu-parent .sp-dropdown-inner { background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.12); padding: 10px 0; border-radius: 4px; }
.sp-megamenu-parent .sp-dropdown-items { list-style: none; margin: 0; padding: 0; }
.sp-megamenu-parent .sp-dropdown-items > li > a { display: block; padding: 8px 22px; color: #333; white-space: nowrap; text-decoration: none; }
.sp-megamenu-parent .sp-dropdown-items > li > a:hover { color: #191c4f; background: #f6f6f6; }

/* ---- Sprachflaggen ---- */
.euba-langs, .mod-languages__list.lang-inline { list-style: none; margin: 0 0 0 14px; padding: 0; display: flex; align-items: center; gap: 6px; }
.mod-languages__list.lang-inline li { line-height: 0; }
.mod-languages__list.lang-inline img { width: 24px; height: 24px; display: block; border-radius: 50%; object-fit: cover; opacity: .8; transition: opacity .2s, box-shadow .2s; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.mod-languages__list.lang-inline li:hover img,
.mod-languages__list.lang-inline li.lang-active img { opacity: 1; box-shadow: 0 0 0 2px #191c4f; }

/* ---- Burger (mobil) ---- */
.burger-icon { width: 26px; display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer; }
.burger-icon span { display: block; height: 2px; background: #191c4f; border-radius: 2px; }
#offcanvas-toggler { align-items: center; }

/* ---- Footer ---- */
#sp-footer.euba-footer { background: #1c272a; color: #b2c0c4; padding: 60px 0 0; margin-top: 0; }
.euba-footer .footer-title { color: #fff; font-size: 16px; letter-spacing: .06em; margin-bottom: 20px; position: relative; }
.euba-footer .footer-title::after { content: ""; display: block; width: 40px; height: 2px; background: #68aa98; margin-top: 10px; }
.euba-footer .footer-col { margin-bottom: 34px; }
.euba-footer .footer-logo img { margin-bottom: 18px; }
.euba-footer .footer-desc { font-size: 14px; line-height: 1.7; }
.euba-footer .footer-contact a, .euba-footer .footer-links a { color: #b2c0c4; text-decoration: none; }
.euba-footer .footer-contact a:hover, .euba-footer .footer-links a:hover { color: #fff; }
.euba-footer .footer-links { list-style: none; margin: 0; padding: 0; }
.euba-footer .footer-links li { margin-bottom: 10px; }
.euba-footer .footer-social { display: flex; gap: 10px; margin-bottom: 20px; }
.euba-footer .footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background .2s; }
.euba-footer .footer-social a:hover { background: #191c4f; }
.euba-footer .footer-langs .mod-languages__list { margin-left: 0; flex-wrap: wrap; }
.euba-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 20px; padding: 20px 0; font-size: 13px; color: #8a999d; }
.euba-footer-bottom .container { text-align: center; }

/* ---- Offcanvas (mobil) ---- */
.euba-offcanvas { position: fixed; top: 0; right: -320px; width: 300px; max-width: 85vw; height: 100%; background: #1c272a; z-index: 2000; padding: 60px 24px 24px; overflow-y: auto; transition: right .3s ease; }
.euba-offcanvas.open { right: 0; }
.euba-offcanvas-close { position: absolute; top: 14px; right: 18px; color: #fff; font-size: 30px; line-height: 1; text-decoration: none; }
.euba-offcanvas-menu { list-style: none; margin: 0 0 20px; padding: 0; }
.euba-offcanvas-menu > li { border-bottom: 1px solid rgba(255,255,255,.08); position: relative; }
.euba-offcanvas-menu a { display: block; padding: 12px 0; color: #dfe6e8; text-decoration: none; }
.euba-offcanvas-menu a:hover { color: #fff; }
.euba-offcanvas-menu ul { list-style: none; margin: 0 0 8px; padding: 0 0 0 14px; display: none; }
.euba-offcanvas-menu li.open > ul { display: block; }
.euba-oc-toggle { position: absolute; top: 14px; right: 0; width: 30px; height: 22px; cursor: pointer; }
.euba-oc-toggle::before, .euba-oc-toggle::after { content: ""; position: absolute; top: 10px; right: 8px; width: 12px; height: 2px; background: #b2c0c4; transition: transform .2s; }
.euba-oc-toggle::after { transform: rotate(90deg); }
.euba-offcanvas-menu li.open > .euba-oc-toggle::after { transform: rotate(0); }
.euba-oc-langs { margin: 10px 0 0 !important; flex-wrap: wrap; }

/* ---- Sticky Sprachwahl (rechts unten) ---- */
.euba-langfab { position: fixed; right: 22px; bottom: 22px; z-index: 1500; }
.euba-langfab .euba-langfab-list { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px; list-style: none; background: #ad9e70; border-radius: 40px; box-shadow: 0 8px 26px rgba(0,0,0,.28); }
.euba-langfab .euba-langfab-list li { line-height: 0; }
.euba-langfab .euba-langfab-list img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.85); opacity: 1; cursor: pointer; transition: transform .15s; }
.euba-langfab .euba-langfab-list img:hover { transform: scale(1.08); }
.euba-langfab .euba-langfab-list li.lang-active img { box-shadow: 0 0 0 2px #191c4f; }
/* eingeklappt: nur die aktive Fahne sichtbar */
.euba-langfab:not(.open):not(:hover) .euba-langfab-list li:not(.lang-active) { display: none; }
@media (max-width: 600px) {
  .euba-langfab { right: 14px; bottom: 14px; }
  .euba-langfab .euba-langfab-list img { width: 30px; height: 30px; }
}
.euba-offcanvas-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 1999; }
.euba-offcanvas-overlay.open { opacity: 1; visibility: visible; }

/* ---- Scroll-Reveal (Blur → Scharf), wie im Original ----
   Nur aktiv, wenn JS läuft (.euba-js). Ohne JS bleibt alles normal sichtbar. */
.euba-js .euba-reveal { opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease; will-change: opacity, transform, filter; }
.euba-js .euba-reveal.euba-in { opacity: 1; transform: none; filter: blur(0); }
/* Selbstheilung: wenn custom.js nicht laeuft, alles sichtbar machen */
.euba-noreveal .euba-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
@media (prefers-reduced-motion: reduce) {
  .euba-js .euba-reveal { transition: none; opacity: 1; transform: none; filter: none; }
}

/* ---- Edler Preloader ---- */
#euba-preloader {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  background: radial-gradient(120% 120% at 50% 40%, #243238 0%, #1c272a 60%, #141d1f 100%);
  transition: opacity .7s ease, visibility .7s ease;
}
#euba-preloader .euba-pl-logo {
  height: 66px; width: auto; max-width: 70vw;
  opacity: 0; animation: eubaPlFade .9s ease .05s forwards;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.35));
}
#euba-preloader .euba-pl-ring {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.14); border-top-color: #c3a86b;
  animation: eubaPlSpin .9s linear infinite;
}
@keyframes eubaPlSpin { to { transform: rotate(360deg); } }
@keyframes eubaPlFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.euba-loaded #euba-preloader { opacity: 0; visibility: hidden; pointer-events: none; }

/* Inhalt/Hintergrund startet unscharf und wird nach dem Laden scharf.
   Nur auf #sp-component (nicht auf einen Sticky-Header-Vorfahren -> sonst bricht sticky). */
.euba-js #sp-component { transition: filter 1.1s ease .15s; }
.euba-js:not(.euba-loaded) #sp-component { filter: blur(16px); }

@media (prefers-reduced-motion: reduce) {
  #euba-preloader .euba-pl-logo, #euba-preloader .euba-pl-ring { animation: none; }
  #euba-preloader .euba-pl-logo { opacity: 1; }
  .euba-js:not(.euba-loaded) #sp-component { filter: none; }
}

/* ---- Board of Directors: Namensbalken (Bauchbinden) vor die Bilder ----
   Die Balken-Wrapper werden per negativem margin-top ueber das Bild gezogen,
   landen aber hinter dem Image-Shape-Addon (eigener Stacking-Context). */
.sppb-addon-single-image, .sppb-addon-single-image-container { position: relative; z-index: 1; }
/* Bauchbinden liegen als Heading- ODER Button-Addon (per neg. margin) ueber dem Foto */
.sppb-addon-wrapper.addon-root-heading,
.sppb-addon-wrapper.addon-root-button { position: relative; z-index: 3; }

/* ---- Simple Forms (Kontakt/Antrag) ---- */
.euba-form-section { background: #f6f7f8; }
.euba-form .euba-field { margin-bottom: 18px; }
.euba-form label { display: block; font-weight: 600; margin-bottom: 6px; color: #23324a; }
.euba-form .euba-req { color: #b0392e; }
.euba-form input[type=text], .euba-form input[type=email], .euba-form input[type=tel],
.euba-form textarea, .euba-form select {
  width: 100%; padding: 12px 14px; border: 1px solid #cdd4dd; border-radius: 6px;
  font: inherit; background: #fff; box-sizing: border-box; transition: border-color .15s;
}
.euba-form input:focus, .euba-form textarea:focus, .euba-form select:focus { outline: none; border-color: #191c4f; }
.euba-form textarea { resize: vertical; min-height: 130px; }
.euba-form .euba-check { font-weight: 400; display: flex; align-items: center; gap: 8px; }
.euba-form .euba-field-submit { margin-top: 24px; }
/* Robuster Senden-/Weiter-Button. !important, weil template.css eine spezifischere
   Regel hat: button[type=submit]{background:var(--bs-primary)} – die sonst gewinnt
   und den Button (bei nicht gesetzter Variable) unsichtbar macht. */
.euba-form-btn {
  display: inline-block !important; background: #191c4f !important; border: 0 !important;
  color: #fff !important; padding: 13px 40px !important; border-radius: 40px !important;
  margin: 0 !important; font: inherit; font-weight: 600; cursor: pointer;
  text-decoration: none; line-height: 1.2; text-shadow: none !important;
  box-shadow: none !important; transition: background .15s;
}
.euba-form-btn:hover, .euba-form-btn:focus { background: #22256b !important; color: #fff !important; }
.euba-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.euba-form-msg { padding: 14px 18px; border-radius: 6px; margin-bottom: 22px; font-weight: 500; }
.euba-form-ok { background: #e6f6ec; border: 1px solid #a6d8b8; color: #1c6b3a; }
.euba-form-err { background: #fdecec; border: 1px solid #e6a3a3; color: #a11; }

/* Erfolgs-Modal (nach dem Senden) */
.euba-modal-overlay { position: fixed; inset: 0; z-index: 100000; background: rgba(20,29,31,.72);
  display: flex; align-items: center; justify-content: center; padding: 20px; animation: eubaModalIn .25s ease; }
.euba-modal { background: #fff; border-radius: 14px; max-width: 460px; width: 100%; padding: 40px 34px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.euba-modal-check { width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%; background: #ad9e70; color: #fff; font-size: 34px; line-height: 66px; }
.euba-modal h3 { margin: 0 0 10px; font-size: 1.5rem; color: #191c4f; }
.euba-modal p { margin: 0 0 24px; color: #555; }
@keyframes eubaModalIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* ---- Home: Präsidenten-Bauchbinde als Caption im UNTEREN BEREICH DES FOTOS ----
   Name + Funktion als durchgehender Gold-Balken, über den unteren Bildrand gezogen
   (wie auf der Board-Seite), vor dem Bild. Beide Zeilen sauber im Gold. */
#column-wrap-id-IF-cFkzSPz_FzPw-XhuDo { margin-top: -128px !important; position: relative; z-index: 3; }
#sppb-addon-wrapper-JICF3E8KjuUhG-vMPV_bI,
#sppb-addon-wrapper-daSb-cSpKv7I-qJSXMx4- { margin-top: 0 !important; }
#sppb-addon-JICF3E8KjuUhG-vMPV_bI,
#sppb-addon-daSb-cSpKv7I-qJSXMx4- {
  background-color: #ad9e70 !important;
  padding-top: 2px !important; padding-bottom: 16px !important;
}
#sppb-addon-lvI6zeXi8r5wQd6xE8wG-,
#sppb-addon-1717915799435 { padding-bottom: 2px !important; }

/* ---- Members / Premium Membership ---- */
.euba-prem-head { text-align: center; margin: 4px 0 40px; }
.euba-prem-title { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; letter-spacing: .01em; margin: 0; }
.euba-prem-title .p1 { color: #ad9e70; }
.euba-prem-title .p2 { color: #191c4f; }

/* Suchleiste */
.euba-members-search { display: flex; gap: 0; align-items: stretch; background: #fff; border: 1px solid #e2e5ea; border-radius: 6px; padding: 10px; box-shadow: 0 8px 30px rgba(25,28,79,.06); margin-bottom: 34px; flex-wrap: wrap; }
.euba-search-field { flex: 1 1 200px; display: flex; }
.euba-search-field.euba-search-kw { flex: 2 1 260px; }
.euba-members-search input, .euba-members-search select { width: 100%; border: 0; border-right: 1px solid #eceef2; background: transparent; padding: 14px 16px; font-size: .95rem; color: #333; outline: none; -webkit-appearance: none; appearance: none; }
.euba-members-search select { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a90a0' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 14px center; padding-right: 34px; cursor: pointer; }
.euba-search-btn { flex: 0 0 auto; width: 72px; border: 0; background: #ad9e70; color: #fff; border-radius: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.euba-search-btn:hover { background: #9a8b5e; }

/* Karte */
.euba-members-map { height: 420px; border-radius: 8px; overflow: hidden; margin-bottom: 30px; border: 1px solid #e2e5ea; z-index: 1; }
.euba-members-map .leaflet-popup-content { font-size: .9rem; }
.euba-members-map .leaflet-popup-content a { color: #191c4f; font-weight: 600; text-decoration: none; }

/* Zähler */
.euba-members-count { color: #8a90a0; font-size: .9rem; margin: 0 0 16px; }

/* Grid + Rich-Cards */
.euba-members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 26px; }
.euba-member-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6e9ee; border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.euba-member-card:hover { box-shadow: 0 14px 34px rgba(25,28,79,.13); transform: translateY(-4px); }
.euba-member-card.is-hidden { display: none; }
.euba-mc-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #eceef2; }
.euba-mc-img { position: absolute; inset: 0; background-size: cover; background-position: center; display: block; transition: transform .4s; }
.euba-member-card:hover .euba-mc-img { transform: scale(1.05); }
.euba-mc-noimg { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#191c4f,#2b2f6e); }
.euba-member-initials { font-size: 44px; font-weight: 700; color: #ad9e70; }
.euba-mc-noimg .euba-member-initials { color: #fff; }
.euba-mc-cat { position: absolute; top: 12px; right: 12px; background: rgba(20,22,44,.82); color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }
.euba-mc-featured { position: absolute; top: 14px; left: -34px; transform: rotate(-45deg); background: #ad9e70; color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .08em; padding: 5px 40px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.euba-mc-logo { position: absolute; left: 12px; bottom: 12px; width: 64px; height: 64px; background: #fff; border-radius: 6px; box-shadow: 0 3px 10px rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; padding: 6px; }
.euba-mc-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.euba-member-card-body { padding: 18px 18px 20px; }
.euba-member-card-body h3 { margin: 0 0 8px; font-size: 1.12rem; line-height: 1.3; color: #191c4f; }
.euba-mc-loc { display: flex; align-items: flex-start; gap: 6px; margin: 0; color: #8a90a0; font-size: .86rem; line-height: 1.4; }
.euba-mc-loc svg { flex: 0 0 auto; margin-top: 2px; color: #ad9e70; }

/* Load more */
.euba-members-more { text-align: center; margin: 38px 0 4px; }
.euba-loadmore-btn { background: #191c4f; color: #fff; border: 0; border-radius: 4px; padding: 14px 40px; font-size: .95rem; font-weight: 600; cursor: pointer; transition: background .15s; }
.euba-loadmore-btn:hover { background: #ad9e70; }
.euba-loadmore-btn[hidden] { display: none; }
.euba-members-nomatch { text-align: center; color: #8a90a0; padding: 40px 0; }

.euba-members-back { display: inline-block; margin-bottom: 18px; color: #191c4f; text-decoration: none; font-weight: 600; }
.euba-member-head { display: flex; align-items: center; gap: 24px; margin-bottom: 26px; }
.euba-member-logo { flex: 0 0 auto; width: 140px; height: 140px; background: #f4f5f7; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 12px; }
.euba-member-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.euba-member-heading h1 { margin: 0 0 6px; }
.euba-member-cat { color: #ad9e70; font-weight: 600; }
.euba-member-desc { line-height: 1.7; margin-bottom: 30px; }
.euba-member-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 30px; }
.euba-member-gallery img { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; }
.euba-member-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-bottom: 30px; }
.euba-member-infobox { background: #f6f7f8; border-radius: 10px; padding: 20px; }
.euba-member-infobox h4 { margin: 0 0 10px; color: #191c4f; }
.euba-addr-name { margin: 0 0 2px; font-weight: 700; color: #191c4f; }
.euba-member-contact p { margin: 0 0 8px; }
.euba-member-contact a { color: #191c4f; }
.euba-member-map { border-radius: 10px; overflow: hidden; }

/* Detail-Hero (fluid, feste Höhe) */
.euba-member-hero { position: relative; width: 100%; height: 480px; background-size: cover; background-position: center; overflow: hidden; }
.euba-member-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,12,30,.85) 0%, rgba(10,12,30,.25) 55%, rgba(10,12,30,.05) 100%); }
.euba-member-hero-back { position: absolute; top: 20px; left: 20px; z-index: 3; background: rgba(255,255,255,.92); color: #191c4f; padding: 9px 18px; border-radius: 22px; font-weight: 600; font-size: .9rem; text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.euba-member-hero-back:hover { background: #fff; }
.euba-member-hero-inner { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; height: 100%; padding: 0 20px 40px; display: flex; align-items: flex-end; gap: 24px; }
.euba-member-hero-logo { flex: 0 0 auto; width: 112px; height: 112px; background: #fff; border-radius: 10px; padding: 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 22px rgba(0,0,0,.32); }
.euba-member-hero-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.euba-member-hero-text h1 { color: #fff; margin: 0 0 6px; font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.15; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.euba-member-hero-cat { color: #e6d9b0; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; }

/* Galerie-Thumbs als Buttons */
.euba-member-gallery button.euba-gal-item { border: 0; padding: 0; background: none; cursor: pointer; display: block; width: 100%; }
.euba-gal-item img { transition: opacity .15s; }
.euba-gal-item:hover img { opacity: .9; }

/* Lightbox / Modal */
.euba-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(9,11,24,.93); display: flex; align-items: center; justify-content: center; }
.euba-lightbox[hidden] { display: none; }
.euba-lb-img { max-width: 90vw; max-height: 86vh; border-radius: 6px; box-shadow: 0 12px 60px rgba(0,0,0,.55); }
.euba-lb-close, .euba-lb-prev, .euba-lb-next { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; transition: background .15s; }
.euba-lb-close:hover, .euba-lb-prev:hover, .euba-lb-next:hover { background: rgba(255,255,255,.3); }
.euba-lb-close { top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; }
.euba-lb-prev, .euba-lb-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; font-size: 36px; padding-bottom: 4px; }
.euba-lb-prev { left: 26px; }
.euba-lb-next { right: 26px; }
@media (max-width: 600px) {
  .euba-member-hero { height: 360px; }
  .euba-member-hero-inner { padding-bottom: 26px; gap: 16px; }
  .euba-member-hero-logo { width: 84px; height: 84px; }
  .euba-lb-prev, .euba-lb-next { width: 44px; height: 44px; font-size: 30px; }
}

/* Member-Kontaktformular */
.euba-member-contactform { margin-top: 44px; background: #f6f7f8; border-radius: 12px; padding: 32px; }
.euba-member-contactform h4 { margin: 0 0 18px; color: #191c4f; font-size: 1.25rem; }
.euba-mcf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.euba-mcf-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.euba-mcf-form input, .euba-mcf-form textarea { width: 100%; border: 1px solid #d9dde3; border-radius: 6px; padding: 12px 14px; font-size: .95rem; font-family: inherit; background: #fff; color: #333; }
.euba-mcf-form input:focus, .euba-mcf-form textarea:focus { outline: none; border-color: #ad9e70; }
.euba-mcf-form textarea { margin-bottom: 16px; resize: vertical; }
.euba-mcf-btn { background: #191c4f; color: #fff; border: 0; border-radius: 6px; padding: 13px 34px; font-size: .95rem; font-weight: 600; cursor: pointer; transition: background .15s; }
.euba-mcf-btn:hover { background: #ad9e70; }
.euba-mcf-alert { padding: 16px 18px; border-radius: 8px; font-size: .95rem; }
.euba-mcf-ok { background: #e7f5ec; color: #1e6b3a; border: 1px solid #b7e0c4; }
.euba-mcf-err { background: #fdecec; color: #a12626; border: 1px solid #f2c2c2; margin-bottom: 16px; }
@media (max-width: 640px) { .euba-mcf-row { grid-template-columns: 1fr; } }

/* ---- Kleinigkeiten ---- */
img { max-width: 100%; }
#sp-component { min-height: 40vh; }

/* ---- Events (Kalender + Modal) ---- */
.euba-events-title { text-align: center; color: #191c4f; margin-bottom: 30px; }
.euba-cal { border: 1px solid #e2e5ea; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(25,28,79,.06); margin-bottom: 40px; background: #fff; }
.euba-cal-head { display: flex; align-items: center; justify-content: space-between; background: #191c4f; color: #fff; padding: 16px 20px; }
.euba-cal-month { font-size: 1.2rem; font-weight: 700; }
.euba-cal-nav { background: rgba(255,255,255,.12); color: #fff; border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 22px; cursor: pointer; line-height: 1; }
.euba-cal-nav:hover { background: rgba(255,255,255,.25); }
.euba-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); }
.euba-cal-dow { text-align: center; font-weight: 600; color: #8a90a0; font-size: .8rem; padding: 12px 0; background: #f6f7f9; }
.euba-cal-cell { min-height: 92px; border-right: 1px solid #eef0f3; border-bottom: 1px solid #eef0f3; padding: 7px; position: relative; }
.euba-cal-cell:nth-child(7n) { border-right: 0; }
.euba-cal-cell.empty { background: #fafbfc; }
.euba-cal-num { font-size: .9rem; color: #333; display: block; margin-bottom: 3px; }
.euba-cal-cell.today .euba-cal-num { background: #ad9e70; color: #fff; border-radius: 50%; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; }
.euba-cal-cell.has-ev { cursor: pointer; background: #f7f5ef; }
.euba-cal-cell.has-ev:hover { background: #efe9db; }
.euba-cal-ev { display: block; font-size: .68rem; line-height: 1.3; background: #191c4f; color: #fff; border-radius: 4px; padding: 2px 5px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.euba-cal-ev-fl { margin-right: 3px; }
.euba-cal-flags { position: absolute; bottom: 8px; left: 8px; font-size: 1.05rem; letter-spacing: 2px; }
.euba-events-sub { color: #191c4f; margin: 10px 0 20px; }
.euba-events-list { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 16px; }
.euba-ev-card { text-align: left; background: #fff; border: 1px solid #e6e9ee; border-left: 4px solid #ad9e70; border-radius: 8px; padding: 16px 18px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .2s, transform .2s; font: inherit; }
.euba-ev-card:hover { box-shadow: 0 10px 26px rgba(25,28,79,.12); transform: translateY(-2px); }
.euba-ev-card-flags { font-size: 1.15rem; letter-spacing: 2px; }
.euba-ev-card-date { color: #ad9e70; font-weight: 600; font-size: .85rem; }
.euba-ev-card-title { color: #191c4f; font-weight: 700; font-size: 1.05rem; }
.euba-ev-card-loc { color: #8a90a0; font-size: .85rem; }
.euba-ev-none { color: #8a90a0; }
.euba-ev-modal { position: fixed; inset: 0; z-index: 99999; background: rgba(10,12,26,.7); display: flex; align-items: center; justify-content: center; padding: 20px; }
.euba-ev-modal[hidden] { display: none; }
.euba-ev-box { background: #fff; border-radius: 14px; max-width: 600px; width: 100%; max-height: 88vh; overflow: auto; position: relative; box-shadow: 0 20px 70px rgba(0,0,0,.4); }
.euba-ev-brand { background: #191c4f; padding: 22px 26px; }
.euba-ev-brand img { height: 38px; }
.euba-ev-x { position: absolute; top: 16px; right: 18px; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 24px; cursor: pointer; line-height: 1; }
.euba-ev-x:hover { background: rgba(255,255,255,.3); }
.euba-ev-content { padding: 26px 30px 34px; }
.euba-ev-item + .euba-ev-item { margin-top: 24px; padding-top: 24px; border-top: 1px solid #eceef2; }
.euba-ev-item h3 { color: #191c4f; margin: 6px 0 12px; font-size: 1.4rem; }
.euba-ev-flags { font-size: 1.2rem; letter-spacing: 2px; }
.euba-ev-flags span { font-size: .85rem; color: #8a90a0; letter-spacing: normal; margin-left: 6px; }
.euba-ev-meta { margin: 4px 0; color: #444; }
.euba-ev-meta strong { color: #191c4f; }
.euba-ev-desc { margin: 16px 0; line-height: 1.7; color: #333; }
.euba-ev-link { display: inline-block; margin-top: 6px; background: #191c4f; color: #fff; padding: 11px 22px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.euba-ev-link:hover { background: #ad9e70; }
@media (max-width: 600px) { .euba-cal-cell { min-height: 70px; padding: 4px; } .euba-cal-ev { font-size: .58rem; padding: 1px 3px; } .euba-cal-dow { font-size: .7rem; } .euba-cal-num { font-size: .8rem; } }
