h1 {
    font-size: 4rem;
}

:root {
    --primary-bg: #666c70;
    --secondary-bg: #100e0c;
    --text-primary: #ffffff;
    --accent-color: #303030;
    --transition-speed: 0.3s;
}

p {
    font-family: "DM Sans", sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1,
h2,
h3 {
    font-family: "DM Sans", sans-serif;

}

body {
    font-family: "DM Sans", sans-serif;
    background-color: #666c70;
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 64px;
}


.hero {
    position: relative;
    background: url("images/hero.png");
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: white;
    /* falls nötig */
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* schwarz mit 50% Transparenz */
    z-index: 2;
}

.hero>* {
    position: relative;
    z-index: 3;
    /* damit Text über dem Overlay liegt */
}




/* Header Styles */
header {
    position: fixed;
    width: 100%;
    background: #100e0c;
    z-index: 100;
}

footer {
    background-color: var(--secondary-bg);
    width: 100%;
    padding: 1rem 64px;
    z-index: 100;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0px;
}

.footer-link {
    color: white;
    text-decoration: none;

}

.footer-link:hover {
    text-decoration: underline;
    color: #00a383;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.logo img {
    width: auto;
    height: 80px;
    padding-top: 8px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    font-family: "DM Sans", sans-serif;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 200;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: #00a383;

}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 6rem;
    font-family: "DM Sans", sans-serif;
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
    line-height: 1.2;
}

.cta-button {
    display: inline-block;
    background-color: #cecece;
    /* sattes Türkisgrün */
    color: black;
    padding: 0.85rem 1.6rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: #00a383;
    box-shadow: 0 0 0 4px rgba(0, 184, 148, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}


.information {
    background-color: #50575d;
    color: #f2f2f2;
    padding: 3rem 3rem;
    font-family: 'Segoe UI', sans-serif;
}

.info-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    color: #ffffff;
}

.mid-sec {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    justify-content: center;
    padding-bottom: 1.5rem;
}

.info-img {
    flex: 1 1 400px;
    text-align: center;
}

.info-img img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.info1 {
    flex: 1 1 500px;
}

#leistungen {
    scroll-margin-top: 100px;
    /* Abstand zur fixierten Navigation */
}

.info2 {
    background-color: #50575d;
    color: #f2f2f2;
    padding: 4rem 2rem;
    font-family: 'Segoe UI', sans-serif;
}

.info2 h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 600;
}


.info2 ul {
    margin: 2rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.info2 ul li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 1.5rem;
    color: #f2f2f2;
}

h3 {
    font-size: 2rem;
    color: #00a383;
    margin-bottom: 1rem;

}

p {
    font-size: 1.4rem;
    line-height: 1.7;
    color: #e2e2e2;
    margin-bottom: 1rem;
}

#leistungen {
    background-color: #bdbdbd;
    padding: 3rem 3rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
}


.slideshow-section {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 610px;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
}

.slideshow-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    height: auto;
    background-color: rgba(189, 189, 189, 0.8);
    /* grau-transparentes Overlay */
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
}


/* Optional: Inhaltsebene z. B. Karten */
.slideshow-section>.overlay>* {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    z-index: 10;

}

.leistungen-container {
    display: flex;
    justify-content: center;
    gap: 6rem;
    /* größerer Abstand */
    flex-wrap: wrap;
}

.leistung-card {
    background: #ffffff;
    padding: 2rem 1.5rem;
    width: 320px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.leistung-number {
    position: absolute;
    top: -30px;
    background-color: #00a383;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leistung-card h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #00a383;
}

.leistung-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.highlight {
    color: #00a383;
    font-weight: 600;
}



/* Kontakt sektion*/
.kontakt-section {
    background-color: #50575d;
    padding: 6rem 2rem;
    position: relative;
    font-size: 0.5rem;
}

.kontakt-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.kontakt-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #222;
    font-weight: 600;
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.kontakt-form input,
.kontakt-form textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: border 0.2s ease;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
    outline: none;
    border-color: #444;
}

.kontakt-form textarea {
    resize: vertical;
    min-height: 150px;
}

.kontakt-form button {
    background-color: #333;
    color: white;
    padding: 0.9rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.kontakt-form button:hover {
    background-color: #00a383;
    box-shadow: 0 0 0 4px rgba(0, 184, 148, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.section-divider {
    position: relative;
    top: 1px;
    overflow: hidden;
    line-height: 0;
}

/* Imprint Page Styles */
.imprint {
    padding-top: 160px;
    padding-bottom: 160px;
    margin-top: 0;
}

.ds {

    padding-top: 160px;
    padding-bottom: 160px;
    margin-top: 0;
}


/* MACBOOK */

@media (max-width: 1440px) {
    .container {
        padding: 0 48px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .leistung-card {
        width: 300px;
    }

    .nav-links a {
        font-size: 1.3rem;
    }
}


/* Tablet */

@media (max-width: 1025px) {

    .hero {
        height: 100vh;
        padding-top: 100px;
        /* Platz unter Nav */
        padding-bottom: 80px;
        /* Abstand nach unten */
        background-position: center top;
        background-size: cover;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-title {
        font-size: 2.2rem;
        text-align: center;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.6rem 1.4rem;
        border-radius: 8px;
    }


    .container {
        padding: 0 32px;
    }

    .hero-title {
        font-size: 3rem;
        line-height: 1.3;
    }

    .mid-sec {
        flex-direction: column;
        text-align: center;
    }

    .info-img img {
        max-width: 90%;
    }

    .leistungen-container {
        flex-direction: column;
        gap: 4rem;
        align-items: center;
    }

    .leistung-card {
        width: 80%;
        max-width: 500px;
    }

    .kontakt-container {
        width: 90%;
    }

    .slideshow-section .overlay {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        background-color: rgba(189, 189, 189, 0);
        padding: 1rem 0rem;
    }

    .information {
        padding-bottom: 0 !important;
        /* Weniger Leerraum unten */
    }

    .info1 {
        flex: 1 1 100px;

    }

    .info-img {
        flex: 1 1 100px;
    }

    .info-img img {
        max-width: 60%;
        border-radius: 16px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

}

/* Iphone */
@media (max-width: 770px) {


    /* Overlay fix – nicht mehr absolut */
    .slideshow-section .overlay {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        background-color: rgba(189, 189, 189, 0);
        padding: 1rem 0rem;
    }


    .leistungen-container {
        flex-direction: column;
        gap: 4rem;
        padding: 0 1rem;
        align-items: center;
    }

    .leistung-card {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem 1rem;
    }

    .leistung-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        top: -25px;
    }

    .leistung-card h3 {
        font-size: 1.1rem;
    }

    .leistung-card p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }

    .footer-nav {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* Titelzeile im Info-Block besser umbrechen */
    .info-title {
        font-size: 1.8rem;
        text-align: center;
        line-height: 1.3;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    /* Bild kleiner & zentriert */
    .info-img img {
        max-width: 90%;
        border-radius: 16px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    /* Allgemeine Anpassung für .information */
    .information {
        padding: 2rem 1rem 2rem;
    }

    /* Absatztext kompakter */
    .info1 p {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .info1 {
        flex: 1 1 50px;

    }

    .info-img {
        flex: 1 1 50px;
    }
}




.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 101;
    padding-right: 40px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Burger Animation: "X"-Effekt */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 7.5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7.5px);
}

/* Smoothe Übergänge */
.burger span {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Mobile Navigation --- */
/* --- Mobile Navigation --- */
@media (max-width: 770px) {
    .burger {
        display: flex;
    }

    nav {
        position: relative;
    }

    header .container {
        padding-left: 0;
        padding-right: 0;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #100e0c;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        /* ⬅ nur vertikales Padding */
        gap: 1rem;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 99;
        margin: 0;
        /* wichtig */
    }

    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li a {
        font-size: 1.5rem;
    }

    .logo-img img{
        padding-left: 30px;
    }
}