:root {
    /* Color System */
    --primary-color: #0F2A44;
    --secondary-color: #6B7280;
    --background-color: #F5F7FA;
    --white: #FFFFFF;
    --accent-color: #E67E22; /* Ein kräftigeres, technisches Orange passend zum Logo */
    --accent-hover: #D35400;
    --text-main: #1F2937;
    --text-light: #4B5563;
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --font-technical: 'IBM Plex Mono', monospace;
    --h1-size: clamp(2.25rem, 6vw, 4rem); 
    --h2-size: clamp(1.75rem, 5vw, 2.75rem);    
    --h3-size: clamp(1.25rem, 3.5vw, 1.75rem); 
    --body-size: 1rem;                  
    
    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 15px 20px -5px rgba(0, 0, 0, 0.1), 0 5px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Layout */
    --container-max-width: 1400px;
    --header-height: 90px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

/* Utility Classes */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .grid-2-col {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

.align-center {
    align-items: center;
}

.list-check {
    margin: 2rem 0;
    list-style: none;
}

.list-check li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.list-check i {
    color: var(--accent-color);
    margin-right: 12px;
    font-size: 0.9rem;
}

.img-responsive {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 4px;
}

.shadow {
    box-shadow: var(--shadow-hover);
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Classes */
h1, h2, h3 {
    font-family: var(--font-technical);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    word-wrap: break-word;
}

h1 { font-size: var(--h1-size); font-weight: 800; }
h2 { font-size: var(--h2-size); border-left: 4px solid var(--accent-color); padding-left: 1rem; }
h3 { font-size: var(--h3-size); }

p {
    margin-bottom: 1.25rem;
    font-size: var(--body-size);
    color: var(--text-light);
    max-width: 75ch; /* Better readability */
}

.text-center p {
    margin-left: auto;
    margin-right: auto;
}

/* Layout Components */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container { padding: 0 2rem; }
}

.section {
    padding: clamp(3rem, 10vw, 6rem) 0;
}

.section-alt {
    background-color: var(--white);
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 2px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-technical);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    white-space: nowrap;
    min-width: max-content;
}

.nav-cta {
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.btn-sm {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.hero .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.hero .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
}

@media (min-width: 768px) {
    .process-timeline {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-technical);
}

.process-step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Client Logos */
.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.6;
    filter: grayscale(1);
}

@media (min-width: 768px) {
    .client-logos {
        justify-content: space-around;
        gap: 4rem;
    }
}

.client-logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-technical);
    letter-spacing: 2px;
}

/* CTA Section */
.section-cta {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-cta h2 {
    color: var(--white);
    border-left: none;
    padding-left: 0;
}

.section-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.header {
    height: var(--header-height);
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header.sticky {
    background-color: var(--white);
    height: 80px;
    box-shadow: var(--shadow-soft);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.demo-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.4;
    font-family: var(--font-technical);
}

.header.sticky .logo img {
    height: 45px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 1px;
}

.header.sticky .logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Dropdown Menu Styles */
.nav-item {
    position: relative;
}

.nav-link-wrapper {
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--white);
    padding: 1rem 0;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.dropdown-toggle {
    color: var(--white);
    cursor: pointer;
    padding: 1rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: none;
    border: none;
}

.header.sticky .nav-link,
.header.sticky .dropdown-toggle {
    color: var(--primary-color);
}

.dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-item.open .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--white);
    box-shadow: var(--shadow-hover);
    border-radius: 8px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    padding: 1rem 0;
    border-top: 3px solid var(--accent-color);
}

.nav-item.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-item:hover {
    background-color: var(--background-color);
    color: var(--accent-color);
    padding-left: 2.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    margin-left: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition);
}

.header.sticky .mobile-toggle {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

.hero-sm {
    height: 60vh;
    min-height: 500px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 42, 68, 0.7), rgba(15, 42, 68, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
}

.hero h1 { 
    color: var(--white); 
    font-size: var(--h1-size);
    margin-bottom: 1.5rem;
}

.hero p { 
    color: rgba(255, 255, 255, 0.9); 
    margin-bottom: 3rem; 
    font-size: 1.25rem;
    max-width: 700px;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-btns {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.hero-btns .btn {
    width: 100%;
    min-width: 220px;
    text-align: center;
}

@media (min-width: 640px) {
    .hero-btns .btn {
        width: auto;
    }
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-no-padding {
    padding: 0 !important;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.card h3 { margin-bottom: 1rem; }

.card-image-wrapper {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    height: 250px;
    width: 100%;
    margin-bottom: 1.5rem;
}

.card-with-padding .card-image-wrapper {
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
    width: calc(100% + 5rem);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-image {
    transform: scale(1.1);
}

/* Updated Nav for Mobile */
@media (max-width: 992px) {
    .header { 
        height: 70px; 
        background-color: var(--white);
        box-shadow: var(--shadow-soft);
    }
    
    .logo img {
        height: 35px;
    }

    .header .nav-link,
    .header .dropdown-toggle {
        color: var(--primary-color);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 1.5rem 1.5rem;
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        display: flex;
        gap: 0;
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 42, 68, 0.5);
        backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-item { 
        width: 100%; 
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-link { 
        padding: 1.25rem 0; 
        font-family: var(--font-technical);
        font-size: 0.9rem;
        flex: 1;
    }

    .dropdown-toggle {
        padding: 1.25rem;
        color: var(--primary-color);
        background: #f9f9f9;
        margin: -1.25rem 0;
        height: 100%;
        width: 60px;
        border-left: 1px solid #f0f0f0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        display: none;
        width: 100%;
        border-top: none;
        border-left: 3px solid var(--accent-color);
        margin-top: 0;
        background-color: #f9f9f9;
        border-radius: 0;
    }

    .nav-item.open .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 1rem 1.5rem;
        font-size: 0.8rem;
    }

    .mobile-toggle { 
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        font-size: 1.5rem;
        width: 45px;
        height: 45px;
        border: none;
        background: none;
        position: relative;
        z-index: 1001;
    }

    .header:not(.sticky) .mobile-toggle {
        color: var(--white);
    }
    
    .nav-cta {
        margin: 2rem 0;
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-cta .btn {
        width: 100%;
        text-align: center;
        border-radius: 0;
    }
}

/* Restored Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Restored Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem 0;
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow-hover);
    border-left: 4px solid var(--accent-color);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 600;
    font-size: 0.9rem;
}

.toast.visible {
    transform: translateX(0);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .container { max-width: 1100px; }
}

@media (max-width: 992px) {
    .container { max-width: 900px; }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .container { max-width: 100%; }
    .hero { text-align: center; }
    .hero-content { 
        margin: 0 auto; 
        padding: 0 1.5rem;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.125rem; margin-bottom: 2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
}
