/* =========================================================
   RASA WEBENTWICKLUNG
   Clean / Bold / Modern
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --bg: #f5f5f0;
    --bg-alt: #e9e9e3;

    --white: #ffffff;

    --black: #121210;
    --black-soft: #1b1b18;

    --green: #b9e63f;
    --green-soft: #e6f2b5;

    --gray: #74746d;
    --gray-dark: #55554f;

    --line: #dcdcd4;

    --max-width: 1240px;

    --radius: 18px;

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    background: var(--bg);

    color: var(--black);

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-weight: 500;

    line-height: 1.5;

    overflow-x: hidden;

}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

::selection {

    background: var(--green);

    color: var(--black);

}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: 0 auto;

}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(
        245,
        245,
        240,
        0.88
    );

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border-bottom:
        1px solid
        rgba(18, 18, 16, 0.06);

}

.nav {

    height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* =========================================================
   LOGO
========================================================= */

.logo {

    font-size: 25px;

    font-weight: 800;

    letter-spacing: -0.08em;

}

.logo span {
    color: #91b51f;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navigation {

    display: flex;

    align-items: center;

    gap: 35px;

}

.navigation a {

    font-size: 13px;

    font-weight: 800;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;

}

.navigation a:hover {
    opacity: 0.55;
}

.navigation .nav-button {

    background: var(--black);

    color: white;

    padding: 13px 19px;

    border-radius: 100px;

}

.navigation .nav-button:hover {

    opacity: 1;

    transform:
        translateY(-2px);

}

.nav-button span {
    margin-left: 7px;
}


/* =========================================================
   LANGUAGE SWITCHER
========================================================= */

.language-switcher {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-left: -12px;

    font-family:
        "DM Mono",
        monospace;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.08em;

}

.language-switcher a {

    width: auto !important;

    padding: 0 !important;

    color: var(--gray);

    opacity: 1;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;

}

.language-switcher a:hover {

    opacity: 0.6;

}

.language-switcher a.active {

    color: var(--black);

}

.language-switcher span {

    color: var(--line);

}


/* =========================================================
   MOBILE MENU
========================================================= */

.menu-button {

    display: none;

    width: 44px;
    height: 44px;

    border: 0;

    background: transparent;

    cursor: pointer;

    position: relative;

}

.menu-button span {

    position: absolute;

    left: 10px;

    width: 24px;
    height: 2px;

    background: var(--black);

    transition:
        transform 0.3s ease,
        top 0.3s ease;

}

.menu-button span:first-child {
    top: 17px;
}

.menu-button span:last-child {
    top: 25px;
}

.menu-button.active span:first-child {

    top: 21px;

    transform: rotate(45deg);

}

.menu-button.active span:last-child {

    top: 21px;

    transform: rotate(-45deg);

}


/* =========================================================
   HERO
========================================================= */

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    padding-top: 100px;

}

.hero-glow {

    position: absolute;

    width: 700px;
    height: 700px;

    right: -300px;
    top: 100px;

    border-radius: 50%;

    background:
        var(--green-soft);

    filter: blur(80px);

    opacity: 0.75;

    pointer-events: none;

}

.hero-content {

    position: relative;

    z-index: 2;

    width: 100%;

    padding: 80px 0;

    max-width: 1100px;

    margin: 0 auto;

}


/* =========================================================
   AVAILABILITY
========================================================= */

.availability {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    font-family:
        "DM Mono",
        monospace;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    margin-bottom: 30px;

}

.availability-dot {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #9dbc24;

    box-shadow:
        0 0 0 5px
        rgba(157, 188, 36, 0.12);

}


/* =========================================================
   HERO HEADING
========================================================= */

.hero h1 {

    max-width: 1000px;

    font-size: clamp(
        70px,
        10vw,
        145px
    );

    line-height: 0.86;

    letter-spacing: -0.095em;

    font-weight: 800;

}

.hero h1 span {

    color: #91b51f;

}


/* =========================================================
   HERO BOTTOM
========================================================= */

.hero-bottom {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 60px;

    max-width: 1000px;

    margin-top: 70px;

}

.hero-bottom p {

    max-width: 480px;

    color: var(--gray-dark);

    font-size: 17px;

    line-height: 1.7;

}


/* =========================================================
   HERO ACTIONS
========================================================= */

.hero-actions {

    display: flex;

    align-items: center;

    gap: 25px;

    flex-shrink: 0;

}


/* =========================================================
   BUTTONS
========================================================= */

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    font-size: 13px;

    font-weight: 800;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

}

.button-dark {

    background: var(--black);

    color: white;

    padding: 17px 23px;

    border-radius: 100px;

}

.button-dark:hover {

    transform:
        translateY(-3px);

}

.text-link {

    font-size: 13px;

    font-weight: 800;

    padding-bottom: 7px;

    border-bottom:
        1px solid var(--black);

}

.text-link:hover {

    transform:
        translateX(4px);

}

.text-link span {
    margin-left: 8px;
}


/* =========================================================
   HERO LABEL
========================================================= */

.hero-bottom-label {

    position: absolute;

    bottom: 35px;

    right: 40px;

    font-family:
        "DM Mono",
        monospace;

    font-size: 9px;

    color: var(--gray);

    letter-spacing: 0.08em;

}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    padding: 150px 0;

}

.section-label {

    font-family:
        "DM Mono",
        monospace;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    color: var(--gray);

}


/* =========================================================
   INTRO
========================================================= */

.intro {

    border-top:
        1px solid var(--line);

}

.intro-grid {

    display: grid;

    grid-template-columns:
        220px 1fr;

    gap: 70px;

}

.intro-content {

    max-width: 950px;

}

.intro-content h2 {

    font-size:
        clamp(
            45px,
            6vw,
            80px
        );

    line-height: 0.98;

    letter-spacing: -0.075em;

    font-weight: 800;

}

.intro-content h2 span {

    color: #999991;

}

.intro-description {

    max-width: 620px;

    margin:
        55px 0 0 auto;

}

.intro-description p {

    color: var(--gray-dark);

    font-size: 16px;

    line-height: 1.7;

}

.intro-description p + p {

    margin-top: 20px;

}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    padding-bottom: 45px;

    border-bottom:
        1px solid var(--line);

}

.section-heading p {

    color: var(--gray);

    font-size: 13px;

}


/* =========================================================
   SERVICES
========================================================= */

.services {

    background: var(--bg-alt);

}

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;

    margin-top: 16px;

}

.service-card {

    min-height: 380px;

    padding: 35px;

    background: var(--white);

    border-radius:
        var(--radius);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    position: relative;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}

.service-card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        0 25px 70px
        rgba(0,0,0,0.08);

}

.service-card.dark {

    background:
        var(--black-soft);

    color: white;

}

.service-card.green {

    background:
        var(--green);

}

.service-number {

    font-family:
        "DM Mono",
        monospace;

    font-size: 10px;

    color: var(--gray);

}

.dark .service-number {
    color: #85857e;
}

.service-card h3 {

    font-size:
        clamp(
            38px,
            4vw,
            58px
        );

    line-height: 0.9;

    letter-spacing: -0.07em;

    font-weight: 800;

    margin-bottom: 25px;

}

.service-card p {

    max-width: 430px;

    color: var(--gray-dark);

    font-size: 14px;

    line-height: 1.7;

}

.dark p {

    color: #999991;

}

.service-icon {

    position: absolute;

    right: 32px;
    top: 32px;

    font-size: 18px;

}


/* =========================================================
   ABOUT
========================================================= */

.about {

    background: var(--bg);

}

.about-grid {

    display: grid;

    grid-template-columns:
        220px 1fr;

    gap: 70px;

}

.about-content {

    max-width: 900px;

}

.about-intro > span {

    font-family:
        "DM Mono",
        monospace;

    font-size: 10px;

    color: var(--gray);

}

.about-intro h2 {

    margin-top: 30px;

    font-size:
        clamp(
            48px,
            6vw,
            80px
        );

    line-height: 0.92;

    letter-spacing: -0.08em;

    font-weight: 800;

}

.about-intro h2 span {

    color: #999991;

}

.about-text {

    max-width: 650px;

    margin:
        60px 0 0 auto;

}

.about-text p {

    font-size: 16px;

    line-height: 1.7;

    color: var(--gray-dark);

}

.about-text p + p {

    margin-top: 20px;

}


/* =========================================================
   ABOUT NOTE
========================================================= */

.about-note {

    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 60px;

    padding-top: 25px;

    border-top:
        1px solid var(--line);

}

.note-mark {

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--green);

    border-radius: 50%;

    font-size: 20px;

}

.about-note p {

    font-size: 13px;

    font-weight: 800;

}


/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio {

    background: var(--bg);

    padding-top: 0;

}

.portfolio-box {

    background: var(--black);

    color: white;

    border-radius:
        var(--radius);

    padding: 70px;

    display: grid;

    grid-template-columns:
        100px 1fr;

    gap: 50px;

}

.portfolio-number {

    font-family:
        "DM Mono",
        monospace;

    font-size: 11px;

    color: #777770;

}

.portfolio-content {

    max-width: 850px;

}

.portfolio-content > span {

    font-family:
        "DM Mono",
        monospace;

    font-size: 10px;

    color: #8b8b83;

}

.portfolio-content h2 {

    margin-top: 25px;

    font-size:
        clamp(
            48px,
            6vw,
            80px
        );

    line-height: 0.92;

    letter-spacing: -0.08em;

    font-weight: 800;

}

.portfolio-content h2 span {

    color: var(--green);

}

.portfolio-content p {

    max-width: 600px;

    margin-top: 35px;

    color: #9a9a92;

    font-size: 15px;

    line-height: 1.7;

}

.button-light {

    margin-top: 40px;

    background: white;

    color: var(--black);

    padding: 16px 22px;

    border-radius: 100px;

}

.button-light:hover {

    transform:
        translateY(-3px);

}


/* =========================================================
   PROCESS
========================================================= */

.process {

    background: var(--black);

    color: white;

}

.process-grid {

    display: grid;

    grid-template-columns:
        1fr 1.3fr;

    gap: 120px;

}

.process-intro {

    position: sticky;

    top: 130px;

    align-self: start;

}

.process .section-label {

    color: #85857e;

}

.process-intro h2 {

    margin-top: 50px;

    font-size:
        clamp(
            55px,
            7vw,
            100px
        );

    line-height: 0.88;

    letter-spacing: -0.08em;

    font-weight: 800;

}

.process-intro h2 span {

    color: var(--green);

}


/* =========================================================
   PROCESS ITEMS
========================================================= */

.process-list {

    border-top:
        1px solid #35352f;

}

.process-item {

    display: grid;

    grid-template-columns:
        70px 1fr;

    gap: 30px;

    padding: 40px 0;

    border-bottom:
        1px solid #35352f;

}

.process-number {

    font-family:
        "DM Mono",
        monospace;

    font-size: 10px;

    color: #85857e;

}

.process-item h3 {

    font-size: 27px;

    font-weight: 800;

    letter-spacing: -0.05em;

}

.process-item p {

    max-width: 500px;

    margin-top: 12px;

    color: #97978f;

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================================
   CONTACT
========================================================= */

.contact {

    background: var(--green);

    text-align: center;

    padding:
        180px 0;

}

.contact-content {

    display: flex;

    flex-direction: column;

    align-items: center;

}

.contact .section-label {

    color: var(--black);

}

.contact h2 {

    margin-top: 50px;

    font-size:
        clamp(
            55px,
            9vw,
            130px
        );

    line-height: 0.86;

    letter-spacing: -0.09em;

    font-weight: 800;

}

.contact h2 span {

    color: white;

}

.contact-content > p {

    max-width: 500px;

    margin:
        45px auto 35px;

    font-size: 15px;

    line-height: 1.7;

}

.email-link {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    font-size:
        clamp(
            17px,
            3vw,
            29px
        );

    font-weight: 800;

    letter-spacing: -0.04em;

    border-bottom:
        2px solid var(--black);

    padding-bottom: 7px;

}

.email-link:hover {

    opacity: 0.6;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background: var(--black);

    color: white;

    padding:
        55px 0 30px;

}

.footer-main {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 55px;

    border-bottom:
        1px solid #34342f;

}

.footer-logo {
    color: white;
}

.footer-main p {

    color: #777770;

    font-size: 12px;

    text-align: right;

}

.footer-bottom {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    padding-top: 30px;

    color: #73736c;

    font-family:
        "DM Mono",
        monospace;

    font-size: 9px;

}

.footer-links {

    display: flex;

    gap: 25px;

}

.footer-links a:hover {

    color: white;

}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;

}

.reveal.visible {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

    .navigation {

        display: none;

        position: absolute;

        top: 82px;

        left: 0;
        right: 0;

        padding:
            20px 24px 25px;

        background:
            rgba(
                245,
                245,
                240,
                0.98
            );

        border-bottom:
            1px solid var(--line);

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

    }

    .navigation.mobile-open {

        display: flex;

    }

    .navigation a {

        width: 100%;

        padding: 14px 0;

    }

    .navigation .nav-button {

        text-align: center;

        padding: 14px;

        margin-top: 8px;

    }

    /* Language switcher on mobile */

    .language-switcher {

        width: auto !important;

        margin-left: 0;

        margin-top: 12px;

        padding: 8px 0 !important;

        gap: 7px;

    }

    .language-switcher a {

        width: auto !important;

        padding: 0 !important;

    }

    .menu-button {

        display: block;

    }


    .hero {

        min-height: 850px;

    }

    .hero h1 {

        font-size:
            clamp(
                62px,
                14vw,
                110px
            );

    }

    .hero-bottom {

        flex-direction: column;

        align-items: flex-start;

        gap: 35px;

    }

    .hero-actions {

        align-items: flex-start;

        flex-direction: column;

    }

    .hero-bottom-label {

        display: none;

    }


    .intro-grid,
    .about-grid {

        grid-template-columns: 1fr;

        gap: 40px;

    }

    .intro-description,
    .about-text {

        margin-left: 0;

    }


    .services-grid {

        grid-template-columns: 1fr;

    }


    .portfolio-box {

        grid-template-columns: 1fr;

        padding: 40px;

        gap: 35px;

    }


    .process-grid {

        grid-template-columns: 1fr;

        gap: 70px;

    }

    .process-intro {

        position: static;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {

        width:
            calc(100% - 32px);

    }

    .section {

        padding:
            100px 0;

    }


    .nav {

        height: 72px;

    }

    .navigation {

        top: 72px;

    }


    .hero {

        min-height:
            780px;

        padding-top:
            80px;

    }

    .hero-content {

        padding:
            50px 0;

    }

    .hero h1 {

        font-size:
            62px;

    }

    .hero-bottom {

        margin-top:
            50px;

    }

    .hero-bottom p {

        font-size:
            15px;

    }


    .section-heading {

        flex-direction:
            column;

        gap: 15px;

    }


    .service-card {

        min-height:
            320px;

        padding:
            28px;

    }

    .service-card h3 {

        font-size:
            43px;

    }


    .about-intro h2 {

        font-size:
            48px;

    }


    .portfolio-box {

        padding:
            32px;

    }

    .portfolio-content h2 {

        font-size:
            48px;

    }


    .process-intro h2 {

        font-size:
            65px;

    }

    .process-item {

        grid-template-columns:
            45px 1fr;

        gap: 15px;

    }

    .process-item h3 {

        font-size:
            23px;

    }


    .contact {

        padding:
            120px 0;

    }

    .contact h2 {

        font-size:
            62px;

    }

    .email-link {

        font-size:
            17px;

    }


    .footer-main {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap: 20px;

    }

    .footer-main p {

        text-align:
            left;

    }

    .footer-bottom {

        align-items:
            flex-start;

        flex-direction:
            column;

    }

    .footer-links {

        flex-wrap:
            wrap;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

    }

}


/* =========================================================
   LEGAL PAGES
========================================================= */

.legal-page {

    min-height: 100vh;

    padding:
        180px 0 120px;

}

.legal-container {

    max-width: 900px;

}

.legal-container h1 {

    margin-top: 35px;

    font-size:
        clamp(
            60px,
            9vw,
            120px
        );

    line-height: 0.88;

    letter-spacing: -0.09em;

    font-weight: 800;

}

.legal-content {

    max-width: 720px;

    margin-top: 80px;

}

.legal-content h2 {

    font-size: 25px;

    letter-spacing: -0.04em;

    font-weight: 800;

    margin-top: 50px;

    margin-bottom: 15px;

}

.legal-content h2:first-child {

    margin-top: 0;

}

.legal-content p {

    color: var(--gray-dark);

    font-size: 15px;

    line-height: 1.75;

}

.legal-warning {

    margin-top: 60px;

    padding: 25px;

    background: var(--green-soft);

    border-radius: 12px;

}

@media (max-width: 600px) {

    .legal-page {

        padding:
            140px 0 80px;

    }

    .legal-content {

        margin-top: 55px;

    }

    .legal-container h1 {

        font-size: 65px;

    }

}
