/*
 * GladCom – eigenständiges Joomla-Template (kein Parent/Child)
 * Design nachgebaut nach www.gladcom.de
 */

/* ---------- Schriften (lokal, DSGVO-konform) ---------- */
@font-face { font-family: "GC Open Sans"; src: url("../fonts/OpenSans-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "GC Open Sans"; src: url("../fonts/OpenSans-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "GC Open Sans"; src: url("../fonts/OpenSans-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "GC Open Sans"; src: url("../fonts/OpenSans-BoldItalic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --gc-text: #000;
  --gc-blue: #0000ff;
  --gc-blue-50: rgba(0, 0, 255, .5);
  --gc-light: #e0ebff;
  --gc-line: #000;
  --gc-grey-line: #dbdbdb;
  --gc-crumb: #428bca;
  --gc-footer-text: #3c4c50;
  --gc-font: Arial, Helvetica, sans-serif;
}
body.gc-font-opensans { --gc-font: "GC Open Sans", Arial, Helvetica, sans-serif; }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--gc-text);
  font-family: var(--gc-font);
  font-size: 14px;
  line-height: 150%;
}
img { max-width: 100%; height: auto; border: 0; }

a { color: #000; text-decoration: none; }
a:visited { color: var(--gc-blue); }
a:hover, a:focus { color: var(--gc-blue); text-decoration: underline; }

p { margin: 12px 0; }
h1, h2, h3, h4, h5, h6 { color: #000; font-weight: normal; line-height: 1.2; margin: 10px 0 5px; }
h1 { font-size: 30px; }
h2 { font-size: 28px; }
h3 { font-size: 26px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, h1 a:visited, h2 a:visited, h3 a:visited { color: inherit; }

hr { border: 0; border-top: 1px solid #eee; margin: 20px 0; }
blockquote { margin: 10px 10px 10px 40px; padding: 5px 10px; border-left: 3px solid var(--gc-light); }
table { border-collapse: collapse; }

.visually-hidden, .sr-only, .element-invisible {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.float-start { float: left; } .float-end { float: right; }
.clearfix::after { content: ""; display: table; clear: both; }

/* ---------- Seitenrahmen ---------- */
.gc-page { min-width: 0; }

.gc-header {
  position: relative;
  width: 98%;
  max-width: 1728px;
  min-width: 700px;
  height: 80px;
  margin: 0 auto;
  background: #fff;
}
.gc-logo {
  position: absolute;
  left: .13%;
  top: 0;
  display: block;
  line-height: 0;
}
.gc-logo img { display: block; width: 235px; height: auto; max-height: 75px; }
.gc-logo-text { display: block; font-size: 48px; line-height: 75px; color: #000; }
.gc-logo:hover { text-decoration: none; }

/* ---------- Oberes Menü (Position topmenu) ---------- */
.gc-topnav {
  position: absolute;
  top: 0;
  right: 0;
  height: 26px;
  text-align: right;
  z-index: 50;
}
.gc-topnav ul { list-style: none; margin: 0; padding: 0; }
.gc-topnav > ul, .gc-topnav .mod-menu { display: inline-block; vertical-align: top; }
.gc-topnav .mod-menu > li { position: relative; float: left; margin-left: 4px; }
.gc-topnav .mod-menu > li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0;
  width: 4px;
  height: 26px;
  background: url("../images/menuseparator.png") center center no-repeat;
}
.gc-topnav .mod-menu > li:first-child { margin-left: 0; }
.gc-topnav .mod-menu > li:first-child::before { display: none; }
.gc-topnav .mod-menu > li > a,
.gc-topnav .mod-menu > li > span {
  display: block;
  padding: 0 12px;
  font-size: 12px;
  line-height: 26px;
  height: 27px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
  white-space: nowrap;
  cursor: pointer;
}
.gc-topnav .mod-menu > li > a:hover,
.gc-topnav .mod-menu > li:hover > a,
.gc-topnav .mod-menu > li:hover > span {
  color: var(--gc-blue);
  border-bottom-color: var(--gc-blue-50);
}
.gc-topnav .mod-menu > li.active > a,
.gc-topnav .mod-menu > li.current > a {
  color: var(--gc-blue);
  border-bottom-color: var(--gc-blue);
}
/* Dropdown */
.gc-topnav .mod-menu ul {
  display: none;
  position: absolute;
  right: 0;
  top: 27px;
  min-width: 100%;
  background: #fff;
  border: 1px solid #a3a3a3;
  text-align: left;
  z-index: 60;
}
.gc-topnav .mod-menu ul ul { right: 100%; top: -1px; }
.gc-topnav .mod-menu li:hover > ul,
.gc-topnav .mod-menu li:focus-within > ul { display: block; }
.gc-topnav .mod-menu ul li { position: relative; }
.gc-topnav .mod-menu ul a,
.gc-topnav .mod-menu ul span {
  display: block;
  padding: 0 10px;
  font-size: 10px;
  line-height: 22px;
  color: #000;
  white-space: nowrap;
  text-decoration: none;
}
.gc-topnav .mod-menu ul a:hover,
.gc-topnav .mod-menu ul li:hover > a,
.gc-topnav .mod-menu ul li:hover > span {
  background: var(--gc-blue-50);
  color: #fff;
}

.gc-navtoggle {
  display: none;
  position: absolute;
  top: 6px;
  right: 6px;
  width: 40px;
  height: 34px;
  padding: 0;
  border: 1px solid #000;
  background: #fff;
  cursor: pointer;
}
.gc-navtoggle span,
.gc-navtoggle span::before,
.gc-navtoggle span::after {
  display: block;
  position: absolute;
  left: 9px;
  width: 20px;
  height: 2px;
  background: #000;
  content: "";
}
.gc-navtoggle span { top: 15px; }
.gc-navtoggle span::before { left: 0; top: -6px; }
.gc-navtoggle span::after { left: 0; top: 6px; }

/* ---------- Inhaltsbereich ---------- */
.gc-sheet {
  width: 98%;
  max-width: 1728px;
  min-width: 700px;
  margin: 0 auto;
  border-top: 1px solid var(--gc-line);
}

/* Breadcrumbs (Core-Ausgabe von mod_breadcrumbs, ohne Override) */
.gc-breadcrumbs { font-size: 14px; line-height: 20px; padding: 0; margin: 0 0 10px; }
.gc-breadcrumbs .moduletable, .gc-breadcrumbs nav { margin: 0; padding: 0; }
.gc-breadcrumbs ol, .gc-breadcrumbs ul { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-wrap: wrap; align-items: center; background: none; }
.gc-breadcrumbs .mod-breadcrumbs__here,
.gc-breadcrumbs .mod-breadcrumbs__divider { display: none; }
.gc-breadcrumbs li { display: inline-flex; align-items: center; margin: 0; padding: 0; }
.gc-breadcrumbs .mod-breadcrumbs__item + .mod-breadcrumbs__item::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin: 2px 6px 0 7px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid #f39c12;
}
.gc-breadcrumbs a, .gc-breadcrumbs a:visited { color: var(--gc-crumb); text-decoration: none; }
.gc-breadcrumbs a:hover { color: #2a6496; text-decoration: underline; }
.gc-breadcrumbs .active, .gc-breadcrumbs li:last-child span { color: #000; }

/* Zweispaltiges Layout */
.gc-layout { display: table; table-layout: fixed; width: 100%; border-collapse: collapse; }
.gc-sidebar,
.gc-content { display: table-cell; vertical-align: top; }
.gc-sidebar { width: 28%; border-right: 1px solid var(--gc-line); padding: 0 0 30px; }
.gc-content { padding: 0 0 20px; }
.gc-content-inner { margin: 10px; }

/* ---------- Modul-Chrome "gcblock" ---------- */
.gc-block { margin: 0 0 10px; padding: 5px; }
.gc-block-title { font-size: 16px; font-weight: bold; margin: 5px 0 8px; padding: 0 5px; }
.gc-block ul:not(.mod-menu):not(.mod-menu__sub) { list-style: none; padding-left: 0; }
.gc-block ul:not(.mod-menu):not(.mod-menu__sub) li { padding-left: 13px; background: url("../images/blockbullets.png") 0 6px no-repeat; }

/* ---------- Vertikales Menü (Position sidebar-left) ---------- */
.gc-sidebar .mod-menu,
.gc-sidebar .mod-menu ul { list-style: none; margin: 0; padding: 0; }
.gc-sidebar .mod-menu > li { margin: 0; padding: 0; }
.gc-sidebar .mod-menu > li > a,
.gc-sidebar .mod-menu > li > span,
.gc-sidebar .mod-menu > li > button > span.mod-menu__heading,
.gc-sidebar .mod-menu > li > button > span.separator {
  display: block;
  padding: 2px 0 2px 5px;
  font-size: 16px;
  line-height: 30px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.gc-sidebar .mod-menu > li > a:hover,
.gc-sidebar .mod-menu > li > span:hover,
.gc-sidebar .mod-menu > li > button:hover > span { background: var(--gc-light); color: #000; text-decoration: none; }
.gc-sidebar .mod-menu > li.current > a,
.gc-sidebar .mod-menu > li.active > a,
.gc-sidebar .mod-menu > li.active > span,
.gc-sidebar .mod-menu > li.active > button > span { color: var(--gc-blue); }

/* Untermenüs: nur im aktiven Pfad bzw. per Klick geöffnet */
.gc-sidebar .mod-menu ul { display: none; margin: 4px 0; }
.gc-sidebar .mod-menu li.active > ul,
.gc-sidebar .mod-menu li.gc-open > ul { display: block; }
.gc-sidebar .mod-menu ul a,
.gc-sidebar .mod-menu ul span {
  display: block;
  padding-left: 24px;
  font-size: 13px;
  line-height: 24px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.gc-sidebar .mod-menu ul ul a,
.gc-sidebar .mod-menu ul ul span { padding-left: 48px; }
.gc-sidebar .mod-menu ul ul ul a,
.gc-sidebar .mod-menu ul ul ul span { padding-left: 72px; }
.gc-sidebar .mod-menu ul ul ul ul a,
.gc-sidebar .mod-menu ul ul ul ul span { padding-left: 96px; }
.gc-sidebar .mod-menu ul a:hover,
.gc-sidebar .mod-menu ul span:hover { background: var(--gc-light); color: var(--gc-blue); text-decoration: none; }
.gc-sidebar .mod-menu ul li.current > a,
.gc-sidebar .mod-menu ul li.active > a { color: var(--gc-blue); }
.gc-sidebar .mod-menu ul ul { margin: 0; }
/* Joomla 5/6 (mod_menu): Menüüberschriften/Trennzeichen MIT Unterpunkten werden in
   <button class="mod-menu__toggle-sub"> eingebettet – der Button muss sichtbar bleiben. */
.gc-sidebar .mod-menu li > button.mod-menu__toggle-sub {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
/* Reine Pfeil-Buttons hinter echten Links ausblenden (Pfad öffnet sich automatisch) */
.gc-sidebar .mod-menu li > a ~ button.mod-menu__toggle-sub { display: none; }
.gc-sidebar .mod-menu .icon-chevron-down { display: none; }

/* ---------- Beiträge ---------- */
.gc-content .page-header h1,
.gc-content .page-header h2,
.gc-content h1.gc-pagetitle {
  margin: 0 0 10px;
  padding: 6px 0 6px 1px;
  font-size: 26px;
  font-weight: normal;
  line-height: 1.3;
  color: #000;
  background: var(--gc-light);
  border-top: 1px solid var(--gc-grey-line);
  border-bottom: 1px solid var(--gc-grey-line);
}
.gc-content .page-header h1 a,
.gc-content .page-header h2 a { color: #000; }
.gc-content .page-header h1 a:hover,
.gc-content .page-header h2 a:hover { color: var(--gc-blue); }
.gc-content .page-header { margin: 0; }
.gc-content .page-header + .page-header h2 { margin-top: 10px; }

.gc-content .item-page,
.gc-content .com-content-article,
.gc-content .blog-item,
.gc-content .item { margin: 0 0 20px; }
.gc-content .com-content-article__body,
.gc-content [itemprop="articleBody"] { padding: 0 10px; }
.gc-content img { margin: 10px; }
.gc-content img.gc-noimgmargin { margin: 0; }

.gc-content ul:not([class]),
.gc-content [itemprop="articleBody"] ul { list-style: none; padding-left: 20px; }
.gc-content ul:not([class]) > li,
.gc-content [itemprop="articleBody"] ul > li {
  padding-left: 16px;
  background: url("../images/postbullets.png") 0 6px no-repeat;
}
.gc-content ol { padding-left: 34px; }

.article-info, .gc-content dl.article-info {
  margin: 0 0 10px;
  font-size: 12px;
  color: #666;
}
.article-info dt { display: none; }
.article-info dd { display: inline-block; margin: 0 12px 0 0; }

.gc-content table td, .gc-content table th { padding: 2px 5px; vertical-align: top; }

.readmore a, .btn, button.btn, input[type="submit"], .button {
  display: inline-block;
  padding: 4px 12px;
  font: inherit;
  font-size: 13px;
  color: #000;
  background: #fff;
  border: 1px solid #a3a3a3;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
}
.readmore a:hover, .btn:hover, input[type="submit"]:hover, .button:hover {
  background: var(--gc-light);
  color: var(--gc-blue);
  text-decoration: none;
}
.btn-primary { border-color: #000; }

/* Formulare (Login, Kontakt usw.) */
input[type="text"], input[type="email"], input[type="password"], input[type="search"],
input[type="tel"], input[type="url"], input[type="number"], select, textarea, .form-control {
  max-width: 100%;
  padding: 4px 6px;
  font: inherit;
  color: #000;
  background: #fff;
  border: 1px solid #a3a3a3;
  border-radius: 0;
}
input:focus, select:focus, textarea:focus { outline: 1px solid var(--gc-blue); border-color: var(--gc-blue); }
.control-group, .mb-3 { margin-bottom: 10px; }
label { display: inline-block; margin-bottom: 3px; }

/* Seitennavigation / Pagination */
.pagination, .pagenav { list-style: none; padding: 0; margin: 15px 0; display: flex; flex-wrap: wrap; gap: 4px; }
.pagination li a, .pagination li span, .pagenav a {
  display: inline-block; padding: 2px 8px; border: 1px solid #dbdbdb; color: #000;
}
.pagination li.active span, .pagination li.active a { background: var(--gc-light); color: var(--gc-blue); }

/* Systemmeldungen */
#system-message-container { margin: 0 0 10px; }
joomla-alert, .alert { display: block; padding: 8px 12px; margin: 0 0 10px; border: 1px solid #dbdbdb; background: var(--gc-light); }
joomla-alert[type="danger"], .alert-danger, .alert-error { background: #fde8e8; border-color: #e0a0a0; }
joomla-alert[type="warning"], .alert-warning { background: #fff6dd; border-color: #e6cf8b; }
joomla-alert[type="success"], .alert-success { background: #e8f6e8; border-color: #a6d6a6; }

/* ---------- Footer ---------- */
.gc-footer {
  margin-top: 20px;
  padding: 5px;
  border-top: 1px solid var(--gc-line);
  color: var(--gc-footer-text);
  font-size: 13px;
}
.gc-footer p { margin: 0; }
.gc-footer a, .gc-footer a:visited { color: #000; text-decoration: none; }
.gc-footer a:hover { color: #2cc3ed; text-decoration: none; }
.gc-footer-table { width: 100%; border-collapse: collapse; }
.gc-footer-table td { width: 50%; padding: 0; border: 0; vertical-align: top; }
.gc-footer-table td.gc-footer-right { text-align: right; }
.gc-footer-right a { font-size: 13px; }

/* ---------- Cookie-Hinweis (Plugin "redim cookiehint") – optionales Styling ---------- */
#redim-cookiehint {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
  padding: 8px 70px; background: rgba(150, 150, 150, .8); color: #fff; font-size: 14px;
}
#redim-cookiehint .cookiecontent { float: left; max-width: 85%; }
#redim-cookiehint .cookiebuttons { float: right; }
#redim-cookiehint .btn { background: #333; color: #fff; border: 1px solid #2cc3ed; padding: 5px 10px; }
#redim-cookiehint .clr { clear: both; }

/* ---------- Fehler- & Offline-Seite ---------- */
.gc-errorbox, .gc-offlinebox { max-width: 700px; margin: 30px auto; padding: 0 10px 20px; }
.gc-errorcode { font-size: 60px; color: var(--gc-blue); margin: 20px 0 10px; }

/* Absätze im Beitragstext – ausdrücklich, damit kein Editor-/Plugin-CSS sie zurücksetzt */
.gc-content p,
.gc-content [itemprop="articleBody"] p,
.gc-content .com-content-article__body p { margin-top: 12px; margin-bottom: 12px; }

/* =====================================================================
   SPALTEN / RASTER
   1) Eigene, einfache Klassen:  <div class="gc-row"> <div class="gc-col-1-4">…</div> <div class="gc-col-3-4">…</div> </div>
   2) Bootstrap-kompatibel (wie im Original/JSN PageBuilder):
      <div class="row"> <div class="col-md-3 col-sm-3 col-xs-12">…</div> <div class="col-md-6 …">…</div> </div>
   Unter 768 px Breite stehen die Spalten automatisch untereinander.
   ===================================================================== */
.gc-row, .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}
.gc-row > *, .row > [class*="col"] {
  box-sizing: border-box;
  position: relative;
  min-height: 1px;
  padding-left: 10px;
  padding-right: 10px;
  flex: 0 0 100%;
  max-width: 100%;
}
.gc-row + .gc-row, .row + .row { margin-top: 10px; }
/* Erster/letzter Absatz in einer Spalte ohne Zusatzabstand oben/unten */
.gc-row > * > :first-child, .row > [class*="col"] > :first-child { margin-top: 0; }
.gc-row > * > :last-child, .row > [class*="col"] > :last-child { margin-bottom: 0; }
/* Bilder in Spalten: keine Außenränder, nie breiter als die Spalte */
.gc-content .gc-row img, .gc-content .row img { margin: 0; max-width: 100%; height: auto; }
/* Optional: Spalten vertikal mittig  */
.gc-row.gc-middle, .row.gc-middle { align-items: center; }

@media (min-width: 768px) {
  .gc-row > .gc-col { flex: 1 1 0; max-width: none; }
  .gc-row > .gc-col-1-2 { flex: 0 0 50%; max-width: 50%; }
  .gc-row > .gc-col-1-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .gc-row > .gc-col-2-3 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .gc-row > .gc-col-1-4 { flex: 0 0 25%; max-width: 25%; }
  .gc-row > .gc-col-3-4 { flex: 0 0 75%; max-width: 75%; }
  .gc-row > .gc-col-1-6 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .gc-row > .gc-col-5-6 { flex: 0 0 83.333333%; max-width: 83.333333%; }
}
/* Bootstrap 3 (xs/sm/md/lg) sowie Bootstrap 4/5 (col, col-N) */
.row > .col { flex: 1 1 0; max-width: none; }
.row > .col-1, .row > .col-xs-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.row > .col-2, .row > .col-xs-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.row > .col-3, .row > .col-xs-3 { flex: 0 0 25%; max-width: 25%; }
.row > .col-4, .row > .col-xs-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.row > .col-5, .row > .col-xs-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.row > .col-6, .row > .col-xs-6 { flex: 0 0 50%; max-width: 50%; }
.row > .col-7, .row > .col-xs-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.row > .col-8, .row > .col-xs-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.row > .col-9, .row > .col-xs-9 { flex: 0 0 75%; max-width: 75%; }
.row > .col-10, .row > .col-xs-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.row > .col-11, .row > .col-xs-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.row > .col-12, .row > .col-xs-12 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
  .row > .col-sm { flex: 1 1 0; max-width: none; }
  .row > .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .row > .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .row > .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .row > .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .row > .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .row > .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .row > .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .row > .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .row > .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
  .row > .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .row > .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .row > .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 992px) {
  .row > .col-md { flex: 1 1 0; max-width: none; }
  .row > .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .row > .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .row > .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .row > .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .row > .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .row > .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .row > .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .row > .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .row > .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .row > .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .row > .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .row > .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 1200px) {
  .row > .col-lg { flex: 1 1 0; max-width: none; }
  .row > .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .row > .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .row > .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .row > .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .row > .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .row > .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .row > .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .row > .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .row > .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .row > .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .row > .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .row > .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}
/* Bild links/rechts mit umfließendem Text (ohne Spalten) */
.gc-img-left, img.pull-left, img.float-start  { float: left;  margin: 0 15px 10px 0 !important; }
.gc-img-right, img.pull-right, img.float-end { float: right; margin: 0 0 10px 15px !important; }
.gc-clear, .clearfix::after { clear: both; }
.clearfix::after { content: ""; display: table; }
/* Bild mit Rahmen wie im Original (img-thumbnail) */
.img-thumbnail, .gc-thumb {
  display: inline-block;
  max-width: 100%;
  height: auto;
  padding: 4px;
  line-height: 1.42857;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}
/* Mobil: umfließende Bilder nicht mehr floaten, wenn es eng wird */
@media (max-width: 479px) {
  .gc-img-left, .gc-img-right, img.pull-left, img.pull-right, img.float-start, img.float-end { float: none; display: block; margin: 0 0 10px 0 !important; }
}


/* ---------- Druck ---------- */
@media print {
  .gc-topnav, .gc-navtoggle, .gc-sidebar, .gc-breadcrumbs, #redim-cookiehint { display: none !important; }
  .gc-layout, .gc-content { display: block; }
}

/* ---------- Responsive (Tablet/Smartphone) ---------- */
@media (max-width: 767px) {
  .gc-header, .gc-sheet { min-width: 0; width: 100%; }
  .gc-header { height: auto; min-height: 80px; padding: 3px 54px 3px 8px; }
  .gc-logo { position: static; display: inline-block; }
  .gc-logo img { width: 200px; }
  .gc-navtoggle { display: block; top: 22px; right: 8px; }
  .gc-topnav {
    display: none;
    position: static;
    height: auto;
    margin: 8px -54px 4px -8px;
    text-align: left;
    border-top: 1px solid #000;
  }
  .gc-header.gc-menu-open .gc-topnav { display: block; }
  .gc-topnav > ul, .gc-topnav .mod-menu { display: block; }
  .gc-topnav .mod-menu > li { float: none; margin: 0; }
  .gc-topnav .mod-menu > li::before { display: none; }
  .gc-topnav .mod-menu > li > a,
  .gc-topnav .mod-menu > li > span { font-size: 14px; line-height: 36px; height: auto; padding: 0 12px; border-bottom: 1px solid #dbdbdb; }
  .gc-topnav .mod-menu ul { display: block; position: static; border: 0; }
  .gc-topnav .mod-menu ul a, .gc-topnav .mod-menu ul span { font-size: 13px; line-height: 30px; padding-left: 28px; }

  .gc-breadcrumbs { padding: 4px 8px; }
  .gc-layout, .gc-sidebar, .gc-content { display: block; width: 100%; }
  .gc-sidebar { border-right: 0; border-bottom: 1px solid var(--gc-line); padding-bottom: 5px; }
  .gc-content-inner { margin: 10px 8px; }
  .gc-footer-table, .gc-footer-table tbody, .gc-footer-table tr, .gc-footer-table td { display: block; width: 100%; text-align: center !important; }
  #redim-cookiehint { padding: 8px 12px; }
  #redim-cookiehint .cookiecontent { float: none; max-width: none; margin-bottom: 6px; }
  #redim-cookiehint .cookiebuttons { float: none; text-align: right; }
}
