/* Jagdakademie Neu-Ulm – Joomla 5 Cassiopeia Child */

:root {
  --jagd-green: #243d30;
  --jagd-olive: #718064;
  --jagd-cream: #f7f5ef;
  --jagd-gold: #b59a63;
  --jagd-text: #29352d;
  --jagd-border: #dedfd6;
}

body {
  background: var(--jagd-cream);
  color: var(--jagd-text);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

/* Überschriften */

h1, h2, h3, h4, h5, h6,
.page-header,
.item-title {
  color: var(--jagd-green);
  font-family: Georgia, "Palatino Linotype", serif;
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.4rem;
}

/* Kopfbereich */

.container-header {
  background: var(--jagd-green);
  background-image: none;
  box-shadow: 0 3px 15px rgba(0,0,0,.10);
}

.container-header .navbar-brand,
.container-header .site-title,
.container-header .mod-menu a {
  color: #fff;
}

.container-header .mod-menu a:hover,
.container-header .mod-menu .active > a {
  color: #e0c993;
}

.container-header .navbar-brand {
  font-family: Georgia, serif;
  font-size: 1.5rem;
}

/* Hauptinhalt */

.site-grid {
  gap: 1.5rem;
}

.container-component {
  background: #fff;
  padding: clamp(1.25rem, 3vw, 3rem);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(24,45,32,.05);
}

.container-component p {
  margin-bottom: 1.25rem;
}

.container-component img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Links und Buttons */

a {
  color: #35664a;
}

a:hover {
  color: #1c3a29;
}

.btn-primary,
button.btn-primary {
  background: var(--jagd-green);
  border-color: var(--jagd-green);
  color: #fff;
  border-radius: 6px;
  padding: .7rem 1.3rem;
}

.btn-primary:hover {
  background: #355b43;
  border-color: #355b43;
}

/* Module und Seitenleisten */

.card,
.sidebar-left .moduletable,
.sidebar-right .moduletable {
  background: #fff;
  border: 1px solid var(--jagd-border);
  border-radius: 10px;
  padding: 1.25rem;
}

/* Footer */

.container-footer {
  background: var(--jagd-green);
  color: #fff;
  padding: 2rem 0;
}

.container-footer a {
  color: #e6d3a7;
}

/* Mobilgeräte */

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container-component {
    padding: 1.25rem;
    border-radius: 8px;
  }

  .container-header .navbar-brand {
    font-size: 1.2rem;
  }
}

/* Initiale aus bestehenden Artikeln */
.container-component p.dropcap {
  float: left;
  margin: .08em .12em 0 0;
  padding: 0;
  color: var(--jagd-green);
  font-family: Georgia, "Palatino Linotype", serif;
  font-size: 3.5em;
  line-height: .9;
  font-weight: 600;
}
.container-component p.dropcap + p {
  margin-top: 0;
}

/* Warme Naturtöne für die Inhaltsfläche */
body { background: #eeeee5; }
.container-component {
  background: #f8f5ec;
  border: 1px solid #d9ddcc;
  box-shadow: 0 6px 24px rgba(36,61,48,.07);
}
.container-component .breadcrumb {
  background: #e9ecdf;
  border-radius: 6px;
}

/* Lesbare Untermenüs auf allen Geräten */
.container-header .mod-menu ul {
  background: #f8f5ec;
  border: 1px solid #d9ddcc;
}
.container-header .mod-menu ul a,
.container-header .mod-menu ul .active > a,
.container-header .mod-menu ul button {
  color: #243d30;
}
.container-header .mod-menu ul a:hover,
.container-header .mod-menu ul a:focus-visible,
.container-header .mod-menu ul button:hover,
.container-header .mod-menu ul button:focus-visible {
  color: #243d30;
  background: #e9ecdf;
}
