/* =================================================
   FARBEN / DESIGNVARIABLEN
================================================= */

:root {
  --efg-blau: #005EA8;
  --efg-blau-hell: #0072CE;
}


/* =================================================
   HEADER / MENÜ
================================================= */

/* Header komplett weiß */
.header.container-header {
  background: #ffffff !important;
  background-image: none !important;
}

/* Alle Menülinks */
.container-nav .mod-menu > li > a {
  color: var(--efg-blau) !important;
  font-weight: 600;
}

/* Hover */
.container-nav .mod-menu > li > a:hover {
  color: var(--efg-blau-hell) !important;
}

/* Aktiver Menüpunkt */
.container-nav .mod-menu > li.active > a,
.container-nav .mod-menu > li.current > a {
  color: var(--efg-blau) !important;
  border-bottom: 2px solid var(--efg-blau);
}

/* Hover Dropdown aktivieren */
.container-nav .metismenu-item:hover > .mm-collapse {
  display: block !important;
  height: auto !important;
  visibility: visible !important;
}

.container-nav .metismenu-item:hover > ul.mm-collapse {
  height: auto !important;
  overflow: visible !important;
}

.container-nav button.mm-toggler {
  display: none !important;
}


/* =================================================
   STARTSEITEN-BANNER
================================================= */

.home-banner {
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)),
              url('/images/efg_landstuhl/website_bilder/gebirge_sonnenstrahl.jpeg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 280px 20px;
}

.home-banner h1 {
  font-size: 3.5rem;
  font-weight: 600;
}

.home-banner p {
  font-size: 1.9rem;
}

.top-a .container {
  max-width: 100% !important;
  padding: 0 !important;
}


/* =================================================
   BANNER FÜR BEITRAGSSEITEN
================================================= */

.page-banner {
  color: white;
  text-align: center;
  padding: 180px 20px;
}

.page-banner h1 {
  font-size: 3.5rem;
  font-weight: 600;
  margin: 0;
}

.page-banner p {
  font-size: 1.9rem;
  margin-top: 10px;
  margin-bottom: 0;
}

/*Gottesdienst*/

.gottesdienst-banner {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('/images/efg_landstuhl/website_bilder/laterne.jpeg') center 50% / cover no-repeat;
}

/*Hauskreise*/

.hauskreis-banner {
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
              url('/images/efg_landstuhl/website_bilder/weinrebe.jpeg') center / cover no-repeat;
}

/*Jugendkreis*/

.jugendkreis-banner {
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
              url('/images/efg_landstuhl/website_bilder/wasserfall_regenbogen.jpeg') center 40% / cover no-repeat;
}

/*Lobpreisabend*/

.lobpreisabend-banner {
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
              url('/images/efg_landstuhl/website_bilder/berggipfel.jpg') center 65% / cover no-repeat;
}

/*Über Uns*/

.ueber-uns-banner {
  background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
              url('/images/efg_landstuhl/website_bilder/brot_des_lebens.jpeg') center 50% / cover no-repeat;
}

/*Regelmäßige Termine*/

.regelmaessige-termine-banner {
  background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0)),
              url('/images/efg_landstuhl/website_bilder/leuchtturm.jpeg') center 55% / cover no-repeat;
}

/*Kontakt-Banner*/

.kontakt-banner {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
              url('/images/efg_landstuhl/website_bilder/hefezopf.jpeg') center 50% / cover no-repeat;
}


/* =================================================
   GOTTESDIENST-BOX (STARTSEITE)
================================================= */

.gottesdienst-box {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('/images/efg_landstuhl/website_bilder/laterne.jpeg') center/cover no-repeat;

  max-width: 800px;
  margin: 0 auto;
  padding: 80px 40px;
  min-height: 700px;
  margin-top: 80px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  text-align: center;
  color: white;
}

/* Oberer Bereich */

.gd-top h2 {
  font-size: 3rem;
  font-weight: 500;
  margin: 0;
}

/* Mittlerer Bereich (Zeit + Ort zusammen) */

.gd-middle {
  margin: 3px 0 !important;
  line-height: 1.3;
}

.gd-zeit {
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.gd-ort-block p {
  margin: 4px 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

/* Unterer Bereich */

.gd-bottom h2 {
  font-size: 2rem;
  font-weight: 500;
  opacity: 0.9;
  margin: 0;
}

.gottesdienst-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.gottesdienst-link:hover {
  color: inherit !important;
  text-decoration: none !important;
}

.gottesdienst-box:hover {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}


/* =====================================
   Veranstaltungsboxen (Startseite)
   ================================== */

.veranstaltungen-section {
    margin: 60px 0;
    margin-top: 80px;
}

.veranstaltungen-title {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: max-content;
    color: var(--efg-blau-hell);
    font-size: 3.5rem;
    margin-bottom: 160px;
}


/* Grid Layout */

.veranstaltungen {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

/* Wenn 4 vorhanden → 2x2 */

.veranstaltungen:has(.event:nth-child(4)) {
    grid-template-columns: repeat(2, 1fr);
}

/* Wenn genau 2 vorhanden → 2 nebeneinander */

.veranstaltungen:has(.event:nth-child(2)):not(:has(.event:nth-child(3))) {
    grid-template-columns: repeat(2, 1fr);
}

/* Flyer Box */

.event {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hover Effekt */

.event:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

/* Mobile */

@media (max-width: 900px) {
    .veranstaltungen {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .veranstaltungen {
        grid-template-columns: 1fr;
    }
}


/* =====================================
   Regelmäßige Termine (Startseite)
   ================================== */

/* SECTION */

.termine-section {
    margin: 80px auto;
    margin-top: 80px;
    text-align: center;
}

.termine-title {
    color: var(--efg-blau-hell);
    font-size: 3.5rem;
    margin-top: 160px;
    margin-bottom: 160px;
}


/* GRID */

.termine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;

    max-width: 900px;
    margin: 0 auto;
}

/* CARD */

.termin-card {
    position: relative;
    height: 320px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;

    background-size: cover;
    background-position: center;

    transition: transform 0.2s ease;
}

.termin-card:hover {
    transform: scale(1.02);
}


/* BUTTON */

.termin-button {
    background: rgba(80,80,80,0.45);
    color: white;
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.termin-card:hover .termin-button {
    background: rgba(80,80,80,0.75);
}


/* BACKGROUND BILDER */

.hauskreise {
    background-image: url("/images/efg_landstuhl/website_bilder/weinrebe.jpeg");
}

.jugend {
    background-image: url("/images/efg_landstuhl/website_bilder/wasserfall_regenbogen.jpeg");
}

.lobpreis {
    background-image: url("/images/efg_landstuhl/website_bilder/berggipfel.jpg");
}

.gottesdienst {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('/images/efg_landstuhl/website_bilder/laterne.jpeg') center 50% / cover no-repeat;
}

/* MOBILE */

@media (max-width: 900px) {
    .termine-grid {
        grid-template-columns: 1fr;
    }

    .termin-card {
        height: 200px;
    }
}


/* ===============================
   Bootstrap Cards global deaktivieren
   =============================== */

.card {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.card-body {
  padding: 0 !important;
}


/* =====================================
   Beitragsseiten Layout
   ================================== */

/* Bibelvers */

.efg-verse {
  max-width: 850px;
  margin: 30px auto;
  padding: 30px 20px;
  text-align: center;
}

.verse-text {
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.5;
}

.verse-ref {
  margin-top: 15px;
  font-weight: 600;
  color: var(--efg-blau);
}

/* Inhalts-Section */

.efg-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.efg-section h2 {
  margin-bottom: 20px;
  margin-top: 60px;
}

.efg-section p {
  line-height: 1.6;
  margin-bottom: 15px;
}


/* Stichpunkte-Liste */

.efg-list {
  margin-top: 20px;
  padding-left: 20px;
  list-style-type: disc;
}

.efg-list li {
  margin-bottom: 8px;
}

/* Info-Box */

.efg-info-box {

  max-width: 420px;       

  border: 1px solid #e5e7eb;
  background: #fafafa;

  border-radius: 6px;
  padding: 20px 24px;

}

.info-row {

  display: grid;
  grid-template-columns: 90px auto;  /* feste Spaltenbreite links */

  gap: 10px;                         /* Abstand zwischen den Spalten */
  padding: 6px 0;

}

.info-label {

  font-weight: 600;
  color: var(--efg-blau);

}

.info-value {

  color: #333;

}

.efg-info-grid {

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;

  max-width: 900px;
  margin: 40px auto;

}


/* =================================================
   FOOTER
================================================= */

.container-footer {
  background: var(--efg-blau-hell);
  color: white;
  padding: 25px 20px;
  margin-top: 60px;
  border-top: 4px solid var(--efg-blau-hell);
}

/* Links im Footer */

.container-footer a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
}

.container-footer a:hover {
  text-decoration: underline;
}

/* Footermenü */

.container-footer ul.mod-menu.mod-list.nav {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.container-footer ul.mod-menu.mod-list.nav li {
  width: auto !important;
}

.container-footer {
  padding: 12px 30px;
}

/* Cookie-Button entfernen */

.cc-revoke,
.cc-window .cc-revoke {
  display: none !important;
}

/* Mobile */

@media (max-width: 600px) {
  .container-footer .mod-menu {
    gap: 15px;
  }
}