:root {
    --primary-blue: rgb(142, 182, 193);
    --vanilla: rgb(248, 237, 212);
    --text-color: #333;
    --text-light: var(--vanilla);
    --font-main: "brevia", sans-serif;

    /* Responsive Grid Alignment */
    --container-max-width: 1360px;
    --site-margin: calc((100vw - min(90vw, var(--container-max-width))) / 2);
}

/* ==========================================================================
   TYPOGRAPHY DEFINITIONS
   ========================================================================== */
body {
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-light);
}
 
 
/* --- Headings --- */
 
.hero-heading-vanilla {
    font-weight: 700;
    font-size: 4.6rem;
    letter-spacing: -0.015em;
    line-height: 1;
    text-align: left;
}
 
.heading-blue         { color: var(--primary-blue); }
.hero-heading-vanilla { color: var(--vanilla); }
 

.heading-blue {
    font-weight: 700;
    font-size: 3.4rem; /* unified with heading-blue */
    letter-spacing: -0.015em;
    line-height: 1;
    color: var(--primary-blue);
    text-align: left;
}
 

.heading-vanilla {
    font-weight: 700;
    font-size: 3.4rem; /* unified with heading-blue */
    letter-spacing: -0.015em;
    line-height: 1;
    color: var(--vanilla);
    text-align: left;
}
 
 
/* --- Subheadings --- */
 
.subheading-blue,
.subheading-vanilla {
    font-style: italic;
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: -0.02em;
    max-width: var(--container-max-width);
    text-align: left;
}
 
.subheading-blue    { color: var(--primary-blue); }
.subheading-vanilla { color: var(--vanilla); }
 
/* --- Body text --- */
 
.text-body-blue,
.text-body-vanilla {
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.3;
    letter-spacing: -0.015em; /* unified — was 0.005em on vanilla */
}
 
.text-body-blue    { color: var(--primary-blue); }
.text-body-vanilla { color: var(--vanilla); }
 
 
/* ==========================================================================
   Typography — Responsive Scale
   All breakpoints follow a strictly descending scale.
   text-align: center applied from 992px down on headings/subheadings.
   max-width constraints belong in layout rules, not here.
   ========================================================================== */
 
 
@media (max-width: 992px) {
    .heading-blue,
    .heading-vanilla {
        font-size: 3rem;
        text-align: center;
    }
 
    .hero-heading-vanilla {
        font-size: 4rem;
        text-align: center;
    }
 
    .subheading-blue,
    .subheading-vanilla {
        font-size: 1.8rem;
        line-height: 1.1;
        text-align: center;
    }
 
    .body-title-vanilla {
        font-size: 1.6rem;
    }
 
    .text-body-blue,
    .text-body-vanilla {
        font-size: 1.1rem;
    }

    .btn-text-vanilla, .btn-text-blue {
    font-size: 1.1rem;
}
}
 
@media (max-width: 768px) {
    .heading-blue,
    .heading-vanilla {
        font-size: 2.8rem;
    }
 
    .hero-heading-vanilla {
        font-size: 3.8rem;
    }
 
    .subheading-blue,
    .subheading-vanilla {
        font-size: 1.8rem;
    }
 
    .text-body-blue,
    .text-body-vanilla {
        font-size: 1rem;
    }
}
 
@media (max-width: 480px) {

    .hero-heading-vanilla {
        font-size: 3.4rem;
    }
    .heading-blue,
    .heading-vanilla{
        font-size: 2.4rem;
    }
 
    .subheading-blue,
    .subheading-vanilla {
        font-size: 1.2rem;
    }
 
    .text-body-blue,
    .text-body-vanilla {
        font-size: 0.95rem;
    }

    .btn-text-vanilla, .btn-text-blue {
    font-size: 0.95rem;
}
}


/* ==========================================================================
   GLOBAL LAYOUT & BASE STRUCTURE
   ========================================================================== */
html {
    scroll-behavior: smooth;
    overscroll-behavior: none;
    min-height: 100%;
    background-color: rgb(142, 182, 193); 
    zoom: 90%;
}

body {
    overflow-x: hidden;
    margin: 0;
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-light);
}

/* Create a rock-solid, hardware-accelerated sticky background container */
body::before {
    content: "";
    position: fixed; /* Keeps it completely sticky to the glass viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Pushes it safely behind all text and cards */
    background-image: url('Images/Background_Blue_2400x1350.webp');
    background-position: center;
    background-repeat: no-repeat;
    
    /* DESKTOP STICKY SIZE */
    background-size: cover; 
    
    /* Smooth out mobile browser scrolling stutter */
    will-change: transform; 
    transform: translateZ(0);
}


@media (max-width: 460px) {
    body::before {
        /* MOBILE STICKY SIZE (Adjust this value to change size on phones) */
        background-size: 240vh auto; 
    }

    /* Keeps sections transparent so you can see your sticky image underneath */
    .heading-section-blue,
    .section-blue,
    .steps-grid {
        background-color: transparent !important;
        background-image: none !important;
    }
}

.text-center {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    place-items: center;
}


/* ===========================
   NAVBAR COMPONENT
   =========================== */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--vanilla);
    background-image: url('Images/Background_Vanilla_Screenprint_Section.webp');
    background-size: 2020px;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    z-index: 1000;
    transition: transform 0.4s ease-in-out;
    transform: translateY(-100%);
}

#navbar.navbar-visible {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-content {
    width: 90%;
    max-width: var(--container-max-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    list-style: none;
}

.navbar-links .navbar-item-mobile {
    display: none;
}

.navbar-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

.navbar-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--primary-blue);
    transition: width 0.4s ease;
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    position: relative;
    z-index: 1002;
}

.navbar-logo-img {
    height: 25px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.navbar-logo-img:hover {
    transform: scale(1.05);
}

/* Hamburger Menu Button */
.navbar-hamburger {
    display: none;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.navbar-hamburger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
    border-radius: 1px;
    transform-origin: center;
}

.navbar-hamburger-line:nth-child(1) {
    top: 0;
}

.navbar-hamburger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.navbar-hamburger-line:nth-child(3) {
    bottom: 0;
}

.navbar-hamburger.active .navbar-hamburger-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.navbar-hamburger.active .navbar-hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-hamburger.active .navbar-hamburger-line:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* ===========================
   DROPDOWN MENU (DESKTOP)
   =========================== */

.dropdown-arrow {
    font-size: 0.65rem;
    margin-left: 4px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.3s ease;
}

.navbar-dropdown {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--vanilla);
    min-width: 260px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.dropdown-menu li {
    width: 100%;
    display: block;
}

.dropdown-menu a {
    color: var(--primary-blue) !important;
    padding: 0.6rem 1.5rem;
    display: block;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-blue) !important;
}

.navbar-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.navbar-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar-hamburger {
        display: flex;
    }

    .navbar-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--vanilla);
        background-image: url('Images/Background_Vanilla_Screenprint_Section.webp');
        background-size: cover;
        background-position: center;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        opacity: 0;
        visibility: hidden;
        transition: none;
        z-index: 1001;
        padding: 0;
    }

    .navbar-links li {
        font-size: 2rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .navbar-links .navbar-item-desktop {
        display: none;
    }

    .navbar-links .navbar-item-mobile {
        display: flex;
    }

    .navbar-links.navbar-links-active {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .navbar-links a::after {
        height: 1px;
    }
}


/* ===========================
   SECTION BACKGROUNDS
   =========================== */

.heading-section-blue {
    width: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom:0px;
    padding-top: 6rem;
}

.section-vanilla {
    width: 100%;
    min-height: 913px;
    height: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-image: url('Images/Background_Vanilla_Screenprint_Section.webp');
    background-size: 1440px;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 992px) {
    .section-vanilla {
        min-height: auto;
        height: auto;
        padding: 80px 0;
        background-size: cover;
    }

    .heading-section-blue {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .section-blue {
        padding-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .heading-section-blue {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }

    .section-blue {
        padding-bottom: 2rem;
    }
}

@media (max-width: 600px) {
    .heading-section-blue {
        padding-top: 4rem;
        padding-bottom: 1.5rem;
    }

    .section-blue {
        padding-bottom: 1.5rem;
    }
}

/* ===========================
    SPLIT LAYOUT
   =========================== */
.split-layout {
    width: 90%;
    max-width: var(--container-max-width);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin: 0 auto;
}

.split-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 480px;
    margin-bottom: 0px;
}

.split-media {
    width: 50%;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

/* Re-enable pointer events for the slider drag surface */
.v-slider__drag,
.v-slider-dots,
.v-dot {
    pointer-events: all;
}

.split-image-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 520px;
    margin-top: 60px;
    margin-bottom: 0px;
}

.split-overlay {
    width: 100%;
    height: auto;
    display: block;
}

.split-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}


/* Responsive Hero Split */
@media (max-width: 992px) {
    .heading-section-blue .split-layout {
        flex-direction: column;
        text-align: center;
    }

    .section-blue .split-layout {
        flex-direction: column;
        text-align: center;
    }

    .section-vanilla .split-layout {
        flex-direction: column;
        text-align: center;
    }


    .split-content {
        width: 90%;
        justify-content: center;
        align-items: center;
            min-width: 100%;
    }

    .split-content .hero-heading-vanilla,
    .split-content .heading-vanilla,
    .split-content .subheading-vanilla,
    .split-content .text-body-vanilla {
        text-align: center;
        margin-bottom: 1rem;
    }

    .split-content .hero-heading-blue,
    .split-content .heading-blue,
    .split-content .subheading-blue,
    .split-content .text-body-blue {
        text-align: center;
        margin-bottom: 1rem;
    }

    .split-layout {
    width: 90%;
    max-width: var(--container-max-width);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin: 0 auto;
    }

    .split-media {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .split-image {
    width: 100%;
    height: 65%;
    }

    .split-landing-content-responsive{
    margin-bottom: 50px;
    }
    
    /* 1. Give the wrapper a strict landscape shape to kill the invisible gap */
    .split-image-wrapper {
        aspect-ratio: 1.3 / 1; 
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
        max-width: 820px;
        margin-top: 00px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* 2. Take the overlay out of the flow, center it, and rotate it */
    .split-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        height: 130%; /* Mathematically matches the width when rotated */
        width: auto;
        transform: translate(-50%, -50%) rotate(90deg) !important;
    }

    /* 3. Ensure your slider fits perfectly inside */
    .split-image,
    .v-slider {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85% !important; 
        height: 85% !important;
        /* Note: Feel free to adjust the 90% and 80% slightly to fit your exact border */
    }
    
    /* 4. Optional: Zero out the layout gap just in case */
    .split-layout {
        gap: 0;
    }
}

@media (max-width: 768px) {
    .section-blue .split-layout {
        flex-direction: column;
        text-align: center;
    }

    .section-blue .split-image-wrapper {
        margin-bottom:0;
    }

    .section-responsive {
    padding: 0;
    padding-bottom: 0;
    padding-top: 60px;
}

        .split-content {
    margin-bottom: 50px;
    }

    .split-content-responsive {
    margin-bottom: 0px
}

}

.section-responsive {
    padding: auto;
    padding-bottom: auto;
}

.split-image-responsive {
    margin-top: 0px;
    margin-bottom: 0px
}

/* ===========================
   V-SLIDER DOT GALLERY
   =========================== */

.v-slider-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
}

.v-slider-dots {
    display: flex;
    gap: 15px;
    margin-top: 16px;
}

.v-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(248, 237, 212, 0.35);
}

.v-dot:hover {
    background: rgba(248, 237, 212, 0.65);
}

.v-dot--blue {
    background: rgba(142, 182, 193, 0.4);
}

.v-dot--blue:hover {
    background: rgba(142, 182, 193, 0.7);
}

.v-dot.active {
    transform: scale(1.4);
}

.v-dot--blue.active {
    background: var(--primary-blue);
}

/* ===========================
   BUTTON COMPONENT
   =========================== */

.arrow {
    font-size: 1.4rem;
    vertical-align: middle;
}

.btn-blue {
    font-family: var(--font-main), sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    color: var(--vanilla);
    background-color: var(--primary-blue);
    padding: 4px 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.4s ease;
    margin-top: auto;
    width: fit-content;
    z-index: 2;
    position: relative;
}

.btn-text-blue {
    position: relative;
    padding-bottom: 0px;
}

.btn-text-blue::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--vanilla);
    transition: width 0.4s ease;
}

.btn-blue:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-blue:hover .btn-text-blue::after {
    width: 100%;
}

.btn-vanilla {
    font-family: var(--font-main), sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.015em;
    display: inline-flex;
    align-items: center;
    color: var(--primary-blue);
    background-color: var(--vanilla);
    padding: 4px 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.4s ease;
    margin-top: auto;
    width: fit-content;
    z-index: 2;
    position: relative;
}

.btn-text-vanilla {
    position: relative;
    padding-bottom: 0px;
}
.btn-text-vanilla::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--primary-blue);
    transition: width 0.4s ease;
}

.btn-vanilla:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-vanilla:hover .btn-text-vanilla::after {
    width: 100%;
}

/* ===========================
   FAQ ACCORDION — using <details>/<summary>
   (no JS toggling needed for open/close;
    JS only swaps the icon character)
   =========================== */
 
.faq-section {
    padding: 0px 0px 100px 0;
    flex-direction: column;
}
 
.faq-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
 
.faq-list {
    width: 90%;
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid rgba(248, 237, 212, 0.8);
    max-width: 1050px;

}
 
/* <details> element */
.faq-item {
    border-bottom: 1px solid rgba(248, 237, 212, 0.8);
}
 
/* Remove default browser triangle on <summary> */
.faq-item summary {
    list-style: none;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
 
/* <summary> styled as the clickable bar */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 0;
    gap: 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s ease;
}
 
.faq-question:hover {
    opacity: 0.75;
}
 
.faq-question span:first-child {
    font-family: var(--font-main);
    font-size: 1.3rem;
    letter-spacing: -0.015em;
    font-weight: 600;
    line-height: 1.2;
    color: var(--vanilla);
    flex: 1;
}
 
.faq-icon {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--vanilla);
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.3s ease;
    display: inline-block;
    width: 1.2rem;
    text-align: center;
}
 
/* Answer body */
.faq-answer {
    padding: 0 0 1.4rem 0;
}
 
.faq-answer p {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(248, 237, 212, 0.85);
    margin: 0;
}
 
/* CTA below the list */
.faq-cta {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

@media (max-width: 992px) {
    .faq-question span:first-child {
        font-size: 1.2rem;
    }

}
 
@media (max-width: 768px) {
    .faq-section {
        padding: 20px 0 80px 0;
    }

    .faq-question span:first-child {
        font-size: 1.1rem;
    }

 
    .faq-answer p {
        font-size: 1rem;
    }
}

/* ===========================
   BEFORE/AFTER SLIDER
   Portrait image, horizontal dividing line (splits left/right)
   Sits inside .split-image-wrapper like .split-image
   =========================== */

.v-slider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background-color: #000;
}

.v-slider__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* BEFORE layer — clips left half, initially 50% */
.v-slider__before {
    position: absolute;
    inset: 0;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    z-index: 2;
}

/* Handle — full-height vertical bar, moves left/right */
.v-slider__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 65px;
}

.v-slider__line {
    flex-grow: 1;
    width: 2px;
    background: rgba(248, 237, 212, 0.6);
}

.v-slider__icon {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px 0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.9));
}

.v-slider__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.v-slider__drag {
    position: absolute;
    inset: 0;
    z-index: 5;
    cursor: default;
}

/* Blue variant — handle line uses primary-blue instead of vanilla */
.v-slider--blue .v-slider__line {
    background: rgba(142, 182, 193, 0.6);
}


/* ===========================
   STEPS SECTION (3-Schritte)
   =========================== */

.steps-grid {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

/* Cell 1 — heading block, no border */
.steps-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
    padding: 10px 20px 10px 0;
}

.steps-heading {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 2.6rem;
    letter-spacing: -0.015em;
    line-height: 1;
    color: var(--primary-blue);
    margin: 0;
}

.steps-subheading {
    font-family: var(--font-main);
    font-style: regular;
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--primary-blue);
    margin: 0;
}

/* Cells 2–4 — cards */
.steps-card {
    border: 1.5px solid rgba(142, 182, 193, 0.4);
    border-radius: 20px;
    padding: 24px 22px;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    gap: 16px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    max-width: 600px;
}

.steps-card-icon {
    width: 164px;
    height: 164px;
    flex-shrink: 0;
    margin-top: 4px;
}

.steps-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.steps-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.steps-card-title {
    font-family: var(--font-main);
    font-weight: 800;
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--primary-blue);
    margin: 0;
}

.steps-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Responsive */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: 1fr;
        padding: 0px 0;
        /* Add this line to center the cards horizontally */
        justify-items: center; 
    }

    .steps-card {
        align-items: center;
        /* Ensure the cards don't stay left-aligned */
        margin: 0 auto; 
    }

    .steps-intro {
        padding: 0;
        text-align: center;
        align-items: center;
    }

    .steps-heading {
        font-size: 2rem;
    }

    .steps-subheading {
        font-size: 1.2rem;
    }
}

@media (max-width: 500px) {
    .steps-card {
flex-direction: column;
align-items: center;
text-align: center;
    gap:0px;
    }
    
.steps-card-icon {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    margin-top: 4px;
}

.steps-card .text-body-blue {
    font-size: 0.85rem;
}
}

/* ==========================================================================
   ABOUT PAGE SPECIFIC EXTENSIONS
   ========================================================================== */

.about-post-label {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
    margin-bottom: 0.5rem; /* Gleicht das Flex-Gap der .split-content Box ästhetisch aus */
    margin-top:2.5rem;
}

.about-post-label-vanilla {
    color: var(--vanilla);
}

/* Zentrierung für mobile Breakpoints analog zu den Headings */
@media (max-width: 992px) {
    .about-post-label {
        text-align: center;
        margin-bottom: 0;
    }
}


/* ==========================================================================
   KONTAKT-SEITE COMPONENT-STYLES
   ========================================================================== */

.kontakt-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
    align-items: start;
}

.kontakt-info {
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

.kontakt-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.kontakt-detail-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.kontakt-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--vanilla);
    color: var(--vanilla);
    border-radius: 50%;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.kontakt-detail-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--vanilla);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.kontakt-detail-value {
    color: var(--vanilla);
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a.kontakt-detail-value:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.kontakt-response-note {
    background-color: rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--vanilla);
    padding: 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1rem;
}

/* Formular Wrapper & Felder */
.kontakt-form-wrapper {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.kontakt-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.kontakt-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.kontakt-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.kontakt-label-optional {
    font-weight: 400;
    font-size: 0.8rem;
    opacity: 0.6;
}

.kontakt-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--primary-blue);
    background-color: #f8fafc;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.kontakt-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.06);
}

/* Custom Select Dropdown Styling */
.kontakt-select-wrapper {
    position: relative;
    width: 100%;
}

.kontakt-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
}

.kontakt-select-arrow {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--primary-blue);
    pointer-events: none;
}

.kontakt-textarea {
    resize: vertical;
    min-height: 130px;
}

/* Datenschutz Checkbox */
.kontakt-datenschutz {
    margin-top: 0.25rem;
}

.kontakt-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #475569;
}

.kontakt-checkbox {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.kontakt-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    background-color: #ffffff;
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 1px;
}

.kontakt-checkbox:checked ~ .kontakt-checkbox-custom {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.kontakt-checkbox:checked ~ .kontakt-checkbox-custom::after {
    content: "✓";
    position: absolute;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.kontakt-link {
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: 500;
}

.kontakt-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kontakt-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Feedback-Meldungen (AJAX/JS) */
.kontakt-feedback {
    display: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.kontakt-feedback.visible {
    display: block;
    animation: FormFadeIn 0.4s ease forwards;
}

.kontakt-feedback-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.kontakt-feedback-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}


/* ==========================================================================
   PREISGESTALTUNG-SEITE COMPONENT-STYLES
   ========================================================================== */

.preis-hero {
    background-color: var(--primary-blue);
    padding: 7rem 20px 5rem 20px;
    text-align: center;
}

.preis-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.preis-hero-intro {
    max-width: 720px;
    margin: 1.5rem auto 0 auto;
    opacity: 0.9;
    line-height: 1.65;
}

/* Preiskarten-Grid */
.preis-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: -3.5rem auto 5rem auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.preis-card {
    background-color: var(--primary-blue);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preis-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
    border-color: var(--vanilla);
}

.preis-card-icon {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.preis-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.preis-amount {
    font-family: var(--font-primary), sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--vanilla);
    margin: 0.75rem 0 1.25rem 0;
}

.preis-unit {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.85;
}

.preis-amount-small {
    font-size: 1.85rem;
    padding: 0.4rem 0;
}

/* Anfahrtskosten & Tabelle */
.preis-anfahrt-section {
    padding: 5rem 20px;
}

.preis-anfahrt-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background-color: rgba(255, 255, 255, 0.04);
    padding: 2.25rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.preis-anfahrt-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(248, 237, 212, 0.8);
    text-align: left;
}

.preis-anfahrt-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.preis-anfahrt-label {
    color: var(--vanilla);
    font-weight: 500;
}

.preis-anfahrt-value {
    color: var(--vanilla);
    font-weight: 700;
    font-size: 1.15rem;
}

/* Steuerlich Absetzbar Infobox */
.preis-steuer-box {
    display: flex;
    gap: 1.5rem;
    background-color: rgba(255, 255, 255, 0.04);
    padding: 2.25rem;
    border-radius: 14px;
    border-left: 4px solid var(--vanilla);
    align-items: flex-start;
}

.preis-steuer-icon {
    font-size: 2rem;
    line-height: 1;
}

.preis-ablauf-cta {
    margin-top: 3.5rem;
}

/* ==========================================
   PREISGESTALTUNG SIDE-BY-SIDE FLEX ROW
   ========================================== */
.preis-flex-row {
    display: flex;
    gap: 20px;
    align-items: stretch; /* Forces both containers to take up identical heights */
    justify-content: center;
    width: 100%;
    margin: 0 auto 4rem auto;
}

.preis-flex-row .preis-anfahrt-grid,
.preis-flex-row .preis-steuer-box {
    flex: 1; /* Assigns matching baseline width allocations */
    margin: 0 !important; /* Cleans up rogue space variables */
    box-sizing: border-box;
    align-content: center;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .preis-flex-row {
        flex-direction: column; /* Stacked under each other on mobile layout */
        gap: 20px;
        margin-bottom: 3rem;
    }
}


/* ==========================================================================
   RECHTLICHES (IMPRESSUM & DATENSCHUTZ) COMPONENT-STYLES
   ========================================================================== */

.section-impressum {
    padding: 5rem 20px;
    max-width: 840px;
    margin: 0px auto 0rem auto;
    padding-top: 6em;
}

@media (max-width: 768px) {
    .section-impressum {
        padding-top: 4rem;
    }
}

.impressum-heading {
    color: var(--vanilla);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.45rem;
    border-bottom: 1px solid rgba(248, 237, 212, 0.8);
    padding-bottom: 0.5rem;
}

.impressum-heading:first-of-type {
    margin-top: 0;
}

.impressum-text {
    color: var(--vanilla);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    opacity: 0.95;
}


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (BREAKPOINTS)
   ========================================================================== */

@media (max-width: 992px) {
    .preis-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 2rem;
        gap: 1.5rem;
    }
    
    .kontakt-layout {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    .preis-cards-wrapper {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }
    
    .kontakt-form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .kontakt-form-wrapper {
        padding: 1.75rem 1.25rem;
    }
    
    .preis-anfahrt-grid, 
    .preis-steuer-box {
        padding: 1.5rem;
    }
    
    .preis-steuer-box {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .preis-anfahrt-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
    
    .preis-anfahrt-value {
        align-self: flex-end;
    }
}

@keyframes FormFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.footer {
    width: 100%;
    max-height: 100vh;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    overflow: hidden;
    background-image: url('Images/Background_Vanilla_Screenprint_Section.webp');
    background-size: 1440px;
    background-repeat: no-repeat;
    background-position: top center;
    align-items: flex-start;
    padding-top: 120px;
    padding-bottom: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    padding: 0 0px;
    margin-top: 0px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.footer-col:nth-child(2) {
    margin-left: 10px;
}

.footer-col-right {
    align-items: flex-start;
}

.footer-logo {
    width: 220px;
    height: auto;
    margin-bottom: 0px;
}

.footer-col h3 {
    color: rgb(142, 182, 193);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.footer-col a,
.footer-col p {
    color: rgb(142, 182, 193);
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    display: inline-block;
}

.footer-col a::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--primary-blue);
    transition: width 0.4s ease;
}

.footer-col a:hover::after {
    width: 100%;
}

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 20px;
    border-top: 0.5px solid rgba(142, 182, 193);
    font-size: 0.9rem;
    color: rgb(142, 182, 193);
    text-shadow: 0 0 0.4px rgb(142, 182, 193), 0 0 0.4px rgb(142, 182, 193);
}

/* Footer Layout Modifiers */
@media (max-width: 1080px) {
    .footer {
        max-height: 460px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: -50px;
    }

    .footer-col {
        align-items: center;
    }

    .footer-col-right {
        padding-left: 0;
    }
}
/* ==========================================================================
   index.css
   Page-specific styles for the landing page (index.html).
   Requires Kontakt.css to be loaded first — this file only contains
   components that are NOT defined there.
   ========================================================================== */


/* ===========================
   LANDING PAGE UTILITIES
   =========================== */

/* Prevents scrolling during the initial hero animation */


/* ===========================
   HERO SECTION & COMPOSITION
   =========================== */

.hero {
    height: 100%;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-composition {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 1280px;
}

.hero-slogan {
    width: 100%;
    max-width: 780px;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    opacity: 0;
    animation: sloganAnim 5s ease-in-out forwards;
}

.hero-logo-mark {
    width: 25%;
    max-width: 230px;
    height: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    z-index: 2;
    opacity: 0;
    animation: markAnim 5s ease-in-out forwards;
}

.hero-logo-signature {
    width: 90%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    opacity: 0;
    animation: signatureAnim 5s ease-in-out forwards;
}


/* ===========================
   HERO KEYFRAME ANIMATIONS
   =========================== */

@keyframes markAnim {
    0%   { opacity: 0; transform: translateY(-80px) rotate(-360deg) scale(0.6); }
    20%  { opacity: 1; transform: translateY(-80px) rotate(10deg) scale(1.05); }
    25%  { opacity: 1; transform: translateY(-80px) rotate(0deg) scale(1); }
    40%  { opacity: 1; transform: translateY(0); }
    60%  { opacity: 1; transform: translateY(-25px); }
    80%  { opacity: 1; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes signatureAnim {
    0%, 20% { opacity: 0; transform: translateY(15px); }
    40%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes sloganAnim {
    0%, 60% { opacity: 0; transform: translateY(20px); }
    80%, 100% { opacity: 1; transform: translateY(0); }
}


/* ===========================
   SECTION SPACING OVERRIDES
   Landing page vanilla sections have top/bottom margins between them,
   unlike sub-page vanilla sections which are flush.
   =========================== */

#section-2.section-vanilla,
#section-4.section-vanilla {
    margin-top: 40px;
    margin-bottom: 40px;
}


/* ===========================
   SECTION-BLUE (landing page variant)
   Sub-pages use the shared .section-blue from Kontakt.css.
   The landing page blue sections are taller (95vh) and have no
   padding-top/bottom overrides from sub-page rules.
   =========================== */

#section-5.section-blue,
#section-6.section-blue {
    padding-top: 80px;
    padding-bottom: 80px;
}


/* ===========================
   HEADING VARIANT: CENTRIC BLUE
   Used only on the slider section heading — centered, no letter-spacing.
   Not part of Kontakt.css typography system.
   =========================== */

.heading-blue-centric {
    font-weight: 700;
    font-size: 3.8rem;
    line-height: 1;
    color: var(--primary-blue);
    white-space: normal;
    text-align: center;
    letter-spacing: -0.015em;
}

@media (max-width: 1200px) { .heading-blue-centric { font-size: 3.2rem; } }
@media (max-width: 992px)  { .heading-blue-centric { font-size: 3rem; } }
@media (max-width: 768px)  { .heading-blue-centric { font-size: 3.4rem; } }
@media (max-width: 480px)  { .heading-blue-centric { font-size: 2.4rem; } }


/* ===========================
   TYPOGRAPHY: QUOTE STYLES
   Used in testimonial cards only.
   =========================== */

.quote-body-vanilla {
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.4;
    font-style: italic;
    color: var(--vanilla);
}

.quote-title-vanilla {
    font-weight: 800;
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--vanilla);
}

@media (max-width: 600px) {
    .quote-title-vanilla { font-size: 1.35rem; }
    .quote-body-vanilla  { font-size: 1.1rem; }
    .hero-composition {
    width: 100%;
}
}


/* ===========================
   TYPOGRAPHY: BODY TITLE BLUE
   Used in service cards. body-title-vanilla is in Kontakt.css
   but body-title-blue is not.
   =========================== */

.body-title-blue {
    color: var(--primary-blue);
    font-weight: 800;
    font-style: italic;
    font-size: 1.8rem;
    margin-top: 10px;
    margin-bottom: 15px;
    line-height: 1.2;
}

@media (max-width: 600px) {
    .body-title-blue { font-size: 1.3rem; }
}


/* ===========================
   SERVICE SECTION
   (no section background — sits directly over the page bg)
   =========================== */

.service-section {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
    align-content: center;
}

.service-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    overflow: visible;
}

.centric-text-column {
    width: 90%;
    max-width: var(--container-max-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


/* ===========================
   SERVICES CARD GRID
   Horizontal scroll, snap, fixed-width cards
   =========================== */

.services-grid {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 25px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 100px var(--site-margin) 40px var(--site-margin);
    margin: -100px 0 -60px 0;
    scroll-snap-type: x mandatory;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.services-grid::-webkit-scrollbar        { height: 8px; }
.services-grid::-webkit-scrollbar-track  { background: transparent; margin: 0 var(--site-margin); }
.services-grid::-webkit-scrollbar-thumb  { background: var(--vanilla); border-radius: 4px; }

.service-card-vanilla {
    position: relative;
    background-image: url('Images/Vanilla_Screenprint_Overlay.png');
    background-size: 140%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 30px;
    display: grid;
    grid-template-rows: 250px 1fr;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    min-height: 580px;
    width: 440px;
    flex: 0 0 440px;
    scroll-snap-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card-vanilla:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card-image {
    width: 100%;
    height: 250px;
    padding: 20px;
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.service-card-content {
    padding: 0 30px 30px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    box-sizing: border-box;
}

/* On very wide screens, center the grid instead of left-aligning */
@media (min-width: 1900px) {
    .services-grid {
        justify-content: center;
        padding-left: 20px;
        padding-right: 20px;
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .services-grid::-webkit-scrollbar { display: none; }
}

/* Tablet — slightly narrower cards */
@media (max-width: 768px) {
    .service-card-vanilla {
        width: 360px;
        flex: 0 0 360px;
        min-height: 480px;
        grid-template-rows: 190px 1fr;
    }

    .service-card-image {
        height: 190px;
        padding: 14px;
    }

    .service-card-content {
        padding: 0 20px 22px 20px;
    }
}

/* Phone — compact cards, nearly full viewport width */
@media (max-width: 480px) {
    .services-grid {
        gap: 16px;
        padding-top: 80px;
        padding-bottom: 30px;
        margin-top: -80px;
    }

    .service-card-vanilla {
        width: 88vw;
        flex: 0 0 88vw;
        min-height: 520px;
        grid-template-rows: 260px 1fr;
        border-radius: 22px;
        background-size: 160%;
    }

    .service-card-image {
        height: 260px;
        padding: 12px;
    }

    .service-card-content {
        padding: 0 16px 18px 16px;
    }
}


/* ===========================
   BEFORE/AFTER SLIDER (landing page version)
   This uses a wide 16:9 aspect-ratio container with a range input,
   different from the v-slider portrait component in Kontakt.css.
   =========================== */

.slider-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background-color: #000;
}

.slider-img-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    z-index: 2;
}

.image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 65px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.handle-line {
    width: 2px;
    flex-grow: 1;
    background: rgba(248, 237, 212, 0.6);
}

.handle-custom-icon {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px 0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.handle-custom-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slider-dots {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(142, 182, 193, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
    transform: scale(1.4);
}

@media (max-width: 992px) { .comparison-slider { aspect-ratio: 4 / 3; } }
@media (max-width: 768px) { .comparison-slider { aspect-ratio: 1 / 1; } }


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

.process-container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;           /* CRITICAL: Centers the entire container horizontally inside the full-width section */
    display: flex;
    flex-direction: column;
    align-items: center;      /* Centers the headers and the grid relative to each other */
}

/* Ensure the header block stretches and centers text correctly */
.process-container .text-center {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;      /* Balanced spacing beneath the section header text */
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: var(--container-max-width);
    box-sizing: border-box;
    margin: 0 auto;
    justify-content: center;  /* Aligns columns centrally within the grid track */
}

.process-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 25px;
    border: 1px solid rgba(248, 237, 212, 1);
    border-radius: 25px;
    background-color: rgba(248, 237, 212, 0.02);
    transition: transform 0.3s ease, background-color 0.4s ease, border-color 0.4s ease;
}

.process-card:hover {
    transform: translateY(-5px) !important;
    background-color: rgb(248, 237, 212);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.process-card:hover .body-title-vanilla,
.process-card:hover .text-body-vanilla {
    color: rgb(142, 182, 193);
    text-shadow: none;
}

.process-illustration {
    position: relative;
    flex: 0 0 220px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.process-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 240px;
    height: auto;
    object-fit: contain;
    transition: opacity 0.4s ease;
}

.process-text {
    flex: 1;
}

/* Cross-fade hover images */
.process-image-hover { opacity: 0; z-index: 2; }
.process-card:hover .process-image-hover,
.process-cta:hover  .process-image-hover  { opacity: 1; }
.process-card:hover .process-image:not(.process-image-hover),
.process-cta:hover  .process-cta-image:not(.process-image-hover) { opacity: 0; }


/* ===========================
   PROCESS CTA BAR
   =========================== */

.process-cta {
    grid-column: 1 / -1;
    width: 100%;
    max-width: var(--container-max-width); /* Synchronized with container max width */
    border: 1px solid rgba(248, 237, 212, 1);
    border-radius: 25px;
    background-color: rgba(248, 237, 212, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
    cursor: pointer;
    margin: 0 auto;           /* Centers the CTA line inside the grid */
}

.process-cta:hover {
    background-color: rgb(248, 237, 212);
    border-color: rgb(248, 237, 212);
    transform: translateY(-8px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.process-cta-link {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    text-decoration: none;
}

.process-cta-illustration {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-cta-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;
    max-width: 90%;
    object-fit: contain;
    transition: opacity 0.4s ease;
}


/* ===========================
   RESPONSIVE BREAKPOINTS
   =========================== */

@media (max-width: 1100px) {
    .process-grid { 
        grid-template-columns: 1fr; 
        max-width: 750px; 
        justify-items: center; /* Centers block alignment inside the single column track */
    }
}

@media (max-width: 600px) {
    .process-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .process-illustration {
        flex: none;
        width: 100%;
        max-width: 320px;
        height: 200px;
        margin: 0 auto 15px auto;
    }
    .process-image { max-width: 240px; }
    .process-cta-illustration { height: 100px; }
}


/* ===========================
   TESTIMONIALS GRID
   Horizontal scroll, snap, fixed-width cards
   =========================== */

.testimonials-grid {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 30px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 40px var(--site-margin) 40px var(--site-margin);
    margin: -40px 0 0rem 0;
    scroll-snap-type: x mandatory;
    box-sizing: border-box;
}

.testimonials-grid::-webkit-scrollbar       { height: 8px; }
.testimonials-grid::-webkit-scrollbar-track { background: transparent; margin: 0 var(--site-margin); }
.testimonials-grid::-webkit-scrollbar-thumb { background: var(--vanilla); border-radius: 4px; }

.testimonial-card {
    flex: 0 0 360px;
    max-width: 420px;
    background: rgba(248, 237, 212, 0.08);
    border: 1px solid rgba(248, 237, 212, 1);
    border-radius: 25px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    scroll-snap-align: center;
}

.testimonial-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    color: #eec131;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid rgba(248, 237, 212, 0.4);
    padding-top: 20px;
}

@media (max-width: 768px) {
    .testimonial-card { padding: 30px; flex: 0 0 70%; }
}

/* ===========================
   SECTION DIVIDER
   =========================== */

.section-divider {
    border: none;                         /* Removes default browser styling */
    height: 1px;                          /* Keeps the line perfectly thin */
    width: 90%;                           /* Ensures small screen margins */
    max-width: var(--container-max-width); /* Aligns perfectly with your content edges */
    margin-top: 5rem;                    /* Top/bottom spacing; centers it horizontally */
    margin-bottom: -2rem;
    opacity: 0.8;                        /* Makes the line elegant and subtle rather than harsh */
}

/* For section-blue: renders a subtle vanilla line */
.divider-vanilla {
    background-color: var(--vanilla);
}

/* For section-vanilla: renders a subtle blue line */
.divider-blue {
    background-color: var(--primary-blue);
}