/* =========================
   BASIS
========================= */

body{
font-family:'Roboto', Arial, sans-serif;
margin:0;
color:#333;
background:#fff;
line-height:1.6;
}

/* Container */

.container{
width:1100px;
max-width:90%;
margin:auto;
}


/* =========================
   HEADER
========================= */

header{
border-bottom:1px solid #ddd;
padding:20px 0;
background:white;
}

.logo{
height:70px;
}

nav{
float:right;
margin-top:25px;
}

nav a{
margin-left:25px;
text-decoration:none;
color:#333;
font-weight:500;
font-size:15px;
padding-bottom:5px;
border-bottom:2px solid transparent;
}

nav a:hover{
border-color:#444;
}


/* =========================
   HERO IMAGE
========================= */

.hero{
height:520px;
background-image:url("../images/hero-industrie.jpg");
background-size:cover;
background-position:center;
position:relative;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
}

.hero-overlay{
background:rgba(0,0,0,0.35);
padding:40px 60px;
border-radius:6px;
}

.hero-overlay h1{
color:white;
font-size:44px;
font-weight:500;
margin-bottom:10px;
}

.hero-overlay p{
color:white;
font-size:22px;
}


/* =========================
   SECTIONS
========================= */

.section{
padding:70px 0;
border-bottom:1px solid #e5e5e5;
}

.section-grey{
background:#f6f6f6;
border-top:1px solid #e5e5e5;
border-bottom:1px solid #e5e5e5;
}

.section h1{
font-size:32px;
font-weight:500;
margin-bottom:25px;
}

.section h2{
font-size:24px;
font-weight:500;
margin-top:40px;
margin-bottom:15px;
position:relative;
}

/* Linie */

.section h2:after{
content:"";
display:block;
width:60px;
height:3px;
background:#444;
margin-top:8px;
}


/* =========================
   LEISTUNGEN
========================= */

.services{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:35px;
margin-top:40px;
}

.service{
border:2px solid #dcdcdc;
border-top:4px solid #444;
padding:30px;
background:#ffffff;
box-shadow:0 4px 10px rgba(0,0,0,0.06);
transition:all 0.2s ease;
}

.service h3{
font-weight:500;
margin-bottom:10px;
}

.service:hover{
transform:translateY(-4px);
box-shadow:0 10px 22px rgba(0,0,0,0.12);
border-color:#c5c5c5;
}


/* =========================
   ZERTIFIKATE
========================= */

.certificates{
display:flex;
gap:40px;
flex-wrap:wrap;
margin-top:30px;
}

.certificates img{
width:420px;
border:1px solid #ccc;
padding:10px;
background:white;
box-shadow:0 6px 18px rgba(0,0,0,0.1);
}


/* =========================
   TEAM (OPTIMIERT)
========================= */

.team{
display:flex;
gap:80px;
margin-top:20px;
margin-bottom:40px;
justify-content:center;
flex-wrap:wrap;
}

.team-member{
text-align:center;
}

/* HAUPTFIX */
.team-member img{
width:240px;
height:300px;
object-fit:cover;

/* Fokus nach oben → Kopf zentral */
object-position:center 35%;

border-radius:6px;
margin-bottom:12px;
box-shadow:0 6px 18px rgba(0,0,0,0.12);
}

/* OPTIONAL FEINTUNING */

.team-member img[src*="dominik"]{
object-position:center 30%;
}

.team-member img[src*="markus"]{
object-position:center 40%;
}

.team-member h3{
margin:0;
font-size:18px;
font-weight:500;
}


/* =========================
   KONTAKT
========================= */

.contact-box{
background:#f4f4f4;
padding:60px;
text-align:center;
}


/* =========================
   FOOTER
========================= */

footer{
background:#222;
color:white;
padding:40px;
text-align:center;
margin-top:60px;
font-size:14px;
}

footer a{
color:white;
text-decoration:none;
margin:0 10px;
}

footer a:hover{
text-decoration:underline;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width:900px){

.services{
grid-template-columns:repeat(2,1fr);
}

.hero-overlay h1{
font-size:32px;
}

}

@media (max-width:500px){

.services{
grid-template-columns:1fr;
}

.team{
flex-direction:column;
align-items:center;
}

.hero{
height:420px;
}

.hero-overlay{
padding:30px;
}

}