/* ==========================================
   CSS Variables & Reset
   ========================================== */
:root {
    --primary: #9c7c46;
    --primary-dark: #7c5f33;
    --primary-light: #c9a763;
    --primary-50: rgba(156, 124, 70, 0.05);
    --primary-100: rgba(156, 124, 70, 0.1);
    --primary-200: rgba(156, 124, 70, 0.2);

    --secondary: #8a6a3a;
    --accent: #b08d50;

    --gray-50: #f6f3ec;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gray-950: #020617;

    --green: #10b981;
    --green-light: rgba(16, 185, 129, 0.1);
    --red: #ef4444;
    --red-light: rgba(239, 68, 68, 0.1);
    --orange: #f97316;
    --orange-light: rgba(249, 115, 22, 0.1);
    --yellow: #eab308;
    --yellow-light: rgba(234, 179, 8, 0.1);
    --blue: #3b82f6;
    --blue-light: rgba(59, 130, 246, 0.1);
    --pink: #ec4899;
    --pink-light: rgba(236, 72, 153, 0.1);
    --cyan: #b08d50;
    --cyan-light: rgba(176, 141, 80, 0.1);
    --amber: #f59e0b;
    --amber-light: rgba(245, 158, 11, 0.1);
    --purple: #8a6a3a;
    --purple-light: rgba(138, 106, 58, 0.1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 40px rgba(156, 124, 70, 0.15);
    --shadow-glow-lg: 0 0 80px rgba(156, 124, 70, 0.2);

    --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    color: var(--gray-700);
    line-height: 1.7;
    background: #fff;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ==========================================
   Mouse Glow Follower
   ========================================== */
.mouse-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 167, 99, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.mouse-glow.active {
    opacity: 1;
}

/* ==========================================
   Container & Layout
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

/* ==========================================
   Typography
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--gray-900);
    line-height: 1.2;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 40%, var(--accent) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary-100);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.section-tag.light {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ==========================================
   Buttons – Shimmer Effect
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(156, 124, 70, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Shimmer sweep on primary buttons */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: none;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(156, 124, 70, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1);
}

.btn-ghost {
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: var(--primary-200);
    color: var(--primary);
    background: var(--primary-50);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: var(--radius-md);
}

.btn-full {
    width: 100%;
}

/* ==========================================
   Navbar
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

/* Keep the serif wordmark + uppercase nav from crowding on mid-width screens */
@media (max-width: 1200px) {
    .nav-links { margin-left: 28px; gap: 22px; }
    .nav-links a { letter-spacing: 0.09em; }
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

/* Luxury brand tokens */
:root {
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --lux-gold: #9c7c46;
    --lux-gold-soft: #c8a86b;
}

.wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 11px;
    line-height: 1;
    white-space: nowrap;
}

.wordmark-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.72rem;
    letter-spacing: 0.005em;
    color: var(--gray-900);
}

.wordmark-name em {
    font-style: italic;
    font-weight: 600;
}

.wordmark-tld {
    position: relative;
    font-family: var(--font-primary);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--lux-gold);
    padding-left: 12px;
    text-transform: lowercase;
}

.wordmark-tld::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-55%);
    width: 1px;
    height: 1.05em;
    background: currentColor;
    opacity: 0.45;
}

@media (max-width: 480px) {
    .wordmark-name { font-size: 1.3rem; }
    .wordmark-tld { font-size: 0.6rem; padding-left: 9px; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: 56px;
}

.nav-links a {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--gray-600);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--lux-gold);
    transition: width var(--transition-base);
}

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

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

.nav-cta {
    padding: 12px 26px;
    background: var(--gray-900);
    color: #fff !important;
    border: 1px solid var(--gray-900);
    border-radius: 2px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.nav-cta:hover {
    background: transparent;
    color: var(--gray-900) !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ==========================================
   Hero Section – Enhanced
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* FLUX-generated abstract aurora backdrop (assets/hero-bg-*.webp).
   Screen-blended over the gradient field for depth; a soft mask keeps the
   left side (headline) calm and high-contrast. */
.hero-bg-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.5;
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 44%, #000 32%, transparent 78%);
            mask-image: radial-gradient(ellipse 78% 72% at 50% 44%, #000 32%, transparent 78%);
    animation: hero-art-drift 26s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes hero-art-drift {
    from { transform: scale(1.05); }
    to   { transform: scale(1.13); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-bg-art { animation: none; }
}
@media (max-width: 768px) {
    .hero-bg-art { opacity: 0.4; -webkit-mask-image: none; mask-image: none; }
}

.hero-gradient-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 167, 99, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-gradient-2 {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(191, 145, 66, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

.hero-gradient-3 {
    position: absolute;
    top: 30%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230, 202, 116, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 18s ease-in-out infinite 3s;
}

/* Animated Orbs */
.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: orb-drift 15s ease-in-out infinite alternate;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(201, 167, 99, 0.15);
    top: 10%;
    right: 15%;
    animation-duration: 20s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(191, 145, 66, 0.12);
    bottom: 20%;
    left: 10%;
    animation-duration: 17s;
    animation-delay: -5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(230, 202, 116, 0.1);
    top: 50%;
    left: 50%;
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes orb-drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -40px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
    100% { transform: translate(20px, -20px) scale(1.05); }
}

/* Aurora Effect */
.hero-aurora {
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(201, 167, 99, 0.02) 20%,
        rgba(191, 145, 66, 0.03) 40%,
        rgba(230, 202, 116, 0.02) 60%,
        transparent 80%
    );
    animation: aurora 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes aurora {
    0% { transform: translateX(-10%) skewX(-5deg); }
    100% { transform: translateX(10%) skewX(5deg); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 167, 99, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 167, 99, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}
/* Split hero: copy left, live demo showcase right. */
.hero-content { max-width: 560px; }
.hero-content .hero-subtitle { margin-left: 0; max-width: 500px; }

/* Live showcase: two columns of real demo screenshots scrolling opposite ways. */
.hero-showcase {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    height: 600px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
}
.sc-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-self: start;
    height: max-content;
    padding-bottom: 18px;
    animation: sc-scroll 40s linear infinite;
    animation-delay: 0s;
    will-change: transform;
}
.sc-col--down {
    animation-direction: reverse;
    margin-top: -40px;
}
@keyframes sc-scroll {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}
.hero-showcase:hover .sc-col { animation-play-state: paused; }
.sc-card {
    display: block;
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 22px 48px -22px rgba(30,27,75,0.45), 0 0 0 1px rgba(15,23,42,0.06);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
}
.sc-card:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 26px 54px -20px rgba(30,27,75,0.5), 0 0 0 1px var(--lux-gold);
}
.sc-card img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) {
    .sc-col { animation: none; }
    .hero-showcase { height: auto; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 1024px) {
    .hero-showcase { display: none; }
    .hero-content { max-width: 600px; margin: 0 auto; }
    .hero-content .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-content .hero-inline-form { margin-left: auto; margin-right: auto; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.hero-title {
    font-size: clamp(2.75rem, 5.5vw, 4rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 22px;
    text-wrap: balance;
}
.hero-title { font-size: clamp(2.25rem, 3.8vw, 3.4rem); line-height: 1.08; }
.hero-title .gradient-text { display: block; }

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--gray-500);
    line-height: 1.62;
    margin-bottom: 26px;
    max-width: 540px;
}

.hero-subtitle strong {
    color: var(--gray-800);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-inline-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 340px;
    margin: 0 0 22px;
    align-items: stretch;
}
.hero-content .hero-email-input { width: 100%; text-align: left; flex: 0 0 auto; }
.hero-content .hero-email-submit { width: 100%; justify-content: center; }
.hero-content .hero-whatsapp-btn { align-self: stretch; justify-content: center; }

.hero-email-input {
    flex: 1 1 240px;
    min-width: 0;
    padding: 11px 15px;
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-800);
    backdrop-filter: blur(8px);
    transition: all var(--transition-fast);
    outline: none;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.hero-email-input::placeholder { color: var(--gray-500); }

.hero-email-input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(156, 124, 70, 0.14), 0 6px 24px rgba(156, 124, 70, 0.1);
}

.hero-email-submit {
    flex: 0 0 auto;
    white-space: nowrap;
}

.hero-actions-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.hero-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gray-300);
    flex-shrink: 0;
}

.hero-meta-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.hero-meta-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 640px) {
    .hero-inline-form { flex-direction: column; }
    .hero-email-input { flex: 1 1 auto; width: 100%; }
    .hero-email-submit { width: 100%; justify-content: center; }
    .hero-actions-meta { justify-content: center; }
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.stat-value {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
    display: inline;
}

.stat-plus, .stat-suffix {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    display: inline;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 4px;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* ==========================================
   Hero Visual / Browser Mockup
   ========================================== */
.hero-visual {
    position: relative;
}

/* Real-time WebGL 3D hero scene (see hero3d.js) */
.hero-3d {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-2xl);
    overflow: visible;
}
.hero-3d canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border-radius: var(--radius-2xl);
    cursor: grab;
}
.hero-3d canvas:active { cursor: grabbing; }
/* Fallback glow shown before the scene loads, on reduced-motion, or if WebGL
   is unavailable — keeps the space looking intentional, never empty. */
.hero-3d-fallback {
    position: absolute;
    inset: 8%;
    z-index: -1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 38% 38%, rgba(156, 124, 70,0.55), transparent 60%),
        radial-gradient(circle at 68% 64%, rgba(176, 141, 80,0.45), transparent 60%),
        radial-gradient(circle at 56% 50%, rgba(138, 106, 58,0.50), transparent 65%);
    filter: blur(34px);
    animation: fallback-pulse 6s ease-in-out infinite alternate;
}
@keyframes fallback-pulse {
    from { transform: scale(0.92); opacity: 0.75; }
    to   { transform: scale(1.06); opacity: 1; }
}
@media (max-width: 1024px) {
    .hero-3d { max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-3d-fallback { animation: none; }
}

.browser-mockup {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(0,0,0,0.05), 0 0 60px rgba(156, 124, 70, 0.1);
    transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.browser-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px);
    box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(0,0,0,0.05), 0 0 80px rgba(156, 124, 70, 0.15);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #eab308; }
.browser-dots span:nth-child(3) { background: #22c55e; }

.browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #fff;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--gray-400);
    border: 1px solid var(--gray-200);
}

.browser-content {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    min-height: 320px;
}

/* --- Realistic rendered website preview inside the browser mockup --- */
.mock-site {
    display: flex;
    flex-direction: column;
    gap: 14px;
    /* per-industry accent, swapped by toggling .theme-* (see initMockRotator) */
    --mock-accent: var(--accent);
    --mock-accent-glow: rgba(176, 141, 80,0.45);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.mock-site.theme-dentist    { --mock-accent: #b08d50; --mock-accent-glow: rgba(176, 141, 80,0.45); }
.mock-site.theme-lawyer     { --mock-accent: #3b82f6; --mock-accent-glow: rgba(59,130,246,0.45); }
.mock-site.theme-accountant { --mock-accent: #10b981; --mock-accent-glow: rgba(16,185,129,0.42); }
.mock-site.is-swapping { opacity: 0; transform: translateY(6px); }
@media (prefers-reduced-motion: reduce) {
    .mock-site { transition: opacity 0.2s linear; }
    .mock-site.is-swapping { transform: none; }
}

/* Site top bar */
.mock-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mock-brand { display: flex; align-items: center; gap: 7px; }
.mock-brand-mark {
    width: 26px; height: 26px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 4px 10px -3px rgba(156, 124, 70,0.6);
}
.mock-brand-mark svg { width: 15px; height: 15px; }
.mock-brand-name { font-size: 0.72rem; font-weight: 600; color: var(--gray-900); letter-spacing: -0.01em; }
.mock-brand-name b { color: var(--primary); font-weight: 800; }
.mock-menu { display: flex; align-items: center; gap: 11px; }
.mock-menu span { font-size: 0.62rem; font-weight: 500; color: var(--gray-500); }
.mock-menu-cta {
    color: #fff !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 5px 11px;
    border-radius: 999px;
    box-shadow: 0 4px 12px -3px rgba(156, 124, 70,0.55);
}

/* Hero band */
.mock-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background:
        radial-gradient(120% 140% at 88% 8%, var(--mock-accent-glow), transparent 55%),
        linear-gradient(135deg, var(--primary) 0%, var(--secondary) 70%, #7c3aed 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 14px 30px -16px rgba(79,70,229,0.7);
}
.mock-hero::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: skewX(-18deg);
    animation: mock-shine 5.5s ease-in-out 1.2s infinite;
}
@keyframes mock-shine {
    0% { left: -120%; }
    18%, 100% { left: 140%; }
}
.mock-hero-copy { position: relative; z-index: 1; }
.mock-rating { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 9px; }
.mock-stars { color: #fbbf24; font-size: 0.66rem; letter-spacing: 1px; text-shadow: 0 1px 2px rgba(0,0,0,0.15); }
.mock-rating-text { font-size: 0.56rem; font-weight: 600; color: rgba(255,255,255,0.92); }
.mock-h1 {
    font-family: var(--font-primary, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.18rem;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 7px;
}
.mock-h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #fde68a, #fbcfe8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mock-sub { font-size: 0.6rem; line-height: 1.5; color: rgba(255,255,255,0.82); margin-bottom: 12px; max-width: 22ch; }
.mock-cta-row { display: flex; align-items: center; gap: 8px; }
.mock-btn-primary {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.62rem; font-weight: 700; color: var(--primary);
    background: #fff;
    padding: 7px 12px;
    border-radius: 999px;
    box-shadow: 0 8px 18px -6px rgba(0,0,0,0.4);
}
.mock-btn-primary svg { width: 11px; height: 11px; }
.mock-btn-ghost {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.62rem; font-weight: 600; color: #fff;
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.08);
}
.mock-btn-ghost svg { width: 11px; height: 11px; }

/* Hero "photo" */
.mock-hero-photo {
    position: relative;
    z-index: 1;
    align-self: stretch;
    min-height: 92px;
    border-radius: 12px;
    display: flex; align-items: flex-end; justify-content: center;
    background:
        radial-gradient(100% 80% at 50% 18%, rgba(255,255,255,0.28), transparent 60%),
        linear-gradient(160deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04));
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.25);
    overflow: hidden;
    transition: background-image 0.4s ease;
}
/* FLUX-generated per-industry abstract art (assets/industry-*.webp), with a soft
   scrim so the "Heute frei" pill stays legible. Swapped via .theme-* on .mock-site. */
.mock-site.theme-dentist .mock-hero-photo {
    background-image: linear-gradient(160deg, rgba(8,15,40,0.10), rgba(8,15,40,0.40)), url(assets/industry-dentist-480.webp);
}
.mock-site.theme-lawyer .mock-hero-photo {
    background-image: linear-gradient(160deg, rgba(8,15,40,0.10), rgba(8,15,40,0.40)), url(assets/industry-lawyer-480.webp);
}
.mock-site.theme-accountant .mock-hero-photo {
    background-image: linear-gradient(160deg, rgba(8,15,40,0.10), rgba(8,15,40,0.40)), url(assets/industry-accountant-480.webp);
}
.mock-photo-shine {
    position: absolute; inset: 0;
    background: radial-gradient(60% 50% at 70% 30%, var(--mock-accent-glow), transparent 70%);
    mix-blend-mode: screen;
}
/* The art now fills the panel, so the placeholder silhouette is hidden. */
.mock-photo-figure { display: none; }

/* Real interior photo filling the hero panel of the example site. */
.mock-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    z-index: 0;
}

/* Impressions gallery — real photos inside the example site. */
.mock-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}
.mock-shot {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 16px -10px rgba(15,23,42,0.3);
    position: relative;
}
.mock-shot img {
    display: block;
    width: 100%;
    height: 56px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.browser-mockup:hover .mock-shot img { transform: scale(1.06); }
.mock-shot figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 8px 7px 4px;
    font-size: 0.5rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(to top, rgba(8,15,40,0.78), transparent);
}

/* "Beispiel" badge on the browser chrome. */
.browser-badge {
    flex-shrink: 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--primary);
    background: var(--primary-100);
    border: 1px solid var(--primary-200);
    padding: 3px 9px;
    border-radius: 999px;
}

/* Visible, accessible disclaimer under the hero visual. */
.hero-visual-note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 18px auto 0;
    max-width: 30rem;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--gray-500);
    text-align: left;
}
.hero-visual-note svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--primary);
}
@media (max-width: 1024px) {
    .hero-visual-note { justify-content: center; text-align: center; }
}
.mock-photo-pill {
    position: absolute;
    top: 8px; left: 8px;
    z-index: 2;
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.5rem; font-weight: 700; color: var(--mock-accent);
    background: #fff;
    padding: 3px 7px;
    border-radius: 999px;
    box-shadow: 0 4px 10px -3px rgba(0,0,0,0.3);
}
.mock-photo-pill svg { width: 9px; height: 9px; }

/* Feature tiles */
.mock-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}
.mock-feat {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 11px;
    padding: 11px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 6px 16px -10px rgba(15,23,42,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.browser-mockup:hover .mock-feat { transform: translateY(-2px); }
.mock-feat-ico {
    width: 26px; height: 26px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 5px;
}
.mock-feat-ico svg { width: 15px; height: 15px; }
.ico-indigo { background: var(--primary-100); color: var(--primary); }
.ico-cyan   { background: rgba(176, 141, 80,0.12); color: var(--accent); }
.ico-green  { background: var(--green-light); color: var(--green); }
.mock-feat-label { font-size: 0.62rem; font-weight: 700; color: var(--gray-900); }
.mock-feat-sub { font-size: 0.52rem; color: var(--gray-400); }

/* ==========================================
   Before / After comparison slider (hero visual)
   ========================================== */
.browser-content.is-ba { padding: 0; min-height: 0; background: #fff; }

.ba {
    position: relative;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    outline: none;
}
.ba-pane { top: 0; left: 0; width: 100%; }
/* AFTER pane sits in flow and defines the panel height. */
.ba-after {
    position: relative;
    padding: 18px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}
/* BEFORE pane overlays it, clipped to the left of the handle. */
.ba-before {
    position: absolute;
    inset: 0;
    background: #fff;
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-divider {
    position: absolute;
    top: 0; bottom: 0;
    left: var(--pos);
    width: 3px;
    transform: translateX(-1.5px);
    background: #fff;
    box-shadow: 0 0 0 1px rgba(156, 124, 70,0.25), 0 0 18px rgba(156, 124, 70,0.55);
    z-index: 6;
    pointer-events: none;
}
.ba-handle {
    position: absolute;
    top: 50%;
    left: var(--pos);
    transform: translate(-50%, -50%);
    width: 42px; height: 42px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(15,23,42,0.30), 0 0 0 6px rgba(255,255,255,0.35);
    cursor: ew-resize;
    z-index: 7;
}
.ba-handle svg { width: 20px; height: 20px; }
/* Attention pulse until the user first interacts. */
.ba-handle::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(156, 124, 70,0.55);
    animation: ba-pulse 2s ease-out infinite;
}
.ba.is-touched .ba-handle::before { display: none; }
@keyframes ba-pulse {
    0%   { transform: scale(0.85); opacity: 0.85; }
    100% { transform: scale(1.7);  opacity: 0; }
}

.ba-tag {
    position: absolute;
    top: 12px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
    z-index: 6;
    pointer-events: none;
}
.ba-tag-before { left: 12px; background: rgba(15,23,42,0.62); color: #fff; }
.ba-tag-after  { right: 12px; background: rgba(156, 124, 70,0.95); color: #fff; box-shadow: 0 4px 12px rgba(156, 124, 70,0.5); }

/* --- The dated "before" site --- */
.oldsite {
    font-family: "Times New Roman", Georgia, serif;
    color: #222;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 11px;
    line-height: 1.3;
}
.os-top {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 10px;
    background: #3a6ea5;
    color: #fff;
    border-bottom: 3px solid #8b0000;
}
.os-logo { font-size: 13px; font-weight: bold; line-height: 1.15; }
.os-logo b { font-size: 10.5px; font-weight: normal; }
.os-tel { font-size: 10px; text-align: right; line-height: 1.25; }
.os-nav { display: flex; flex-wrap: wrap; background: #c8c8c8; border-bottom: 1px solid #888; padding: 2px 4px; }
.os-nav a { color: #00309c; text-decoration: underline; font-size: 10px; padding: 2px 6px; border-right: 1px solid #9a9a9a; cursor: pointer; }
.os-marquee {
    background: #ffff99; color: #aa0000; text-align: center;
    font-style: italic; padding: 4px; font-size: 11px;
    border-bottom: 1px dashed #c9a;
    white-space: nowrap; overflow: hidden;
}
.os-main { display: flex; gap: 8px; padding: 10px; flex: 1; }
.os-photo {
    width: 70px; height: 58px; flex-shrink: 0;
    background: repeating-linear-gradient(45deg, #dcdcdc, #dcdcdc 6px, #ededed 6px, #ededed 12px);
    border: 1px solid #999;
    display: flex; align-items: center; justify-content: center;
    color: #777; font-size: 9px; text-align: center;
}
.os-copy p { margin: 0 0 7px; color: #333; }
.os-link { color: #00309c; text-decoration: underline; }
.os-construction {
    background: #fde000; color: #000; text-align: center;
    font-weight: bold; font-size: 9.5px; padding: 4px;
    border-top: 2px dashed #000; border-bottom: 2px dashed #000;
    font-family: Arial, sans-serif;
}
.os-foot {
    background: #000; color: #19f019;
    font-family: "Courier New", monospace; font-size: 8.5px;
    text-align: center; padding: 4px 2px;
}

@media (prefers-reduced-motion: reduce) {
    .ba-handle::before { animation: none; display: none; }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(156, 124, 70, 0.08);
    border: 1px solid rgba(255,255,255,0.8);
    font-size: 0.85rem;
    animation: float-card 6s ease-in-out infinite;
    z-index: 2;
}

.floating-card strong { display: block; color: var(--gray-900); font-weight: 700; }
.floating-card span { color: var(--gray-400); font-size: 0.78rem; }

.floating-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-card-icon svg { width: 20px; height: 20px; }
.floating-card-icon.green { background: var(--green-light); color: var(--green); }
.floating-card-icon.purple { background: var(--purple-light); color: var(--purple); }

.card-rating { top: 15%; right: -20px; animation-delay: -2s; }
.card-savings { bottom: 20%; left: -30px; animation-delay: -4s; }

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--gray-300);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll-indicator 2s ease-in-out infinite;
}

/* ==========================================
   Marquee Trust Bar
   ========================================== */
.trust-bar {
    padding: 28px 0;
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-50);
    overflow: hidden;
    position: relative;
}

.trust-bar::before,
.trust-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.trust-bar::before {
    left: 0;
    background: linear-gradient(90deg, var(--gray-50), transparent);
}

.trust-bar::after {
    right: 0;
    background: linear-gradient(270deg, var(--gray-50), transparent);
}

.marquee {
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: marquee-scroll 35s linear infinite;
    width: max-content;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-dot {
    width: 5px;
    height: 5px;
    background: var(--primary-200);
    border-radius: 50%;
    margin: 0 28px;
    flex-shrink: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
    flex-shrink: 0;
}

.trust-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    border-radius: 10px;
    color: var(--primary);
    flex-shrink: 0;
}

.trust-icon svg { width: 18px; height: 18px; }

/* ==========================================
   Problem Section
   ========================================== */
.problem-section {
    background: var(--gray-50);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.problem-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent, transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background var(--transition-slow);
    pointer-events: none;
}

.problem-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.problem-card:hover::before {
    background: linear-gradient(135deg, var(--red), var(--orange));
}

.problem-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.problem-icon svg { width: 24px; height: 24px; }
.problem-icon.red { background: var(--red-light); color: var(--red); }
.problem-icon.orange { background: var(--orange-light); color: var(--orange); }
.problem-icon.yellow { background: var(--yellow-light); color: var(--yellow); }

.problem-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.problem-card p { color: var(--gray-500); font-size: 0.95rem; }

/* ==========================================
   Solution Section – Glow Cards
   ========================================== */
.solution-section {
    background: transparent;
    overflow: hidden;
}

.solution-bg {
    position: absolute;
    top: 0;
    right: -20%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary-50) 0%, transparent 70%);
    pointer-events: none;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

/* Animated gradient border on hover */
.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent, transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.4s ease;
    pointer-events: none;
}

.solution-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transform: translateY(-6px);
}

.solution-card:hover::before {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
}

.solution-card.featured {
    border-color: var(--primary-200);
    background: linear-gradient(135deg, rgba(156, 124, 70, 0.03), rgba(138, 106, 58, 0.05));
}

.solution-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 100%;
    animation: border-flow 3s linear infinite;
}

@keyframes border-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.solution-icon-wrap { margin-bottom: 20px; }

.solution-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    color: var(--primary);
    transition: transform var(--transition-spring), box-shadow var(--transition-base);
}

.solution-card:hover .solution-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 4px 15px rgba(156, 124, 70, 0.2);
}

.solution-icon svg { width: 26px; height: 26px; }
.solution-icon.blue { background: var(--blue-light); color: var(--blue); }
.solution-icon.green { background: var(--green-light); color: var(--green); }
.solution-icon.amber { background: var(--amber-light); color: var(--amber); }
.solution-icon.pink { background: var(--pink-light); color: var(--pink); }
.solution-icon.cyan { background: var(--cyan-light); color: var(--cyan); }

.solution-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.solution-card p { color: var(--gray-500); font-size: 0.95rem; line-height: 1.7; }

.solution-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 12px;
    background: var(--primary-100);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 100px;
}

/* ==========================================
   Comparison Section
   ========================================== */
.comparison-section {
    background: var(--gray-50);
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--gray-900);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.comparison-header > div { padding: 18px 24px; }

.comparison-us {
    background: rgba(156, 124, 70, 0.1);
}

.comparison-header .comparison-us {
    background: var(--primary);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #fff;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
    transition: background var(--transition-fast);
}

.comparison-row:hover {
    background: var(--gray-50);
}

.comparison-row:last-child { border-bottom: none; }

.comparison-row > div {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comparison-feature { font-weight: 600; color: var(--gray-800); }
.comparison-them { color: var(--gray-500); }
.comparison-row .comparison-us { background: rgba(156, 124, 70, 0.04); }

.icon-check { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }
.icon-x { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }
.good { color: var(--green); font-weight: 700; }
.bad { color: var(--gray-400); text-decoration: line-through; }

/* ==========================================
   Industries Section – 3D Tilt Cards
   ========================================== */
.industries-section {
    background: transparent;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.industry-card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.industry-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    transform: translateY(-8px);
}

.industry-visual {
    padding: 40px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Animated shine on industry cards */
.industry-visual::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255,255,255,0.15) 50%,
        transparent 60%
    );
    animation: card-shine 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes card-shine {
    0% { transform: translateX(-100%) rotate(0deg); }
    50%, 100% { transform: translateX(100%) rotate(0deg); }
}

.industry-visual.dentist { background: linear-gradient(135deg, #dbeafe, #efe6d6); color: var(--primary); }
.industry-visual.accountant { background: linear-gradient(135deg, #d1fae5, #efe6d6); color: var(--green); }
.industry-visual.lawyer { background: linear-gradient(135deg, #f6ecd9, #efe6d6); color: var(--secondary); }

.industry-icon-large svg { width: 80px; height: 80px; }

.industry-content { padding: 32px; }
.industry-content h3 { font-size: 1.35rem; margin-bottom: 8px; }
.industry-content > p { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 20px; }

.industry-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.industry-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.industry-features svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

.industry-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.industry-cta svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-spring);
}

.industry-cta:hover {
    gap: 14px;
}

.industry-cta:hover svg {
    transform: translateX(4px);
}

.industry-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================
   Demo Showcase Section
   ========================================== */
.demos-section {
    background: var(--gray-50);
    overflow: hidden;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

/* 4-wide × 2-row showcase of clickable preview windows */
.demos-grid-showcase {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.demo-card {
    display: block;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.demos-grid-showcase .demo-iframe-wrap { height: 200px; }

.demo-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    transform: translateY(-6px);
}

.demo-browser {
    position: relative;
}

.demo-browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.demo-browser-url {
    flex: 1;
    padding: 4px 10px;
    background: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--gray-400);
    border: 1px solid var(--gray-200);
}

.demo-iframe-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--gray-50);
}

.demo-iframe-wrap iframe {
    width: 200%;
    height: 200%;
    border: none;
    transform: scale(0.5);
    transform-origin: top left;
    pointer-events: none;
}

.demo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    cursor: pointer;
}

.demo-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.demo-overlay-content svg {
    width: 32px;
    height: 32px;
}

.demo-overlay-content span {
    font-size: 0.9rem;
    font-weight: 600;
}

.demo-card:hover .demo-overlay {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.demo-card:hover .demo-overlay-content {
    opacity: 1;
    transform: translateY(0);
}

.demo-info {
    padding: 24px;
}

.demo-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.dentist-badge {
    background: #dbeafe;
    color: #2563eb;
}

.accountant-badge {
    background: #d1fae5;
    color: #059669;
}

.lawyer-badge {
    background: #f6ecd9;
    color: #9333ea;
}

.radiologe-badge {
    background: #efe6d6;
    color: #7c5f33;
}

.physio-badge {
    background: #d1fae5;
    color: #047857;
}

.restaurant-badge {
    background: #fee2e2;
    color: #b91c1c;
}

.friseur-badge {
    background: #fce7f3;
    color: #be185d;
}

.immobilien-badge {
    background: #fef3c7;
    color: #92722b;
}

.demo-info h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.demos-grid-showcase .demo-info { padding: 18px 18px 20px; }
.demos-grid-showcase .demo-info h3 { font-size: 1rem; line-height: 1.3; }
.demos-grid-showcase .demo-info p { margin-bottom: 0; font-size: 0.82rem; }

.demo-info p {
    font-size: 0.88rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.demo-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--transition-base);
}

.demo-link svg {
    width: 16px;
    height: 16px;
}

.demo-link:hover {
    gap: 10px;
}

.demos-cta {
    text-align: center;
    padding-top: 16px;
}

.demos-cta p {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.demos-cta strong {
    color: var(--gray-800);
}

/* ==========================================
   Process Section – Animated Timeline
   ========================================== */
.process-section {
    background: var(--gray-50);
}

.process-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.process-line {
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
    overflow: hidden;
}

/* Animated glow traveling down the line */
.process-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    animation: line-glow 4s ease-in-out infinite;
}

@keyframes line-glow {
    0% { top: -40%; }
    100% { top: 100%; }
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.process-step:last-child { margin-bottom: 0; }

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(156, 124, 70, 0.3), 0 0 30px rgba(156, 124, 70, 0.15);
    animation: step-pulse 3s ease-in-out infinite;
}

@keyframes step-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(156, 124, 70, 0.3), 0 0 30px rgba(156, 124, 70, 0.15); }
    50% { box-shadow: 0 4px 20px rgba(156, 124, 70, 0.4), 0 0 50px rgba(156, 124, 70, 0.2); }
}

.step-content {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
    flex: 1;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-content:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transform: translateX(8px);
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-100);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-icon svg { width: 24px; height: 24px; }
.step-icon.blue { background: var(--blue-light); color: var(--blue); }
.step-icon.green { background: var(--green-light); color: var(--green); }

.step-content h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-content p { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 16px; }

.step-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-100);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.step-tag.blue { background: var(--blue-light); color: var(--blue); }
.step-tag.green { background: var(--green-light); color: var(--green); }

/* "What we need from you" callout */
.process-note {
    margin: 56px auto 0;
    max-width: 880px;
    background: linear-gradient(135deg, var(--primary-50), rgba(176, 141, 80,0.05));
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-xl);
    padding: 32px 34px;
    box-shadow: var(--shadow-lg);
}
.process-note-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.process-note-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 18px -6px rgba(156, 124, 70,0.6);
}
.process-note-icon svg { width: 26px; height: 26px; }
.process-note-head h3 { font-size: 1.3rem; margin: 0 0 6px; color: var(--gray-900); }
.process-note-head p { margin: 0; color: var(--gray-500); line-height: 1.55; }
.process-need {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.need-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 16px;
}
.need-ico {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.need-ico svg { width: 20px; height: 20px; }
.need-ico.indigo { background: var(--primary-100); color: var(--primary); }
.need-ico.cyan   { background: rgba(176, 141, 80,0.12); color: var(--accent); }
.need-ico.green  { background: var(--green-light); color: var(--green); }
.need-item strong { display: block; color: var(--gray-900); font-size: 0.95rem; margin-bottom: 3px; }
.need-item span { color: var(--gray-500); font-size: 0.82rem; line-height: 1.4; }
@media (max-width: 768px) {
    .process-need { grid-template-columns: 1fr; }
    .process-note { padding: 26px 22px; }
}

/* ==========================================
   Services Section
   ========================================== */
.services-section {
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-item {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--primary-50), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-item:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-6px);
}

.service-item:hover::before {
    opacity: 1;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-100);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
    transition: transform var(--transition-spring);
}

.service-item:hover .service-icon {
    transform: scale(1.15) rotate(-5deg);
}

.service-icon svg { width: 24px; height: 24px; }
.service-item h4 { font-size: 1rem; margin-bottom: 6px; position: relative; }
.service-item p { font-size: 0.85rem; color: var(--gray-500); position: relative; }

/* ==========================================
   Pricing Section – Dramatic Glow
   ========================================== */
.pricing-section {
    background: var(--gray-50);
    overflow: hidden;
}

.pricing-cards {
    max-width: 600px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    border: 2px solid transparent;
    position: relative;
    overflow: visible;
}

/* Animated gradient border */
.pricing-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-xl) + 2px);
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 300% 300%;
    animation: gradient-border 4s linear infinite;
    z-index: -1;
}

.pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: #fff;
    z-index: -1;
}

@keyframes gradient-border {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Outer glow */
.pricing-card-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at 50% 0%, rgba(156, 124, 70, 0.1), transparent 70%);
    pointer-events: none;
    z-index: -2;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-header h3 { font-size: 1.35rem; margin-bottom: 16px; }

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-400);
}

.pricing-value {
    font-family: var(--font-primary);
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gray-900), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.03em;
}

.pricing-period {
    font-size: 1rem;
    color: var(--gray-400);
    font-weight: 500;
}

.pricing-compare {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.strikethrough {
    text-decoration: line-through;
    color: var(--gray-400);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.pricing-features svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }

.pricing-guarantee {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--green-light);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #047857;
}

.pricing-guarantee svg { width: 24px; height: 24px; flex-shrink: 0; }

.pricing-addon {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    border: 1px solid var(--gray-200);
    margin-top: 24px;
}

.pricing-addon h4 { font-size: 1.1rem; margin-bottom: 20px; text-align: center; }

.addon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.addon-item:hover {
    background: var(--primary-50);
}

.addon-item-featured {
    background: var(--primary-50);
    border: 1px solid var(--primary);
}

.addon-name { font-size: 0.9rem; font-weight: 500; }
.addon-price { font-size: 0.85rem; font-weight: 700; color: var(--primary); }

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials-section {
    background: transparent;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

/* Large quote mark */
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 5rem;
    font-family: Georgia, serif;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-100), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    pointer-events: none;
}

.testimonial-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transform: translateY(-6px);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    color: #f59e0b;
}

.testimonial-stars svg { width: 18px; height: 18px; }

.testimonial-card blockquote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.author-avatar.blue { background: linear-gradient(135deg, var(--blue), var(--primary)); }
.author-avatar.green { background: linear-gradient(135deg, var(--green), var(--cyan)); }

.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--gray-900); }
.testimonial-author span { font-size: 0.8rem; color: var(--gray-400); }

/* ==========================================
   FAQ Section
   ========================================== */
.faq-section {
    background: var(--gray-50);
}

.faq-grid {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover { border-color: var(--gray-300); }
.faq-item.active { border-color: var(--primary-200); box-shadow: var(--shadow-md), var(--shadow-glow); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.95rem;
    gap: 16px;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    flex-shrink: 0;
    transition: transform var(--transition-base), color var(--transition-base);
}

.faq-item.active .faq-question svg { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ==========================================
   Referral Section
   ========================================== */
.referral-section {
    padding: 80px 0;
    background: transparent;
}

.referral-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 48px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
    border: 2px solid #f59e0b;
    overflow: hidden;
}

.referral-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 10s ease-in-out infinite;
}

.referral-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
}

.referral-icon {
    flex-shrink: 0;
}

.referral-icon svg {
    width: 64px;
    height: 64px;
    color: #d97706;
    filter: drop-shadow(0 4px 8px rgba(217, 119, 6, 0.3));
}

.referral-text {
    flex: 1;
}

.referral-text h3 {
    font-size: 1.5rem;
    color: #92400e;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.referral-text p {
    color: #a16207;
    font-size: 0.95rem;
    line-height: 1.7;
}

.referral-text strong {
    color: #92400e;
}

.referral-content .btn-primary {
    flex-shrink: 0;
    background: linear-gradient(135deg, #d97706, #b45309);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.referral-content .btn-primary:hover {
    box-shadow: 0 12px 35px rgba(217, 119, 6, 0.4);
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    background: var(--gray-950);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-gradient-1 {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(156, 124, 70, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.cta-gradient-2 {
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(138, 106, 58, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 48px;
    line-height: 1.7;
}

.cta-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 40px;
    backdrop-filter: blur(10px);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full { margin-bottom: 16px; }

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-300);
}

.label-hint {
    color: var(--gray-500);
    font-weight: 400;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-500); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(156, 124, 70, 0.15), 0 0 20px rgba(156, 124, 70, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form-group select option { background: var(--gray-900); color: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    appearance: none;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all var(--transition-fast);
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label a {
    color: var(--primary-light);
    text-decoration: underline;
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.form-note svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }

/* ==========================================
   Floating CTA Button
   ========================================== */
.floating-cta {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.floating-cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 100px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 30px rgba(156, 124, 70, 0.4), 0 0 60px rgba(156, 124, 70, 0.15);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.floating-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2.5s ease-in-out infinite;
}

.floating-cta-btn svg {
    width: 18px;
    height: 18px;
}

.floating-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(156, 124, 70, 0.5), 0 0 80px rgba(156, 124, 70, 0.2);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--gray-950);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 280px;
}

.footer-company-info {
    margin-top: 12px !important;
    font-size: 0.8rem !important;
    color: var(--gray-600) !important;
    line-height: 1.5;
}

.footer-brand .wordmark-name { color: #fff; }
.footer-brand .wordmark-tld { color: var(--lux-gold-soft); }

.footer-links h4 { color: #fff; font-size: 0.9rem; margin-bottom: 16px; }

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li {
    font-size: 0.88rem;
    color: var(--gray-500);
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p { font-size: 0.85rem; color: var(--gray-600); }

.made-in-germany {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--gray-500, #9ca3af);
}

.made-in-germany .flag-de {
    display: inline-block;
    width: 18px;
    height: 12px;
    border-radius: 2px;
    background: linear-gradient(180deg, #000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%);
}

/* ==========================================
   Animations
   ========================================== */
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes scroll-indicator {
    0% { top: -50%; }
    100% { top: 100%; }
}

/* Animate on scroll */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-scale"] {
    transform: scale(0.95);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; flex-wrap: nowrap; }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .browser-mockup { transform: none; }
    .browser-mockup:hover { transform: translateY(-8px); }

    .card-rating { right: -10px; top: 10%; }
    .card-savings { left: -10px; bottom: 15%; }

    .industries-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .solutions-grid { grid-template-columns: repeat(2, 1fr); }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .demos-grid { grid-template-columns: 1fr; max-width: 550px; margin: 0 auto 48px; }
    .demos-grid-showcase { grid-template-columns: repeat(2, 1fr); max-width: 760px; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .referral-content {
        flex-direction: column;
        text-align: center;
    }
}

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

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active { display: flex; }
    .nav-cta { display: none; }
    .mobile-toggle { display: flex; }

    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero-title { font-size: clamp(2rem, 6vw, 2.75rem); }

    .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
    .stat-divider { display: none; }
    .stat { align-items: center; }

    .problems-grid { grid-template-columns: 1fr; }
    .solutions-grid { grid-template-columns: 1fr; }

    .comparison-table { overflow-x: auto; }
    .comparison-header, .comparison-row { min-width: 600px; }

    .services-grid { grid-template-columns: 1fr; }
    .demos-grid { grid-template-columns: 1fr; max-width: 100%; }
    .demos-grid-showcase { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto 40px; }
    .demo-iframe-wrap { height: 220px; }
    .form-row { grid-template-columns: 1fr; }
    .addon-grid { grid-template-columns: 1fr; }
    .floating-card { display: none; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pricing-card { padding: 32px 24px; }
    .pricing-addon { padding: 24px; }
    .cta-form { padding: 24px; }

    .referral-card { padding: 32px; }

    .floating-cta {
        bottom: 16px;
        right: 16px;
    }

    .floating-cta-btn {
        padding: 14px 22px;
        font-size: 0.88rem;
    }

    .mouse-glow { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero { padding: 100px 0 60px; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }

    .trust-item span { font-size: 0.8rem; }
    .section-header { margin-bottom: 40px; }

    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .process-line { display: none; }
    .step-content { padding: 24px; }
}

/* ==========================================
   Referral Welcome Banner
   ========================================== */
.referral-banner {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-bottom: 1px solid #f59e0b;
    color: #92400e;
    font-size: 0.95rem;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.referral-banner.visible {
    max-height: 120px;
    opacity: 1;
}

.referral-banner-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
}

.referral-banner-icon {
    width: 22px;
    height: 22px;
    color: #d97706;
    flex-shrink: 0;
}

.referral-banner strong {
    color: #92400e;
}

.referral-banner-close {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: #92400e;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.referral-banner-close:hover {
    background: rgba(146, 64, 14, 0.1);
}

/* ==========================================
   Referral Link Generator
   ========================================== */
.referral-generator {
    position: relative;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px dashed rgba(146, 64, 14, 0.25);
}

.referral-generator-title {
    color: #92400e;
    font-size: 1.15rem;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.referral-generator-hint {
    color: #a16207;
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.referral-generator-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}

.referral-generator-input {
    flex: 1 1 260px;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid rgba(146, 64, 14, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.85);
    color: #78350f;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-family: inherit;
}

.referral-generator-input::placeholder {
    color: #b45309;
    opacity: 0.6;
}

.referral-generator-input:focus {
    outline: none;
    background: #fff;
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.referral-generator-submit {
    flex-shrink: 0;
    background: linear-gradient(135deg, #d97706, #b45309);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.referral-generator-submit:hover {
    box-shadow: 0 12px 35px rgba(217, 119, 6, 0.4);
}

.referral-result {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(146, 64, 14, 0.2);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.referral-result.visible {
    opacity: 1;
    transform: translateY(0);
}

.referral-result-label {
    display: block;
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.referral-link-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
    flex-wrap: wrap;
}

.referral-link-output {
    flex: 1 1 220px;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid rgba(146, 64, 14, 0.25);
    border-radius: 8px;
    background: #fff;
    color: #78350f;
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.9rem;
}

.referral-link-output:focus {
    outline: none;
    border-color: #d97706;
}

.referral-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #92400e;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    font-family: inherit;
}

.referral-copy-btn:hover {
    background: #78350f;
    transform: translateY(-1px);
}

.referral-copy-btn svg {
    width: 16px;
    height: 16px;
}

.referral-copy-btn .check-icon { display: none; }
.referral-copy-btn.copied { background: #047857; }
.referral-copy-btn.copied .copy-icon { display: none; }
.referral-copy-btn.copied .check-icon { display: inline-block; }

.referral-share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.referral-share-label {
    color: #92400e;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 4px;
}

.referral-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    color: #92400e;
    border: 1px solid rgba(146, 64, 14, 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.referral-share-btn:hover {
    background: #fffbeb;
    border-color: #d97706;
    transform: translateY(-1px);
}

.referral-share-btn svg {
    width: 16px;
    height: 16px;
}

.referral-result-note {
    margin-top: 14px;
    font-size: 0.85rem;
    color: #a16207;
    line-height: 1.6;
}

.referral-result-note strong {
    color: #92400e;
}

@media (max-width: 640px) {
    .referral-banner-inner { font-size: 0.85rem; padding: 10px 16px; }
    .referral-generator-form { flex-direction: column; }
    .referral-generator-submit { width: 100%; justify-content: center; }
    .referral-link-row { flex-direction: column; }
    .referral-copy-btn { width: 100%; justify-content: center; }
    .referral-share-btn { flex: 1 1 calc(50% - 4px); justify-content: center; }
}

/* ==========================================
   No-Risk Guarantee Band
   ========================================== */
.guarantee-band {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 7vw, 88px) 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
    color: #fff;
}
.guarantee-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.12), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(176, 141, 80,0.18), transparent 45%);
    pointer-events: none;
}
.guarantee-inner {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}
.guarantee-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.guarantee-seal svg {
    width: clamp(120px, 16vw, 168px);
    height: clamp(120px, 16vw, 168px);
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
    animation: sealFloat 5s ease-in-out infinite;
}
@keyframes sealFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.guarantee-seal-label {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
}
.gradient-text-light {
    background: linear-gradient(90deg, #ffffff 0%, #f0dcb0 50%, #e6cf98 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.guarantee-text .section-tag.light {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.guarantee-text h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin: 14px 0 14px;
}
.guarantee-text > p {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: rgba(255,255,255,0.88);
    max-width: 640px;
    margin-bottom: 22px;
}
.guarantee-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    max-width: 640px;
}
.gp {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.98rem;
}
.gp svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    padding: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: #fff;
}

/* ==========================================
   Trust Badges Section
   ========================================== */
.trust-badges-section { background: transparent; }
.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.trust-badge {
    position: relative;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    text-align: center;
    transition: all var(--transition-base);
}
.trust-badge:hover {
    transform: translateY(-5px);
    border-color: var(--primary-200);
    box-shadow: var(--shadow-lg);
    background: #fff;
}
.trust-badge.featured-badge {
    background: linear-gradient(160deg, var(--primary-50), #fff);
    border-color: var(--primary-200);
    box-shadow: var(--shadow-glow);
}
.tb-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}
.tb-icon svg { width: 28px; height: 28px; }
.tb-green  { background: var(--green-light);  color: var(--green); }
.tb-blue   { background: var(--blue-light);   color: var(--blue); }
.tb-amber  { background: var(--amber-light);  color: var(--amber); }
.tb-purple { background: var(--purple-light); color: var(--purple); }
.tb-pink   { background: var(--pink-light);   color: var(--pink); }
.tb-cyan   { background: var(--cyan-light);   color: var(--cyan); }
.trust-badge h4 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--gray-800);
}
.trust-badge p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Responsive — guarantee band & trust badges */
@media (max-width: 960px) {
    .guarantee-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .guarantee-points { justify-items: start; text-align: left; }
    .trust-badges-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .trust-badges-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .guarantee-points { grid-template-columns: 1fr; }
    .trust-badges-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* Nav referral highlight */
.nav-link-highlight {
    color: var(--lux-gold) !important;
    font-weight: 600;
    letter-spacing: 0.08em;
    position: relative;
    padding: 7px 15px;
    border: 1px solid var(--lux-gold);
    border-radius: 100px;
    background: transparent;
    transition: all var(--transition-base);
}
.nav-link-highlight::after { display: none; }
.nav-link-highlight:hover { background: var(--lux-gold); color: #fff !important; }

/* ==========================================================================
   PREMIUM POLISH LAYER  —  "quiet luxury, engineered" (€5k upgrade)
   Appended last so token & base refinements cascade over the originals.
   Only non-responsive properties are touched here to avoid fighting the
   mobile @media blocks above.
   ========================================================================== */

/* 1 ── Richer, tinted, multi-layer shadows (global lift via tokens) */
:root {
    --shadow-sm:  0 1px 2px rgba(30,27,75,0.06);
    --shadow-md:  0 2px 4px -1px rgba(30,27,75,0.06), 0 6px 16px -4px rgba(30,27,75,0.08);
    --shadow-lg:  0 4px 10px -3px rgba(30,27,75,0.06), 0 16px 36px -10px rgba(49,46,129,0.13);
    --shadow-xl:  0 8px 18px -6px rgba(30,27,75,0.08), 0 28px 56px -16px rgba(49,46,129,0.18);
    --shadow-2xl: 0 14px 30px -10px rgba(30,27,75,0.10), 0 46px 90px -24px rgba(49,46,129,0.26);
    --shadow-glow: 0 0 0 1px rgba(156, 124, 70,0.06), 0 22px 60px -16px rgba(156, 124, 70,0.34);
}

/* 2 ── Elegant lavender-porcelain canvas (replaces flat white) with
   soft brand glows for depth. White sections now read as floating panels. */
body {
    background:
        radial-gradient(1200px 800px at 84% -10%, rgba(138, 106, 58,0.18), transparent 60%),
        radial-gradient(1050px 680px at -12% 6%, rgba(156, 124, 70,0.16), transparent 55%),
        radial-gradient(950px 740px at 50% 114%, rgba(176, 141, 80,0.10), transparent 60%),
        linear-gradient(165deg, #e4e0f3 0%, #ece9f8 40%, #e6e1f5 72%, #ded8f0 100%);
    background-attachment: fixed;
}

/* 3 ── Film-grain depth overlay — the tactile detail cheap sites skip */
.grain {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.5;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* 4 ── Reading-progress hairline at the very top */
.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 1100;
    background: transparent;
    pointer-events: none;
}
.scroll-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary) 55%, var(--accent));
    box-shadow: 0 0 14px rgba(156, 124, 70,0.6);
    border-radius: 0 2px 2px 0;
    transition: width 0.08s linear;
}

/* 5 ── Type: more weight contrast & tighter optical tracking */
.hero-title { font-weight: 800; letter-spacing: -0.038em; }
.section-title { font-weight: 800; letter-spacing: -0.035em; }
.hero-subtitle { color: var(--gray-600); }

/* 6 ── Eyebrow tags become precise, uppercase, hairline-bordered */
.section-tag {
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 7px 15px;
    background: linear-gradient(180deg, var(--primary-50), var(--primary-100));
    border: 1px solid var(--primary-200);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

/* 7 ── Primary buttons: keep ambient shimmer, add a crisp hover sheen */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: -75%;
    width: 50%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-18deg);
    opacity: 0;
    transition: none;
}
.btn-primary:hover::after {
    animation: btn-sheen 0.9s cubic-bezier(0.22,1,0.36,1);
}
@keyframes btn-sheen {
    0%   { left: -75%; opacity: 0; }
    20%  { opacity: 1; }
    100% { left: 130%; opacity: 0; }
}

/* 8 ── Navbar: refined frosted glass + hairline when scrolled */
.navbar.scrolled {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(22px) saturate(190%);
    -webkit-backdrop-filter: blur(22px) saturate(190%);
    border-bottom: 1px solid rgba(156, 124, 70,0.10);
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 10px 30px -12px rgba(49,46,129,0.18);
}

/* 9 ── Hero mockup & floating cards: deeper, tinted, more dimensional */
.browser-mockup {
    box-shadow:
        0 2px 4px rgba(30,27,75,0.06),
        0 30px 60px -18px rgba(49,46,129,0.30),
        0 60px 120px -40px rgba(156, 124, 70,0.30);
    border-radius: var(--radius-xl);
}
.floating-card {
    box-shadow:
        0 8px 20px -6px rgba(30,27,75,0.14),
        0 24px 48px -16px rgba(49,46,129,0.20);
    border: 1px solid rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
}

/* 10 ── Reveal motion: a touch more travel for a deliberate, expensive feel */
[data-animate] { transform: translateY(38px); }
[data-animate="fade-left"] { transform: translateX(46px); }

/* 11 ── Featured cards get an animated gradient-hairline frame */
.solution-card.featured,
.pricing-card,
.trust-badge.featured-badge {
    position: relative;
}
.solution-card.featured::after,
.pricing-card::after,
.trust-badge.featured-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--primary), var(--accent) 50%, var(--secondary));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    animation: gradient-shift 6s ease infinite;
    pointer-events: none;
    opacity: 0.9;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .grain, .btn-primary::before, .btn-primary::after,
    .solution-card.featured::after, .pricing-card::after,
    .trust-badge.featured-badge::after { animation: none !important; }
    html { scroll-behavior: auto; }
}

/* ==========================================================================
   WOW LAYER  —  orchestrated hero moment (stunning, but disciplined)
   ========================================================================== */

/* Living aurora: enrich the existing gradient field */
.hero-gradient-1 { background: radial-gradient(circle, rgba(201,167,99,0.24) 0%, transparent 70%); }
.hero-gradient-2 { background: radial-gradient(circle, rgba(191,145,66,0.20) 0%, transparent 70%); }
.hero-gradient-3 { background: radial-gradient(circle, rgba(230,202,116,0.16) 0%, transparent 70%); }
.orb { opacity: 0.7; }
.hero-aurora {
    background: linear-gradient(180deg, transparent 0%, rgba(201,167,99,0.05) 20%,
        rgba(191,145,66,0.08) 40%, rgba(230,202,116,0.05) 60%, transparent 80%);
}
/* slow living hue drift across the whole field */
.hero-orbs { animation: hue-drift 26s ease-in-out infinite; }
@keyframes hue-drift {
    0%, 100% { filter: hue-rotate(0deg); }
    50%      { filter: hue-rotate(26deg); }
}

/* Conic spotlight blooming behind the browser mockup */
.hero-visual { position: relative; }
.hero-visual::before {
    content: '';
    position: absolute;
    inset: -14% -10%;
    z-index: 0;
    background: conic-gradient(from 140deg at 62% 38%,
        rgba(201,167,99,0.20), rgba(191,145,66,0.12),
        rgba(230,202,116,0.16), rgba(201,167,99,0.20));
    filter: blur(64px);
    border-radius: 42% 58% 55% 45%;
    animation: spin-slow 28s linear infinite;
    opacity: 0.85;
    pointer-events: none;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.browser-mockup, .floating-card { position: relative; z-index: 1; will-change: transform; }

/* Headline: deeper, richer gradient.
   IMPORTANT: never put filter / transform / will-change on a
   -webkit-background-clip:text element — it breaks the text clip and
   paints the gradient as a solid box (that was the "background color"
   bug in "erst ansehen, dann entscheiden."). */
.gradient-text {
    background-image: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 34%,
        var(--accent) 66%, var(--primary) 100%);
    background-size: 260% 260%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero headline accent in the luxury bronze palette */
.hero-title .gradient-text {
    background-image: linear-gradient(120deg, #e6cf98 0%, #c9a763 38%, #9c7c46 70%, #e6cf98 100%);
}

/* Cinematic entrance (CSS-only, no fill so JS parallax can take over after) */
.browser-mockup { animation: mockup-in 1.15s cubic-bezier(0.16,1,0.3,1); }
@keyframes mockup-in {
    0%   { opacity: 0; transform: translateY(52px) scale(0.94); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.floating-card { animation: floatcard-in 1s cubic-bezier(0.16,1,0.3,1) backwards; }
.card-rating  { animation-delay: 0.55s; }
.card-savings { animation-delay: 0.75s; }
@keyframes floatcard-in {
    0%   { opacity: 0; transform: translateY(20px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Magnetic-button + parallax easing */
.btn-primary, .hero-email-submit {
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow var(--transition-base);
}

@media (prefers-reduced-motion: reduce) {
    .hero-orbs, .hero-visual::before, .browser-mockup, .floating-card { animation: none !important; }
}

/* ==========================================================================
   WhatsApp buttons + pricing readability
   ========================================================================== */
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 6px 18px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
    background: #20bd5a;
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(37,211,102,0.45);
}
.btn-whatsapp svg { width: 20px; height: 20px; }
.hero-whatsapp-btn { flex: 0 0 auto; }

/* "oder" divider inside the contact form */
.form-or {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 16px 0;
    color: var(--gray-400);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.form-or::before, .form-or::after {
    content: '';
    height: 1px;
    flex: 1;
    background: var(--gray-200);
}

/* Floating WhatsApp button (replaces the old floating CTA) */
.floating-wa {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #fff;
    box-shadow: 0 10px 28px rgba(37,211,102,0.45);
    transition: transform 0.3s var(--transition-spring), box-shadow 0.3s ease;
}
.floating-wa svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.floating-wa:hover {
    transform: scale(1.08);
    color: #fff;
    box-shadow: 0 14px 34px rgba(37,211,102,0.55);
}
.floating-wa-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.55;
    z-index: 0;
    animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
    0%   { transform: scale(1);   opacity: 0.55; }
    70%  { transform: scale(1.7); opacity: 0; }
    100% { opacity: 0; }
}
.floating-wa-tip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: #1f2937;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-md);
}
.floating-wa-tip::after {
    content: '';
    position: absolute;
    right: -5px; top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #1f2937;
}
.floating-wa:hover .floating-wa-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 600px) {
    .floating-wa { width: 54px; height: 54px; right: 16px; bottom: 16px; }
    .floating-wa-tip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .floating-wa-ring { animation: none; } }

/* Pricing card — stronger text contrast for readability */
.pricing-currency    { color: var(--gray-700); }
.pricing-period      { color: var(--gray-600); }
.pricing-compare     { color: var(--gray-700); }
.strikethrough       { color: var(--gray-500); }
.pricing-features li { color: var(--gray-800); }

/* Email button (glass style for the dark CTA form) */
.btn-email {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
    margin-top: 10px;
}
.btn-email:hover {
    background: rgba(255,255,255,0.16);
    color: #fff;
    border-color: rgba(255,255,255,0.42);
    transform: translateY(-2px);
}
.btn-email svg { width: 20px; height: 20px; }
