:root {
    --bg-color: #181614;
    --surface-color: #24211E;
    --primary-color: #E2C099;
    --primary-hover: #F0CEAA;
    --text-main: #F5F2ED;
    --text-muted: #B5A89D;
    --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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







.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(24, 22, 20, 0.9);
    backdrop-filter: blur(10px);
    z-index: 50;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.logo {
    position: relative;
    left: 1.5rem;

    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: inline-block;

    color: var(--text-main);
}
.logo .split-n {
    background: linear-gradient(to right,
            var(--text-main) 53%,
            var(--primary-color) 47%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}
.logo .tes {
    color: var(--primary-color);
}





.kontakt-button {
    z-index: 1000;
    position: relative;
    right: 1.5rem;


    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--bg-color);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 3px 10px rgba(212, 175, 55, 0.3);
}
.kontakt-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 3px 28px rgba(212, 175, 55, 0.7);
}






.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}





.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}






/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    transform: translateY(0);
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(226, 192, 153, 0.25);
}

/* Services */
.services {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3.5rem;
    font-weight: 800;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

@media (max-width: 850px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: var(--surface-color);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(226, 192, 153, 0.3);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    overflow-wrap: break-word;
    hyphens: auto;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
}


.contact {
    padding: 6rem 0;
    text-align: center;
    background-color: var(--surface-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}














footer {
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}










.impressum-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-underline-offset: 4px;
    margin-bottom: 1rem;
    transition: var(--transition);
    scroll-margin-top: 120px;
}

.impressum-btn:hover {
    color: var(--primary-color);
}







.footer-content {
    max-width: 90%;
    /*width: 90%;
    margin: 0; */
}

.impressum-content {
    max-width: max-content;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease-in-out, margin 0.6s cubic-bezier(0.16, 1, 0.3, 1), padding 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.01);
    border-radius: 8px;
    margin: 0 auto;
    /*padding: 0 1.5rem;*/
    vertical-align: top;
}

.impressum-content.open {
    max-height: 2500px;
    opacity: 1;
    margin-bottom: 2rem;
    /*padding: 1.5rem;*/
}










/*
.impressum-grid {
    max-width: max-content;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.impressum-row {
    max-width: max-content;
    display: flex;
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 0.75rem 1rem;
}

.impressum-row > div {
    max-width: max-content;
    flex: 1;

}
*/










.impressum-content .impressum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.impressum-content .impressum-grid {
    column-gap: 0;
    row-gap: 0.5rem;
}

@media (max-width: 600px) {
    .impressum-content .impressum-grid {
        grid-template-columns: 1fr;
    }
}

.impressum-content .impressum-grid>div {
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.04);
}

.impressum-content .impressum-grid>div:nth-child(odd) {
    border-radius: 6px 0 0 6px;
}

.impressum-content .impressum-grid>div:nth-child(even) {
    border-radius: 0 6px 6px 0;
}


















.Paragraph {
    color: rgba(255, 255, 255, 0.3);
    font-weight: normal;
}




.impressum-content h4 {
    color: var(--text-main);
}

.impressum-content p {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    /*color: var(--text-muted);*/
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.4;
}

.impressum-bottom {
    text-align: center;
    padding: 1rem;
}






































.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.services-grid .service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.services-grid .service-card:nth-child(3) {
    transition-delay: 0.3s;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--surface-color);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active {
        max-height: 300px;

    }

    .nav-links a {
        padding: 1.5rem;
        display: block;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hamburger {
        display: flex;
    }


    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero {
        padding-top: 100px;
    }
}























/* Custom Scrollbar */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

.cscroll {
    position: fixed;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
    width: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100;
}
.cscroll-line {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}
.cscroll-progress {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5px;
    background: var(--primary-color);
    border-radius: 2px;
    height: 0%;
}
.cscroll-thumb {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(226,192,153,0.25);
    top: 0%;
    cursor: pointer;
}
.cscroll-dots {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.cscroll-dots {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    /* kein flex mehr — Dots werden absolut positioniert */
}
.cscroll-dot {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: background 0.3s, transform 0.3s, top 0.4s cubic-bezier(0.22,1,0.36,1);
    cursor: pointer;
}
.cscroll-dot.active {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.3);
}
.cscroll-label {
    position: absolute;
    left: calc(100% + 8px);
    white-space: nowrap;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: transparent;
    transition: color 0.3s;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-family: 'Inter', sans-serif;
}
.cscroll-dot.active .cscroll-label {
    color: rgba(226,192,153,0.8);
}