/* ===================================================
   STADTGEMEINDE GÜSSING – Cassiopeia user.css FINAL v5
   =================================================== */

/* Google Font: Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --guessing-gruen:        #8dc63f;   /* Hauptgrün – normale Links */
  --guessing-gruen-aktiv:  #829E25;   /* Dunkleres Grün – aktive Links, H3 */
  --guessing-gruen-dark:   #6ab023;   /* Hover */
  --guessing-anthrazit:    #434953;
  --guessing-weiss:        #ffffff;
  --guessing-grau:         #333333;
  --cassiopeia-color-primary: #8dc63f;
  --cassiopeia-color-link:    #8dc63f;
  --cassiopeia-color-hover:   #6ab023;
  --cassiopeia-navbar-bg:     #ffffff;
  --cassiopeia-navbar-color:  #333333;
}

/* ===== GLOBALE SCHRIFTART ===== */
body,
.navbar,
.mod-menu,
.moduletable,
.item-page,
.blog,
article,
footer,
input,
button,
select,
textarea {
  font-family: 'Roboto', Arial, sans-serif !important;
}

/* ===== TOPBAR ===== */
.container-topbar {
  background-color: #434953 !important;
  color: #ffffff;
  font-size: 0.82rem;
  padding: 7px 0;
  line-height: 1.4;
  font-family: 'Roboto', Arial, sans-serif;
}
.container-topbar a {
  color: #ffffff;
  text-decoration: none;
}
.container-topbar a:hover { opacity: 0.75; }

/* ===== TOPBAR MODUL ===== */
.guessing-topbar {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 34px;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-kontakt {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.topbar-kontakt > span,
.topbar-kontakt > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}
.topbar-kontakt svg {
  flex-shrink: 0;
  vertical-align: middle;
}

/* Suchfeld */
.topbar-suche { display: flex; align-items: center; }
.topbar-search-input {
  background-color: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 3px 0 0 3px;
  width: 150px;
  font-size: 0.8rem;
  height: 26px;
  padding: 2px 8px;
  font-family: 'Roboto', Arial, sans-serif;
}
.topbar-search-input::placeholder { color: rgba(255,255,255,0.6); }
.topbar-search-input:focus {
  background-color: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  box-shadow: none;
  outline: none;
}
.topbar-search-btn {
  background-color: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-left: none;
  color: #fff;
  border-radius: 0 3px 3px 0;
  height: 26px;
  padding: 0 8px;
  cursor: pointer;
}
.topbar-search-btn:hover { background-color: rgba(255,255,255,0.3); }

/* Sprachlinks */
.topbar-lang {
  color: #fff !important;
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
}
.topbar-lang:hover { text-decoration: underline; opacity: 0.8; }

/* Rechter Bereich */
.topbar-rechts {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Social Icons – ausgefüllt weiß sichtbar */
.topbar-social {
  display: flex;
  align-items: center;
  gap: 5px;
}
.topbar-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background-color: rgba(255,255,255,0.20);
  border: 1px solid rgba(255,255,255,0.40);
  color: #ffffff !important;
  text-decoration: none !important;
  transition: background 0.2s;
  line-height: 1;
}
.topbar-social-link:hover {
  background-color: rgba(255,255,255,0.38);
}
.topbar-social-link svg {
  display: block;
  width: 14px;
  height: 14px;
}

/* ===== HEADER ===== */
.header,
.container-header,
div.header,
.site-grid > .header,
.header.container-header {
  background-color: #ffffff !important;
  background: #ffffff !important;
  padding: 0.6rem 0 !important;
}

/* ===== SITE-NAME ===== */
.site-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #8dc63f;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Roboto', Arial, sans-serif;
}
.site-name:hover { color: #6ab023; text-decoration: none; }

/* ===== HAUPTNAVIGATION ===== */
#main-navigation,
nav.navbar,
.navbar,
.container-nav,
.grid-child.container-nav,
.mod-menu__sub {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}
.container-nav,
.grid-child.container-nav {
  border-bottom: 1px solid #e8e8e8 !important;
}

/* Hauptmenü Links – etwas größer, kleinere Abstände links/rechts */
.mod-menu > li > a,
.navbar-nav > .nav-item > .nav-link,
ul.mod-menu .nav-link {
  color: #333333 !important;
  background-color: transparent !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;         /* ← etwas größer */
  letter-spacing: 0.7px;
  padding: 0.65rem 0.5rem !important;    /* ← links/rechts kleiner */
  transition: color 0.2s;
  border: none !important;
  border-bottom: none !important;
  text-decoration: none !important;
  font-family: 'Roboto', Arial, sans-serif !important;
}
.mod-menu > li > a:hover,
.navbar-nav > .nav-item > .nav-link:hover,
ul.mod-menu .nav-link:hover {
  color: #8dc63f !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: none !important;
  text-decoration: none !important;
}

/* Aktiver Menüpunkt – #829E25 */
.mod-menu > li.active > a,
.navbar-nav > .nav-item.active > .nav-link,
.navbar-nav > .nav-item.current > .nav-link,
.nav-item.active .nav-link,
.nav-item.current .nav-link {
  color: #829E25 !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: none !important;
  text-decoration: none !important;
}

/* Dropdown-Pfeil */
.nav-link.dropdown-toggle::after { border-top-color: #333333 !important; }
.nav-link.dropdown-toggle:hover::after { border-top-color: #8dc63f !important; }

/* Dropdown-Menü */
.navbar-nav .dropdown-menu,
.mod-menu .dropdown-menu {
  background-color: #ffffff !important;
  border: 1px solid #e8e8e8 !important;
  border-top: 2px solid #8dc63f !important;
  border-radius: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}
.navbar-nav .dropdown-item,
.mod-menu .dropdown-item {
  color: #333333 !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  background-color: #ffffff !important;
  padding: 0.5rem 1.2rem;
  border: none !important;
  font-family: 'Roboto', Arial, sans-serif !important;
}
.navbar-nav .dropdown-item:hover,
.mod-menu .dropdown-item:hover {
  color: #829E25 !important;
  background-color: #f8f8f8 !important;
  border: none !important;
}
.navbar-nav .dropdown-item.active,
.mod-menu .dropdown-item.active {
  color: #829E25 !important;
  background-color: #f4f8ec !important;
}

/* ===== LINKES SEITENMENÜ ===== */

/* Modultitel */
.sidebar-left .moduletable h3,
.sidebar-left .module-title,
.sidebar-left .mod-menu h3.module-title {
  color: #829E25 !important;             /* ← #829E25 */
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px;
  border: none !important;
  border-bottom: 2px solid #829E25 !important;
  padding-bottom: 0.35rem;
  margin-bottom: 0.2rem;
  font-family: 'Roboto', Arial, sans-serif !important;
}

/* Seitenmenü Links – etwas größer, Abstände noch kleiner */
.sidebar-left .mod-list a,
.sidebar-left nav.mod-menu a,
.sidebar-left .nav-item a {
  color: #333333 !important;
  text-transform: uppercase !important;
  font-size: 0.92rem !important;         /* ← etwas größer */
  font-weight: 400 !important;
  letter-spacing: 0.3px;
  text-decoration: none !important;
  display: block;
  padding: 0.08rem 0 !important;         /* ← noch kleiner */
  border: none !important;
  border-bottom: none !important;
  line-height: 1.55;
  transition: color 0.15s;
  font-family: 'Roboto', Arial, sans-serif !important;
}
.sidebar-left .mod-list a:hover,
.sidebar-left nav.mod-menu a:hover,
.sidebar-left .nav-item.active a,
.sidebar-left .nav-item a.active {
  color: #829E25 !important;
  border: none !important;
  text-decoration: none !important;
}
.sidebar-left .moduletable {
  padding: 0.4rem 0;
}

/* ===== H3 – kleiner & #829E25 ===== */
.item-page h3,
.blog h3,
article h3,
.category-list h3,
.com-content-article h3 {
  text-transform: uppercase !important;
  font-weight: 700;
  color: #829E25 !important;             /* ← #829E25 */
  font-size: 1.05rem !important;         /* ← kleiner */
  letter-spacing: 0.5px;
  font-family: 'Roboto', Arial, sans-serif !important;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

/* H1, H2 – Blockschrift, dunkelgrau */
.item-page h1,
.item-page h2,
.blog h1,
.blog h2,
article h1,
article h2,
.article-header h1,
.article-header h2,
.page-header h1,
h2.article-title,
h2.article-title a,
.item-title,
.item-title a {
  text-transform: uppercase !important;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.5px;
  font-family: 'Roboto', Arial, sans-serif !important;
}
h2.article-title a:hover,
.item-title a:hover,
.blog h2 a:hover {
  color: #829E25;
  text-decoration: none;
}

/* H4 */
.item-page h4,
.blog h4,
article h4 {
  text-transform: uppercase !important;
  font-weight: 600;
  color: #333333;
  font-family: 'Roboto', Arial, sans-serif !important;
}

/* ===== TEXT-LINKS im Inhalt ===== */
.item-page a,
.blog a,
article a {
  color: #8dc63f;
  text-decoration: none;
}
.item-page a:hover,
.blog a:hover,
article a:hover {
  color: #829E25;
  text-decoration: underline;
}

/* Weiterlesen */
.readmore a,
.btn.btn-secondary {
  color: #8dc63f !important;
  border-color: #8dc63f !important;
  background-color: transparent !important;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: 'Roboto', Arial, sans-serif !important;
}
.readmore a:hover,
.btn.btn-secondary:hover {
  background-color: #8dc63f !important;
  color: #ffffff !important;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background-color: #8dc63f;
  border-color: #8dc63f;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif !important;
}
.btn-primary:hover {
  background-color: #829E25;
  border-color: #829E25;
}

/* ===== BREADCRUMBS ===== */
.breadcrumb-item a { color: #8dc63f; }
.breadcrumb-item.active { color: #333333; }

/* ===== FOOTER ===== */
footer.footer,
.footer {
  background-color: #434953 !important;
  color: #ffffff;
  padding: 2rem 0;
  font-size: 0.88rem;
  border-top: 3px solid #8dc63f;
  font-family: 'Roboto', Arial, sans-serif;
}
footer.footer a,
.footer a { color: #ffffff; text-decoration: none; }
footer.footer a:hover,
.footer a:hover { opacity: 0.75; text-decoration: underline; }
footer.footer .moduletable h3,
.footer .moduletable h3 {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
}
footer.footer .mod-list li,
.footer .mod-list li { padding: 0.2rem 0; }

/* ===== MOBIL ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #434953;
    padding: 1rem;
  }
  .navbar-collapse .nav-link {
    color: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    padding: 0.65rem 0 !important;
  }
  .navbar-collapse .nav-link:hover { color: #8dc63f !important; }
  .navbar-toggler { border-color: rgba(255,255,255,0.3); }
  .topbar-kontakt { display: none !important; }
  .topbar-suche { display: none !important; }
}
