@media (max-width: 1800px) {

    .site-inner {
        margin: 0 50px;
        max-width: 100%;
    }

    .js .nav-primary {
        left: -138px;
    }
    
    .home .above-the-fold .inner-box::after {
        left: -66px;
    }

    .above-the-fold img {
        width: 100%;
        object-fit: cover;
    }

    .home .above-the-fold .inner-box::before,
    .page-template-heiraten .above-the-fold .inner-box::before {
        right: 60px;
    }
    
    .home .above-the-fold .inner-box::after {
        transform: scale(0.6);
        left: -56px;
    }

    .home .above-the-fold .inner-box::after {
      left: -56px;
    }

    .home .above-the-fold::after,
    .page-template-heiraten .above-the-fold::after {
      right: -57px;
      transform: scale(0.6);
    }

    .specials .flex::before {
        transform: scale(0.18);
        left: -170px;
    }

    .specials .flex::after {
        transform: scale(0.1);
        right: -200px;
    }

    .page-template-seebruecke .slider .inner-box::after {
        right: -100px;
        transform: scale(0.3);
    }

    .view-events::before {
        right: 0px;
        top: 300px;
    }

}

@media (max-width: 1600px) {

    .intro .inner-box {
        max-width: 100%;
        margin: 0;
    }
    
    .events .inner-box {
        max-width: 100%;
        margin: 0;
    }
    
    .anfahrt .inner-box {
        max-width: 100%;
        margin: 0;
    }

    .himmelsleiter .inner-box {
        max-width: 100%;
    }

    #back-to-top {
        left: 14px;
    }

    .checkliste .inner-box::before {
        right: 0;
        transform: scale(0.5);
    }

    .page-template-heiraten .slider .inner-box::before {
        display: none;
    }
  
}

@media (max-width: 1400px) {

    .home .above-the-fold .inner-box::before,
    .page-template-heiraten .above-the-fold .inner-box::before {
        right: 60px;
    }

    .intro .intro-text {
        padding-right: 50px;
    }
    
    .intro .flex:first-of-type::before {
        right: 0;
    }

    .intro .intro-text {
        width: 50%;
    }

    .intro .flex:first-of-type::before {
        right: -53px;
    }

    .intro img {
        width: 50%;
    }

    .events img {
        width: 50%;
    }
  
    .events .events-view {
        width: 50%;
        margin-left: 50px;
    }
  
    .events .events-view::before {
        right: 0;
        top: inherit;
        bottom: 0;
    }

    .feine-dame .links {
        width: 48%;
    }
    
    .feine-dame .rechts {
        width: 48%;
    }
  
    .page-template-seebruecke .slider .inner-box::after {
        display: none;
    }
  
}

@media (max-width: 1200px) {

    body {
        font-size: 20px;
    }

    h1, h2, .page-id-14 .entry-title, .page-id-16 .entry-title {
        font-size: 40px;
    }

    .genesis-nav-menu a {
        font-size: 20px;
    }

    .intro h1,
    .feine-dame h1,
    .heiraten h1 {
        margin: 31px 0 40px;
    }

    .page-template-heiraten .above-the-fold .inner-box::before {
        margin-top: 0;
    }

    .galerie h1 {
        margin: 75px 0 40px;
    }
	
	#wpcf7-f403-p9-o1 form {
		max-width: 100%;
		margin: 0 auto;
	}
  
}

@media (max-width: 1024px) {

    body {
        font-size: 18px;
    }

    .intro .daten {
        max-width: 100%;
    }

    .daten div {
        width: 50%;
    }

    
    .genesis-nav-menu a {
        font-size: 18px;
    }

    .intro .flex:first-of-type::before {
        bottom: 37px;
        transform: scale(0.5);
        right: -124px;
    }
    
    .home .above-the-fold .inner-box::before,
    .page-template-heiraten .above-the-fold .inner-box::before {
        bottom: -40px;
        transform: scale(0.5);
        right: -40px;
    }

    .events .events-view::before {
        right: -67px;
        transform: scale(0.7);
    }

    .special {
        width: 45%;
    }
  
    .special {
        margin: 0 0 3em;
    }

    .special:last-of-type {
        margin: 0;
    }

    div.special:nth-child(4), div.special:nth-child(5), div.special:nth-child(6) {
        margin: 0 0 3em;
    }
    
    h3 {
        font-size: 20px;
    }

    .specials .flex::before {
        display: none;
    }
        
    .specials .flex::after {
        display: none;
    }

    .view-events::before {
        transform: scale(0.5);
        left: -100px;
    }
  
}

@media (max-width: 959px) {

    .dashicons, 
    .dashicons-before::before {
        font-size: 31px;
    }
  
    .menu-toggle:focus, 
    .menu-toggle:hover, 
    .sub-menu-toggle:focus, 
    .sub-menu-toggle:hover {
        color: var(--darkgrey);
    }
    
    .menu-toggle {
        margin-bottom: 0;
        margin-top: 0;
        position: absolute;
        top: 29px;
        right: 50px;
    }

    .js .nav-primary {
        padding: 0 20px 10px;
        left: 0;
        position: inherit;
    }

    /* .site-header > .wrap:first-of-type {
        position: fixed;
        width: 100%;
        background: var(--white);
        z-index: 1;
        left: 0;
    }
        
    .above-the-fold {
        margin-top: 122px;
    } */

}

@media (max-width: 767px) {

    section {
        margin: 0 0 75px 0;
    }

    h3 {
        font-size: 18px;
    }
    
    .site-inner {
        margin: 0 25px;
    }

    .menu-toggle {
        right: 25px;
    }

    .js .nav-primary {
        padding: 0 0 10px;
        margin-left: -5px;
    }
  
    .home .above-the-fold .inner-box::after,
    .home .above-the-fold::after,
    .page-template-heiraten .above-the-fold::after,
    .page-template-heiraten .above-the-fold .inner-box::before {
        display: none;
    }

    .intro .intro-text {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .intro .intro-text {
        padding-right: 0;
    }
    
    .intro img {
        width: 100%;
    }
    
    .events img {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .events .events-view {
        width: 100%;
        margin-left: 0;
    }

    .events .events-view::before {
        right: 0;
    }
    
    .intro h1,
    .feine-dame h1,
    .heiraten h1 {
        margin: 28px 0 28px;
    }
    
    .intro .flex:first-of-type::before {
        bottom: -140px;
        transform: scale(0.3);
        right: -115px;
    }
    
    .intro .flex {
        flex-wrap: wrap;
    }

    .events .flex {
        flex-wrap: wrap;
    }
    
    .intro .daten {
        margin-top: 40px;
    }
    
    .events h2,
    .himmelsleiter h2 {
        margin-bottom: 28px;
    }
    
    .anfahrt h2 {
        margin-bottom: 28px;
    }

    .informationen div {
        width: 50%;
    }

    .anfahrt .informationen {
        max-width: 100%;
    }
  
    .informationen::after {
        left: inherit;
        transform: inherit;
        right: 0;
    }

    .events .events-view li {
        margin-bottom: 20px;
    }

    .feine-dame .links {
        width: 100%;
    }

    .feine-dame .rechts {
        width: 100%;
        margin-top: 28px;
    }

    .feine-dame .spalten {
        max-width: 100%;
        flex-wrap: wrap;
    }
    
    .feine-dame img {
        margin-top: 28px;
    }
    
    .himmelsleiter .links, 
    .himmelsleiter .rechts {
        width: 100%;
    }
    
    .space-between {
        flex-wrap: wrap;
    }
    
    .himmelsleiter p {
        max-width: 100%;
    }
    
    .himmelsleiter .links img {
        margin-top: 28px;
        width: 100%;
        object-fit: cover;
        margin-bottom: 28px;
    }

    .himmelsleiter img:last-of-type {
        width: 100%;
        object-fit: cover;
        max-height: 800px;
        object-position: 50% bottom;
    }

    .page-template-heiraten .above-the-fold .inner-box::before {
        transform: scale(0.5);
        top: inherit;
        bottom: 0;
    }
  
    .page-template-heiraten .above-the-fold .inner-box::before {
        left: -35px;
    }

    .bilder-slider {
        max-width: 100%;
    }

    .bilder-slider .slick-slide img {
        max-width: 100%;
        min-width: 100%;
    }

    .view-events {
        margin-left: 0;
    }
  
    .site-footer {
        margin-top: 0;
    }

    #back-to-top {
        margin-left: 25px;
        position: inherit;
    }

    .heiraten .links, 
    .heiraten .rechts {
        width: 100%;
    }
    
    .heiraten img {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .standesamt {
        width: 100%;
    }
    
    .heiraten img {
        margin-bottom: 40px;
    }

    .special {
        width: 100%;
        margin-bottom: 3em;
    }

    div.special:nth-child(3), 
    div.special:nth-child(4), 
    div.special:nth-child(5), 
    div.special:nth-child(6), 
    div.special:nth-child(7), 
    div.special:nth-child(8) {
        margin: 0;
        margin-bottom: 3em;
    } 

    .special:last-of-type {
        margin-bottom: 0;
    }

    .glaeser .links {
        width: 100%;
        margin-bottom: 40px;
    }
        
    .glaeser .rechts {
        width: 100%;
    }
        
    .glaeser .rechts::before {
        display: none;
    }

    .page-template-heiraten .item,
    .gutschein .item {
        width: 100%;
    }

    .checkliste .inner-box::before {
        display: none;
    }

    .page-template-heiraten .checkliste .flex {
        margin-bottom: 20px;
    }

    .checkliste .bold + p {
        margin-bottom: 20px;
    }
	
	.gutscheine .item {
		width: 100%;
	}
	
	.gutscheine h2 {
		margin-top: 4.5em;
	}
  
}

@media (max-width: 600px) {

    body {
        font-size: 16px;
    }

    h1, h2, .page-id-14 .entry-title, .page-id-16 .entry-title {
        font-size: 32px;
    }

    .genesis-nav-menu a {
        font-size: 16px;
    }

    .intro h1, 
    .feine-dame h1,
    .heiraten h1 {
        margin: 40px 0 28px;
    }
  
    .daten div {
        width: 100%;
        margin-bottom: 28px;
    }

    .events .events-view::before {
        transform: scale(0.5);
    }

    .intro .flex:first-of-type::before {
        bottom: 0;
    }

    .events .events-view::before {
        right: -54px;
    }

    .informationen div {
        width: 100%;
        margin-bottom: 28px;
    }

    .anfahrt .informationen {
        flex-wrap: wrap;
    }

    .events .events-view::before {
        bottom: -71px;
    }

    .informationen::after {
        bottom: 100px;
    }

    .page-template-heiraten .above-the-fold .inner-box::before {
        transform: scale(0.3);
        bottom: -9px;
    }
  
    .page-template-heiraten .above-the-fold .inner-box::before {
        left: -55px;
    }

    .standesamt::before {
        transform: scale(0.2);
        bottom: -190px;
        right: -139px;
    }

    .glaeser li {
        width: 49%;
    }

    .galerie > li:nth-child(3) {
        width: 100%;
        margin-top: 2%;
    }

    .glaeser .galerie img {
        min-height: 200px;
        max-height: 200px;
    }
	
	.gutscheine .aufwand {
		font-size: 16px;
	}
  
}