/* Hauptmenü. Farben, Schrift und Radien wie das bisherige Partner-Untermenü. */
.fg-kopf { max-width: 1160px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.fg-logo { text-decoration: none; color: #26302A; display: flex; align-items: center; gap: 12px; min-width: 0; }
.fg-logo:hover { color: #26302A; }
.fg-logo-zeichen { flex: 0 0 auto; }
.fg-logo-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; min-width: 0; }
.fg-logo-name { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.fg-logo-zusatz { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #3D5A47; white-space: nowrap; }
.fg-liste, .fg-untermenue { margin: 0; padding: 0; list-style: none; }
.fg-link, .fg-gruppe-knopf { font: inherit; font-size: 16px; font-weight: 500; color: #26302A; text-decoration: none; background: none; border: 0; padding: 10px 0; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.fg-link:hover, .fg-gruppe-knopf:hover { color: #3D5A47; }
.fg-link[aria-current="page"], .fg-gruppe-knopf.ist-aktiv { color: #3D5A47; font-weight: 700; }
.fg-gruppe-knopf svg { transition: transform 0.15s; }
.fg-gruppe-knopf[aria-expanded="true"] svg { transform: rotate(180deg); }
.fg-knopf { display: inline-block; color: #ffffff; background: #3D5A47; text-decoration: none; padding: 10px 18px; border-radius: 999px; font-size: 16px; font-weight: 500; }
.fg-knopf:hover { color: #ffffff; background: #2F4A39; }
.fg-knopf[aria-current="page"] { background: #26302A; }
.fg-untermenue a { display: block; color: #26302A; text-decoration: none; padding: 10px 14px; border-radius: 10px; font-size: 16px; font-weight: 500; }
.fg-untermenue a:hover { background: #F6F1E8; color: #26302A; }
.fg-untermenue a[aria-current="page"] { color: #3D5A47; font-weight: 700; }
.fg-untermenue a span { display: block; font-size: 13px; font-weight: 400; color: #4E5650; }
.fg-burger { display: none; font: inherit; font-size: 16px; font-weight: 700; color: #26302A; background: #ffffff; border: 1px solid #E2D9C8; border-radius: 999px; padding: 10px 18px; cursor: pointer; align-items: center; gap: 8px; }
.fg-burger:focus-visible, .fg-gruppe-knopf:focus-visible, .fg-link:focus-visible, .fg-knopf:focus-visible, .fg-untermenue a:focus-visible { outline: 2px solid #4A3D78; outline-offset: 2px; }

/* Desktop: Leiste mit aufklappenden Untermenüs */
@media (min-width: 1080px) {
    .fg-liste { display: flex; align-items: center; gap: 8px 28px; }
    .fg-gruppe { position: relative; }
    .fg-untermenue { position: absolute; top: 100%; left: -16px; z-index: 10; padding: 8px; min-width: 260px; background: #ffffff; border: 1px solid #E2D9C8; border-radius: 16px; box-shadow: 0 8px 24px rgba(38, 48, 42, 0.12); }
}

/* Handy und Tablet: Burger-Menü mit denselben Gruppen */
@media (max-width: 1079px) {
    .fg-kopf { padding: 14px 16px; gap: 12px; }
    .fg-logo { flex: 1 1 auto; gap: 10px; }
    .fg-burger { display: flex; flex: 0 0 auto; margin-left: auto; }
    .fg-nav { flex: 1 1 100%; }
    .fg-nav:not(.ist-offen) { display: none; }
    .fg-liste { display: flex; flex-direction: column; gap: 2px; padding: 8px; background: #ffffff; border: 1px solid #E2D9C8; border-radius: 16px; box-shadow: 0 8px 24px rgba(38, 48, 42, 0.12); }
    .fg-link, .fg-gruppe-knopf { width: 100%; justify-content: space-between; padding: 12px 14px; border-radius: 10px; font-size: 17px; }
    .fg-untermenue { padding: 0 0 6px 12px; border-left: 2px solid #E2D9C8; margin-left: 14px; }
    .fg-knopf { display: block; text-align: center; margin: 8px 6px 4px; padding: 12px 18px; }
}

/* Schmale Handys: nur Symbol, damit der Knopf neben das Logo passt („Menü“ bleibt für Screenreader lesbar) */
@media (max-width: 479px) {
    .fg-logo-zeichen { width: 28px; height: 28px; }
    .fg-logo-name { font-size: 19px; }
    .fg-logo-zusatz { font-size: 10px; letter-spacing: 0.08em; }
    .fg-burger { padding: 11px; }
    .fg-burger-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
