/* CSS Reset & Variable Definitions */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-color: #2563eb; /* Cobalt Blue */
    --accent-light: #3b82f6;
    --accent-glow: rgba(37, 99, 235, 0.06);
    --accent-gradient: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    --cyan-accent: #0ea5e9;
    --cyan-glow: rgba(14, 165, 233, 0.08);
    --glass-border: rgba(15, 23, 42, 0.08);
    
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-title: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Mouse Glow */
#mouse-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, rgba(14, 165, 233, 0.01) 50%, transparent 70%);
    top: -300px;
    left: -300px;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.1s ease-out;
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Typography & Headers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: var(--font-sans);
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(37, 99, 235, 0.35);
    filter: brightness(1.05);
}

.btn-secondary {
    background-color: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-outline {
    background-color: transparent;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-outline:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
    color: #0f172a;
}

/* Navigation Header */
.header {
    padding: 14px 0;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1100px;
    border-radius: 50px;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background-color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 30px rgba(15, 30, 54, 0.03), 0 10px 40px -10px rgba(15, 30, 54, 0.05);
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .header {
        top: 10px;
        width: calc(100% - 24px);
        padding: 10px 0;
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    height: 36px;
    width: auto;
}

.logo-text {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    position: relative;
    top: -2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-primary);
}

/* Dot Grid Background Overlay for Hero */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(37, 99, 235, 0.04) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 1;
}

/* Ambient glow orb behind the form card */
.hero-section::after {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, rgba(14, 165, 233, 0.02) 50%, transparent 70%);
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    filter: blur(55px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: stretch;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-left {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.hero-right {
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.12);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.6rem;
    line-height: 1.12;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 30%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-text {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.6;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.benefit-icon {
    font-size: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 30, 54, 0.03);
    flex-shrink: 0;
}

.benefit-desc {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.benefit-desc strong {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 700;
    font-family: var(--font-title);
}

.benefit-desc span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Hero Compact Form */
.hero-form {
    padding: 36px;
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(15, 30, 54, 0.04), 0 20px 50px -15px rgba(15, 30, 54, 0.08);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    margin-top: 0;
    width: 100%;
    max-width: 600px;
    min-height: auto;
    text-align: left;
    scroll-margin-top: 130px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.hero-form form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.hero-form .form-step {
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}

.hero-form .form-step.active {
    display: flex;
}

.form-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.form-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-logo {
    height: 24px;
    width: auto;
}

.form-logo-text {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.form-progress-bar {
    display: flex;
    gap: 4px;
}

.progress-step {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: #e2e8f0;
    transition: var(--transition-smooth);
}

.progress-step.active {
    background: var(--accent-color);
}

.hero-form .form-label {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.hero-form textarea {
    margin-bottom: 16px;
    min-height: 90px;
    font-size: 1rem;
    padding: 12px 16px;
}

.hero-form input[type="email"] {
    margin-bottom: 16px;
    font-size: 1rem;
    padding: 12px 16px;
}

.hero-form .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* Cards Styles (Cases, Portfolio) */
.card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(15, 30, 54, 0.03), 0 12px 40px -10px rgba(15, 30, 54, 0.04);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.08), 0 0 24px -5px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Cases Section */
.cases-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--accent-glow);
    color: var(--accent-color);
    border-radius: 8px;
    margin-bottom: 24px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-family: var(--font-sans);
    font-weight: 600;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Workflow Section */
.workflow-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background glow orb for workflow */
.workflow-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    top: 20%;
    left: -200px;
    pointer-events: none;
    z-index: 0;
}

.workflow-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin-top: 40px;
    z-index: 1;
}

/* Gradient Timeline Path */
.workflow-timeline::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0.3) 50%, rgba(99, 102, 241, 0.05) 100%);
    z-index: -1;
}

.workflow-step {
    flex: 1;
    position: relative;
    padding: 32px 24px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: var(--transition-smooth);
    z-index: 2;
    box-shadow: 0 4px 20px rgba(15, 30, 54, 0.02), 0 10px 30px rgba(15, 30, 54, 0.03);
}

.workflow-step:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.1);
}

.step-number {
    font-size: 3.5rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent-color);
    opacity: 0.15;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
    display: inline-block;
}

.workflow-step:hover .step-number {
    opacity: 1;
    transform: scale(1.08);
    color: var(--accent-color);
}

.step-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.step-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
}

.portfolio-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(15, 30, 54, 0.03), 0 10px 30px rgba(15, 30, 54, 0.04);
}

.portfolio-card::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 50% 50%, var(--card-glow-color, #2563eb) 0%, transparent 70%);
    opacity: 0;
    filter: blur(50px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    pointer-events: none;
}

.portfolio-card:hover::before {
    opacity: 0.06;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px -10px rgba(15, 30, 54, 0.1), 0 0 30px -5px rgba(37, 99, 235, 0.15);
    border-color: var(--card-glow-color);
}

.portfolio-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--accent-light);
    display: inline-block;
    margin-bottom: 8px;
}

.portfolio-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.portfolio-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Browser Mockup Layout */
.browser-mockup {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    background-color: var(--bg-tertiary);
    border-bottom: 1px solid var(--glass-border);
}

.browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.browser-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.browser-dots .dot.red { background-color: #ef4444; }
.browser-dots .dot.yellow { background-color: #eab308; }
.browser-dots .dot.green { background-color: #22c55e; }

.browser-nav-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    flex-shrink: 0;
}

.nav-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
    color: #475569;
}

.reload-icon {
    width: 12px;
    height: 12px;
}

.browser-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #64748b;
    background-color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-family: var(--font-sans);
    flex-grow: 1;
    max-width: calc(100% - 100px);
    height: 24px;
    overflow: hidden;
    white-space: nowrap;
}

.lock-icon {
    width: 11px;
    height: 11px;
    color: #059669;
    flex-shrink: 0;
}

.browser-body {
    padding: 24px;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    gap: 20px;
    background-color: #f8fafc;
}

.app-preview {
    height: 140px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
    padding: 12px;
    display: flex;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(15, 30, 54, 0.05), 0 2px 8px rgba(15, 30, 54, 0.02);
}

/* Clickable Portfolio Cards resets */
a.portfolio-card {
    text-decoration: none;
    color: inherit;
}

/* App Previews General Components */
.preview-title-text {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    padding: 1px 5px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.status-dot.pulsing {
    width: 4px;
    height: 4px;
    background-color: #eab308;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(234, 179, 8, 0.4);
    animation: statusPulse 1.5s infinite;
}

.instando-preview .status-dot.pulsing {
    background-color: #22c55e;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
    animation: instandoPulse 1.5s infinite;
}

@keyframes statusPulse {
    0% { box-shadow: 0 0 0 0px rgba(234, 179, 8, 0.7); }
    70% { box-shadow: 0 0 0 4px rgba(234, 179, 8, 0); }
    100% { box-shadow: 0 0 0 0px rgba(234, 179, 8, 0); }
}

@keyframes instandoPulse {
    0% { box-shadow: 0 0 0 0px rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0px rgba(34, 197, 94, 0); }
}

.status-text {
    font-size: 0.45rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.instando-preview .status-text {
    color: #22c55e;
}

/* 1. Brandschutz-Konfigurator Preview Styles */
.promat-preview {
    flex-direction: row;
    padding: 0;
}

.promat-sidebar {
    width: 15px;
    background: #f1f5f9;
    border-right: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-top: 12px;
}

.sidebar-item {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.08);
}

.sidebar-item.active {
    background: #3b82f6;
    box-shadow: 0 0 4px rgba(37, 99, 235, 0.5);
}

.promat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    overflow: hidden;
}

.promat-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    margin-bottom: 8px;
}

.preview-title-text {
    font-size: 0.65rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(15, 23, 42, 0.04);
    padding: 1px 5px;
    border-radius: 4px;
    border: 1px solid rgba(15, 23, 42, 0.02);
}

.status-dot.pulsing {
    width: 4px;
    height: 4px;
    background-color: #eab308;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(234, 179, 8, 0.4);
    animation: statusPulse 1.5s infinite;
}

.status-text {
    font-size: 0.45rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.05em;
}

@keyframes statusPulse {
    0% { box-shadow: 0 0 0 0px rgba(234, 179, 8, 0.7); }
    70% { box-shadow: 0 0 0 4px rgba(234, 179, 8, 0); }
    100% { box-shadow: 0 0 0 0px rgba(234, 179, 8, 0); }
}

.promat-main {
    display: flex;
    flex: 1;
    gap: 12px;
    align-items: stretch;
}

.promat-config {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    font-size: 0.65rem;
    color: #475569;
}

.config-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.config-row span {
    font-size: 0.58rem;
}

.config-row .val {
    color: #0f172a;
    font-weight: 600;
}

.config-row .val.text-orange {
    color: #f97316;
}

.promat-visualizer {
    flex: 1;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wall-layers {
    display: flex;
    gap: 2px;
    width: 60%;
    height: 70%;
    align-items: stretch;
    transform: skewY(-4deg);
}

.wall-layer {
    flex: 1;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    border-radius: 1px;
}

.wall-layer.layer-1 {
    background: #dbeafe;
    border-color: #93c5fd;
}
.wall-layer.layer-2 {
    background: #bfdbfe;
    border-color: #60a5fa;
}

.wall-layer.layer-studs {
    flex: 0.8;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.wall-layer.layer-studs .stud {
    width: 4px;
    height: 12px;
    background: #94a3b8;
    border-radius: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.wall-layer.layer-3 {
    background: #93c5fd;
    border-color: #3b82f6;
}

.laser-scanner {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2563eb;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.8), 0 0 15px rgba(37, 99, 235, 0.4);
    opacity: 0;
    animation: laserScan 3s infinite ease-in-out;
}

@keyframes laserScan {
    0%, 100% { left: 15%; opacity: 0; }
    30%, 70% { opacity: 0.8; }
    50% { left: 85%; opacity: 0.9; }
}

.visualizer-dim {
    position: absolute;
    bottom: 4px;
    right: 6px;
    font-size: 0.48rem;
    color: #64748b;
    font-family: var(--font-title);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1px 4px;
    border-radius: 2px;
    font-weight: 600;
}

/* 2. BW-Lernportal Preview Styles */
.lernportal-preview {
    flex-direction: column;
    padding: 8px 10px;
    gap: 6px;
}

.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.portal-user {
    display: flex;
    align-items: center;
    gap: 5px;
}

.portal-user .avatar {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 0.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-user .user-stats {
    font-size: 0.55rem;
    color: #64748b;
    font-weight: 600;
}

.badge-xp {
    font-size: 0.52rem;
    font-weight: 800;
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #ffffff;
    padding: 1px 4px;
    border-radius: 4px;
    animation: xpBounce 2s infinite ease-in-out;
}

@keyframes xpBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.quiz-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 6px;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.quiz-question {
    font-size: 0.58rem;
    font-weight: 700;
    color: #0f172a;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quiz-option {
    font-size: 0.52rem;
    padding: 2px 4px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.quiz-option.text-muted {
    color: #64748b;
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.03);
}

.quiz-option.correct {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #059669;
    font-weight: 700;
    animation: optionPulse 2s infinite ease-in-out;
}

@keyframes optionPulse {
    0%, 100% { background-color: #ecfdf5; }
    50% { background-color: #d1fae5; }
}

.ai-explain {
    display: flex;
    gap: 4px;
    background: #f5f3ff;
    border: 1px dashed #c084fc;
    border-radius: 4px;
    padding: 3px 5px;
    margin-top: 1px;
}

.explain-sparkle {
    font-size: 0.5rem;
    animation: sparkleRotate 2.5s infinite linear;
    display: inline-block;
}

@keyframes sparkleRotate {
    0% { transform: rotate(0deg) scale(0.9); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(0.9); }
}

.explain-text {
    font-size: 0.48rem;
    line-height: 1.3;
    color: #6d28d9;
    margin: 0;
}

/* 3. Instando Preview Styles */
.instando-preview {
    flex-direction: row;
    gap: 12px;
    align-items: stretch;
    justify-content: flex-start;
}

.instando-preview .preview-sidebar {
    width: 12%;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.04);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-top: 10px;
}

.instando-preview .sidebar-dot {
    width: 5px;
    height: 5px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 50%;
}

.instando-preview .preview-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.instando-preview .preview-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 18px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding-bottom: 4px;
    width: 100%;
}

.instando-preview .status-dot.pulsing {
    background-color: #22c55e;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
    animation: instandoPulse 1.5s infinite;
}

.instando-preview .status-text {
    color: #22c55e;
}

@keyframes instandoPulse {
    0% { box-shadow: 0 0 0 0px rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0px rgba(34, 197, 94, 0); }
}

.instando-preview .preview-widgets {
    display: flex;
    gap: 8px;
    flex-grow: 1;
}

.instando-preview .widget {
    flex: 1;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(15, 30, 54, 0.02);
}

.progress-ring-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .progress-ring__circle {
    stroke-dashoffset: 9.42;
}

.progress-ring-container .widget-circle {
    position: absolute;
    font-size: 0.68rem;
    font-weight: 800;
    color: #0f172a;
}

.instando-preview .widget-circle.text-success {
    color: #059669;
}

.instando-preview .widget-circle.text-primary {
    color: #0284c7;
}

.trend-graph-container {
    width: 50px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.trend-graph {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.graph-path {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    transition: stroke-dashoffset 1s ease-in-out;
}

.portfolio-card:hover .graph-path {
    stroke-dashoffset: 0;
}

.instando-preview .widget-label {
    font-size: 0.5rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-top: 2px;
}

/* 3b. IncludMee Preview Styles */
.includmee-preview {
    flex-direction: column;
    padding: 10px 12px;
    gap: 8px;
}

.includmee-preview .preview-main {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.includmee-preview .preview-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.includmee-preview .matching-status {
    font-size: 0.52rem;
    background: #e0f2fe;
    color: #0369a1;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 700;
}

.match-widget {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    padding: 4px 10px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.04);
    border-radius: 6px;
}

.match-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 6px;
    padding: 6px 12px;
    width: 70px;
    box-shadow: 0 2px 4px rgba(15, 30, 54, 0.02);
}

.profile-avatar-char {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0ea5e9;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
}

.profile-role {
    font-size: 0.52rem;
    color: #475569;
    font-weight: 600;
}

.job-icon {
    font-size: 0.8rem;
    margin-bottom: 3px;
}

.job-name {
    font-size: 0.52rem;
    color: #475569;
    font-weight: 600;
}

.matching-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.connector-svg {
    width: 100%;
    max-width: 60px;
    height: auto;
    overflow: visible;
}

.connector-line {
    stroke: rgba(14, 165, 233, 0.3);
}

.connector-particle {
    animation: matchFlowParticle 2s infinite linear;
}

@keyframes matchFlowParticle {
    0% { cx: 5px; }
    100% { cx: 45px; }
}

.score-badge {
    font-size: 0.55rem;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    padding: 1px 4px;
    border-radius: 4px;
    font-weight: 700;
}

/* 3c. Referee-Management Preview Styles */
.referee-preview {
    flex-direction: column;
    padding: 10px 12px;
    gap: 6px;
}

.referee-preview .preview-main {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.referee-preview .preview-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.conflict-badge {
    display: flex;
    align-items: center;
    gap: 3px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 1px 5px;
    border-radius: 4px;
}

.conflict-badge .check-icon {
    width: 8px;
    height: 8px;
}

.conflict-text {
    font-size: 0.52rem;
    color: #15803d;
    font-weight: 700;
}

.referee-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.referee-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.04);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.55rem;
}

.referee-info {
    display: flex;
    align-items: center;
    gap: 5px;
}

.referee-avatar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.referee-avatar-dot.ok {
    background: #22c55e;
}

.referee-avatar-dot.review {
    background: #eab308;
}

.referee-name {
    font-weight: 600;
    color: #0f172a;
}

.referee-note {
    font-size: 0.5rem;
    color: #64748b;
}

.referee-status {
    font-size: 0.5rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
}

.referee-status.ok {
    background: #ecfdf5;
    color: #059669;
}

.referee-status.review {
    background: #fef9c3;
    color: #854d0e;
}

/* 3d. Grit & Nice Preview Styles */
.gritnice-preview {
    display: flex;
    flex-direction: row;
    height: 100%;
    position: relative;
    background-color: #0c0a09; /* Stone-950 dark */
    color: #ffffff;
    align-items: stretch;
    justify-content: stretch;
}

.brand-split-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1e1b4b 0%, #311005 100%); /* Deep indigo & brown-rust */
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    gap: 4px;
}

.brand-split-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #022c22 0%, #111827 100%); /* Deep green & black-gray */
    gap: 4px;
}

.gng-title {
    font-size: 0.55rem;
    font-family: var(--font-title);
    font-weight: 800;
    color: #f59e0b; /* Gold */
    letter-spacing: 0.05em;
}

.gng-badge {
    font-size: 0.4rem;
    padding: 1px 4px;
    background-color: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 20px;
    color: #f59e0b;
}

.mn-title {
    font-size: 0.55rem;
    font-family: var(--font-title);
    font-weight: 800;
    color: #06b6d4; /* Cyan */
    letter-spacing: 0.05em;
}

.mn-badge {
    font-size: 0.4rem;
    padding: 1px 4px;
    background-color: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    color: #06b6d4;
}

.age-gate-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: 12px;
}

.indicator-text {
    font-size: 0.45rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
}

/* 3e. LuxTaxDE Preview Styles */
.luxtax-preview {
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: stretch;
    background-color: #f8fafc;
}

.luxtax-sidebar {
    width: 28px;
    background-color: #ffffff;
    border-right: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    align-items: center;
    gap: 8px;
}

.sidebar-step {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.45rem;
    font-weight: 600;
    color: #64748b;
}

.sidebar-step.active {
    background-color: #10b981;
    color: #ffffff;
}

.luxtax-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px;
    gap: 4px;
}

.result-label {
    font-size: 0.5rem;
    color: #64748b;
    font-weight: 500;
}

.result-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #10b981;
}

.limit-bar {
    width: 100%;
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.limit-fill {
    height: 100%;
    background-color: #10b981;
    border-radius: 2px;
}

.limit-text {
    font-size: 0.45rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Portfolio Marquee Ticker (automatisch laufendes Band) */
.portfolio-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 24px 0 48px 0;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.portfolio-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: portfolioMarquee 40s linear infinite;
}

.portfolio-marquee-track:hover {
    animation-play-state: paused;
}

.portfolio-marquee-group {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}

.portfolio-marquee-group .portfolio-card {
    flex: 0 0 380px;
    display: flex;
    flex-direction: column;
}

@keyframes portfolioMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(calc(-50% - 12px), 0, 0);
    }
}

@media (max-width: 1200px) {
    .portfolio-marquee-group .portfolio-card {
        flex: 0 0 340px;
    }
}

/* 4. Portfolio Live Link Badges */
.portfolio-link-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding: 6px 14px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.external-icon {
    width: 10px;
    height: 10px;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-link-badge {
    background-color: var(--card-glow-color);
    color: #ffffff;
    border-color: var(--card-glow-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.portfolio-card:hover .portfolio-link-badge .external-icon {
    transform: translate(1px, -1px);
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* Contact Section & Interactive Form */
.contact-section {
    padding: 120px 0;
    border-top: 1px solid var(--glass-border);
}

.contact-container {
    max-width: 700px;
}

.form-wrapper {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px -10px rgba(15, 30, 54, 0.04), 0 30px 60px -15px rgba(15, 30, 54, 0.08);
    position: relative;
    min-height: 250px;
    scroll-margin-top: 130px;
}

.form-step {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-step.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.form-label {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

textarea, input[type="email"], input[type="number"] {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    margin-bottom: 24px;
    outline: none;
    transition: var(--transition-smooth);
    background-color: #ffffff;
    color: #0f172a;
}

input[type="email"]:focus, input[type="number"]:focus {
    border-color: var(--accent-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

textarea {
    min-height: 200px;
    padding: 20px 24px;
    font-size: 1.15rem;
    line-height: 1.6;
    border: 1.5px solid #b4c6fc; /* Highlighted light cobalt border */
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04);
    resize: vertical;
}

textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.form-buttons {
    display: flex;
    gap: 12px;
}

/* Form Success State */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-success.active {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(16, 185, 129, 0.1);
    color: rgb(16, 185, 129);
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 450px;
}

/* Scroll Reveal Animation Styles */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--accent-color);
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background-color: var(--bg-primary);
    border-top: 1px solid rgba(15, 30, 54, 0.03);
}

.faq-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 120px;
}

/* Remove default arrow markers from summary across ALL browsers */
summary {
    list-style: none !important;
    list-style-type: none !important;
}

summary::marker {
    display: none !important;
}

summary::-webkit-details-marker {
    display: none !important;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0; /* clean lines without boxes */
}

.faq-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(15, 30, 54, 0.08); /* elegant separator line */
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item[open] {
    border-bottom-color: var(--accent-color);
}

.faq-question {
    padding: 28px 0;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-answer {
    padding: 0 0 28px 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Elements: Honeypot, CTAs & Carousel Dots */
.hidden-honeypot {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* CTA Teaser Banner */
.cta-teaser {
    padding: 80px 0;
    background-color: var(--bg-secondary);
    text-align: center;
    border-top: 1px solid rgba(15, 30, 54, 0.04);
    border-bottom: 1px solid rgba(15, 30, 54, 0.04);
    position: relative;
    overflow: hidden;
}

.cta-teaser::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.02) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-teaser-content {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.25;
    color: var(--text-primary);
    font-weight: 600;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 500px;
    margin-bottom: 8px;
}

/* Timeline Footer CTA */
.timeline-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid rgba(15, 30, 54, 0.05);
}

.timeline-footer-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-footer-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

/* Portfolio Footer CTA */
.portfolio-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid rgba(15, 30, 54, 0.05);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.teaser-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.teaser-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 1.05rem;
}



/* Logo Link styles */
a.logo {
    text-decoration: none;
    color: inherit;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        padding-top: 40px;
        align-items: flex-start;
    }
    
    .hero-form {
        height: auto;
    }
    
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .benefit-item {
        text-align: left;
    }

    .hero-title {
        font-size: 2.6rem;
    }
    
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-intro {
        position: static;
    }
}

@media (max-width: 768px) {
    /* Enable mobile menu toggle button */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Make scroll-reveal elements immediately visible on mobile to fix hidden references */
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    /* Responsive Mobile Menu Drawer */
    .nav {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(15, 30, 54, 0.05);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 40px 40px 40px;
        gap: 32px;
        transition: var(--transition-smooth);
        z-index: 1000;
        border-left: 1px solid var(--glass-border);
    }
    
    .nav.open {
        right: 0;
    }
    
    .nav .btn-secondary {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    /* Hamburger animations */
    .mobile-menu-toggle.open .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.open .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.open .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .workflow-timeline {
        flex-direction: column;
        gap: 24px;
    }
    
    .workflow-timeline::before {
        top: 40px;
        bottom: 40px;
        left: 48px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, rgba(37, 99, 235, 0.25) 50%, rgba(37, 99, 235, 0.03) 100%);
    }
    
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Mobile Marquee overrides -> Premium Scroll Snapping Mobile Slider */
    .portfolio-marquee-wrapper {
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        padding: 24px 16px 48px 16px !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
        scrollbar-width: none; /* Hide scrollbar in Firefox */
    }
    
    .portfolio-marquee-wrapper::-webkit-scrollbar {
        display: none; /* Hide scrollbar in Chrome/Safari/Webkit */
    }
    
    .portfolio-marquee-track {
        animation: none !important; /* Stop the automatic scrolling completely */
        width: max-content !important;
        display: flex !important;
        gap: 16px !important;
    }
    
    .portfolio-marquee-group {
        display: flex !important;
        gap: 16px !important;
        flex-shrink: 0 !important;
    }
    
    .portfolio-marquee-group[aria-hidden="true"] {
        display: none !important; /* Hide duplicate marquee group on mobile */
    }
    
    .portfolio-marquee-group .portfolio-card {
        flex: 0 0 82vw !important; /* Premium preview sizing: 82% of viewport width */
        scroll-snap-align: center !important; /* Perfect snapping to center */
    }

    .cta-title {
        font-size: 1.65rem;
    }
    
    .timeline-footer-title,
    .teaser-title {
        font-size: 1.65rem;
    }
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 380px;
    background-color: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 16px -6px rgba(15, 23, 42, 0.05);
    padding: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

#cookie-consent-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cookie-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.cookie-btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-align: center;
}

.cookie-btn-accept {
    background-color: var(--accent-color);
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background-color: var(--accent-light);
}

.cookie-btn-deny {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.cookie-btn-deny:hover {
    background-color: #e2e8f0;
}

@media (max-width: 576px) {
    #cookie-consent-banner {
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: none;
    }
    
    /* Optimize typography and paddings on mobile phones */
    .hero-title {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
    }
    
    .section-title {
        font-size: 2.0rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-section {
        padding-top: 130px !important;
        padding-bottom: 60px !important;
    }
    
    .container {
        padding: 0 16px !important;
    }
    
    .hero-subtitle {
        font-size: 1.0rem !important;
    }
    
    .btn {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
    }
}

/* Custom SVG Icon overrides to replace emojis */
.benefit-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent-color);
    display: block;
}

.job-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--cyan-glow);
    color: var(--cyan-accent);
    border-radius: 50%;
    margin-bottom: 3px;
}

.job-icon svg {
    width: 12px;
    height: 12px;
    display: block;
}


