/*
Theme Name: Steinmetzbeyer2.0
Theme URI: https://wordpress.org/themes/steinmetzbeyer/
Author: Oleh Kondrashov edit: Jxn
Author URI: https://github.com/olegkondrashov
*/


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 14px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.partner-box {
    margin: 30px auto;
    padding: 30px 40px;
    max-width: 900px;

    background: #f4f4f4;
    border-radius: 12px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.1);

    border-left: 6px solid #0066cc;

    text-align: center;
    position: relative;
}

.partner-text {
    font-size: 18px;
    color: #444;
    line-height: 1.7;
}

.partner-text a {
    color: #0066cc;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 5px;
    transition: all 0.25s ease;
    background: rgba(0,102,204,0.08);
}

.partner-text a:hover {
    background: #0066cc;
    color: #fff;
}

/* Öffnung des Bildes */

.image-viewer {
    display: none; /* Versteckt standardmäßig */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.image-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
}

.image-viewer img {
    max-width: 90%;
    max-height: 80%;
    z-index: 1001;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close-viewer {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.close-viewer:hover {
    color: #ddd;
}


/* Allgemeine Header-Styling */
.header {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #fff;
    font-family: Arial, sans-serif;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.header-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dunkler Overlay */
    z-index: 2;
}

.header-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 50px;
}

/* Header-Top: Logo und Navigation */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    width: 100%;
    padding: 10px 50px;
}

.custom-logo-link {
    background: #fff;
    padding: 5px 10px;
    border-radius: 8px;
}

.custom-logo {
    height: 60px !important;
	width: 250px !important;
}

.nav {
    position: relative;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-list a {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #1f1f6e;
}

/* Hamburger-Menü für Mobilgeräte */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 4;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 30px;
    background: #000;
    border-radius: 2px;
}

/* Titelbereich */
.header-title {
    max-width: 60%;
    text-align: left;
    margin: 100px 50px 0;
}

.header-title h2 {
    font-size: 4rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.header-title p {
    font-size: 1.2rem;
    font-style: italic;
}

/* Button */
.header-btn {
    margin: 100px 50px;
}

.header-btn .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.header-btn .btn:hover {
    background: #0055a3;
}


.section {
    margin-bottom: 80px;
}

.section h3{
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.section p{
    font-size: 18px;
}


.team {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 50px;
}

.team-descr {
    line-height: 200%;
    width: 60%;
}


.team-img img{
    max-height: 500px;
    width: 100%;
}



.about-us {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    padding: 80px 40px;
    background-color: #f4f4f4;
    min-height: calc(100vh - 260px);
}



.about-content h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.about-images {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.about-images img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}
  
  



.footer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 50px 0;
	background: #3d3c3c61;
    color: #222;
}


.footer-nav {
    margin: 0;
}

.footer-nav a:hover {
    border-bottom: 1px #fff solid;
}

.footer-links a {
    font-size: 1.5rem;
}

.footer-links a:first-child{
    padding-right: 10px;
}







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

    .header-top {
        padding: 10px 15px;
		position: fixed;
		left: 0;
		top: 0;
    }
	
	.header-content {
		padding-top: 100px;	
	}

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: #000;
        flex-direction: column;
        padding: 10px;
        gap: 10px;
        border-radius: 5px;
    }

    .nav-list a {
        font-size: 1.2rem;
    }

    .hamburger-menu {
        display: flex;
		position: relative;
		z-index: 10;
		height: 20px;
		width: 30px;
    }
	
	.custom-logo {
		  height: 50px !important;
		  width: 200px !important;
	}

    .nav.active .nav-list {
        position: fixed;
        left: 0;
        top: 0;
        display: flex;
		justify-content: space-between;
        align-items: center;
        gap: 30px;
        background: #fff;
        padding: 100px 50px;
        text-transform: uppercase;
        
    }
	.nav.active .hamburger-menu span:first-child {
		transform: rotate(45deg) translate(3px, 4px);
	}
	.nav.active .hamburger-menu span:nth-child(2) {
		display: none;
	}
	.nav.active .hamburger-menu span:last-child {
		transform: rotate(-45deg) translate(8px, -10px);
	}

    .header-top {
        width: 100%;
    }


    .logo {
        max-width: 70%;
    }

    .logo img {
        width: 100%;
    }
    
    .header-content {
        align-items: center;
    }

    .header-title {
        max-width: 100%;
    }

    .header-title h2 {
        font-size: 2.2rem;
    }

    .about-images {
        max-width: 100%;
    }

    .about-content {
        max-width: 100%;
    }

    .section {
        padding-top: 30px;
    }

    .team {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .team-descr {
        width: 100%;
    }

    .team-descr h3 {
        font-size: 22px;
    }

    .footer {
        padding: 15px 20px;
    }

    .footer nav {
        display: none;
    }

    .footer-links {
        text-align: center;
    }
	
	.footer-links a:first-child {
		display: block;
		margin-bottom: 10px;
	}

}

@media screen and (min-width: 1200px) {
	.about-content, .about-images {
    	max-width: 40%;
	}	
}
    .kontaktformular-wrapper {
    background: #fff;
    padding: 2em;
    margin: 3em auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

	.kontaktformular label {
    display: block;
    margin-bottom: 0.3em;
    font-weight: bold;
}

	.kontaktformular input,
	.kontaktformular textarea {
    width: 100%;
    padding: 0.6em;
    margin-bottom: 1.2em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

	.kontaktformular textarea {
    resize: vertical;
    min-height: 120px;
}

	.kontaktformular .checkbox {
    margin-bottom: 1em;
}

	.kontaktformular button {
    background-color: #005f73;
    color: white;
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

	.kontaktformular button:hover {
    background-color: #0a9396;
}

/* Impressum: zweispaltig für bessere Lesbarkeit */
.impressum {
    column-count: 2;
    column-gap: 48px;
    column-rule: 1px solid #e0e0e0;
}

@media screen and (max-width: 769px) {
    .impressum {
        column-count: 1;
    }
}

/* Zentrierung für Seiteninhalte (Aufgabe: alle Seiten zentriert, außer Partner) */
.is-centered {
    max-width: 1500px;
    margin: 0 auto;
}

/* Generische Seiten (partner, lager, upload ...) - zentriert, breit */
.content-page {
    max-width: 1500px;
    margin: 0 auto;
    padding: 50px 40px 90px;
}

.content-page-title {
    text-align: center;
}

.content-page-title {
    font-size: 36px;
    text-transform: uppercase;
    color: #222;
    letter-spacing: 1px;
    margin-bottom: 35px;
}

.content-page-body {
    font-size: 18px;
    line-height: 1.7;
}

.content-page-body p {
    font-size: 18px;
    margin-bottom: 1em;
}

/* About: Text breiter, da das begleitende Bild entfernt ist (sonst nur 40%) */
@media screen and (min-width: 1200px) {
    .about-content {
        max-width: 800px;
    }
}

.construction-banner {
    width: 100%;
    background: linear-gradient(90deg, #c79a2b, #d8aa35);
    color: white;
    display: flex;
    justify-content: center;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
    z-index: 9999;
}

.construction-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 220px;
    font-size: 14px;
}

.construction-icon {
    font-size: 18px;
}

.construction-text {
    flex: 1;
}

.construction-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
}

.construction-close:hover {
    opacity: 1;
}



