/* Intranet Lycée Bel-Val – Design Gruen & Weiss */
:root {
  --lbv-gruen: #84b721;
  --lbv-gruen-leiste: #6e9a1a;
  --lbv-gruen-dunkel: #577c13;
  --lbv-text: #2b2f33;
  --cassiopeia-color-primary: #6e9a1a;
  --cassiopeia-color-link: #577c13;
  --cassiopeia-color-hover: #84b721;
}
body { background: #f4f5f7; color: var(--lbv-text); }
.container-header { background: #fff !important; background-image: none !important; box-shadow: 0 1px 8px rgba(0,0,0,.06); }
.container-header .navbar-brand { display: flex; align-items: center; gap: 1.2rem; padding: .7rem 0; }
.container-header .brand-logo img { max-height: 84px; width: auto; }
.container-header .site-description {
  color: var(--lbv-text); font-size: 1.6rem; font-weight: 600; letter-spacing: .01em;
  border-left: 3px solid var(--lbv-gruen); padding-left: 1.1rem; margin: 0;
}
/* Menueleiste gruen */
.container-header .container-nav { background: var(--lbv-gruen-leiste); border-radius: 8px 8px 0 0; padding: 0 .5rem; }
.container-header .metismenu > li > a, .container-header .metismenu > li > button,
.container-header .metismenu > li > .mod-menu__heading, .container-header .metismenu > li > .mm-toggler { color: #fff !important; font-weight: 600; }
.container-header .metismenu > li:hover, .container-header .metismenu > li.active { background: var(--lbv-gruen-dunkel); border-radius: 6px; }
.container-header .metismenu > li > a:hover, .container-header .metismenu > li.active > a { color: #fff !important; text-decoration: none; }
.container-header .metismenu .mm-collapse { background: #fff; border-top: 3px solid var(--lbv-gruen); border-radius: 0 0 8px 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.container-header .metismenu .mm-collapse a { color: var(--lbv-text) !important; font-weight: 500; }
.container-header .metismenu .mm-collapse a:hover { background: #eef5e1; color: var(--lbv-gruen-dunkel) !important; }
/* Inhalt */
.site-grid { margin-top: 1.4rem; }
.card { border: 0; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.card-header { background: #fff; color: var(--lbv-text); font-weight: 600; border-bottom: 3px solid var(--lbv-gruen); border-radius: 12px 12px 0 0 !important; }
.btn-primary { background: var(--lbv-gruen-leiste); border-color: var(--lbv-gruen-leiste); font-weight: 600; }
.btn-primary:hover, .btn-primary:focus { background: var(--lbv-gruen-dunkel); border-color: var(--lbv-gruen-dunkel); }
/* Kacheln der Startseite */
.com-content-article__body div[style*="grid"] > div {
  border: 1px solid #e6e8eb !important; border-radius: 12px !important; box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.com-content-article__body div[style*="grid"] > div:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.10); border-color: var(--lbv-gruen) !important; }
.com-content-article__body div[style*="grid"] h3 { color: var(--lbv-text); font-weight: 600; }
.com-content-article__body > p:first-child img { box-shadow: 0 4px 18px rgba(0,0,0,.10); max-height: 340px; object-fit: cover; }
.mod-breadcrumbs__wrapper { display: none; }
.footer { background: var(--lbv-gruen-dunkel); }

/* Kacheln im Modul + Anmeldeseite fuer Gaeste */
.mod-custom div[style*="grid"] > div { border: 1px solid #e6e8eb !important; border-radius: 12px !important; box-shadow: 0 2px 10px rgba(0,0,0,.05); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.mod-custom div[style*="grid"] > div:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.10); border-color: var(--lbv-gruen) !important; }
.mod-custom div[style*="grid"] h3 { color: var(--lbv-text); font-weight: 600; }
.mod-custom > p:first-child img { box-shadow: 0 4px 18px rgba(0,0,0,.10); max-height: 340px; object-fit: cover; }
.lbv-anmeldung { position: relative; max-width: 1100px; margin: 0 auto 2rem; }
.lbv-anmeldung-bild { width: 100%; height: 380px; object-fit: cover; border-radius: 14px; display: block; filter: brightness(.82); }
.lbv-anmeldung-karte { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: rgba(255,255,255,.96); border-radius: 14px; padding: 2rem 2.4rem; text-align: center; max-width: 460px; width: 88%; box-shadow: 0 10px 34px rgba(0,0,0,.18); border-top: 5px solid var(--lbv-gruen); }
.lbv-anmeldung-karte h2 { font-size: 1.6rem; margin: 0 0 .6rem; color: var(--lbv-text); }
.lbv-anmeldung-karte p { margin: 0 0 1.3rem; color: #555; }
.lbv-anmeldung-knopf { padding: .7rem 2.6rem; font-size: 1.15rem; border-radius: 10px; }
@media (max-width: 640px) { .lbv-anmeldung-bild { height: 460px; } }

/* Startseite: nur Module */
body.itemid-101 .container-component > main { display: none; }
