/* =====================================================
   layout.css – Globale Layout-Korrekturen Campus Cordis
   Einbinden in jede HTML: <link rel="stylesheet" href="layout.css">
   direkt vor </head>
   ===================================================== */

/* Konflikt-Kultur externer Link */
a.kk-link, a.kk-link:link, a.kk-link:visited { color: #0a5a8a !important; text-decoration: underline !important; text-underline-offset: 3px; font-weight: bold; }
a.kk-link:hover { color: #37C9EF !important; }

/* Vollbreite für das Hauptlayout der Startseite */
.gm-layout {
  max-width: none !important;
  padding: 32px 40px !important;
}

/* Vollbreite für Footer */
.gm-footer-grid,
.gm-footer-copy {
  max-width: none !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

/* Vollbreite für Seiteninhalt (Unterseiten) */
.gm-page-content {
  max-width: none !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

/* =====================================================
   SPLIT-BUTTON Navigation (Link + Pfeil getrennt)
   Für Menüeinträge mit Unterseiten, z.B. Orientierungsstufe
   ===================================================== */
.gm-split { display: flex; align-items: stretch; position: relative; }
.gm-split > a {
  flex: 1;
  display: block;
  padding: 11px 8px 11px 18px;
  color: var(--weiss);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: background .15s;
  white-space: nowrap;
}
.gm-split > a:hover { background: var(--blau2); }
.gm-split-arrow {
  flex-shrink: 0;
  width: 32px;
  background: none;
  border: none;
  border-left: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--weiss);
  font-size: 11px;
  cursor: pointer;
  transition: background .15s;
  font-family: Verdana, Geneva, sans-serif;
  display: flex; align-items: center; justify-content: center;
}
.gm-split-arrow:hover { background: var(--blau2); }
.gm-split.is-open .gm-split-arrow { background: var(--blau2); }

/* DROPDOWN LEVEL 3 */
.gm-dd3 {
  display: none;
  position: absolute;
  top: 0; left: 100%;
  background: var(--blau2);
  min-width: 200px;
  z-index: 9200;
  box-shadow: 4px 6px 20px rgba(0,0,0,.3);
  list-style: none;
}
.gm-split.is-open > .gm-dd3 { display: block; }
.gm-dd3 > li > a {
  display: block;
  padding: 11px 18px;
  color: var(--hellblau);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: background .15s;
  white-space: nowrap;
}
.gm-dd3 > li > a:hover { background: var(--blau); }
