@media screen and (max-width: 1440px) {
	
	#main_logo {
        position: fixed !important;
        top: 25px !important;   
        width: 200px !important;  
        right: 30px; 
        transition: none !important;
    }
	
	#menu_bar_background {
        opacity: 1 !important;
    }

    /* 1. Den Desktop-Menü-Hintergrund immer voll sichtbar machen, wenn Menü offen */
    body.mobile-menu-open #menu_bar_background {
        opacity: 1 !important;
        pointer-events: auto;
    }

    /* Responsive Button */
    .responsive_menu_button {
        position: fixed;
        top: 34px;
        left: auto; 
        width: 48px;
        height: 32px;
        cursor: pointer;
        z-index: 120;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .responsive_menu_button span {
        display: block;
        width: 48px;
        height: 4px;
        background-color: #FFFFFF;
        transition: all 0.3s ease-in-out;
        transform-origin: left center;
    }

    /* Animation zum X */
    .responsive_menu_button.active span:nth-child(1) {
        transform: rotate(33deg);
        width: 53px; 
    }

    .responsive_menu_button.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .responsive_menu_button.active span:nth-child(3) {
        transform: rotate(-33deg);
        width: 53px;
    }

    /* Die Menübar umbauen */
    .top_frame_menubar {
        position: fixed !important;
        top: 100px !important; 
        left: 0 !important;
        width: 100% !important;
        height: 0; 
        flex-direction: column;
        gap: 0;
        background-color: var(--infinite_tango);
        overflow: hidden;
        transition: height 0.4s ease-in-out;
        padding: 0;
        z-index: 150;
    }

    .responsive_menu_button.active + .top_frame_menubar {
        height: calc(100vh - 100px) !important; 
    }

    /* Die Buttons im mobilen Menü */
    .top_frame_menubar a {
        width: 100%;
        height: 36px;
        display: flex;
        align-items: center;
        padding: 0 30px; /* Seitlicher Abstand wie im Wrapper */
        border-bottom: none !important;
        font-size: 20px;
        background-color: var(--infinite_tango);
    }

    .top_frame_menubar a:hover,
    .top_frame_menubar a.active {
        background-color: #FFFFFF !important;
        color: var(--infinite_tango) !important;
        border-bottom: none !important;
    }

    /* Submenüs mobil komplett ausblenden */
    .topframe_menubar_sub {
        display: none !important;
    }
    
    .menu_item_with_sub {
        width: 100%;
        height: auto;
    }

	body {
		font-size: 18px;
	}


/* ------------------------------------------------------------------------------------ 
     _____  ____   ___    ______ ____ _   __ ______
    / ___/ / __ \ /   |  / ____//  _// | / // ____/
    \__ \ / /_/ // /| | / /     / / /  |/ // / __  
   ___/ // ____// ___ |/ /___ _/ / / /|  // /_/ /  
  /____//_/    /_/  |_|\____//___//_/ |_/ \____/   
                                                   
/* ------------------------------------------------------------------------------------ */

.spacing_40  { height: 30px; }
.spacing_50  { height: 44px; }
.spacing_60  { height: 50px; }
.spacing_70  { height: 50px; }
.spacing_80  { height: 70px; }
.spacing_90  { height: 70px; }
.spacing_100 { height: 75px; }


/* ------------------------------------------------------------------------------------ 
    __  ___________    ____  __    ____ _   __ ______ ___
   / / / / ____/   |  / __ \/ /   /  _/  | / // ____/ ___/
  / /_/ / __/ / /| | / / / / /    / / /  |/ // __/  \__ \   
 / __  / /___/ ___ |/ /_/ / /___ / / / /|  // /___ ___/ / 
/_/ |_/_____/_/  |_/_____/_____/___/_/  |_//_____//____/   
                                                               
/* ------------------------------------------------------------------------------------ */

	h2 {
		font-size: 6.9vw !important;
	}

	.page-home h2 {
		font-size: 7.5vw !important;
	}

	.h2_subheadline {
		font-size: 3.5vw !important;
		margin-top: 1.5vw !important;
		margin-bottom: 0.8vw !important;
	}	
	
	h3 {
		font-size: 26px;
		margin-bottom: 20px;
	}

	.page-ueber_uns h3,
	.page-anfrage h3 {
		font-size: 48px !important;
	}
		
	h4 {
		font-size: 34px;
	}

	.page-ueber_uns h4,
	.page-anfrage h4 {
		font-size: 26px !important;
	}	
	
	.page-anfrage_danke h4,
	.page-anfrage_ohje h4 {
		font-size: 48px !important;
	}
	
	h5 {
    font-size: 28px !important; 
	}

	.quotation {
		font-size: 40px !important; 
		padding-top: 100px !important; 
		padding-bottom: 100px !important; 
	}
	
	.content_headline {
		font-size: 20px;
		padding-top: 20px;
		padding-bottom: 10px;
	}	

	h6 {
		font-size: 32px;
		letter-spacing: 0.2em; /* 120% Laufweite */
		margin-top: 50px;
		margin-bottom: 18px;
	}


/* ------------------------------------------------------------------------------------ 
   ______ ____  ____   ______ ____   ___     __  ___ ______ 
  /_  __// __ \/ __ \ / ____// __ \ /   |   /  |/  // ____/ 
   / /  / / / / /_/ // /_   / /_/ // /| |  / /|_/ // __/    
  / /  / /_/ / ____// __/  / _, _// ___ | / /  / // /___    
 /_/   \____/_/    /_/    /_/ |_|/_/  |_|/_/  /_//_____/    
                                                            
/* ------------------------------------------------------------------------------------ */
	
	#top_frame {
    height: 70vw;
	}
	
	.top_frame_container {
    height: 70vw;
	}

	a.top_frame_cta_button {
        width: 300px !important;
        height: 36px !important;
    }

    /* Schriftgröße und Zentrierung in den Flächen */
    .cta_front, 
    .cta_back {
        font-size: 19px !important;
    }
	
	/* --- VORTEILSBOXEN TOP FRAME PRINT --- */

	.flex_box_4col_topframe_wrapper {
        position: absolute;
        bottom: 3vw !important; 
        left: 0;
        width: 100%;
        z-index: 30;
    }

    /* Die einzelnen Boxen skalieren */
    .flex_box_4col_topframe_box {
        min-height: 68px !important;
        font-size: 1.4vw !important; 
        padding: 10px !important;
    }	
	
	/* Print Unterseiten print_all_detail */
	.top_frame_iconbox {
		width: 180px !important;
		height: 180px !important;
		min-width: 180px !important; 
		margin-right: 23px !important; 
	}

	.top_frame_iconbox img {
		width: 180px !important;
	}
	
/* ------------------------------------------------------------------------------------ 
   __________  _   _______________   ________
  / ____/ __ \/ | / /_  __/ ____/ | / /_  __/
 / /   / / / /  |/ / / / / __/ /  |/ / / /   
/ /___/ /_/ / /|  / / / / /___/ /|  / / /    
\____/\____/_/ |_/ /_/ /_____/_/ |_/ /_/     
   
/* ------------------------------------------------------------------------------------ */	
	
	/* --- Flexbox 5-spaltig wird 4-spaltig --- */	
	.flex_box_5col { gap: 16px; }
    .flex_box_5col > * { flex: 0 0 calc((100% - (3 * 16px)) / 4); }
	.flex_box_4col { gap: 2.2vw; }
	.flex_box_4col > * { flex: 0 0 calc((100% - (3 * 2.2vw)) / 4 - 1px); }
	.flex_box_3col { gap: 3vw; }
	.flex_box_3col > * { flex: 0 0 calc((100% - (2 * 3vw)) / 3 - 1px); }
	
	.flex_box_5col_headline {
    font-size: 1.5vw;
	}
	
	/* FLEX BOX 5 COL DRUCK KACHELN */
	
	.page-print .flex_box_5col_headline {
        font-size: clamp(16px, 1.5vw, 24px) !important;
    }	
	
	/* ----------------- */
	
	.flex_box_3col_headline {
		font-size: 2.5vw !important;
		padding-bottom: 20px;
	}

	.flex_box_3col_text {
		font-size: 18px !important;
	}
	
	.flex_box_3col img {
		max-width: 180px !important; 
	}
	
	.flex_box_2col_detailtext {
		font-size: 17px;
	}
		
	/* --- FLEX BOX 2-COL UNIT BUTTONS --- */

	.flex_box_2col_button_headline_container {
		height: 180px;
	}

	.flex_box_2col_button_headline {
		font-size: 36px;
	}
	
	/* ============== CTA Button in der content frame ============== */

	.content_frame_cta_button {
		min-height: 64px;
		padding: 14px 22px;
	}

	.content_frame_cta_button span {
		font-size: 28px;
	}

	.content_frame_cta_button:hover {
		box-shadow: 0 0 16px 4px var(--infinite_tango);
	}
	
	/* --- REFERENZ BOX auf Unterseite Projekte --- */

	.reference_box_client {
		font-size: 32px !important; 
	}
	
	/* Kontakt-Boxen auf der Seite Über uns */
	.contact_box {
		padding: 18px;
		min-height: 340px;
	}
	
	.contact_box_image {
        width: 292px !important;
    }

	.contact_box_name {
		font-size: 34px;
		padding-bottom: 10px;
	}

	.contact_box_unit {
		font-size: 14px;
	}
	
	/* ------------- KONTAKTFORMULAR ------------------------*/

	.contact_form_headline {
		font-size: 20px !important;
		margin-bottom: 12px !important;
	}

	.contact_form_box {
		margin-bottom: 12px !important;
		padding: 20px 18px !important;
	}

	.contact_form_fillin_text {
		font-size: 24px !important;
	}

	/* Checkbox Bereich */
	.checkbox_container_grid {
		gap: 9px 18px !important;
	}

	.contact_form_check_box {
		height: 36px !important;
		width: 36px !important;
		margin-right: 8px !important;
	}

	/* Das Kreuz (Lightbox-Style) in der Checkbox */
	.contact_form_check_box:checked::before,
	.contact_form_check_box:checked::after {
		width: 22px !important;
	}

	.contact_form_text {
		font-size: 22px !important;
	}

	/* Custom Resize Dreieck unten rechts */
	.textarea_box::-webkit-resizer {
		background-size: 22px 22px !important;
	}

	.contact_form_sendbutton {
		min-height: 60px !important;
		margin-top: 38px !important;
		padding: 13px 22px !important;
	}

	.contact_form_sendbutton span {
		font-size: 26px !important;
	}

	.contact_form_sendbutton:hover {
		box-shadow: 0 0 12px 3px var(--infinite_tango) !important;
	}

	.contact_form_infotext {
		font-size: 17px !important;
		margin-top: 26px !important;
	}
	
	/* Die 4 Vorteilsboxen im Print content_frame */
	.flex_box_4col_contentframe_box {
		padding: 18px !important;
	}

	.flex_box_4col_contentframe_box_headline {
		font-size: 20px !important;
		margin-bottom: 14px !important;
	}
	

/* ------------------------------------------------------------------------------------ 
   _____  ____   ______ ______ ____ ___     __      ______ ____   ___   __  ___ ______ 
  / ___/ / __ \ / ____// ____//  _//   |   / /     / ____// __ \ /   | /  |/  // ____/ 
  \__ \ / /_/ // __/  / /     / / / /| |  / /     / /_   / /_/ // /| |/ /|_/ // __/    
 ___/ // ____// /___ / /___ _/ / / ___ | / /___  / __/  / _, _// ___ // /  / // /___    
/____//_/    /_____/ \____//___//_/  |_|/_____/ /_/    /_/ |_|/_/  |_|/_/  |_//_____/   

/* ------------------------------------------------------------------------------------ */

.flex_box_4col_headline {
    font-size: 1.7vw !important; 
    margin-bottom: 12px !important; 
}

.special_box {
    padding: 16px;
}

.special_box img {
    width: 180px;
    height: auto;
}

/* Kontakt-Boxen auf der Seite Anfrage */

.inquiry_box {
    padding: 20px 20px;
    height: 100%;
	min-height: 200px;
}

/* Inquiry Boxen werden hier schon 2-spaltig */
.flex_box_4col:has(.inquiry_box) {
    display: flex !important;
    justify-content: space-between !important;
    gap: 20px !important; 
}

.flex_box_4col > .inquiry_box {
    flex: 0 0 calc((100% - 20px) / 2) !important;
    max-width: calc((100% - 20px) / 2) !important;
}

/* Headlines */
.inquiry_box_headline {
    font-size: 26px;
    padding-bottom: 18px;
}

/* Kontakt-Texte (Bold/Medium) */
.inquiry_box_contact {
    font-size: 20px;
}

.inquiry_box_text {
    font-size: 16px;
}

.inquiry_box_action {
	font-size: 19px !important;
}


/* ------------------------------------------------------------------------------------ 
    ______ ______ ______ ____   ____   ___   ______ __  __ ______ ____   ___     __  ___ ______ 
   / ____// ____// ____// __ \ / __ \ /   | / ____// / / // ____// __ \ /   |   /  |/  // ____/ 
  / /_   / __/  / __/  / / / // __  // /| |/ /    / //  // __/  / /_/ // /| |  / /|_/ // __/    
 / __/  / /___ / /___ / /_/ // /_/ // ___ / /___ / __  // /    / _, _// ___ / / /  / // /___    
/_/    /_____//_____//_____//_____//_/  |_|\____/_/ /_//_/    /_/ |_|/_/  |_|/_/  |_//_____/   

/* ------------------------------------------------------------------------------------ */

.feedback_text {
    font-size: 19px !important; 
}

.feedback_box_headline {
    font-size: 40px !important; 
    margin: 40px 0 4px 0 !important; 
}

.feedback_box_client {
    font-size: 19px !important; 
}
	
	
/* ------------------------------------------------------------------------------------ 
    __________  ____  ________________ 
   / ____/ __ \/ __ \/_  __/ ____/ __ \
  / /_  / / / / / / / / / / __/ / /_/ /
 / __/ / /_/ / /_/ / / / / /___/ _, _/ 
/_/    \____/\____/ /_/ /_____/_/ |_|  

/* ------------------------------------------------------------------------------------ */

	/* Unter 1440px: Wechsel auf 3 Spalten x 2 Zeilen */
    .footer_textblock_6col {
        width: 30%;
        margin-bottom: 50px;
    }

}
	

/* Desktop-Sichtbarkeit des Responsive Buttons steuern */
@media screen and (min-width: 1441px) {
    .responsive_menu_button {
        display: none;
    }
}