@media screen and (max-width: 1440px) {
  #address {
    display: none;
  }

  #mannheimer-schrift-und-urkundenlabor .preview-box {
    padding: 300px 0 0 0;
  }

}

@media screen and (max-width: 1300px) {
  .navigation {
    position: fixed;
    width: 300px;
    height: 100vh;
    top: -100px;
    right: -333px;
    padding: 200px 0 0 0;
    background: white;
    -webkit-box-shadow: 0px -6px 12px 7px rgba(0,0,0,0.25);
    box-shadow: 0px -6px 12px 7px rgba(0,0,0,0.25);
  }

  .navigation a {
    display: block;
    margin: 0 0 50px 20px;
    font-family: var(--bold-font);
    color: black;
    font-weight: 400;
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
  }

  #hamburger {
    display: block;
  }

  .preview-box h1,
  .preview-box h2 {
  	font-size: 1.8rem;
    border-bottom: 5px solid var(--secondary-blue);
  }

  .preview-box p {
  	font-size: 1.3rem;
  }

}

@media screen and (max-width: 975px) {
  p {
  	font-size: 1.2rem;
  }

  .preview-box h1,
  .preview-box h2 {
  	font-size: 1.5rem;
    border-bottom: 5px solid var(--secondary-blue);
  }

  .preview-box p {
    font-weight: 600;
  	font-size: 1.2rem;
  }

  .preview-box-title {
  	width: 40%;
  }

  .preview-box-image {
  	width: 60%;
  }

  .accordion {
    width: 95%;
  }

  .box-content {
    font-size: 1.2rem;
  }

}

@media screen and (max-width: 800px) {

  #banner {
    height: 100vh;
  }

  #banner-content {
    width: 60%;
  }

  #spacer {
  display: none;
  }

  .content {
    width: 95%;
  }

  .preview-box-title {
    width: 40%;
  }

  .preview-box-image {
    width: 60%;
  }

  .article-text > p {
    margin: 3% 5%;
    font-size: 1.3rem;
  }

  #kontakt h4 {
    margin: 80px 0 0 100px;
  }

  p.kontaktname {
    display: block;
    margin: 30px 0 0 100px;
  }

  #kontakt p.adresse {
    margin: 10px 0 0 100px;
  }

}

@media screen and (max-width: 670px) {
  .accordion {
    margin: 0 auto 150px auto;
  }

  .box-content {
    font-size: 1.2rem;
  }

  .box-title img {
  	width: 200px;
  }

  input:checked + .box {
  	height: auto;
  }

}

@media screen and (max-width: 600px) {
  h1 {
  	font-size: 2rem;
  	letter-spacing: -0.1rem;
  }

  #banner h2 {
  	margin: 15px 0;
    font-size: 1.3rem;
    line-height: 1;
  }

  #banner p {
    margin: 30px 0 0 0;
  	font-size: 1.2rem;
  	line-height: 1.2;
  }

  p {
    font-size: 1rem;
    line-height: 1.5;
  }

  #banner {
    height: 85vh;
  }

  img.dot-divider {
  	margin: 0 5px 0 12px !important;
	  padding: 0 0 1px 0;
    width: 8px;
  }

  .preview-box-title {
    width: 100%;
    margin: 0;
  }

  .preview-box-image {
    display: none;
  }

  .preview-box h1,
  .preview-box h2 {
  	margin: 3% 0 20px 0;
  	font-size: 2rem;
  	letter-spacing: normal;
  	border-bottom: 5px solid var(--secondary-blue);
  }

  .article-text li {
    font-size: 1rem;
  }

  .box-content {
    font-size: 1.2rem;
  }

  .box-title {
    font-size: 1.2rem;
  }

  .box-title img {
  	width: 200px;
  	height: auto;
  	float: right;
  }

  input:checked + .box {
  	height: auto;
  }

  a.box-link {
    width: 200px;
  }

  blockquote p {
    width: 100%;
  }

}

@media screen and (max-width: 470px) {
  .article-text > p {
    font-size: 1.2rem;
    line-height: 1.3;
    hyphens: auto;
  }

  #banner-content {
    width: 90%;
    top: 20%;
  }

  #banner-content img {
  	margin: 30px 0;
  	width: 150px;
  }

  #banner h2 {
    font-size: 1.2rem;
  }

  .preview-box {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    justify-content: space-around;
  }

  .preview-box h2 {
  	font-size: 1.7rem;
  }

  .article-text .wp-block-pullquote {
  	width: 90%;
  }

  .wp-block-pullquote p {
    line-height: 1.4 !important;
  }

  .article-text ul, ol {
    list-style-type: none;
    padding-left: 0;
    margin: 30px 0 30px 15%;
  }

  #kontakt h4 {
    margin: 13px 0 0 50px;
  }

  p.kontaktname {
    margin: 13px 0 0 50px;
  }

  #kontakt p.adresse {
    margin: 13px 0 0 50px;
    font-size: 1rem;
  }

  .box-title img {
    width: 100%;
    margin: 15px 0 0 0;
  }

  .box-content {
  	width: calc(100% - 40px);
  	padding: 10px 20px 40px 20px;
  	font-size: 1rem;
  	line-height: 1.2;
    hyphens: auto;
  }

  a.box-link {
    width: 40%;
  }

  #hamburger {
  	top: 30px;
  	right: 20px;
  }

}

@media screen and (max-width: 360px) {
  a.box-link {
    display: none;
  }

}

@media screen and (max-width: 320px) {
  h1 {
    font-size: 1.9rem !important;
  }

  #banner h2 {
    font-size: 1rem;
  }

  #banner p {
    margin: 20px 0 0 0;
    font-size: 1rem;
  }

  img.dot-divider {
    height: 10px !important;
    width: 10px !important;
  }

}

@media screen and (max-height: 900px) {
  h1 {
    font-size: 2rem;
  }

  #banner-content {
    top: 15%;
  }

}

@media screen and (max-height: 760px) {
  #banner h2 {
    font-size: 1.3rem;
  }

  #banner p {
  	font-size: 1rem;
  }

  img.dot-divider {
  	padding: 0 0 2px 0;
  }

  #banner {
    height: 100vh;
  }

  article {
  	padding: 120px 0 0 0;
  }

  #spacer {
    display: none;
  }

}

@media screen and (max-height: 580px) {
    #banner {
      height: 650px;
    }

}

@media screen and (max-height: 540px) {
  .navigation {
  	margin: 20px 0 0 0;
  }

  .navigation a {
    margin: 0 0 30px 20px;
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

}

@media screen and (max-height: 380px) {
  .article-text > p,
  .article-text li {
  	font-size: 1.0rem;
  	font-weight: 300;
  	line-height: 1.5;
  }

  #banner-content img {
  	margin: 20px 0 5px 0;
  	width: 140px;
  	height: auto;
  }

  h1 {
    font-size: 2.0rem;
  }

  #banner h2 {
  	margin: 20px 0 60px 0;
  }

}
