/* HM Global Logistics GmbH – Corporate Design für test-hmgl.de
   Farben und Schriftart abgeleitet von der bestehenden Website www.hmgl.de */

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/files/fonts/lato-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/files/fonts/lato-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/files/fonts/lato-latin-700-normal.woff2') format('woff2');
}

:root {
  --hmgl-blue: #2e6f9e;
  --hmgl-blue-dark: #0f2a43;
  --hmgl-text: #14202b;
  --hmgl-gray: #5b6b7a;
  --hmgl-light-bg: #e7eff5;
}

body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 17px;
  color: var(--hmgl-text);
  line-height: 1.7;
}

.rte p {
  color: var(--hmgl-gray);
}

a {
  color: var(--hmgl-blue);
  text-decoration: none;
}
a:hover {
  color: var(--hmgl-blue-dark);
  text-decoration: underline;
}

h1, h2, h3, h4, h5 {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 1.85rem; margin-bottom: 0.75rem; }

/* Kopfbereich / Topbar */
#header {
  border-bottom: 1px solid #dde3ea;
  background: #fff;
}
#header .inside {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1140px;
  margin: 0 auto;
}
.hmgl-topbar {
  background: var(--hmgl-light-bg);
  color: var(--hmgl-gray);
  font-size: 0.85rem;
  padding: 6px 0;
}
.hmgl-topbar a {
  color: var(--hmgl-blue);
}

/* Logo */
#header img, .hmgl-logo img {
  max-height: 56px;
  width: auto;
}

/* Hauptnavigation */
.mod_navigation {
  position: relative;
  z-index: 20;
  overflow: visible;
}
.mod_navigation ul.level_1 {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.mod_navigation ul.level_1 > li {
  position: relative;
}
.mod_navigation ul.level_1 > li > a,
.mod_navigation ul.level_1 > li > strong {
  display: block;
  padding: 12px 16px;
  color: var(--hmgl-text);
  font-weight: 400;
  border-radius: 3px;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.mod_navigation ul.level_1 > li > a:hover {
  background: var(--hmgl-blue);
  color: #fff;
}
.mod_navigation ul.level_1 > li.active > a,
.mod_navigation ul.level_1 > li.active > strong,
.mod_navigation ul.level_1 > li.trail > a {
  background: var(--hmgl-blue);
  color: #fff !important;
}

/* Untermenüs (Dropdown bei Hover) */
.mod_navigation ul.level_2 {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.mod_navigation ul.level_1 > li:hover > ul.level_2 {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mod_navigation ul.level_2 a {
  display: block;
  padding: 8px 16px;
  color: var(--hmgl-text);
  white-space: nowrap;
}
.mod_navigation ul.level_2 a:hover {
  background: var(--hmgl-blue);
  color: #fff;
}
.mod_navigation ul.level_2 li.active > a {
  color: var(--hmgl-blue);
  font-weight: 700;
}

/* Hauptspalte */
#main, .mod_article {
  padding: 40px 0;
}

/* Hero-Bereich (Startseite) */
html, body { overflow-x: hidden; }
.mod_article:has(.hmgl-hero) {
  overflow: visible;
}
.hmgl-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -40px;
  margin-bottom: 40px;
  padding: 64px 48px;
  min-height: 60vh;
  max-height: 640px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: #ffffff;
  text-align: center;
  box-sizing: border-box;
}
.hmgl-hero figure {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}
.hmgl-hero figure img,
.hmgl-hero figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hmgl-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15,42,67,0.15) 0%, rgba(15,42,67,0.2) 45%, rgba(15,42,67,0.82) 100%);
  pointer-events: none;
}
.hmgl-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.hmgl-hero h1 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 2.6rem;
  max-width: 800px;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hmgl-hero p {
  position: relative;
  z-index: 2;
  font-size: 1.15rem;
  color: #e7eff5;
  max-width: 700px;
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.hmgl-hero .rte {
  position: relative;
  z-index: 2;
}
.hmgl-hero .hmgl-btn {
  background: #fff;
  color: var(--hmgl-blue-dark) !important;
}
.hmgl-hero .hmgl-btn:hover {
  background: #e7eff5;
}
@media (max-width: 768px) {
  .hmgl-hero { padding: 32px 20px; min-height: 46vh; }
  .hmgl-hero h1 { font-size: 1.9rem; }
}

/* Buttons / CTAs */
.hmgl-btn, a.btn, button.btn {
  display: inline-block;
  background: var(--hmgl-blue);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
}
.hmgl-btn:hover, a.btn:hover, button.btn:hover {
  background: var(--hmgl-blue-dark);
}

/* Listen */
#main ul {
  padding-left: 1.2rem;
}
#main ul li {
  margin-bottom: 0.4rem;
}

/* Footer */
#footer {
  background: var(--hmgl-blue-dark);
color: #e7eff5;
  padding: 32px 0;
  font-size: 0.9rem;
}
#footer a {
  color: #ffffff;
}
#footer a:hover {
  color: #ffffff;
}

/* Container */
.inside {
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Tabellen (z.B. Container-Spezifikationen, falls später als Tabelle) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
table th, table td {
border: 1px solid #dde3ea;
  padding: 8px 12px;
  text-align: left;
}
table th {
  background: var(--hmgl-light-bg);
  color: var(--hmgl-blue-dark);
}

/* Responsive */
@media (max-width: 900px) {
  #header .inside {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }
  .mod_navigation ul.level_1 {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .mod_navigation ul.level_1 > li {
    width: 100%;
      border-top: 1px solid #dde3ea;
  }
  .mod_navigation ul.level_1 > li > a,
  .mod_navigation ul.level_1 > li > strong {
    padding: 12px 4px;
  }
  /* Auf schmalen Bildschirmen gibt es keinen Hover: Untermenüs werden
     direkt unter dem Hauptpunkt eingeblendet, nicht als Dropdown. */
  .mod_navigation ul.level_2 {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    min-width: 0;
    width: 100%;
    padding: 0 0 6px 16px;
    display: none;
  }
  .mod_navigation ul.level_1 > li.trail > ul.level_2,
  .mod_navigation ul.level_1 > li.active > ul.level_2 {
    display: block;
  }
  h1 { font-size: 1.7rem; }
  .inside { padding-left: 16px; padding-right: 16px; }
}


/* ===== RTL-Unterstuetzung fuer Arabisch (ar) ===== */
html[lang="ar"] {
  direction: rtl;
}
html[lang="ar"] body {
  text-align: right;
  font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Noto Sans Arabic", Arial, sans-serif;
}
html[lang="ar"] .level_2 {
  left: auto;
  right: 0;
}
html[lang="ar"] ul,
html[lang="ar"] ol {
  padding-right: 20px;
  padding-left: 0;
}
/* ===== Startseite: zentrierte Texte wie auf der alten Website ===== */
#article-1 > .content-text:not(.hmgl-hero) > h2 {
  
text-align: center;
}
#article-1 > .content-text:not(.hmgl-hero) > .rte {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#article-1 > .content-text:not(.hmgl-hero) > .rte:has(.hmgl-leistungen) {
  max-width: none;
}
#article-1 > .content-text:not(.hmgl-hero) > .rte ul,
#article-1 > .content-text:not(.hmgl-hero) > .rte ol {
  text-align: left;
  display: inline-block;
}

/* Leistungen - Icon-Reihe wie auf der alten Website */
.hmgl-leistungen {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 32px 0;
}
.hmgl-leistungen-item {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 12px;
  text-align: center;
  box-sizing: border-box;
  margin-bottom: 32px;
}
.hmgl-leistungen-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--hmgl-blue);
  border-radius: 100%;
  margin-bottom: 16px;
}
.hmgl-leistungen-icon-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background: var(--hmgl-blue);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}
.hmgl-leistungen-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.hmgl-leistungen-item p {
  font-size: 0.95rem;
  color: var(--hmgl-gray);
  margin-bottom: 8px;
}
.hmgl-leistungen-link em {
  font-style: italic;
  color: var(--hmgl-blue);
  font-size: 0.9rem;
}
@media (max-width: 900px) {
  .hmgl-leistungen-item { flex: 1 1 45%; }
}
@media (max-width: 560px) {
  .hmgl-leistungen-item { flex: 1 1 100%; }
}

/* Seewege Bilderband - volle Breite, ohne Abstand, mit Karten-Hover wie auf der alten Website */
.hmgl-imgstrip {
  display: flex;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.hmgl-imgstrip-item {
  position: relative;
  overflow: hidden;
  width: 20%;
  height: 254px;
  border-top: 5px solid #e5e8ee;
}
.hmgl-imgstrip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hmgl-imgstrip-hover {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  transition: top 0.4s ease-out;
}
.hmgl-imgstrip-item:hover .hmgl-imgstrip-hover,
.hmgl-imgstrip-item:focus .hmgl-imgstrip-hover {
  top: 0;
  transition-duration: 0.2s;
}
.hmgl-imgstrip-item h3 {
  position: absolute;
  bottom: -3.125em;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0.625em 0 0.6875em;
  font-size: 0.8em;
  font-weight: 700;
  color: var(--hmgl-text);
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  transition: bottom 0.4s ease-out;
}
.hmgl-imgstrip-item:hover h3,
.hmgl-imgstrip-item:focus h3 {
  bottom: 0;
  transition-duration: 0.2s;
}
@media (max-width: 700px) {
  .hmgl-imgstrip { flex-wrap: wrap; }
  .hmgl-imgstrip-item { width: 50%; height: 160px; }
}


/* Touch-Fallback fuer Bilderband-Hover (Unsere Seewege): auf Geraeten ohne echtes Hover
   (Touch/Tablet/Smartphone) bleibt der Regionsname dauerhaft sichtbar, da :hover dort
   nicht zuverlaessig ausgeloest werden kann. Die Kartenansicht bleibt Desktop-Bonus. */
@media (hover: none) {
  .hmgl-imgstrip-item h3 {
    bottom: 0;
  }
}


/* Fix: Dropdown-Untermenü wurde vom Hauptinhalt überdeckt (fehlender z-index) */
header { position: relative; z-index: 20; }
.mod_navigation ul.level_2 { z-index: 50; }


/* Bild-Dropdown-Menü: Thumbnails fuer die Leistungen-Unterseiten */
.mod_navigation > ul > li:has(> a[href="/leistungen"]) ul.level_2 a,
.mod_navigation > ul > li:has(> strong[href="/leistungen"]) ul.level_2 a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.mod_navigation > ul > li:has(> a[href="/leistungen"]) ul.level_2 a::before,
.mod_navigation > ul > li:has(> strong[href="/leistungen"]) ul.level_2 a::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.mod_navigation ul.level_2 a[href="/containerhandel"]::before { background-image: url(/files/homepage/hmgl-seewege-foto-depots.jpg); }
.mod_navigation ul.level_2 a[href="/containertransporte"]::before { background-image: url(/files/homepage/hmgl-seewege-foto-naher-osten-ostafrika.jpg); }
.mod_navigation ul.level_2 a[href="/luftfracht"]::before { background-image: url(/files/homepage/hmgl-leistungen-luftfracht.jpg); }
.mod_navigation ul.level_2 a[href="/containerpacken"]::before { background-image: url(/files/homepage/hmgl-seewege-foto-westafrika.jpg); }


/* Verschiffung-Seite (Vorlage fuer Unterseiten): Text zentrieren wie auf der Startseite */
#article-3 > .content-text > .rte {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
#article-3 > .content-text > .rte ul {
  display: inline-block;
  text-align: left;
}
#article-3 > .content-text > .rte figure {
  margin-left: auto;
  margin-right: auto;
}


/* Verschiffung-Seite (Vorlage): Ueberschrift (H1) ebenfalls zentrieren - war zuvor nicht erfasst, da ausserhalb .rte */
#article-3 > .content-text > h1 {
  text-align: center;
}
/* Aufzaehlungszeichen in Inhalts-Listen wiederherstellen (globale Reset-Regel entfernte sie site-weit) */
.content-text .rte ul {
  list-style: disc;
  padding-left: 1.3em;
}


/* "Unsere Leistungen im Ueberblick" (Verschiffung-Seite): gleiche Farbe wie andere Ueberschriften */
.content-text .rte strong {
  color: #1a1a1a;
}


/* Unterseiten-Rollout (Leistungen/Seewege/Container, 23.09.2026): Text zentrieren wie Verschiffung-Vorlage */
#article-4 > .content-text > .rte,
#article-5 > .content-text > .rte,
#article-6 > .content-text > .rte,
#article-8 > .content-text > .rte,
#article-10 > .content-text > .rte,
#article-11 > .content-text > .rte,
#article-12 > .content-text > .rte,
#article-13 > .content-text > .rte,
#article-15 > .content-text > .rte,
#article-16 > .content-text > .rte {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
#article-4 > .content-text > .rte ul,
#article-5 > .content-text > .rte ul,
#article-6 > .content-text > .rte ul,
#article-8 > .content-text > .rte ul,
#article-10 > .content-text > .rte ul,
#article-11 > .content-text > .rte ul,
#article-12 > .content-text > .rte ul,
#article-13 > .content-text > .rte ul,
#article-15 > .content-text > .rte ul,
#article-16 > .content-text > .rte ul {
  display: inline-block;
  text-align: left;
}
#article-4 > .content-text > .rte figure,
#article-5 > .content-text > .rte figure,
#article-6 > .content-text > .rte figure,
#article-8 > .content-text > .rte figure,
#article-10 > .content-text > .rte figure,
#article-11 > .content-text > .rte figure,
#article-12 > .content-text > .rte figure,
#article-13 > .content-text > .rte figure,
#article-15 > .content-text > .rte figure,
#article-16 > .content-text > .rte figure {
  margin-left: auto;
  margin-right: auto;
}
#article-4 > .content-text > h1,
#article-5 > .content-text > h1,
#article-6 > .content-text > h1,
#article-8 > .content-text > h1,
#article-10 > .content-text > h1,
#article-11 > .content-text > h1,
#article-12 > .content-text > h1,
#article-13 > .content-text > h1,
#article-15 > .content-text > h1,
#article-16 > .content-text > h1 {
  text-align: center;
}


/* Unterseiten-Rollout EN/FR/AR/ZH (23.09.2026): Text zentrieren wie DE-Vorlage */
#article-29 > .content-text > .rte,
#article-30 > .content-text > .rte,
#article-31 > .content-text > .rte,
#article-32 > .content-text > .rte,
#article-34 > .content-text > .rte,
#article-35 > .content-text > .rte,
#article-36 > .content-text > .rte,
#article-37 > .content-text > .rte,
#article-39 > .content-text > .rte,
#article-40 > .content-text > .rte,
#article-47 > .content-text > .rte,
#article-48 > .content-text > .rte,
#article-49 > .content-text > .rte,
#article-50 > .content-text > .rte,
#article-52 > .content-text > .rte,
#article-53 > .content-text > .rte,
#article-54 > .content-text > .rte,
#article-55 > .content-text > .rte,
#article-57 > .content-text > .rte,
#article-58 > .content-text > .rte,
#article-68 > .content-text > .rte,
#article-69 > .content-text > .rte,
#article-70 > .content-text > .rte,
#article-71 > .content-text > .rte,
#article-73 > .content-text > .rte,
#article-74 > .content-text > .rte,
#article-75 > .content-text > .rte,
#article-76 > .content-text > .rte,
#article-78 > .content-text > .rte,
#article-79 > .content-text > .rte,
#article-89 > .content-text > .rte,
#article-90 > .content-text > .rte,
#article-91 > .content-text > .rte,
#article-92 > .content-text > .rte,
#article-94 > .content-text > .rte,
#article-95 > .content-text > .rte,
#article-96 > .content-text > .rte,
#article-97 > .content-text > .rte,
#article-99 > .content-text > .rte,
#article-100 > .content-text > .rte {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
#article-29 > .content-text > .rte ul,
#article-30 > .content-text > .rte ul,
#article-31 > .content-text > .rte ul,
#article-32 > .content-text > .rte ul,
#article-34 > .content-text > .rte ul,
#article-35 > .content-text > .rte ul,
#article-36 > .content-text > .rte ul,
#article-37 > .content-text > .rte ul,
#article-39 > .content-text > .rte ul,
#article-40 > .content-text > .rte ul,
#article-47 > .content-text > .rte ul,
#article-48 > .content-text > .rte ul,
#article-49 > .content-text > .rte ul,
#article-50 > .content-text > .rte ul,
#article-52 > .content-text > .rte ul,
#article-53 > .content-text > .rte ul,
#article-54 > .content-text > .rte ul,
#article-55 > .content-text > .rte ul,
#article-57 > .content-text > .rte ul,
#article-58 > .content-text > .rte ul,
#article-68 > .content-text > .rte ul,
#article-69 > .content-text > .rte ul,
#article-70 > .content-text > .rte ul,
#article-71 > .content-text > .rte ul,
#article-73 > .content-text > .rte ul,
#article-74 > .content-text > .rte ul,
#article-75 > .content-text > .rte ul,
#article-76 > .content-text > .rte ul,
#article-78 > .content-text > .rte ul,
#article-79 > .content-text > .rte ul,
#article-89 > .content-text > .rte ul,
#article-90 > .content-text > .rte ul,
#article-91 > .content-text > .rte ul,
#article-92 > .content-text > .rte ul,
#article-94 > .content-text > .rte ul,
#article-95 > .content-text > .rte ul,
#article-96 > .content-text > .rte ul,
#article-97 > .content-text > .rte ul,
#article-99 > .content-text > .rte ul,
#article-100 > .content-text > .rte ul {
  display: inline-block;
  text-align: left;
}
#article-29 > .content-text > .rte figure,
#article-30 > .content-text > .rte figure,
#article-31 > .content-text > .rte figure,
#article-32 > .content-text > .rte figure,
#article-34 > .content-text > .rte figure,
#article-35 > .content-text > .rte figure,
#article-36 > .content-text > .rte figure,
#article-37 > .content-text > .rte figure,
#article-39 > .content-text > .rte figure,
#article-40 > .content-text > .rte figure,
#article-47 > .content-text > .rte figure,
#article-48 > .content-text > .rte figure,
#article-49 > .content-text > .rte figure,
#article-50 > .content-text > .rte figure,
#article-52 > .content-text > .rte figure,
#article-53 > .content-text > .rte figure,
#article-54 > .content-text > .rte figure,
#article-55 > .content-text > .rte figure,
#article-57 > .content-text > .rte figure,
#article-58 > .content-text > .rte figure,
#article-68 > .content-text > .rte figure,
#article-69 > .content-text > .rte figure,
#article-70 > .content-text > .rte figure,
#article-71 > .content-text > .rte figure,
#article-73 > .content-text > .rte figure,
#article-74 > .content-text > .rte figure,
#article-75 > .content-text > .rte figure,
#article-76 > .content-text > .rte figure,
#article-78 > .content-text > .rte figure,
#article-79 > .content-text > .rte figure,
#article-89 > .content-text > .rte figure,
#article-90 > .content-text > .rte figure,
#article-91 > .content-text > .rte figure,
#article-92 > .content-text > .rte figure,
#article-94 > .content-text > .rte figure,
#article-95 > .content-text > .rte figure,
#article-96 > .content-text > .rte figure,
#article-97 > .content-text > .rte figure,
#article-99 > .content-text > .rte figure,
#article-100 > .content-text > .rte figure {
  margin-left: auto;
  margin-right: auto;
}
#article-29 > .content-text > h1,
#article-30 > .content-text > h1,
#article-31 > .content-text > h1,
#article-32 > .content-text > h1,
#article-34 > .content-text > h1,
#article-35 > .content-text > h1,
#article-36 > .content-text > h1,
#article-37 > .content-text > h1,
#article-39 > .content-text > h1,
#article-40 > .content-text > h1,
#article-47 > .content-text > h1,
#article-48 > .content-text > h1,
#article-49 > .content-text > h1,
#article-50 > .content-text > h1,
#article-52 > .content-text > h1,
#article-53 > .content-text > h1,
#article-54 > .content-text > h1,
#article-55 > .content-text > h1,
#article-57 > .content-text > h1,
#article-58 > .content-text > h1,
#article-68 > .content-text > h1,
#article-69 > .content-text > h1,
#article-70 > .content-text > h1,
#article-71 > .content-text > h1,
#article-73 > .content-text > h1,
#article-74 > .content-text > h1,
#article-75 > .content-text > h1,
#article-76 > .content-text > h1,
#article-78 > .content-text > h1,
#article-79 > .content-text > h1,
#article-89 > .content-text > h1,
#article-90 > .content-text > h1,
#article-91 > .content-text > h1,
#article-92 > .content-text > h1,
#article-94 > .content-text > h1,
#article-95 > .content-text > h1,
#article-96 > .content-text > h1,
#article-97 > .content-text > h1,
#article-99 > .content-text > h1,
#article-100 > .content-text > h1 {
  text-align: center;
}


/* ===== Mobile-Navigation (Hamburger-Menü) ===== */
.hmgl-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 34px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  order: 2;
}
.hmgl-nav-toggle span {
  display: block;
  height: 3px;
  width: 26px;
  background: var(--hmgl-blue-dark);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
#header.hmgl-nav-open .hmgl-nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#header.hmgl-nav-open .hmgl-nav-toggle span:nth-child(2) { opacity: 0; }
#header.hmgl-nav-open .hmgl-nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .hmgl-nav-toggle { display: flex; }
  #header .mod_navigation { order: 3; width: 100%; display: none; }
  #header.hmgl-nav-open .mod_navigation { display: block; }
  #header .mod_navigation ul.level_1 {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #dde3ea;
    margin-top: 12px;
    padding-top: 8px;
  }
  #header .mod_navigation ul.level_1 > li { width: 100%; }
  #header .mod_navigation ul.level_1 > li > a,
  #header .mod_navigation ul.level_1 > li > strong {
    display: block;
    padding: 12px 4px;
  }
  #header .mod_navigation ul.level_2 {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 0 0 8px 16px;
    transition: none;
  }
  #header .mod_navigation ul.level_2 a { padding: 8px 4px; }
}


/* ===== Seewege: Laender-Akkordeon ===== */
.hmgl-seewege-map {
  width: 100%;
  max-width: 1100px;
  display: block;
  margin: 2rem auto 2.5rem;
  border-radius: 8px;
}
.hmgl-seewege-accordion {
  max-width: 700px;
  margin: 0 auto;
}
.hmgl-country {
  border: 1px solid #d8e2ea;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}
.hmgl-country summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--hmgl-blue-dark);
  background: var(--hmgl-light-bg);
  transition: background 0.2s;
}
.hmgl-country summary::-webkit-details-marker { display: none; }
.hmgl-country summary::marker { content: ""; }
.hmgl-country summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--hmgl-blue);
}
.hmgl-country[open] summary::after { content: "\2212"; }
.hmgl-country summary:hover { background: #dde8f0; }
.hmgl-country .hmgl-flag {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.hmgl-ports {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 18px;
  background: #fafcfd;
}
.hmgl-port {
  flex: 1 1 160px;
  text-align: center;
  padding: 10px;
}
.hmgl-port .hmgl-days {
  display: block;
  color: var(--hmgl-blue);
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.hmgl-port .hmgl-city {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--hmgl-text);
}
.hmgl-port .hmgl-label {
  display: block;
  font-size: 0.8rem;
  color: var(--hmgl-gray);
}
.hmgl-seewege-note {
  font-size: 0.8rem;
  color: var(--hmgl-gray);
  text-align: center;
  margin-top: 1rem;
}
@media (max-width: 600px) {
  .hmgl-ports { flex-direction: column; }
}

/* Sprachumschalter (oben rechts im Header) */
header { position: relative; }
.hmgl-lang-switch {
  position: absolute;
  top: 14px;
  right: 20px;
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  z-index: 25;
}
.hmgl-lang-switch a {
  color: var(--hmgl-gray);
  text-decoration: none;
}
.hmgl-lang-switch a:hover {
  color: var(--hmgl-blue);
}
html[lang="de"] .hmgl-lang-switch a[hreflang="de"],
html[lang="en"] .hmgl-lang-switch a[hreflang="en"],
html[lang="fr"] .hmgl-lang-switch a[hreflang="fr"],
html[lang="ar"] .hmgl-lang-switch a[hreflang="ar"],
html[lang="zh"] .hmgl-lang-switch a[hreflang="zh"] {
  color: var(--hmgl-blue);
  font-weight: 700;
}
@media (max-width: 900px) {
  .hmgl-lang-switch {
    position: static;
    margin-top: 8px;
  }
}

/* Social-Media-Icons (Footer) */
.hmgl-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.hmgl-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hmgl-social-icon:hover {
  background: rgba(255,255,255,0.3);
}
