/* Local fonts */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/titillium-web-normal-latin-ext-400.woff2') format('woff2');
  unicode-range:
    U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/titillium-web-normal-latin-400.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/titillium-web-normal-latin-ext-600.woff2') format('woff2');
  unicode-range:
    U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/titillium-web-normal-latin-600.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/titillium-web-normal-latin-ext-700.woff2') format('woff2');
  unicode-range:
    U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/titillium-web-normal-latin-700.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Colors and document defaults */
:root {
  --green: #b6cf2d;
  --pale: #effbab;
  --hover: #c8cea7;
  --text: #333;
}
* {
  box-sizing: border-box;
}
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
strong,
ul,
li,
header,
nav,
main,
article,
aside,
section,
footer,
table,
tbody,
tr,
td,
figure {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
html {
  min-height: 100%;
  background: var(--green)
    url('/assets/images/Buergstein-Bender-Kinderaerzte-Ludwigsburg-Hintergrund_3.png') repeat left
    top;
}
body {
  min-height: 100%;
  color: var(--text);
  font:
    400 13px/1.5 'Titillium Web',
    sans-serif;
  background: transparent;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  color: var(--hover);
}
strong {
  font-weight: 700;
}
img {
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
}
.clear {
  clear: both;
  display: block;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Page shell */
#wrapper {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  background: var(--pale);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
#header {
  background: #fff;
}
.brand {
  display: block;
  width: 95.6%;
  margin: 0 2.2%;
  padding-bottom: 24px;
}
.brand img {
  display: block;
  height: 200px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

/* Desktop navigation */
#access {
  position: relative;
  z-index: 3;
  padding: 0 20px;
  background: var(--green);
}
.menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
  text-transform: uppercase;
}
.menu > li {
  position: relative;
  list-style: none;
}
.menu a,
.submenu-trigger {
  display: block;
  padding: 15px 24px;
  border: 0;
  background: none;
  color: #000;
  line-height: 19.5px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.menu a:hover,
.submenu-trigger:hover,
.menu .current-menu-item > a,
.menu .current-menu-item > .submenu-trigger {
  background: rgba(255, 255, 255, 0.2);
  color: #000;
}
.sub-menu {
  display: none;
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--green);
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
  display: block;
}
.sub-menu li {
  min-width: 190px;
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  list-style: none;
}
.sub-menu a {
  min-width: 240px;
  padding: 5px 24px;
  font-size: 13px;
  font-weight: 400;
  line-height: 33px;
  text-align: left;
  text-transform: none;
}
.sub-menu a:hover {
  background: rgba(182, 207, 45, 0.9);
}
.nav-toggle {
  display: none;
}

/* Page content */
#container {
  clear: both;
  margin: 1.6%;
}
#content {
  float: left;
  width: 66.7%;
  padding: 20px;
  background: #fff;
}
.entry-content {
  font-size: 15px;
  line-height: 1.62;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin: 0 0 18px;
  font-weight: 600;
  line-height: 1.5;
}
.entry-content h1,
.entry-content h2 {
  font-size: 24px;
}
.entry-content h3 {
  font-size: 24px;
}
.entry-content h4 {
  font-size: 18px;
}
.entry-content p {
  margin-top: 10px;
  line-height: 1.5;
}
.entry-content ul {
  margin: 0 0 0 20px;
  list-style-type: square;
  line-height: 1.5;
}
.entry-content li {
  list-style-type: square;
}
.entry-content .ul-startseite1,
.entry-content .ul-startseite2 {
  margin-left: 35px;
  margin-bottom: 10px;
  line-height: 1.2;
}
.entry-content .ul-startseite2 {
  margin-bottom: -5px;
}
.entry-content .ul-seite-links {
  margin-bottom: 20px;
  line-height: 1.3;
}
.entry-content .top10 {
  margin-top: 10px;
}
.startseite {
  margin-top: 2px !important;
}
.banner {
  padding-top: 50px;
  margin-bottom: -25px !important;
}
.banner img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}
.notfall {
  font-size: 18px;
}
.anfahrt {
  font-size: 13px;
}

/* Practice information */
.sidebar {
  float: left;
  width: 33.3%;
  color: #000;
}
.widget-column {
  display: contents;
}
.widget {
  margin: 4.87%;
  font-weight: 600;
}
.widget h3 {
  margin: -7px 0 5px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.5;
}
.widget p {
  margin-top: 10px;
  line-height: 1.5;
}
.hours > div {
  display: grid;
  grid-template-columns: 72px 75px 1fr;
  column-gap: 3px;
  align-items: start;
}
.hours small {
  font-size: 12px;
}
.phone {
  display: flex;
  align-items: center;
  height: 20px;
}
.phone img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.map-image {
  width: 300px;
  display: block;
}

/* Footer */
#copyright {
  clear: both;
  display: flex;
  justify-content: space-between;
  padding: 1.4% 3.2%;
  background: #afce02;
  border-top: 1px solid rgba(255, 255, 255, 0.145);
  color: #fff;
  font-weight: 300;
}
#copyright a {
  color: #fff;
}
#copyright a:hover {
  color: var(--pale);
}
.legal {
  text-align: right;
}

/* Page-specific layouts */
.cv-box {
  padding: 0;
  border: 0;
  line-height: 1.3;
}
.cv-bild {
  float: left;
  width: 28%;
}
.cv-box.cv-rechts {
  float: right;
  width: 70%;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
}
.cv-jahr {
  grid-column: 1;
  white-space: nowrap;
}
.cv-text {
  grid-column: 2;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cv-box.cv-rechts > h1,
.cv-alles,
.cv-box.cv-rechts > .leerzeile {
  grid-column: 1/-1;
}
.leerzeile {
  clear: both;
  padding-top: 15px;
}
.mitgliedschaft-links {
  float: left;
  width: 20%;
}
.mitgliedschaft-rechts {
  float: left;
  margin-left: 10px;
}
.mitgliedschaft-alles {
  float: left;
  width: 100%;
}
.fl-left {
  float: left;
  margin-right: 10px;
}
.vorsorge-links {
  float: left;
  min-width: 7%;
}
.vorsorge-rechts {
  float: left;
}
.clear_both {
  clear: both;
}
.team-links {
  float: left;
  width: 50%;
}
.team-rechts {
  float: left;
  width: 50%;
}

/* Image slider */
.image-slider {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.image-slider .slides {
  margin: 0 !important;
  list-style: none;
}
.image-slider .slides > li {
  display: none;
  width: 100%;
  margin: 0;
  list-style: none;
}
.image-slider .slides > li:first-child {
  display: block;
}
.image-slider .slides img {
  display: block;
  width: 100%;
  height: auto;
}
.slider-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}
.slider-controls > button {
  width: 32px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.88);
  color: #333;
  font-weight: 700;
  cursor: pointer;
}
.slider-dots {
  display: flex;
  gap: 6px;
}
.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
.slider-dots button.is-active {
  background: #fff;
}

/* Responsive layouts */
@media (max-width: 1152px) {
  #wrapper {
    max-width: 960px;
  }
}
@media (max-width: 960px) {
  #wrapper {
    max-width: 760px;
  }
  .brand {
    margin: 0 10px;
    width: calc(100% - 20px);
  }
  .brand img {
    height: auto;
    margin: 0;
  }
  #access {
    padding: 0 5px;
  }
  .menu a,
  .submenu-trigger {
    padding: 15px;
  }
  #container {
    margin: 2.2%;
  }
  #content,
  .sidebar {
    width: 100%;
  }
  .sidebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
  .widget-column {
    display: block;
    min-width: 0;
  }
  .sidebar .widget {
    float: none;
    width: auto;
    margin: 6.7%;
  }
  #copyright {
    padding: 1.7% 4.3%;
  }
}
@media (max-width: 760px) {
  #wrapper {
    max-width: 380px;
  }
  .brand {
    width: calc(100% - 20px);
    margin: 0 10px;
    padding-bottom: 16px;
  }
  .brand img {
    width: 100%;
    height: auto;
  }
  .nav-toggle {
    position: absolute;
    z-index: 30;
    top: 10px;
    right: 10px;
    display: block;
    width: 42px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: rgba(182, 207, 45, 0.96);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    cursor: pointer;
  }
  .nav-toggle::before,
  .nav-toggle::after {
    content: '';
    position: absolute;
    left: 10px;
    width: 22px;
    height: 2px;
    background: #1f1f1f;
    transition:
      top 0.2s ease,
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }
  .nav-toggle::before {
    top: 11px;
    box-shadow: 0 7px 0 #1f1f1f;
  }
  .nav-toggle::after {
    top: 25px;
  }
  .nav-toggle[aria-expanded='true']::before {
    top: 18px;
    box-shadow: none;
    transform: rotate(45deg);
  }
  .nav-toggle[aria-expanded='true']::after {
    top: 18px;
    transform: rotate(-45deg);
  }
  #access {
    position: absolute;
    z-index: 25;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    background: none;
    pointer-events: none;
  }
  .menu {
    display: block;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    background: var(--green);
    text-align: left;
    transition:
      max-height 0.25s ease,
      margin-top 0.25s ease;
  }
  #access.is-open {
    pointer-events: auto;
  }
  #access.is-open .menu {
    max-height: 900px;
    margin-top: 213px;
  }
  .menu > li {
    display: block;
  }
  .menu a,
  .submenu-trigger {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    line-height: 40px;
    text-align: left;
  }
  .menu-item-has-children:hover > .sub-menu,
  .menu-item-has-children:focus-within > .sub-menu {
    display: none;
  }
  .menu-item-has-children.submenu-open > .sub-menu {
    display: block;
  }
  .sub-menu {
    position: static;
    min-width: 0;
    background: #f3fbc0;
  }
  .sub-menu a {
    min-width: 0;
    padding-left: 20px;
    background: #f3fbc0;
    color: #000;
  }
  #container {
    margin: 0;
  }
  #content {
    float: none;
    width: auto;
    margin: 10px;
    padding: 20px;
  }
  .entry-content {
    font-size: 17px;
    line-height: 1.62;
  }
  .sidebar {
    display: block;
    float: none;
    width: 100%;
  }
  .widget-column {
    display: contents;
  }
  .sidebar .widget {
    float: none;
    width: auto;
    margin: 3.4%;
    padding-top: 8px;
  }
  .sidebar .widget:last-child {
    clear: none;
  }
  .cv-bild,
  .cv-box.cv-rechts,
  .team-links,
  .team-rechts {
    float: none;
    width: 100%;
  }
  .cv-box.cv-rechts {
    clear: both;
    column-gap: 12px;
  }
  .team-rechts {
    padding-top: 30px;
  }

  #copyright {
    display: block;
    padding: 1.7% 6.5%;
    line-height: 2;
  }
  .legal {
    display: block;
    text-align: left;
  }
  .banner {
    margin-bottom: -25px !important;
  }
}
@media (max-width: 390px) {
  .hours > div {
    grid-template-columns: 68px 72px 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
