/* =========================================================
   FONTS
========================================================= */

@font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Bold.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Black.ttf") format("truetype");
    font-weight: 900;
}

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    color: #222;
    background: #fff;
    overflow-x: hidden;
    line-height: 1.8;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all .3s ease;
}

.site-header.scrolled {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.navbar {
    padding-top: 28px;
    padding-bottom: 28px;
    transition: all .3s ease;
}

.site-header.scrolled .navbar {
    padding-top: 14px;
    padding-bottom: 14px;
}

.site-logo {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: .08em;
    color: #fff !important;
}

.site-header.scrolled .site-logo {
    color: #222 !important;
}

.site-nav .nav-link {
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem;
    font-weight: 700;
    margin-left: 24px;
}

.site-header.scrolled .nav-link {
    color: #222 !important;
}

/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 850px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: url("/img/Swimming-Pool-im-Garten.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.15);
}

.hero-content {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.hero-text {
    max-width: 950px;
    padding-bottom: 120px;
}

.hero-kicker {
    display: block;
    margin-bottom: 20px;
    color: rgba(255,255,255,.9);
    font-size: .9rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.hero-text h1 {
    margin: 0 0 24px;
    color: #fff;
    font-weight: 900;
    line-height: .92;
    letter-spacing: -.05em;
    font-size: clamp(4rem, 9vw, 8rem);
}

.hero-subline {
    max-width: 720px;
    color: rgba(255,255,255,.92);
    font-size: 1.2rem;
}

.hero-link {
    display: inline-block;
    margin-top: 24px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    border-bottom: 2px solid #fff;
    padding-bottom: 6px;
}

/* =========================================================
   INTRO
========================================================= */

.intro-section {
    padding: 140px 0;
}

.intro-section h2 {
    max-width: 1100px;
    margin: 0 auto 30px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.2;
}

.intro-section p {
    max-width: 760px;
    margin: 0 auto;
    color: #666;
}

/* =========================================================
   IMAGE TEXT SECTIONS
========================================================= */

.image-text-section {
    padding: 100px 0;
}

.image-text-section.reverse {
    background: #fafafa;
}

.section-image {
    width: 100%;
    display: block;
}

.content-block {
    padding: 40px;
}

.section-label {
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .85rem;
    color: #888;
}

.content-block h3 {
    margin-bottom: 24px;
    font-size: clamp(2rem,3vw,3rem);
    line-height: 1.15;
}

.content-block p {
    color: #666;
}

/* =========================================================
   FULL IMAGE
========================================================= */

.full-image-section {
    height: 90vh;
    min-height: 700px;
}

.full-image {
    width: 100%;
    height: 100%;
    background-image: url("/img/projekt-3.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* =========================================================
   SERVICES
========================================================= */

.services-section {
    padding: 140px 0;
}

.services-section h2 {
    font-size: clamp(2.5rem,5vw,4.5rem);
    margin-bottom: 40px;
}

.services-section h4 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

.services-section p {
    color: #666;
}

/* =========================================================
   PROJECTS GRID
========================================================= */

.projects-section {
    padding: 80px 0 140px;
}

.project-image {
    width: 100%;
    display: block;
    margin-bottom: 30px;
    transition: transform .4s ease;
}

.project-image:hover {
    transform: scale(1.02);
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding: 160px 0;
    background: #111;
    color: #fff;
}

.contact-section h2 {
    margin-bottom: 30px;
    font-size: clamp(2.5rem,5vw,5rem);
}

.contact-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    border-bottom: 2px solid #fff;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 40px 0;
    border-top: 1px solid #eee;
    font-size: .9rem;
    color: #777;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .navbar-collapse {
        margin-top: 20px;
        padding: 20px;
        background: rgba(0,0,0,.8);
    }

    .site-header.scrolled .navbar-collapse {
        background: #fff;
    }

    .site-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .hero-section {
        min-height: 700px;
    }

    .hero-text {
        padding-bottom: 80px;
    }

    .image-text-section {
        padding: 70px 0;
    }

    .content-block {
        padding: 40px 0 0;
    }

    .intro-section,
    .services-section,
    .contact-section {
        padding: 90px 0;
    }
}

@media (max-width: 768px) {

    .hero-section {
        min-height: 620px;
    }

    .hero-text h1 {
        font-size: clamp(3rem,14vw,5rem);
    }

    .hero-subline {
        font-size: 1rem;
    }

    .intro-section h2,
    .services-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
}