@charset "utf-8";
 
/*
* CSS-Design
* Baggerarbeiten Stefan Mösbauer
*/

/* Webfonts-Einbindung */

/* lato-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v24-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/lato-v24-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* lato-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/lato-v24-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/lato-v24-latin-italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* lato-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lato-v24-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/lato-v24-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* lato-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/lato-v24-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/lato-v24-latin-700italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* lato-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/lato-v24-latin-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/lato-v24-latin-900.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* lato-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/lato-v24-latin-900italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/lato-v24-latin-900italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}


/* Farbwerte
 
Dunkles Blau (Hauptfarbe):
Hex: #11344e
RGB: 17,52,78
RGBA rgba(17,52,78,1)

Helles Beige (Hintergrund):
Hex: #f3ebdd
RGB: 243,235,221
RGBA: rgba(243,235,221,1)
 
*/


/* Reset * * * * * * * * */
*{
margin: 0;
padding: 0;
-mozbox-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

/* Clearfix */
.row:before,
.row:after {
content: " ";
display: table;
}
 
.row::after {
clear: both;
}

 
/* Raster */


.wrapper{
max-width: 1400px;
padding: 0 25px;
margin: 0 auto;
}
 
.column {
float: left;
margin: 25px 0 25px 5%;
/* padding: 25px 0; */
}
 
.column:first-child{
margin-left: 0;
}
 
.col_1{
width: 100%;
}
 
.col_1_2{
width: 47.5%;
}
   
.col_1_3{
width: 30%;
}
 
.col_2_3{
width: 65%;
}
 
.col_1_4{
width: 21.25%;
}
 
.col_3_4{
width: 73.75%;
}

/* Typo */

h1, h2, h3, h4, h5, h6{
font-family: "lato", arial, sans-serif;  
margin: 20px 0 10px;
line-height: 1.2;
color: rgba(17,52,78,1);
}

h1{     
font-size: 4.000rem;
font-weight: 700;
margin-bottom: 25px;     
} 
 
h2{     
font-size: 2.500rem;
font-weight: 700;
} 
 
h3{    
font-size: 1.625rem; 
font-weight: 700;
}

p {margin: 0 0 15px;}


/* Allgemeine Klassen */
img{max-width: 100%;}
em{font-weight: 900;}
html {scroll-behavior: smooth;}

/* Button */

.button {
    border: 2px solid rgba(17,52,78,1);
    padding: 1rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(17,52,78,1);
    background-color: transparent;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    margin: 20px 25px 20px 0;
    transition: all 0.2s ease-in-out;
    border-radius: 4px;
    cursor: pointer;
}

.button:hover {
    background-color: rgba(17,52,78,1); /* dezenter als Weiß mit Transparenz */
    color: rgba(205, 209, 210, 1);
    text-decoration: none;
    transform: translateY(-1px); /* kleine Bewegung beim Hover */
}


        body {
            font-family: "lato", Arial, sans-serif;
			background: rgba(243,235,221,1);
            margin: 0;
            padding: 0;
            box-sizing: border-box;
			font-size: 1.375em;
        }
        header {text-align: center; padding: 2em 1em;}
        nav {
            display: flex;
            justify-content: center;
            gap: 1em;
            padding: 1.5em;
            background: rgba(17,52,78,1);
			font-size: 1.100rem;
        }
        nav a {
            color: rgba(243,235,221,1);
			margin: 0 1.500em;
            text-decoration: none;
			text-transform: uppercase;
        }
nav a:hover {font-weight: 700;}

.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    display: inline-block;
}

.nav-toggle {
    display: none; /* Standardmäßig ausblenden */
    font-size: 2em;
    color: white;
    cursor: pointer;
    user-select: none;
}

.hero {
    background: url('../img/stefan-moesbauer_headerbild.jpg') no-repeat center center / cover;
    min-height: 90vh;
    color: rgba(243, 235, 221, 1); /* Hellbeiger Farbton, gut lesbar auf dunklem Bild */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4em 1em;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero h1, .hero p {
    max-width: 800px;
    margin: 0 auto 1em;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); /* für bessere Lesbarkeit auf Bild */
	color: rgba(243,235,221,1);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}
.hero * {
    position: relative;
    z-index: 1;
}
.leistungen {
    padding: 4em 1em;
    text-align: center;
}

.leistungen h2 {
    margin-bottom: 2em;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

.grid > div {
    background-color: #FFFCEF;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.grid h3 {
    margin-bottom: 0.5em;
}
        .cta {
            background-color: #ff6600;
            color: white;
            padding: 2em 1em;
            text-align: center;
        }
        footer {
            background-color: rgba(17,52,78,1);
            color: white;
            text-align: center;
            padding: 2em 1em 5em;
        }
.mobile-footer {display: none;}


/* Sections & Horizontale Gallery */


.section {
    padding: 2em 1em;
    text-align: center;
	background: #fff;
}

.section h3 {text-align: left;}

.horizontal-gallery {
    display: flex;
    overflow-x: auto;
    gap: 50px;
    padding: 10px;
    scroll-snap-type: x mandatory;
}

.gallery-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.gallery-item img {
    max-height: 400px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Impressum und Datenschutz */

.legal-section {
    display: none;
    max-width: 900px; /* Maximale Breite */
    margin: 2em auto; /* Zentrierung und Abstand nach oben und unten */
    padding: 2em 1em;
    border: 2px solid #fff;
}

.legal-section h2 {
    margin-bottom: 1em;
    color: #0E2A47;
}

/* Footer */

footer a {color: rgba(243,235,221,1); text-decoration: none;}
footer a:hover {font-weight: 700; text-decoration: none;}
footer a:active {font-weight: 900; text-decoration: none;}


/* Back to Top */

#back-to-top {
    display: none; /* Anfangs ausgeblendet */
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    font-size: 16px;
    background-color: #0E2A47;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.3s;
}

#back-to-top:hover {
    background-color: rgba(17,52,78,1);
}


/* Responsive Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: block; /* Hamburger-Icon anzeigen */
    }
    
    .nav-links {
        display: none; /* Links standardmäßig ausblenden */
        flex-direction: column;
        width: 100%;
        position: absolute;
        background-color: #0E2A47;
        left: 0;
        top: 60px; /* Höhe der Navbar anpassen */
        z-index: 1000;
    }

    .nav-links a {
        padding: 1em;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-toggle.active + .nav-links {
        display: flex; /* Links anzeigen, wenn Toggle aktiv ist */
    }
}

        @media (max-width: 600px) {
            .mobile-footer {
                position: fixed;
                bottom: 0.2em;
                left: 1em;
                width: 80%;
                display: flex;
                justify-content: space-around;
                padding: 0.5em 0;
				z-index:999;
            }
            .mobile-footer a {
                color: rgba(243,235,221,1);
				background-color: rgba(17,52,78,1);
                text-decoration: none;
                font-size: 0.8em;
				border-radius: 0.5em;
				padding: 0.5em 1em;
				text-transform: uppercase;
            }
        }
