:root {
  --button-1-image: url("Fotos/Menue_01_a.png");
  --button-2-image: url("Fotos/Menue_02_a.png");
  --button-3-image: url("Fotos/Menue_03_a.png");
  --button-4-image: url("Fotos/Menue_04_a.png");
  --button-5-image: url("Fotos/Menue_05_a.png");
  --button-6-image: url("Fotos/Menue_06_a.png");
  --button-7-image: url("Fotos/Menue_07_a.png");
}

body {
  position: relative;
  min-height: calc(100vh - 40px);   /* for background-image */
  margin: 10px;
  margin-right: 40px;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 14px;

  background-image: var(--background-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#menu-icon {
  position: absolute;
  top: 5px;
  left: 5px;

  width: 32px;
  height: 32px;
  background-image: url("Fotos/menu.png");
  background-size: cover;

  cursor: pointer;
  z-index: 2;

  display: none;
}

.logo {
  justify-self: center;
}

.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.button {
  width: 180px;
  height: 31px;
  border: 0px;
  margin: 3px 0px;
  background: white;
  cursor: pointer;
  box-sizing: content-box;
  background-size: contain;
  background-repeat: no-repeat;
}

.button.button-1 {
  background-image: var(--button-1-image);
}
.button.button-2 {
  background-image: var(--button-2-image);
}
.button.button-3 {
  background-image: var(--button-3-image);
}
.button.button-4 {
  background-image: var(--button-4-image);
}
.button.button-5 {
  background-image: var(--button-5-image);
}
.button.button-6 {
  background-image: var(--button-6-image);
}
.button.button-7 {
  background-image: var(--button-7-image);
}

.container {
  position: relative;
  margin-top: 30px;
  width: calc(100vw - 50px);
  max-width: 1024px;
  display: grid;
  grid-template-columns: 246px auto;
  grid-gap: .5rem;
}

.container .logo {
  height: 203px;
}

.container .content-header {
  width: 100%;
  height: 203px;
}

.container .content-header {
  background-image: var(--header-image);
  background-size: cover;
  background-position: top right;
}

.container.startseite {
  background-image: var(--background-image);
}

/* content */
.content {
  background-color: white;
  padding: 10px;
  line-height: 150%;
}

.content-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
}

.content img {
  max-width: 100%;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* LEISUNGSSPEKTRUM */
.content-leistung {
  display: grid;
  grid-template-columns: 1fr calc(min(210px, 50%));
  grid-gap: .5rem;
}

.content-leistung .title {
  grid-column: span 2;
}


/* PRAXISTEAM */
.content .praxisteam-right {
  align-self: end;
}


/* ANFAHRT */
.content-anfahrt {
  justify-items: center;
}

/* IMPRESSUM */
.content-impressum {
  padding: 0;
}

/* footer */
.footer {
  margin-top: 20px;
  font-size: 12px;
  text-align: center;
}

.footer a {
  text-decoration: none;
  color: black;
}


@media only screen and (max-width: 768px) {
  body {
    margin: 15px;
  }

  .container {
    width: calc(100vw - 30px);
    grid-template-columns: 200px auto;
    margin-top: 5px;
  }

  .content-two-columns {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 600px) {
  .header {
    display: block;
  }

  .container {
    grid-template-columns: 1fr;
  }

  .container .header {
    height: 100px;
  }

  #menu-icon {
    display: inline;
  }

  .nav {
    visibility: hidden;

    position: fixed;
    top: 60px;
    left: 20px;
  
    background-color: rgb(255,255,255,0.7);
    border: 1px solid grey;
  }

  .nav.open {
    visibility: visible !important;
  }

  .nav .button {
    width: 64vw;
    height: 11vw;
  }
}
