/* ==========================================================================
   Local Font Definitions (DSGVO-konform - True Variable Font 300-700)
   ========================================================================== */

/* Quicksand Variable Font (latin-ext) */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/quicksand-variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Quicksand Variable Font (latin) */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/quicksand-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Design System & Base Styles
   ========================================================================== */

:root {
    --bg-dark: #373e42; /* Slate-Gray Hero Background matching mockup */
    --bg-dark-card: #1b2329;
    --bg-dark-header: #ffffff; /* White Header */
    --bg-light: #ffffff;
    --bg-light-gray: #f8fafc;
    
    --primary: #e67e22; /* Mockup Orange */
    --primary-hover: #d35400;
    --primary-light: rgba(230, 126, 34, 0.1);
    
    --accent-blue: #3498db;
    --accent-green: #2ecc71;
    
    --text-white: #ffffff;
    --text-dark: #1e293b;
    --text-dark-light: #475569;
    --text-muted: #94a3b8;
    
    --border-light: rgba(255, 255, 255, 0.08);
    --border-dark: rgba(30, 41, 59, 0.08);
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    
    --font-primary: 'Quicksand', sans-serif;
    --font-heading: 'Quicksand', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-small {
    max-width: 800px;
}

/* ==========================================================================
   Typography & Headers
   ========================================================================== */

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.section-header.center .section-title {
    margin-bottom: 0.5rem;
}

.title-underline {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn i {
    margin-left: 0.25rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-book {
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
}

.full-width {
    width: 100%;
}

/* ==========================================================================
   Main Header / Navbar
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-dark-header);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* Darker border on white background */
    transition: var(--transition);
}

.header-container {
    max-width: 1400px;
    height: 108px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-svg {
    display: block;
    max-height: 100%;
    transition: var(--transition);
}

.logo-svg:hover {
    transform: translateY(-1px);
}

.logo-horizontal {
    height: 60px;
    width: auto;
}

.main-header .logo-horizontal {
    height: 92px;
}

.main-header .logo-container {
    margin-left: 1.5rem;
}

.main-footer .logo-horizontal {
    height: 76px;
}

.logo-stacked {
    height: 80px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600; /* Bold nav links as in mockup */
    color: var(--text-dark-light); /* Dark slate nav links */
}

.nav-link:hover {
    color: var(--primary); /* Hover to orange */
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 1.5rem; /* Shift entire block left on desktop */
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-actions .social-icon,
.header-socials .social-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--text-dark-light);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.header-actions .social-icon:hover,
.header-socials .social-icon:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
    transform: translateY(-1px);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark); /* Dark menu toggle */
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 95vh;
    padding-top: 170px;
    padding-bottom: 120px;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #373e42 0%, #2f3438 100%); /* Elegant slate-gray gradient */
}

.hero-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.15;
    background-image: 
        radial-gradient(var(--primary) 1px, transparent 1px),
        radial-gradient(var(--accent-blue) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}

/* Background Swooping Waves from Concept D across sections */
.hero-bg-waves,
.section-bg-waves {
    position: absolute;
    top: 0;
    right: 0;
    width: 480px; /* Wider to shift lines further left */
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85; /* Less transparent background waves */
    overflow: hidden;
}

.hero-bg-waves svg,
.section-bg-waves svg {
    width: 100%;
    height: 100%;
    display: block;
}

div.wave-node {
    position: absolute;
    border-radius: 50%;
    background-color: #e67e22;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}
circle.wave-node {
    pointer-events: none;
    transform: none;
}

.expertise-highlights-section .container,
.services-section .container,
.pricing-process-section .container,
.ki-section .container,
.contact-section .container {
    position: relative;
    z-index: 2;
}

.hero-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: -0.5rem; /* align slightly closer to the badge */
}

.hero-container {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-visual-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-explosion-container {
    position: relative;
    width: 100%;
    max-width: 640px;
}

.dashboard-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-light);
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    transition: var(--transition);
}

.dashboard-frame:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-dashboard-img {
    width: 100%;
    height: auto;
}

.floating-particle {
    position: absolute;
    background-color: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(4px);
    z-index: -1;
    animation: floatParticle 8s infinite ease-in-out;
}

.floating-particle.p1 { width: 60px; height: 60px; top: -10%; left: 10%; background-color: var(--primary); animation-delay: 0s; }
.floating-particle.p2 { width: 40px; height: 40px; bottom: -5%; right: 5%; background-color: var(--accent-blue); animation-delay: 2s; }
.floating-particle.p3 { width: 50px; height: 50px; top: 40%; right: -15%; background-color: rgba(255, 255, 255, 0.1); animation-delay: 4s; }
.floating-particle.p4 { width: 30px; height: 30px; bottom: 20%; left: -10%; background-color: var(--primary); animation-delay: 6s; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-title {
    font-size: 2.1rem;
    line-height: 1.25;
    color: var(--text-white);
    font-weight: 300;
}

.hero-title-name {
    color: var(--text-white);
    font-weight: 300;
}

.hero-title-desc {
    color: var(--primary);
    font-weight: 300;
}

.hero-paragraph {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.7);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 122, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 122, 0, 0); }
}


/* Wave separators */
.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3; /* Render on top of background waves */
}

.wave-separator svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 60px;
}

.wave-separator .shape-fill {
    fill: #ffffff;
}

.wave-separator.bottom {
    top: 0;
    bottom: auto;
}

.wave-separator.bottom svg {
    transform: rotate(180deg);
}

/* ==========================================================================
   USPs Section
   ========================================================================== */

.usps-section {
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 100px 0;
    position: relative;
}

.usps-section .section-title {
    color: var(--text-dark);
}

.usps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.usp-card {
    background-color: var(--bg-light-gray);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    border: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.usp-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-light);
    border-color: rgba(255, 122, 0, 0.2);
}

.usp-icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.usp-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
}

.usp-card p {
    font-size: 0.95rem;
    color: var(--text-dark-light);
}

/* ==========================================================================
   Expertise & Highlights Section
   ========================================================================== */

.expertise-highlights-section {
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 80px 0 160px;
    position: relative;
}

.expertise-highlights-section .section-title {
    color: var(--text-dark);
}

.profile-orbital-container {
    max-width: 1150px;
    margin: 0 auto;
}

.orbital-layout {
    position: relative;
    margin-top: 2.5rem;
}

.profile-network-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

@media (min-width: 992px) {
    .orbital-layout {
        display: grid;
        grid-template-columns: 1fr 140px 1fr;
        gap: 2.5rem 3.5rem;
        align-items: center;
    }

    .orbital-center-hub {
        grid-column: 2;
        grid-row: 1 / span 4;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 3;
    }

    .hub-circle {
        width: 95px;
        height: 95px;
        border-radius: 50%;
        background: #ffffff;
        border: 3px solid var(--primary);
        box-shadow: 0 0 25px rgba(230, 126, 34, 0.25), 0 8px 20px rgba(0, 0, 0, 0.06);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
    }

    .hub-circle:hover {
        transform: scale(1.1);
        box-shadow: 0 0 35px rgba(230, 126, 34, 0.4), 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .hub-circle i {
        font-size: 2.2rem;
        color: var(--primary);
        margin: 0;
    }

    .orbital-cards {
        display: contents;
    }

    .profile-step {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1.25rem;
        position: relative;
        z-index: 2;
        transition: var(--transition);
    }

    .card-1 { grid-column: 1; grid-row: 1; }
    .card-2 { grid-column: 1; grid-row: 2 / span 2; }
    .card-3 { grid-column: 1; grid-row: 4; }
    .card-4 { grid-column: 3; grid-row: 1; }
    .card-5 { grid-column: 3; grid-row: 2; }
    .card-6 { grid-column: 3; grid-row: 3; }
    .card-7 { grid-column: 3; grid-row: 4; }
}

@media (max-width: 991px) {
    .orbital-center-hub {
        display: flex;
        justify-content: center;
        margin-bottom: 2.5rem;
    }

    .hub-circle {
        width: 85px;
        height: 85px;
        border-radius: 50%;
        background: #ffffff;
        border: 3px solid var(--primary);
        box-shadow: 0 0 20px rgba(230, 126, 34, 0.2);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hub-circle i {
        font-size: 2rem;
        color: var(--primary);
    }

    .orbital-cards {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .profile-step {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1.25rem;
    }
}

/* Matching exact Full-Lifecycle task card styling */
.profile-step .step-letter {
    width: 42px;
    height: 42px;
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.25);
    transition: var(--transition);
}

.profile-step .step-letter i {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1;
}

.profile-step:hover .step-letter {
    transform: scale(1.15);
    background-color: var(--primary-hover);
    box-shadow: 0 6px 18px rgba(230, 126, 34, 0.45);
}

.profile-step .step-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.profile-step .step-text h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.profile-step .step-text h3 i {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 1.1rem;
    vertical-align: middle;
    display: inline-block;
    transition: var(--transition);
}

.profile-step:hover .step-text h3 i {
    transform: scale(1.1);
}

.profile-step .step-text p {
    font-size: 0.875rem;
    color: var(--text-dark-light);
    line-height: 1.65;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.container-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

/* Left Column: Slider */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
}

.slider-track {
    width: 100%;
    position: relative;
    min-height: 440px;
    overflow: hidden;
}

.skill-card {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.skill-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.skill-card-inner {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.skill-card-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-bottom: 1px solid var(--border-dark);
}

.skill-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.skill-card:hover .skill-card-image img {
    transform: scale(1.05);
}

.skill-card-body {
    padding: 2rem;
}

.skill-icon-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.skill-icon-header h3 {
    font-size: 1.35rem;
    color: var(--text-dark);
}

/* Custom Tableau Cross Icon */
.custom-tableau-icon {
    position: relative;
    width: 36px;
    height: 36px;
}

.custom-tableau-icon .t-line {
    position: absolute;
    background-color: var(--accent-blue);
    border-radius: 2px;
}

.custom-tableau-icon .t-vertical {
    width: 4px;
    height: 24px;
    left: 16px;
    top: 6px;
}

.custom-tableau-icon .t-horizontal {
    width: 24px;
    height: 4px;
    left: 6px;
    top: 16px;
}

.custom-tableau-icon .t-orange-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
}

.custom-tableau-icon .od1 { top: 6px; left: 6px; }
.custom-tableau-icon .od2 { bottom: 6px; right: 6px; }

.custom-tableau-icon .t-blue-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--accent-blue);
}

.custom-tableau-icon .bd1 { top: 6px; right: 6px; }
.custom-tableau-icon .bd2 { bottom: 6px; left: 6px; }

.db-skill-icon {
    font-size: 2rem;
    color: var(--primary);
}

.office-skill-icon {
    font-size: 2rem;
    color: #217346;
}

.skill-desc {
    font-size: 1.05rem;
    color: var(--text-dark-light);
    margin-bottom: 1.5rem;
}

.skill-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    color: var(--text-dark-light);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    color: var(--primary);
}

.slider-arrow:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-arrow.prev { left: -60px; }
.slider-arrow.next { right: -60px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background-color: var(--primary);
    width: 20px;
    border-radius: 4px;
}

.profile-highlights-centered {
    max-width: 750px;
    margin: 0 auto;
}

/* Right Column: Highlights */
.highlights-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.highlights-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.highlight-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.highlight-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.highlight-text strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-dark);
}

.highlight-text span {
    font-size: 0.95rem;
    color: var(--text-dark-light);
}

/* ==========================================================================
   Dienstleistungen (Services)
   ========================================================================== */

.services-section {
    padding: 100px 0 160px;
    background-color: var(--bg-dark);
    position: relative;
}

/* Services section title styled globally */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: start;
}

.service-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(230, 126, 34, 0.4);
    border-left-color: var(--primary);
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem 1.75rem 1.25rem 1.75rem;
    flex-grow: 1;
}

.service-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.service-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.service-card-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.service-card-body p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted);
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    margin: 0;
}

.service-tabs {
    list-style: none;
    margin: auto 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-light);
    background-color: rgba(0, 0, 0, 0.2);
}

.service-tab-item {
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.service-tab-item:last-child {
    border-bottom: none;
}

.service-tab-header {
    padding: 0.85rem 1.75rem;
    font-size: 0.875rem;
    color: var(--text-white);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.service-tab-header:hover {
    background-color: rgba(230, 126, 34, 0.1);
}

.service-tab-item.active .service-tab-header {
    background-color: rgba(230, 126, 34, 0.08);
}

.tab-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tab-title i {
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.tab-chevron {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-tab-item.active .tab-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.service-tab-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    padding: 0 1.75rem;
    background-color: rgba(0, 0, 0, 0.3);
}

.service-tab-item.active .service-tab-content {
    max-height: 200px;
    padding: 0.85rem 1.75rem 1.1rem 1.75rem;
}

.service-tab-content p {
    font-size: 0.825rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* ==========================================================================
   Fallstudien (Case Studies)
   ========================================================================== */

.portfolio-section {
    padding: 100px 0;
    background-color: var(--bg-dark-card);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(255, 122, 0, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    transition: var(--transition);
}

.portfolio-card {
    background-color: var(--bg-dark);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-visual {
    background-color: #0f1319;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.mock-svg-chart {
    width: 100%;
    height: 100%;
}

/* Micro animations for mock charts */
.mock-svg-chart .bar {
    transform-origin: bottom;
    animation: barGrow 3s ease-in-out infinite alternate;
}

.mock-svg-chart .b1 { animation-delay: 0s; }
.mock-svg-chart .b2 { animation-delay: 0.5s; }
.mock-svg-chart .b3 { animation-delay: 0.2s; }
.mock-svg-chart .b4 { animation-delay: 0.8s; }

@keyframes barGrow {
    0% { transform: scaleY(0.9); }
    100% { transform: scaleY(1.1); }
}

.portfolio-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.portfolio-cat {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-info h3 {
    font-size: 1.25rem;
}

.portfolio-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.portfolio-link {
    margin-top: auto;
    padding-top: 1rem;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-link i {
    transition: var(--transition);
}

.portfolio-link:hover {
    color: var(--primary);
}

.portfolio-link:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   Vorgehen & Stundensatz
   ========================================================================== */

.pricing-process-section {
    padding: 100px 0 160px;
    background-color: #ffffff;
    color: var(--text-dark);
    position: relative;
}

.pricing-process-section .section-title {
    color: var(--text-dark);
}

.process-intro {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-intro p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.process-flow-lifecycle {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 850px;
    margin: 0 auto 5rem auto;
    padding-left: 5rem; /* Space for vertical line on mobile */
}

/* Background dynamic SVG */
.timeline-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.timeline-svg path {
    stroke: rgba(230, 126, 34, 0.4); /* More transparent orange line */
    stroke-width: 1.5px;
}

.lifecycle-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
    background: none;
    border: none;
    padding: 0;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.step-letter {
    width: 40px;
    height: 40px;
    background-color: rgba(230, 126, 34, 0.75); /* Semi-transparent orange nodes */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.1);
    transition: var(--transition);
}

.lifecycle-step:hover .step-letter {
    transform: scale(1.1);
    background-color: rgba(230, 126, 34, 0.95); /* Brighten on hover */
    box-shadow: 0 6px 15px rgba(230, 126, 34, 0.2);
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.step-text h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.step-text h3 i,
.task-content h3 i {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 1.1rem;
    vertical-align: middle;
    display: inline-block;
    transition: var(--transition);
}

.lifecycle-step:hover h3 i,
.task-card:hover h3 i {
    transform: scale(1.1);
}

.step-text p {
    font-size: 0.875rem;
    color: var(--text-dark-light);
    line-height: 1.65;
    text-align: justify;
}

@media (min-width: 992px) {
    .process-flow-lifecycle {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 5rem;
        padding-left: 0;
    }
    
    .lifecycle-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.85rem;
    }
    
    .step-text {
        text-align: center;
        max-width: 380px;
    }
    
    .lifecycle-step:nth-of-type(1) {
        grid-row: 1;
        grid-column: 1;
    }
    
    .lifecycle-step:nth-of-type(2) {
        grid-row: 2;
        grid-column: 2;
    }
    
    .lifecycle-step:nth-of-type(3) {
        grid-row: 3;
        grid-column: 1;
    }
    
    .lifecycle-step:nth-of-type(4) {
        grid-row: 4;
        grid-column: 2;
    }
    
    .lifecycle-step:nth-of-type(5) {
        grid-row: 5;
        grid-column: 1;
    }
}

.lifecycle-transition-text {
    max-width: 900px;
    margin: 0 auto 2rem auto;
    text-align: center;
    border-top: 1px solid var(--border-dark);
    padding-top: 2rem;
}

.lifecycle-transition-text p {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-dark-light);
    line-height: 1.65;
}

.supplementary-tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 3rem 5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.task-card {
    transition: var(--transition);
    text-align: left;
}

.task-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.task-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.task-content p {
    font-size: 0.875rem;
    color: var(--text-dark-light);
    line-height: 1.65;
    text-align: justify;
}
}

.pricing-card {
    background: linear-gradient(135deg, var(--bg-dark-card) 0%, rgba(27,35,41,0.5) 100%);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    max-width: 650px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-premium);
}

.pricing-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.75rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.price .period {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 480px;
}

/* ==========================================================================
   Kontakt Section
   ========================================================================== */

.contact-section {
    padding: 140px 0 100px;
    background-color: #ffffff;
    position: relative;
}

.contact-section .section-title {
    color: var(--text-dark);
}

.contact-form {
    background-color: var(--bg-dark);
    padding: 3.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    background-color: var(--bg-dark-card);
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 122, 0, 0.15);
}

.form-privacy-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.form-privacy-note a {
    color: var(--primary);
    text-decoration: underline;
}

.form-privacy-note a:hover {
    color: var(--primary-hover);
}

.form-actions {
    margin-top: 1rem;
}

.btn-submit {
    gap: 0.75rem;
}

.form-status {
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.form-status.success { color: var(--primary); }
.form-status.error { color: #e74c3c; }

/* ==========================================================================
   Footer
   ========================================================================== */

.main-footer {
    background-color: var(--bg-dark);
    padding: 80px 0 0;
    border-top: 1px solid var(--border-light);
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.1rem;
}

.footer-subtagline {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
}

.footer-contact p {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact p i {
    color: var(--primary);
}

.footer-contact p a:hover {
    color: var(--text-white);
}

.footer-socials-deco {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(255, 122, 0, 0.2);
}

.footer-deco-diamond {
    width: 60px;
    height: 60px;
    margin-top: 2rem;
}

.diamond-svg {
    width: 100%;
    height: 100%;
    animation: rotateDiamond 15s infinite linear;
}

@keyframes rotateDiamond {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    text-align: right;
}

.footer-b2b-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.85;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a:hover {
    color: var(--text-white);
}

/* ==========================================================================
   Modals
   ========================================================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 24, 29, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 3rem;
    max-width: 480px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-white);
}

.modal h3 {
    font-size: 1.5rem;
}

.modal p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Responsive Adjustments (Media Queries)
   ========================================================================== */

@media (max-width: 992px) {
    .hero-bg-waves,
    .section-bg-waves {
        display: none;
    }

    .container-flex {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual-wrapper {
        order: 2;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-cta-group {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .slider-arrow.prev { left: -20px; }
    .slider-arrow.next { right: -20px; }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .header-container {
        height: 80px;
    }
    
    .main-header .logo-container {
        margin-left: 0;
    }
    
    .main-header .logo-horizontal {
        height: 60px;
    }
    
    .hero-section {
        padding-top: 120px;
    }
    
    .header-actions {
        margin-right: 0;
    }
    

    
    .task-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .supplementary-tasks-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none; /* Mobile menu logic in JS */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark-card);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border-light);
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .btn-book {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-socials-deco {
        align-items: flex-start;
    }
    
    .footer-deco-diamond {
        display: none;
    }
}

/* ==========================================================================
   Case Study Icons
   ========================================================================== */

.portfolio-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.15); /* Subtle grey/white icon by default */
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-icon {
    color: var(--primary); /* Glows orange on hover */
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(230, 126, 34, 0.4));
}

/* ==========================================================================
   Hero USPs Bullet List
   ========================================================================== */

.hero-usps-list {
    list-style: none;
    margin: 2rem 0 2.5rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-usps-list li {
    font-size: 0.95rem;
    color: var(--text-white);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    line-height: 1.5;
    text-align: left;
}

.hero-usps-list li i {
    color: var(--primary); /* Orange checkmark */
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.hero-usps-list li strong {
    color: var(--primary);
    font-weight: 600;
}

/* ==========================================================================
   Subtle Dot Matrix Background Pattern for All Sections (Dark & Light)
   ========================================================================== */

.expertise-highlights-section::before,
.pricing-process-section::before,
.services-section::before,
.portfolio-section::before,
.ki-section::before,
.contact-section::before,
.main-footer::before,
.legal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.15;
    background-image: 
        radial-gradient(var(--primary) 1px, transparent 1px),
        radial-gradient(var(--accent-blue) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    z-index: 0;
}

.expertise-highlights-section .container,
.pricing-process-section .container,
.services-section .container,
.portfolio-section .container,
.ki-section .container,
.contact-section .container,
.main-footer .container,
.legal-section .container {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   KI & Datenanalyse mit Tableau Section
   ========================================================================== */

.ki-section {
    padding: 120px 0;
    background-color: var(--bg-dark);
    position: relative;
    border-top: 1px solid var(--border-light);
}

.ki-pillars-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 900px;
    margin: 2.5rem auto 0 auto;
}

.ki-pillar-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.ki-pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(230, 126, 34, 0.4);
    border-left-color: var(--primary);
}

.ki-pillar-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
}

.ki-pillar-header h4 {
    font-size: 1.05rem;
    color: var(--text-white);
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.ki-chevron {
    color: var(--primary);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.ki-pillar-card.active .ki-chevron {
    transform: rotate(180deg);
}

.ki-pillar-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.ki-pillar-card.active .ki-pillar-body {
    max-height: 650px;
    opacity: 1;
    padding-top: 1rem;
    margin-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ki-pillar-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

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

/* ==========================================================================
   Modal Dialogs (Wide & Modern Layout)
   ========================================================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 3rem 3.5rem;
    width: 100%;
    max-width: 820px; /* Wide format as requested */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-content .section-title {
    color: var(--text-white) !important;
}

.modal-content .section-desc {
    color: var(--text-muted);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: rotate(90deg);
}

.modal-content .contact-form {
    background-color: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }
}


