/* ===== GRUND ===== */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #f7f9fb;
}

section {
    margin-bottom: 50px;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-weight: 600;
    letter-spacing: 0.3px;
}
	
/* Startzustand (unsichtbar) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

/* Sichtbar */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}	
	
.info .container {
    max-width: 1000px;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ===== HEADER ===== */
header {
    background-color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 400px;
}

.logo-text {
    font-size: 22px;
    font-weight: 600;
    color: #0A3D62;
}

/* NAVIGATION */
nav a {
    position: relative;
    color: #333;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: #2E8B57;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #2E8B57;
}

nav a:hover::after {
    width: 100%;
}


/* ===== HERO ===== */
.hero {
    padding: 60px 0;
    display: flex;
    align-items: center;
    gap: 40px;
	    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 34px;
    margin-bottom: 15px;
    color: #0A3D62;
}

.hero-text p {
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 22px;
    background: #2E8B57;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn:hover {
    background: #256f46;
    transform: translateY(-2px);
}

a, .btn {
    cursor: pointer;
}

/* Bild */
.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
}

/* ===== SERVICES ===== */
.services {
    background: white;
    padding: 50px 0;
}

.service-grid {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
	}

.service {
    background: #ffffff;
	    border: 1px solid #eeeeee;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
	margin: 0;
    font-size: 18px;	
	box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.service:hover {
	transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Service Header (Icon + Text) */
.service-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Icon Größe */
.service-header img {
    width: 60px;
    height: 60px;
	object-fit: contain;
	margin-top: 3px;
	opacity: 0.9;
}

.service-text h3 {
    margin: 0;
    font-size: 18px;
}

.service-text p {
    margin: 5px 0 0 0;
}

/* ===== ABOUT ===== */
.about {
    padding: 50px 0;
}

/* ===== CONTACT ===== */
.contact {
    background: white;
    padding: 50px 0;
}

/* ===== FOOTER ===== */
footer {
    background: #0A3D62;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Section Header (wie bei Services) */


.section-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

[id] {
    scroll-margin-top: 140px;
}



/* Icon */
.section-header img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-top: 5px;
}


.section-text {
    max-width: 500px;
}

/* Über-uns-Link */
.about-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.about-link:hover .section-text h2 {
    color: #2E8B57;
}

.about-more {
    display: inline-block;
    margin-top: 10px;
    color: #0A3D62;
    font-weight: 600;
}

.about-link:hover .about-more {
    color: #2E8B57;
}

/* Text */
.section-text h2 {
    margin: 0;
    color: #0A3D62;
}

.section-text p {
    margin: 8px 0 0 0;
}

/* Bereich */
.info {
    padding: 50px 0;
}

/* 2 Spalten */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Boxen */
.info-box {
    position: relative;
	  padding: 10px 0;
}

/* Trennlinie nur zwischen den beiden */
.info-box:first-child {
    border-right: 1px solid #e0e0e0;
    padding-right: 20px;
}

.info-box:last-child {
    padding-left: 20px;
}

.footer-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
	}

footer a {
    color: #ffffff;
    opacity: 0.9;
}

footer a:hover {
    opacity: 1;
}


/* ===== FOTO-SLIDER ===== */

.photo-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    touch-action: pan-y;
}

.photo-slides {
    display: flex;
    width: 100%;
    transition: transform 0.35s ease;
}

.photo-slides img {
    width: 100%;
    flex: 0 0 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(10, 61, 98, 0.75);
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
}

.slider-dot.active {
    background: #ffffff;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
		text-align: center;
    }
	
	.hero-image img {
        max-width: 100%;
    }
	
	.service-grid {
        grid-template-columns: 1fr;
        align-items: center;
        text-align: center;
    }


    nav {
        display: block;
        text-align: center;
        margin-top: 10px;
    }

    nav a {
        margin: 0 10px;
	font-size: 14px;
	 white-space: nowrap;
    }

	
    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-box:first-child {
        border-right: none;
        padding-right: 0;
    }

    .info-box:last-child {
        padding-left: 0;
    }
	
    .team-grid {
        flex-direction: column;
        align-items: center;
	display: block;
    }

    .team-card {
        width: 100%;
        max-width: 300px;
    }

    .team-card img {
        max-width: 260px;
        height: 180px;
    }



}

/* ===== TEAM ===== */

.team {
    padding: 20px 0 50px 0;
}



.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}


.team-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
width: 350px;
}

.team-card img {
    width: 100%;
    max-width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto 15px auto;
}