/* Zweck: globale Navigation, Utility-Bar und Mega-Panels | Schicht: Navigation | Ladende Seiten: alle Shell-Seiten */
.top{background:#fff;border-radius:8px;padding:10px 16px;margin-bottom:var(--gap);box-shadow:var(--shadow)}

/* ===== Live-Badge Stammtisch ===== */
.amg-live-badge{display:inline-flex;align-items:center;gap:6px;text-decoration:none;font-size:.82rem;font-weight:600;padding:3px 9px;border-radius:999px;border:1.5px solid #ccc;background:#f0f0f0;color:#777;transition:border-color .2s,background .2s,color .2s}
.amg-live-badge:hover{background:#e8e8e8}
.amg-live-badge.is-live{border-color:#f5b800;background:#fff8dc;color:#7a5c00;animation:amg-badge-pulse 1.6s ease-in-out infinite}
@keyframes amg-badge-pulse{0%,100%{box-shadow:0 0 0 0 rgba(245,184,0,.5)}60%{box-shadow:0 0 0 5px rgba(245,184,0,0)}}
/* ===== Neue Website-Navigation: Utility, Mega-Menues, rechte CTAs ===== */
.top{overflow:visible}
.site-nav{position:relative}
.site-nav__mobile-head,.site-nav__drawer-ctas{display:none}
.utility-bar{position:relative;z-index:320;display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:center;column-gap:14px;min-height:32px;min-width:0;padding:1px 5px 0;transform:translateY(1px)}
.utility-bar__identity{display:flex;align-items:center;justify-self:start;gap:16px;min-width:0}
.utility-bar__brand{display:inline-flex;align-items:center;min-height:27px;flex:0 0 auto;color:var(--ink);font-size:.95rem;font-weight:800;line-height:1;text-decoration:none}
.utility-bar__about,.utility-bar__links a{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:3px 7px;border:1px solid rgba(0,112,118,.22);border-radius:999px;background:transparent;color:var(--muted);font-size:.82rem;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap}
.utility-bar__about:hover,.utility-bar__about:focus,.utility-bar__links a:hover,.utility-bar__links a:focus{border-color:rgba(232,93,47,.42);background:#fff4ed;color:var(--accent2)}
.utility-bar__links{display:flex;align-items:center;justify-content:center;justify-self:center;gap:6px;min-width:0}
.utility-bar__links .utility-bar__live-badge{margin-inline:0;color:#777;font-size:.8rem;background:transparent}
.utility-bar__tools{display:flex;align-items:center;justify-self:end;gap:8px}
.utility-bar__profile{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:2px 9px 2px 5px;border:1px solid rgba(0,112,118,.22);border-radius:999px;background:#fff;color:var(--ink);font-family:var(--sans);text-decoration:none;white-space:nowrap}
.utility-bar__profile:hover,.utility-bar__profile:focus{border-color:rgba(232,93,47,.42);background:#fff4ed;color:var(--accent2);text-decoration:none}
.utility-bar__profile-avatar{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;flex:0 0 auto;border-radius:6px;background:#e6eefb;color:#4f72ad;font-weight:850;line-height:1;overflow:hidden}
.utility-bar__profile-icon{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.utility-bar__profile-initial{font-size:.82rem;font-weight:850;line-height:1}
.utility-bar__profile-copy{display:grid;gap:1px;min-width:0;line-height:1.05}
.utility-bar__profile-copy strong{max-width:82px;overflow:hidden;color:var(--ink);font-size:.76rem;font-weight:850;line-height:1.05;text-overflow:ellipsis}
.utility-bar__profile-copy span{max-width:82px;overflow:hidden;color:var(--muted);font-size:.68rem;font-weight:650;line-height:1.05;text-overflow:ellipsis}
.utility-bar__profile.is-authenticated .utility-bar__profile-avatar{background:#8aa9df;color:#fff}
.lang-switch{position:relative;z-index:330}
.lang-switch__trigger{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid rgba(0,112,118,.22);border-radius:999px;background:#fff;color:var(--ink);font:inherit;font-size:.82rem;font-weight:800;cursor:pointer}
.lang-switch__world{width:1.05rem;height:1.05rem;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.lang-switch__chevron{font-size:.58rem;line-height:1;transform:translateY(1px)}
.lang-switch__menu{position:absolute;right:0;top:calc(100% + 8px);z-index:340;display:grid;gap:2px;width:220px;padding:8px;border:1px solid rgba(0,112,118,.18);border-radius:8px;background:#fff;box-shadow:var(--shadow)}
.lang-switch__menu[hidden],.mega-panel[hidden]{display:none!important}
.lang-switch__item{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;min-height:34px;padding:6px 8px;border-radius:6px;color:var(--ink);font-size:.88rem;font-weight:700;text-decoration:none}
.lang-switch__item:hover,.lang-switch__item:focus{background:#e6f6f4;color:var(--accent)}

@media(min-width:721px) and (max-width:1350px){
  .utility-bar{grid-template-areas:"identity middle tools" "links links links";row-gap:7px;min-height:66px}
  .utility-bar__identity{grid-area:identity}
  .utility-bar__links{grid-area:links}
  .utility-bar__tools{grid-area:tools}
}

.main-nav{position:relative;margin-top:4px;padding:5px 5px 5px;border-top:1px solid rgba(0,112,118,.14)}
.main-nav__bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:8px}
.main-nav__trigger{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;justify-items:center;column-gap:6px;row-gap:1px;min-height:58px;margin-inline:3px;padding:7px 8px 7px 10px;border:1px solid rgba(0,112,118,.18);border-radius:8px;background:#f7fcfb;color:var(--ink);font:inherit;font-size:calc(1rem - 2px);font-weight:850;line-height:1.05;letter-spacing:0;text-align:center;cursor:pointer}
a.main-nav__trigger{text-decoration:none}
a.main-nav__trigger:visited{color:var(--ink)}
.main-nav__trigger:hover,.main-nav__trigger:focus,.main-nav__trigger[aria-expanded="true"]{border-color:rgba(232,93,47,.42);background:#fff4ed;color:var(--accent2)}
.main-nav__trigger span:first-child,.main-nav__trigger span:nth-child(2){grid-column:1}
.main-nav__chevron{grid-column:2;grid-row:1 / span 2;display:grid;place-items:center;width:1.15rem;height:1.15rem;border-radius:999px;background:rgba(0,112,118,.1);color:var(--accent);font-size:.68rem;line-height:1;transition:background .18s ease,color .18s ease,transform .18s ease}
.main-nav__chevron::before{content:none}
.main-nav__trigger:hover .main-nav__chevron,.main-nav__trigger:focus .main-nav__chevron,.main-nav__trigger[aria-expanded="true"] .main-nav__chevron{background:rgba(232,93,47,.16);color:var(--accent2)}
.main-nav__trigger[aria-expanded="true"] .main-nav__chevron{transform:rotate(180deg)}
.main-nav__panels{position:relative}
.mega-panel{position:absolute;top:0;left:0;right:0;z-index:200;max-height:min(72vh,720px);overflow:auto;padding:.85rem 1rem 1rem;border:0;border-bottom:1px solid rgba(0,112,118,.22);border-radius:0 0 8px 8px;background:#fff;box-shadow:0 16px 30px rgba(18,49,47,.16);font-family:var(--sans)}
.mega-panel__intro{display:flex;justify-content:space-between;gap:.75rem;margin-bottom:.85rem;padding-bottom:.75rem;border-bottom:1px solid rgba(0,112,118,.22)}
.mega-panel__primary{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:0 .56rem;border:0;border-radius:7px;background:transparent;color:var(--ink);font-size:.8rem;font-weight:500;text-decoration:none}
.site-nav .mega-panel__primary:hover,.site-nav .mega-panel__primary:focus{background:rgba(0,112,118,.12);color:var(--accent)}
.mega-panel__grid{display:grid;gap:.6rem 1.1rem}
.mega-panel__grid--chapters{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.mega-panel__grid--simple{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.mega-panel__grid--visa{grid-template-columns:repeat(3,minmax(150px,1fr));gap:.55rem 1rem}
.mega-card__heading{margin:0;color:var(--accent2);font-size:.64rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}
.mega-card{min-width:0;padding:0;border:0;border-radius:0;background:transparent}
.mega-card__title{display:block;margin-bottom:.3rem;padding-bottom:.3rem;border-bottom:1px solid rgba(0,112,118,.22);color:var(--ink);font-size:.84rem;font-weight:600;line-height:1.25;text-decoration:none}
.mega-card__title:hover,.mega-card__title:focus{color:var(--accent)}
.mega-card__title--muted{color:#78908c}
.mega-card__title em{font-style:normal;color:#78908c;font-size:.72rem}
.mega-card__sublist,.mega-card__linklist{display:flex;flex-direction:column;gap:1px;margin:0;padding:0;list-style:none}
.mega-card__sublist a,.mega-card__linklist a{display:block;padding:.18rem .42rem;border-radius:5px;color:var(--muted);font-size:.78rem;font-weight:500;line-height:1.25;text-decoration:none}
.mega-card__sublist a:hover,.mega-card__sublist a:focus,.mega-card__linklist a:hover,.mega-card__linklist a:focus{background:rgba(0,112,118,.1);color:var(--accent);text-decoration:none}
.mega-card__linklist a.is-featured{color:#533900}
.mega-panel--news,.mega-panel--regions{overflow:visible;max-height:none}
.news-mega{font-family:var(--sans)}
.news-topic-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.news-topic-chip{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border:1px solid #b9d9d6;border-radius:6px;background:#fff;color:#161616;font-size:.9rem;font-weight:680;line-height:1.15;text-decoration:none;box-shadow:0 1px 0 rgba(22,22,22,.03)}
.news-topic-chip:hover,.news-topic-chip:focus{border-color:#00676f;background:rgba(0,112,118,.1);color:#00676f}
.news-topic-chip[aria-current="page"]{border-color:var(--accent2);background:#fff4ed;color:#7d1c16}
.news-region-mega{position:relative;z-index:1;min-height:450px;border:1px solid #b9d9d6;border-radius:8px 8px 0 0;background:#f5fffc;box-shadow:0 8px 20px rgba(20,66,60,.08)}
.news-region-mega--all{min-height:0}
.news-region-mega__bar{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;min-height:40px;padding:0 .75rem}
.news-region-mega__island-label{display:inline-flex;align-items:center;height:28px;padding:0 .68rem;border-radius:7px;background:rgba(0,112,118,.1);color:#163b38;font-size:.82rem;font-weight:720}
.news-region-mega__legend{display:inline-flex;align-items:center;min-height:28px;flex:1 1 18rem;color:#5f7773;font-size:.72rem;font-weight:650;line-height:1.2}
.news-region-mega__current{margin-left:auto;color:#365b57;font-size:.74rem;font-weight:680;overflow:hidden;text-overflow:ellipsis;text-decoration:none;white-space:nowrap}
.news-region-mega__current:hover,.news-region-mega__current:focus{color:#00676f}
.news-region-mega__search{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:30px;height:28px;border:1px solid #b9d9d6;border-radius:7px;color:#355f5a;text-decoration:none}
.news-region-mega__search:hover,.news-region-mega__search:focus{background:rgba(0,112,118,.1);color:#00676f}
.news-region-mega__search-icon{position:relative;width:.86rem;height:.86rem;border:2px solid currentColor;border-radius:999px}
.news-region-mega__search-icon::after{content:"";position:absolute;right:-.34rem;bottom:-.18rem;width:.48rem;height:2px;border-radius:999px;background:currentColor;transform:rotate(45deg)}
.news-region-mega__panel{position:absolute;top:40px;left:0;right:0;z-index:2;padding:.85rem 1rem 1rem;border-top:1px solid #b9d9d6;border-bottom:1px solid #b9d9d6;background:#f5fffc;box-shadow:0 16px 30px rgba(18,49,47,.16)}
.news-region-mega--all .news-region-mega__panel{position:static;box-shadow:none}
.news-region-mega__regions{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem 1.1rem}
.news-region-mega--all .news-region-mega__regions{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.55rem .9rem}
.philippines-region-mega .news-region-mega__regions{grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:.5rem .75rem}
.news-region-mega__region-col{min-width:0}
.news-region-mega__overview{display:flex;align-items:baseline;gap:.4rem;margin-bottom:.3rem;padding-bottom:.3rem;border-bottom:1px solid #b9d9d6;text-decoration:none}
.news-region-mega__region-name{color:#163b38;font-size:.84rem;font-weight:760}
.news-region-mega__count{color:#c01818;font-size:.72rem;font-weight:800;white-space:nowrap}
.news-region-mega__overview:hover .news-region-mega__region-name,.news-region-mega__overview:focus-visible .news-region-mega__region-name{color:#00676f}
.news-region-mega__areas{display:flex;flex-direction:column;gap:1px}
.news-region-mega__areas a{display:flex;align-items:baseline;justify-content:space-between;gap:.35rem;padding:.18rem .42rem;border-radius:5px;color:#355f5a;font-size:.78rem;font-weight:580;line-height:1.25;text-decoration:none}
.news-region-mega__areas a:hover,.news-region-mega__areas a:focus{background:rgba(0,112,118,.1);color:#00676f}

@media(max-width:720px){
  .amg-live-badge{font-size:.78rem;padding:2px 7px}
  .site-nav__mobile-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px}
  .site-nav__mobile-brand{color:var(--ink);font-weight:900;text-decoration:none}
  .site-nav__drawer-toggle{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid rgba(0,112,118,.22);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-weight:850}
  .site-nav__body{display:none;padding:0 14px 14px}
  .site-nav.is-drawer-open .site-nav__body{display:grid;gap:12px}
  .site-nav__drawer-ctas{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .site-nav__drawer-ctas a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px;border-radius:8px;background:var(--accent2);color:#fff;font-weight:900;text-align:center;text-decoration:none}
  .utility-bar{grid-template-columns:1fr;align-items:stretch;gap:10px;min-height:0;padding:0;transform:none}
  .utility-bar__identity{justify-content:space-between}
  .utility-bar__links{display:grid;justify-content:stretch}
  .utility-bar__links a{min-height:36px;padding:8px;border-radius:8px}
  .utility-bar__tools{justify-content:flex-start;flex-wrap:wrap}
  .utility-bar__profile{min-height:36px;border-radius:8px}
  .main-nav{margin-top:0;padding:0;border-top:0}
  .main-nav__bar{grid-template-columns:1fr}
  .main-nav__trigger{justify-items:start;min-height:44px;margin-inline:0;text-align:left}
  .main-nav__trigger span:first-child::after{content:" "}
  .main-nav__chevron{justify-self:end;align-self:center}
  .mega-panel{position:static;max-height:none;margin:6px 0 10px;padding:12px;box-shadow:none}
  .mega-panel__grid--visa{grid-template-columns:1fr}
  .mega-panel__intro{display:grid}
  .mega-panel--news,.mega-panel--regions{overflow:auto}
  .news-topic-chip{justify-content:center}
  .news-region-mega{min-height:0}
  .news-region-mega__bar{padding:.4rem .6rem}
  .news-region-mega__current{flex:1 1 12rem;margin-left:0}
  .news-region-mega__search{margin-left:auto}
  .news-region-mega__panel{position:static;margin-top:.4rem;box-shadow:none}
  .news-region-mega__regions{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
}

/* Historisch spaetere globale Header-Kaskade, aus den Sammeldateien konsolidiert. */
.top{position:relative;z-index:30;display:flex;align-items:center;gap:18px;width:100%;min-height:3.35rem;margin:0 0 18px;padding:.65rem 18px;border-bottom:1px solid rgba(0,140,140,.22);border-radius:8px;background:rgba(255,255,255,.96);box-shadow:0 8px 18px rgba(3,61,64,.14)}
.top{position:relative;z-index:100;display:block;width:auto;min-height:0;margin:0 var(--site-content-inset-right) 18px var(--site-content-inset-left);padding:0;border:1px solid rgba(15,119,119,.12);border-radius:8px;background:rgba(255,255,255,.94);box-shadow:0 10px 26px rgba(30,93,90,.12)}
@media(max-width:820px){.top{width:100%;margin:0 0 18px}}

/* Globaler Theme-Schalter und dunkle Nav-Zustaende. */
.top__theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:30px;min-width:30px;height:30px;min-height:30px;padding:0;border:1px solid rgba(0,112,118,.2);border-radius:999px;background:rgba(255,255,255,.88);color:#173f42;cursor:pointer;font:inherit;font-size:.9rem;font-weight:900;line-height:1}
.top__theme-toggle:hover,.top__theme-toggle:focus{border-color:rgba(15,119,119,.38);background:rgba(230,249,246,.74)}
.top__theme-icon{display:inline-flex;align-items:center;justify-content:center;width:1em;height:1em;line-height:1}
.top__theme-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
html[data-theme="dark"] .top{background-color:rgba(18,39,42,.96);color:var(--amg-ink);border-color:rgba(206,235,232,.18)}
html[data-theme="dark"] .top__theme-toggle,html[data-theme="dark"] .amg-live-badge,html[data-theme="dark"] .utility-bar__profile{background:rgba(21,55,58,.92);color:var(--amg-ink);border-color:rgba(206,235,232,.22)}
html[data-theme="dark"] .top__theme-toggle:hover,html[data-theme="dark"] .top__theme-toggle:focus,html[data-theme="dark"] .amg-live-badge:hover,html[data-theme="dark"] .utility-bar__profile:hover,html[data-theme="dark"] .utility-bar__profile:focus{background:rgba(42,96,99,.62);color:#e7fffc}
html[data-theme="dark"] .amg-live-badge.is-live{background:rgba(112,82,0,.34);color:#ffe8a3;border-color:rgba(255,217,112,.52)}

/* Neue globale Navigation: spaete Typografie-, Hover- und Dark-Overrides. */
.top{overflow:visible}
.main-nav__trigger,.lang-switch__trigger{font-family:var(--book-sans)}
.site-nav__drawer-ctas a:hover,.site-nav__drawer-ctas a:focus,.mega-panel__primary:hover,.mega-panel__primary:focus{background:#bf4a21;color:#fff}
html[data-theme="dark"] .lang-switch__trigger,html[data-theme="dark"] .lang-switch__menu,html[data-theme="dark"] .main-nav__trigger,html[data-theme="dark"] .mega-panel,html[data-theme="dark"] .mega-card,html[data-theme="dark"] .site-nav__drawer-toggle{background-color:rgba(20,44,47,.98);border-color:rgba(206,235,232,.18);color:var(--amg-ink)}
html[data-theme="dark"] .utility-bar__about,html[data-theme="dark"] .utility-bar__links a,html[data-theme="dark"] .utility-bar__profile{background-color:transparent;border-color:rgba(206,235,232,.24);color:var(--amg-ink)}
html[data-theme="dark"] .utility-bar__profile-avatar{background:rgba(138,169,223,.32);color:#d9e8ff}
html[data-theme="dark"] .utility-bar__profile.is-authenticated .utility-bar__profile-avatar{background:#6f92cf;color:#fff}
html[data-theme="dark"] .utility-bar__brand,html[data-theme="dark"] .utility-bar__about,html[data-theme="dark"] .utility-bar__links a,html[data-theme="dark"] .utility-bar__profile,html[data-theme="dark"] .utility-bar__profile-copy strong,html[data-theme="dark"] .utility-bar__profile-copy span,html[data-theme="dark"] .site-nav__mobile-brand,html[data-theme="dark"] .main-nav__trigger,html[data-theme="dark"] .mega-card__title,html[data-theme="dark"] .mega-card__heading,html[data-theme="dark"] .mega-card__sublist a,html[data-theme="dark"] .mega-card__linklist a,html[data-theme="dark"] .lang-switch__item{color:var(--amg-ink)}
html[data-theme="dark"] .main-nav__trigger:hover,html[data-theme="dark"] .main-nav__trigger:focus,html[data-theme="dark"] .main-nav__trigger[aria-expanded="true"],html[data-theme="dark"] .lang-switch__item:hover,html[data-theme="dark"] .lang-switch__item:focus,html[data-theme="dark"] .utility-bar__about:hover,html[data-theme="dark"] .utility-bar__about:focus,html[data-theme="dark"] .utility-bar__links a:hover,html[data-theme="dark"] .utility-bar__links a:focus,html[data-theme="dark"] .utility-bar__profile:hover,html[data-theme="dark"] .utility-bar__profile:focus{background:rgba(42,96,99,.62);color:#e7fffc}

/* Dunkle Nachrichten-/Philippinen-Mega-Komponente. */
html[data-theme="dark"] .news-region-mega,
html[data-theme="dark"] .news-region-mega__panel {
  background: rgba(20, 44, 47, .98);
  border-color: rgba(206, 235, 232, .18);
}
html[data-theme="dark"] .news-topic-chip {
  background: rgba(21, 55, 58, .92);
  border-color: rgba(206, 235, 232, .22);
  color: var(--amg-ink);
}
html[data-theme="dark"] .news-topic-chip:hover,
html[data-theme="dark"] .news-topic-chip:focus {
  background: rgba(42, 96, 99, .62);
  border-color: rgba(206, 235, 232, .3);
  color: #e7fffc;
}
html[data-theme="dark"] .news-region-mega__island-label,
html[data-theme="dark"] .news-region-mega__region-name,
html[data-theme="dark"] .news-region-mega__legend,
html[data-theme="dark"] .news-region-mega__current,
html[data-theme="dark"] .news-region-mega__search,
html[data-theme="dark"] .news-region-mega__areas a {
  color: var(--amg-ink);
}
html[data-theme="dark"] .news-region-mega__overview,
html[data-theme="dark"] .news-region-mega__search {
  border-color: rgba(206, 235, 232, .18);
}
html[data-theme="dark"] .news-region-mega__areas a:hover,
html[data-theme="dark"] .news-region-mega__areas a:focus,
html[data-theme="dark"] .news-region-mega__current:hover,
html[data-theme="dark"] .news-region-mega__current:focus {
  background: rgba(42, 96, 99, .62);
  color: #e7fffc;
}
