*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Helvetica,Arial;  sans-serif;
  line-height: 1.5;
  color: #222;
  background: #f2f2f2;
}
img {
  border: :0;
}

.img-responsive {
  width:100%;
  height:auto;
}

img.responsive {
  width:100%;
  height:auto;
}

/* Gesamtseite: 980px breit, mittig zentriert */
.page {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
}

/* Kopfbereich mit Logo und Hamburger-Button */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 16px 20px; */
  background: #fff;
  color: #000;
  background-repeat: no-repeat;
  background-size:792px auto;
}
.logo {
  min-height:135px;
}



/* Dreispaltiges Grid: 188px | flexibel | 188px */
.layout {
  display: grid;
  grid-template-columns: 188px 1fr 188px;
}

.menu    {  background: #fff; }
.content-box {
  padding: 4px 20px 20px 20px;
  min-width: 0;
  border-left: 2px solid #ACBEDC;
  border-top: 2px solid #ACBEDC;
  border-bottom: 4px solid #fff;
  margin-right: 2px;
  min-height:600px;

}
.content-box-legal {
  padding: 4px 4px; min-width: 0;
  border-left: 2px solid #ACBEDC;
  border-top: 2px solid #ACBEDC;
  margin-right: 2px;
  min-height: 30px;

}
.content-box-legal-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width:360px;
  font-size: 12px!important;
}
.content-box-legal-center > ul > li {
  position: relative;
  white-space: nowrap;
  float: left;

}




.content {
/* background-image: url('fileadmin/pathologie/seitengrafiken/middlebg614x3.png'); */
/* background-repeat: repeat-y; */

  margin-left: 0px;
  margin-top: 0px;
}

normal_responsive_breit {

}

.halb_responsive_breit_links {
  width:50%;
  display:block;
  float:left;
}

.halb_responsive_breit_rechts {
  width:50%;
  display:block;
  float:right;
}

.contact {
  /* background-image: url('fileadmin/pathologie/seitengrafiken/rightcontent188x3.png'); */
  background-repeat: repeat-y;
  background-position: 0px 0px;
}
.contact p {
  margin-top: 2px;
  line-height: 16px;
}
.contact-box {
  padding: 0px 4px 4px 4px;
  background: #EAEAF4;
  border-left: 2px solid #ACBEDC;
  border-top: 2px solid #ACBEDC;
  margin-bottom: 20px;

}
.contact-box-tel {
  padding: 0px 4px 4px 4px; background: #EAEAF4;
  border-left: 2px solid #ACBEDC;
  border-top: 2px solid #ACBEDC;
}

.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block;
  color: #2c3e50;
  text-decoration: none;
  border-bottom: 2px solid #fff;
  display: block;
  margin-bottom: 1px;
  text-align: left;
  line-height: 28px;
  border-style: none;
  border-width: 0px;
  padding: 2px;
  text-decoration: none;
  position: relative;
  width: 184px;
  height: 28px;
  color: #000;
  text-decoration: none;
  font-size: 12px;
  padding: 0px 0px 0px 10px;
  border-left: 2px solid #ACBEDC;
  border-top: 2px solid #ACBEDC;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.menu a:hover, .menu a:focus {
  background: #EAEAF4;
  color: #003399;
  text-decoration: underline;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
}

.menu a.aktiv {
  color: #003399;
  font-weight: bold;

}

.contact h2 { margin-top: 0; font-size: 1.1rem; }
.contact address { font-style: normal; }
.contact {

}

.content-box-legal-list {
  position: relative;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
  }

.content-box-legal-address,.content-box-legal-tel {
  display: none;
}
.showicofont {display: none}

.contenttable {font-family: Helvetica, Arial;}

figure.table {
  width:90%!important;
  margin-left: 0px;
}
table {
width:100%!important;
font-family: Helvetica, Arial;
letter-spacing:-0.02em;
/* background-color: rgba(0, 0, 0, 0.2); */
}
td {
  padding: 0px 10px 10px 0px;
  margin: 0px 10px 0 0;
  vertical-align: top;

}

td:first-child{
   white-space: nowrap;
   width: 100px;
}

td:nth-child(2){

}

.page_nummer5 td:first-child{
   white-space: nowrap;
   width: 50%;
}

 .page_nummer41 .otto {
   max-width:220px;
   float:left;
   border: 1px solid #ccc;
 }

.mail strong {
  font-weight: normal!important;
}

/* Unter 980px: nur noch die Mittelspalte, Menü wird zum Hamburger-Menü */
@media (max-width: 979px) {
  .burger,.showicofont { display: block; }

  .layout { grid-template-columns: 1fr; }
  .contact,
  .neue_suche_2022,
  .kesearchbox { display: none; }


  .content-box-legal {
    padding: 20px 24px;
    border-left: 0px solid #ACBEDC;
    border-top: 2px solid #ACBEDC;
    margin-right: 2px;
    width:100%;
    min-height: 250px;
    background: #EAEAF4;


  }

    .content-box-legal p, .content-box-legal ul {
    margin-top: 2px;
    line-height: 16px;
  }

  .content-box-legal-address {
    display: block;
    position: relative;
    margin-left: 0;
    margin-right: 0;
    float: left;
    width:42%;
    min-height: 150px;
    padding: 2px 4px 0 2px;
    /* background: #cca; */
  }

  .content-box-legal-tel {
    display: block;
    position: relative;
    margin-left: 0;
    margin-right: 0;
    float: left;
    width:26%;
    min-height: 150px;
    padding: 2px 4px 0 2px;
    /* background: #ccb; */
  }

  .content-box-legal-center {
    display: block;
    position: relative;
    margin-left: 0;
    margin-right: 0;
    float: left;
    width:32%;
    min-height: 150px;
    padding: 2px 4px 0 2px;
    /* background: #cca; */

  }

  .content-box-legal-center > ul > li {
    position: relative;
    float: left;
    left:0px;
    top:0px;
    width: 100%;

  }

  .menu {
    display: none;
    position: absolute;
    top: 133px;            /* direkt unter dem Kopfbereich */
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0;
    box-shadow: 0 6px 12px rgba(0,0,0,.2);
  }
  .menu.open {
    display: block;
  }

  .menu a {
    /* background-image: url('fileadmin/pathologie/seitengrafiken/space.png'); */
    width: 100%;
    height: 34px;
    display: block;
    padding: 4px 16px;
    text-decoration: none;
    /* border-bottom: 1px solid #d5dbdd; */
          }
}

/* Hamburger – nur mobil sichtbar */
.hamburger {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1001;
  width: 44px;
  height: 44px;
  background: #044391;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  margin-bottom: 5px;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger span:last-child {
  margin-bottom: 0;
}

/* Mobile Menü */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background: #fff;
  z-index: 1000;
  padding: 70px 20px 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;

  /* Scrollbar bei vielen Einträgen */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* smoothes Scrollen auf iOS */
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  color: #044391;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid #ACBEDC;
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}

.overlay.visible {
  display: block;
}

/* ===== MOBILE (unter 980px) ===== */
@media (max-width: 979px) {
  .wrapper {
    width: 100%;
    display: block;
  }

  .sidebar-left,
  .sidebar-right {
    display: none;
  }

  .main {
    padding: 24px 20px;
    padding-top: 70px;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu {
    display: block;
  }
}
