/*
#------------------------------------------------------------------------
# Mo - January Joomla! template (for Joomla 2.5)
#
# Copyright (C) 2007-2013 Gavick.com. All Rights Reserved.
# License: Copyrighted Commercial Software
# Website: http://www.gavick.com
# Support: support@gavick.com 
*/

/* Here you can include your override CSS styles */

article#k2Container .itemImageBlock img:hover {
-webkit-transform: none;
-moz-transform: none;
-ms-transform: none;
-o-transform: none;
transform: none;
}

.frontpage .gkLogo {
  display: none;
}

#aside-menu-toggler, #mobile-menu-toggler, #static-aside-menu-toggler {
margin: 10px 0 0 !important; }

/* Modernisierte Hauptnavigation – ergänzt das bestehende Template, ohne dessen Menüfunktion zu verändern */
@media screen and (min-width: 821px) {
  #gkMainMenu {
    float: right;
    max-width: 100%;
  }
  #gkMainMenu .gkMenu {
    margin: 18px 0 12px;
  }
  #gkMainMenu .gkMenu > ul.gkmenu.level0 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
  }
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li {
    float: none;
    height: auto;
    line-height: 1.25;
    margin: 0;
    padding: 0;
  }
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li > a {
    display: flex;
    align-items: center;
    min-height: 42px;
    height: auto;
    line-height: 1.25;
    padding: 11px 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
  }
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li:hover > a,
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li > a:focus-visible {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.28);
    color: #fff !important;
    outline: none;
  }
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li.active > a,
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li > a.active {
    background: #fff;
    border-color: #fff;
    color: #0065a1 !important;
    box-shadow: 0 3px 10px rgba(0,35,65,.12);
  }
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li.haschild > a::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: 9px;
    margin-top: -3px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: .85;
  }
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li > .childcontent {
    top: calc(100% - 2px);
    left: 0;
    min-width: 220px;
    padding: 7px;
    border: 1px solid #e2eaf1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(20,48,70,.16);
    overflow: hidden !important;
    z-index: 9999;
  }
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li:hover > .childcontent,
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li:focus-within > .childcontent {
    display: block;
  }
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li > .childcontent .childcontent-inner,
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li > .childcontent .gkcol {
    background: transparent;
    padding: 0;
  }
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li > .childcontent ul {
    padding: 0;
    margin: 0;
  }
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li > .childcontent li {
    height: auto;
    line-height: 1.4;
    margin: 0;
    padding: 0;
  }
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li > .childcontent a {
    display: block;
    padding: 11px 13px;
    border-radius: 7px;
    color: #243b4d !important;
    font-size: 14px;
    line-height: 1.35;
    text-transform: none;
    transition: background-color .15s ease, color .15s ease;
  }
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li > .childcontent a:hover,
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li > .childcontent a:focus-visible {
    background: #edf6fb;
    color: #0065a1 !important;
    outline: none;
  }
}

@media screen and (max-width: 820px) {
  #gkMainMenu .gkMenu > ul.gkmenu.level0 > li > .childcontent {
    border-radius: 8px;
  }
}


/* Startseite: dezente, zentrierte Logo-Box mit eigener Einblendanimation */
.custom.gk-header3 {
  position: relative;
  /* Etwas mehr Höhe bewahrt den Bildausschnitt des ursprünglichen Headers */
  min-height: 625px;
  box-sizing: border-box;
}
.custom.gk-header3 .hero-brand-panel {
  display: block;
  width: max-content;
  max-width: min(92%, 620px);
  box-sizing: border-box;
  margin: 0 auto;
  transform: none;
  padding: 20px 32px 17px;
  /* Helleres, leicht transparentes Blau: Bild bleibt sichtbar, Schrift lesbar */
  background: rgba(15, 100, 145, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 24, 43, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.custom.gk-header3 .hero-brand-panel > div {
  margin: 0 auto;
  line-height: 0;
}
.custom.gk-header3 .hero-brand-logo {
  margin-bottom: 15px !important;
}
.custom.gk-header3 .hero-brand-panel img {
  display: block;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .custom.gk-header3 {
    min-height: 0;
  }
  .custom.gk-header3 .hero-brand-panel {
    width: fit-content;
    max-width: 94%;
    transform: none;
    padding: 14px 16px 12px;
    border-radius: 13px;
  }
  .custom.gk-header3 .hero-brand-logo {
    margin-bottom: 11px !important;
  }
}

/* Version 11: Logo etwas größer, Box mittig und leicht tiefer; Foto vollständig sichtbar */
.custom.gk-header3 {
  min-height: 0;
  width: 100%;
  aspect-ratio: 1321 / 842;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #e8e8e5;
}
.custom.gk-header3 .hero-brand-panel {
  flex: 0 1 auto;
  width: min(500px, 86%);
  max-width: 86%;
  padding: 17px 24px 15px;
  margin: 42px auto 0;
  background: rgba(24, 111, 153, 0.28);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.custom.gk-header3 .hero-brand-logo { margin-bottom: 11px !important; }
.custom.gk-header3 .hero-brand-logo img { width: min(145px, 100%); }
.custom.gk-header3 .hero-brand-wordmark img { width: min(380px, 100%); }
@media (max-width: 600px) {
  .custom.gk-header3 .hero-brand-panel { width: min(330px, 86%); padding: 10px 12px; margin-top: 18px; }
  .custom.gk-header3 .hero-brand-logo { margin-bottom: 6px !important; }
  .custom.gk-header3 .hero-brand-logo img { width: min(82px, 100%); }
  .custom.gk-header3 .hero-brand-wordmark img { width: min(250px, 100%); }
}

/* Einheitliches Erscheinungsbild: dezente, abgerundete Ecken im gesamten Layout */
:root {
  --praxis-radius-sm: 7px;
  --praxis-radius-md: 10px;
  --praxis-radius-lg: 14px;
}

/* Buttons und klickbare Bedienelemente */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.button,
a.button,
.btn,
.readon,
input[type="file"]::file-selector-button {
  border-radius: var(--praxis-radius-sm);
}

/* Eingabefelder und Auswahlfelder */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
  border-radius: var(--praxis-radius-sm);
  max-width: 100%;
  box-sizing: border-box;
}

/* Tabellen, Informationsbereiche und Content-Karten */
article,
.item-page .itemBody,
.blog .items-row .item,
.category .item,
.contact,
.contact-form,
.profile,
.pagination ul,
.pager li a,
.k2Pagination ul,
table.category,
table.contentpaneopen,
.system-message-container .alert,
.alert,
.well {
  border-radius: var(--praxis-radius-md);
}

/* Bilder im redaktionellen Inhalt leicht abrunden, nicht das große Header-Hintergrundbild */
.item-page .itemBody img,
article img,
.gkItem img {
  border-radius: var(--praxis-radius-sm);
}

/* Tastaturfokus bleibt gut erkennbar */
button:focus-visible,
a.button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(0, 101, 161, 0.55);
  outline-offset: 2px;
}


/* Startseite: Leistungs- und Internet-Buttons wieder untereinander anordnen */
#gkBottom3 .custom.centered > p:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
#gkBottom3 .custom.centered > p:first-child > a.gk-big-btn {
  display: block;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 !important;
  border-radius: 10px;
}
