/*
 Theme Name: Auf Gundermanns Wegen Child
 Template: Divi
 Version: 1.0
*/

/* ── Fonts ─────────────────────────────────────────────── */
@font-face {
  font-family: 'Caslon Antique';
  src: url('assets/CaslonAntique.woff2') format('woff2'),
       url('assets/CaslonAntique.woff')  format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Caslon Antique';
  src: url('assets/CaslonAntique-Bold.woff2') format('woff2'),
       url('assets/CaslonAntique-Bold.woff')  format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('assets/SourceSans3.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --schwarz:    #141A14;
  --dunkel:     #1C261C;
  --mittel:     #263626;
  --gold:       #E8E0D0;
  --gold-dim:   rgba(232,224,208,.65);
  --weiss:      #F0EDE6;
  --weiss-dim:  rgba(240,237,230,.75);
  --gruen:      #2D5E26;
  --gruen-hell: #4B8A42;
  --rot:        #8B1A1A;
  --radius:     4px;
}

/* ── Base ───────────────────────────────────────────────── */
html { overflow-x: hidden; }
body { overflow-x: hidden;
  background: var(--schwarz);
  color: var(--weiss);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Caslon Antique', serif;
  color: var(--gold);
  line-height: 1.15;
}

a { color: var(--gruen-hell); text-decoration: none; }
a:hover { color: var(--gold); }

/* ── Divi overrides ─────────────────────────────────────── */
#page-container { background: var(--schwarz); }
.et_pb_section { background: var(--schwarz); }

/* Buttons */
.et_pb_button,
.btn-red {
  font-family: 'Source Sans 3', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  border-radius: var(--radius);
}
.btn-red {
  background: var(--rot);
  color: var(--weiss);
  padding: 10px 22px;
  display: inline-block;
}
.btn-red:hover { background: var(--gruen); color: var(--weiss); }

/* Section headings */
.agw-section-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gruen-hell);
  margin-bottom: 8px;
}
.agw-section-title {
  font-family: 'Caslon Antique', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold);
  margin-bottom: 24px;
}

/* Active nav link */
#main-header .et_pb_menu__menu ul li.current-menu-item > a,
#main-header .et_pb_menu__menu ul li.current_page_item > a,
#main-header ul.nav li.current-menu-item > a,
#main-header ul.nav li.current_page_item > a,
.et-fixed-header ul.nav li.current-menu-item > a,
.et-fixed-header ul.nav li.current_page_item > a {
  color: #4B8A42 !important;
}

/* Active nav link – correct selector */
#top-menu li.current-menu-item > a,
#top-menu li.current_page_item > a {
  color: #4B8A42 !important;
}
