:root {
  --it-darkblue: #2d4259;
  --it-lightblue: #2a7a96;
  --it-grey: #f3f3f3;
  --it-darkgreen: #167673;
  --it-lightgreen: #00ab8e;
  --it-white: white;
  --it-black: black;
}

body {
  margin: 0;
}

.it26 h1{
 color: var(--it-black);
 font-size: 1.6rem;
 padding-top: 1rem;
 padding-left: 0;
}
.it26 h2{
 color: var(--it-black);
 font-size: 1.4rem;
 padding-top: 1rem;
 padding-left: 0;
}
.it26 h3{
 color: var(--it-darkblue);
 font-size: 1.0rem;
 padding-top: 1rem;
 padding-left: 0;
}
.it26{
  text-align: left;
  font-size: 0.9rem;
}

.it26 a{
  color: var(--it-black);
}
.it26 a:visited{
  background-color: transparent;
  background: transparent;
  color: inherit;
}
.it26 a:hover{
  text-decoration: underline;
  color: var(--it-lightgreen) !important;
  background-color: transparent;
  background: transparent;
}
.it26 a:active, .it26 a:focus{
  background-color: transparent;
  background: transparent;
  color: var(--it-black);
}



/* ===== Seitenlayout ===== */
.it-page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}
.it-header, .it-main, .it-footer {
  width: 100%;
}
.it-header{
  font-family: Arial, sans-serif;
  position: relative;
  background-color: var(--it-darkblue);
  height: 400px;
  overflow: hidden;
  color: var(--it-white);
}
.it-header::before{
  content:"";
  position: absolute;
  inset: 0;
  background: var(--it-darkgreen);
  clip-path: polygon(0 0, 70% 0, 75% 80%, 0 90%);
  z-index:0;
}
.it-header-content {
  z-index: 1;
  position: relative; /* damit es über header-green liegt */
  display: grid;


  grid-template-columns: 70% 25%;
  text-align: left;
  height: 100%;
  gap: 5%;
  padding: 0;
}

.it-header-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: start;
  height: 100%;
  gap: 50px;
}
.it-header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  margin-right: 10%;
  overflow:hidden;
}

.it-header-right img {
  width: auto;  
  height: auto;
  max-width: 95%;
  max-height: 90%;
}

.it-header-text h1 {
  font-size: 3rem;
  padding: 0;
  
}
.it-header-text {
  margin-left: 50px;
}

/* Navigation */
.it-header-nav {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  font-size: 0.9rem;
  row-gap: 1em;
  column-gap: 0;
}
.it-header-nav > * + *::before {
  content: "|";
  margin: 0 1.5ch;
  opacity: 0.5;
}
.it-header-nav .nav26_aktiv {
  opacity: 0.5;
}
.it-header-nav p {
  color: var(--it-white);
  margin: 0;
}
.it-header-nav a {
  color:var(--it-white);
  text-decoration: none;
}
.it-header-nav a:hover {
  text-decoration: underline;
}
.it-top-nav {
  display: flex;
  align-items: center;        
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  row-gap: 0.5em;
  column-gap: 0; 
  position: fixed;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;

  background-color: var(--it-white);
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  
  z-index: 1000;
  padding: 0;
  margin: 0; 
  opacity: 0;
  transition: top 0.3s ease, opacity 0.3s ease; 
}
.it-top-nav.show {
  top: 0;
  opacity: 1;
}
.it-top-nav > * + *::before {
  content: "|";
  margin: 0 1.5ch;
  opacity: 0.5;
}
.it-top-nav .nav26_aktiv {
  opacity: 0.5;
}
.it-top-nav p {
  color: var(--it-black);
  margin: 0;
}
.it-top-nav a {
  color:var(--it-black);
  text-decoration: none;
}

.it-top-nav a:hover {
  text-decoration: underline;
}
#burgerToggle{
  display:none;
}
.it-burger-button{
  display:none;
  position:absolute;
  top:355px;
  left:15px;
  font-size:32px;
  cursor:pointer;
  color:var(--it-white);
  z-index:1200;
}
.it-burger-button:hover {
  color: var(--it-lightgreen);   
  transform: scale(1.1);       
}

.it-burger-close{
  
  display:inline-block;
  
  font-size:30px;
  cursor:pointer;
  color:var(--it-white);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
 
}

.it-burger-close:hover {
  transform: rotate(90deg) scale(1.1);
  color:var(--it-lightgreen);
}
.it-burger-nav{
  position:fixed;
  top:0;
  left:-200px;
  width:200px;
  height: 100%;
  background:var(--it-white);
  padding:0;
  opacity:0;
  transition: left 0.3s ease, opacity 0.3s ease;
  box-shadow: 3px 0 10px rgba(0,0,0,0.15);
  display:flex;
  flex-direction:column;
  gap:0;
  align-items: center;        
  justify-content: flex-start;
  z-index:1100;
}

.it-burger-nav a,
.it-burger-nav p,
.it-burger-nav h1,
.it-burger-nav div:has(> .it-burger-close) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  border-bottom: 1px solid var(--it-black);
  padding: 10px 10px;
  text-align: center;
}
.it-burger-nav div:has(> .it-burger-close) {
  margin-bottom: 20px;
}
div > span:has(+ .it-burger-close) {
    color: var(--it-white);
    font-weight: bold;
    font-size: 1.5rem;
}
.it-burger-nav > div:first-of-type {
    background-color: var(--it-darkblue);
}
.it-burger-nav a::after {
    content: " \203A"; /* Unicode für › */
}
.it-burger-nav a:last-child,
.it-burger-nav p:last-child,
.it-burger-nav div:has(> .it-burger-close) {
  border-bottom: none;
}
.it-burger-nav a:has(+ h1),
.it-burger-nav p:has(+ h1) {
  border-bottom: none;
}


.it-burger-nav .nav26_aktiv {
  opacity: 0.5;
  background-color: var(--it-lightgreen);
}
.it-burger-nav p {
  color: var(--it-black);
  margin: 0;
}
.it-burger-nav h1 {
  color: var(--it-black);
  margin: 2em 0 0 0;
}
.it-burger-nav a {
  color:var(--it-black);
  text-decoration: none;
}
.it-burger-nav a:hover {
  background-color: var(--it-darkgreen);
  color: var(--it-grey);
}
#burgerToggle:checked ~ .it-burger-nav{
  left:0;
  opacity:1;
}
#burgerToggle:checked ~ .it-burger-button{
  display:none;
}


@media (max-width:800px){

  .it-burger-button{display:block;}
 

}
.it-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.25);
  backdrop-filter: blur(4px) brightness(0.85);

  opacity:0;
  pointer-events:none;

  transition:opacity 0.3s ease;

  z-index:1050;
}
#burgerToggle:checked ~ .it-overlay{
  opacity:1;
  pointer-events:auto;
}



.it-main{
  background-color: var(--it-white);
}
.it-footer{
  background-color: var(--it-darkblue);
  min-height: 150px;
}
footer > .it-container {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  grid-template-rows: auto auto;
  gap: 10px;
  height: 100%;
}

footer > .it-container > div:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  justify-content: flex-start; 
  align-items: flex-end;
}
footer > .it-container > div:nth-child(1) > img {
  width: auto;  
  height: auto;
  max-width: 20vw;
  max-height: 80%;
  margin-bottom: 20px;
}

footer > .it-container > div:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  justify-content: flex-start; 
  align-items: flex-start;
  width:fit-content;
  margin: 8px auto 0 auto;
}

footer > .it-container > div:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  justify-content: flex-start; 
  align-items: flex-start;
  width:fit-content;
  margin: 8px auto 0 auto;
}

footer > .it-container > div:nth-child(4) {
  grid-column: 2 / span 2;
  grid-row: 2;
  display: flex;
  flex-direction: row;
  gap: 1ch;
  justify-content: flex-end; 
  align-items: flex-end;
  margin: 0 0 8px 0;                  
}

footer p {
  color: var(--it-white);
  margin: 0;
}
footer a {
  color:var(--it-white);
  text-decoration: none;
  
}
footer a:hover {
  text-decoration: underline;
}


.it-container{
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  min-width: 650px;
  padding: 0 20px;
  box-sizing: border-box; /* damit Padding nicht die Breite sprengt */
  
}

.it-card{
  background-color: var(--it-white);
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* vertikal */
  align-items: center;     /* horizontal */
  gap: 0;
  width: 100%;
  padding: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--it-black);
}
.it-card a{
  color: var(--it-black);
  text-decoration: none;
}
.it-card a:hover{
  text-decoration: underline;
  background-color: transparent;
}
.it-card p{
  margin: 5px 0;
}
.it-card:hover {
  transform: scale(1.08); 
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 2; 
}

.it-card-body{
  display: flex;
  flex-direction: column;   /* Inhalte untereinander */
  align-items: flex-start;  /* links ausrichten */
  justify-content: flex-start; /* oben ausrichten */
  gap: 1em;
  
  flex-grow: 1;
  width: 100%;
}
.it-card-body-row{
  display: flex;
  flex-direction: row;   /* Inhalte untereinander */
  align-items: flex-start;  /* links ausrichten */
  justify-content: flex-start; /* oben ausrichten */
  gap: 1em;
  
  flex-grow: 1;
  width: 100%;
}
.it-card-img{
  width: 100%;
  height:auto;
}
.it-card-item-y100{
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;     /* vertikal zentrieren */
  justify-content: center;
  padding: 0;
}
.it-card-item-y100 img{
  height: auto;
  width: auto;  
  max-height: 100%;
  max-width: 95%;
}
 .it-card-block{
  width:100%;
  height: 70px;
  background-color: var(--it-lightgreen);
  color: var(--it-white) !important;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: center; /* horizontal zentrieren */
  align-items: center;     /* vertikal zentrieren */
  text-align: center;
  box-sizing: border-box;
  margin: 0px 0 0 0;
  padding: 0 !important;
}

.it-card.spez {
  gap: 20px;
}
.it-card.spez:hover{
  gap: 0;
}


.it-card.spez > * {
  transition: opacity 0.3s ease;
}

/* Standard: Body ausblenden */
.it-card.spez > .it-card-body {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

/* Standard: alle anderen Kinder sichtbar */
.it-card.spez > *:not(.it-card-body) {
  opacity: 1;
}

/* Hover: Body sichtbar */
.it-card.spez:hover > .it-card-body {
  opacity: 1;
  max-height: 500px; /* genug Platz für Inhalt */
}

/* Hover: alle anderen Kinder ausblenden */
.it-card.spez:hover > *:not(.it-card-body) {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}



.row > [class^="col-"] {
  display: flex;
}


/* Radios ausblenden */
.it-tabs .it-tab-button input[type="radio"] {
  display: none;
}

/* NAV TABS */
.it-tabs .it-nav-tab {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  border-bottom: 2px solid var(--it-grey);
}

.it-tabs .it-nav-tab li {
  margin: 0;
}

.it-tabs .it-nav-tab label {
  display: block;
  font-weight: bold;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: 3px solid transparent;
  color: var(--it-darkgreen);
  border-radius: 5px 5px 0 0;
  margin-bottom: -3px;
  position: relative;
  z-index: 2;
}
.it-tabs .it-nav-tab label:hover {
  background: var(--it-lightgreen);
}

.it-tab-button:has(#tab1:checked) .it-nav-tab li:nth-child(1) label,
.it-tab-button:has(#tab2:checked) .it-nav-tab li:nth-child(2) label,
.it-tab-button:has(#tab3:checked) .it-nav-tab li:nth-child(3) label,
.it-tab-button:has(#tab4:checked) .it-nav-tab li:nth-child(4) label { 
  border-color: var(--it-grey) var(--it-grey) var(--it-darkgreen);
  color: #000;
}
/* TAB CONTENT */
.it-tabs .it-tab-content {
  padding-top: 1rem;
}

.it-tabs .it-tab-pane {
  display: none;
}

/* RICHTIGES UMSCHALTEN */
.it-tabs:has(.it-tab-button #tab1:checked) .it-tab-content .it-tab-pane:nth-child(1),
.it-tabs:has(.it-tab-button #tab2:checked) .it-tab-content .it-tab-pane:nth-child(2),
.it-tabs:has(.it-tab-button #tab3:checked) .it-tab-content .it-tab-pane:nth-child(3),
.it-tabs:has(.it-tab-button #tab4:checked) .it-tab-content .it-tab-pane:nth-child(4) {
  display: block;
}


details.it-accordion {
  width: 100%;
  background: var(--it-grey);
}
details.it-accordion summary {
  color: var(--it-white);
  font-size: 1.0rem;
  height: 2rem;
  cursor: pointer;
  list-style: none;
  background: var(--it-lightgreen);
  display: flex;
  align-items: center;  
  justify-content: space-between; 
  padding: 0 10px 0 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
details.it-accordion summary:hover {
  background-color: var(--it-darkgreen);
  transform: scale(1.02); 
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 2; 
}
details.it-accordion summary::after {
  content: "\002B"; /* + */
  font-weight: bold;
  font-size: 1.2rem;
}
details.it-accordion[open] summary::after {
  content: "\2212"; /* − */
}
.it-tooltip-link {
  position: relative;
  display: inline-block;
}

.it-tooltip-text {
  visibility: hidden;
  opacity: 0;
  background-color: var(--it-darkblue);
  color: var(--it-white);
  text-align: center;
  padding: 5px 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  white-space: nowrap;
}

.it-tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: var(--it-darkblue) transparent transparent transparent;
}

.it-tooltip-link.show .it-tooltip-text {
  visibility: visible;
  opacity: 1;
}


.it26 dl {
  display: grid;
  grid-template-columns: auto 1fr;
}

.it26 dt {
  font-weight: 600;
  padding: 4px 0;
  margin-right: 10px;
}

.it26 dd {
  margin: 0;
  padding: 4px 0;
  border-bottom: 1px solid var(--it-darkblue);
}

.it-address {
  margin-left: 20px;
  line-height: 1.5 !important;
}

.it26 a.it-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 20px;
  margin: 15px;
  border-radius: 12px;

  background: var(--it-lightgreen);
  color: var(--it-white) !important;
  text-decoration: none;
  font-weight: 550;
  
  border: none;
  cursor: pointer;

  box-shadow: 0 8px 20px rgba(0,0,0,0.2);;
  transition: all 0.5s ease;
}
.it26 a.it-button:hover {
  background: var(--it-darkgreen);
}








.it26 .tableba th,.tableba td{border:var(--border);line-height:1.3em;padding:5px 3px;}

.it26 .tableba tr:nth-child(odd),.tablebl tr:nth-child(odd){background-color:var(--it-grey);}
.it26 .tableba tr:nth-child(even),.tablebl tr:nth-child(even){background-color:var(--it-white);}
.it26 .tableba tr:hover,.tablebl tr:hover{background-color:var(--it-lightgreen);}
.it26 .tableba th,.tablebl th{background-color:var(--tblheaderbg);font-weight:bold;}
.it26 .tbh{color:var(--it-white);font-weight:bold;background:var(--it-darkgreen);}
.it26 .tb4{background: var(--it-white);}
.it26 .tb3{background-color: var(--it-lightgreen);}			  
.it26 .tb2{background-color:#f0f0f0;}
.it26 .tb1{background-color:#dde7fb;}
